-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat(review): run-session ledger and cross-session agent evidence #9091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
99c6012
feat(review): run-session ledger and cross-session agent evidence
wenshao bd3ffe7
fix(review): address review feedback on the session ledger
wenshao 4648428
fix(review): keep the run epoch stable and the continuity note non-ca…
wenshao 6fb01c0
fix(review): contain, bound and supersede the prior-session reads
wenshao ea40030
docs(review): say what the recoveredAgents bar actually is
wenshao 5186ab8
fix(review): bill a resumed run once, clamp its agents, and say what …
wenshao c5a4de7
fix(review): refuse mid-flight credit, key the fence exactly, fold th…
wenshao a67a2db
fix(review): gate prior evidence on an authorized resume, and bound w…
wenshao e6260ca
fix(review): drop unfinished prior records at the source, and not cou…
wenshao 1004c21
fix(review): bill each attempt from its own start, and require delive…
wenshao a70ea21
fix(review): close the certification, epoch and supersession gaps the…
wenshao 4ae1c31
fix(review): compare the plan-mtime fence within a millisecond, not e…
wenshao b39a12d
feat(review): expose the ledger's session count without the evidence …
wenshao 0e41bfe
fix(review): verify against the CURRENT findings digest, and close th…
wenshao 259758b
fix(review): close the round-4 blockers a paginated sweep surfaced
wenshao e2a088e
fix(review): validate ledger entries before the cap consumes them
wenshao a15093b
fix(review): work through the round-3-to-6 suggestion backlog
wenshao 84c75ff
fix(review): close round 7 on the ledger — cap order, prior prefix, d…
wenshao 81455da
fix(review): work through the round-7 suggestions on the ledger PR
wenshao ea2d396
fix(review): round-9 blockers — single-read ledger writers, lifecycle…
wenshao 852b9e8
test(review): give the inode probe an imposter that cannot recycle th…
wenshao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
622 changes: 622 additions & 0 deletions
622
packages/cli/src/commands/review/check-coverage.test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Suggestion] R7-6: R7-6 re-check — still stands. The compose parrot/ra-off negative fixtures now fail delivered() FIRST (their bare-IDENTITY launches match no recorded prompt), so the t.diffToolCalls > 0 clause they were written to pin is masked; and the new layer-audit-gate fixture 'refuses a delivered auditor with ZERO diff reads' keeps a baked range in its launch, so openedTheTerritory rejects first when the clause is deleted — the clause remains unpinned everywhere (the round-8 filing R8-27 carries the concrete fix). — Failure scenario: Deleting t.diffToolCalls > 0 from the gate's corroborated filter ships green across both suites: an auditor that got the recorded prompt and opened its brief but never read the diff supplies all six Layer-walked receipts toward releasing a modeled-system diff whose layers were never walked.
Suggested fix: Per R8-27: add a whole-diff auditor fixture (range-free launch, brief opened, zero diff calls, six receipts) asserting 6 owed; optionally re-shape the compose parrot to pass delivered() with zero diff calls.
中文说明
R7-6 复核——仍成立。compose 的 parrot/ra-off 负例 fixture 如今先失败在 delivered()(裸 IDENTITY launch 与任何录制 prompt 都不逐字匹配),其原本要钉的 t.diffToolCalls > 0 子句被遮蔽;layer-audit-gate 新 fixture “ZERO diff reads” 的 launch 仍带烘焙范围,删除子句时 openedTheTerritory 先行拒绝——该子句在两处都未钉扎(第 8 轮提交 R8-27 给出具体修复)。后果:拿到录制 prompt、开过 brief 但从未读 diff 的 auditor 可贡献全部六层收据,放行层级从未走过的建模系统 diff。建议:按 R8-27 补 whole-diff auditor fixture;可选地把 compose parrot 改为“通过 delivered() 且零 diff 调用”。
— qwen3.8-max via Qwen Code /review (v0.21.12)