Skip to content

docs: state how to replay denials and fix stale doc pointers - #43

Merged
liby merged 1 commit into
mainfrom
feature/preallow-replay-eval-rules
Nov 30, 2026
Merged

liby merged 1 commit into
mainfrom
feature/preallow-replay-eval-rules

Conversation

@liby

@liby liby commented Nov 30, 2026

Copy link
Copy Markdown
Member

plugins/preallow/AGENTS.md asked 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.md and docs/development.md, names failure and reason as where the judge's own catches record their error, attaches the lint sentence to the whole Code section rather than only comments, and completes the bun run check comment. No behavior or user-facing text changes, so no version bump.

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.
@liby
liby merged commit c7f8f11 into main Nov 30, 2026
4 checks passed
@liby
liby deleted the feature/preallow-replay-eval-rules branch November 30, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant