fix(cli): record platform-verified repo-lane check evidence in receipts - #256
Open
islahuddinn wants to merge 1 commit into
Open
fix(cli): record platform-verified repo-lane check evidence in receipts#256islahuddinn wants to merge 1 commit into
islahuddinn wants to merge 1 commit into
Conversation
islahuddinn
force-pushed
the
fix/repo-lane-receipt-checks-244-243
branch
from
September 2, 2026 07:13
18dfd65 to
771795e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repo-lane receipts always shipped
checks: []because nothing outside the agent wrote.agent-sdlc/checks.jsonl. At the same time, agents could forgesource: "platform"by writingself_reported: falseinto that workspace file.This PR fixes both issues together:
Repo lane receipts always ship checks: [], nothing writes .agent-sdlc/checks.jsonl #244 — platform check writer
.github/facility/receipts/run-checks.mjsnode guards/run.mjsoutside the agent turn$RUNNER_TEMP/facility-platform-checks.jsonl(not agent-writable)checks[].source in the repo lane trusts a field the agent's own bash tool can write #243 — provenance trust
collect.mjsreads platform and agent check files separatelychecks.jsonlis always reported assource: "agent"source: "platform"self_reportedis never trusted from agent-writable pathsFixes #244
Fixes #243
Test plan
pnpm --filter @theagilemonkeys/facility test(102 passed)runPlatformChecksrecords configured checks and guardsUpgrade note
Existing repositories should re-run
facility init(or merge the updated workflow templates) to pick up the new platform check step.Made with Cursor