Repository navigation
docs: state how to replay denials and fix stale doc pointers - #43
Merged
Merged
Conversation
preallow's AGENTS.md asked for a policy change to be checked against real denials but not how to replay them, and evaluations got it wrong in ways that changed the result: rebuilding the agent's earlier calls up to when a call was made rather than when the judge started hid a result the judge had seen, and handing the judge every recorded fact whatever it asked made verdicts look comparable when production could not have reached them. It now says to replay through both stages, cut earlier calls at the judge's start, answer each check only from what was recorded for it, leave out verdicts that needed an unrecorded answer, and rerun flips against run-to-run variation. Known gaps, typecheck, and the full allow list moved out of the READMEs into docs/usage.md and docs/development.md, but both AGENTS.md files still pointed at the README. The log rule now names `failure` and `reason`, where the judge's own catches record the error. The lint sentence covered the whole Code section, not only comments, and the `bun run check` comment left out the source scan and core typecheck.
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.
plugins/preallow/AGENTS.mdasked for a policy change to be checked against real denials but not how to replay them, and evaluations of the last releases got that wrong in ways that changed their result. Rebuilding the agent's earlier calls up to when a call was made, rather than when the judge started, hid a result the judge had seen and produced a false allow; handing the judge every recorded fact whatever it asked made verdicts look comparable that production could not have reached. The rule now says to replay through both stages, cut earlier calls at the judge's start, answer each check only from what was recorded for it, leave out verdicts that needed an unrecorded answer, and rerun flips against run-to-run variation.The rest corrects pointers that went stale when known gaps, typecheck, and the full allow list moved out of the READMEs into
docs/usage.mdanddocs/development.md, namesfailureandreasonas where the judge's own catches record their error, attaches the lint sentence to the whole Code section rather than only comments, and completes thebun run checkcomment. No behavior or user-facing text changes, so no version bump.