Repository navigation
Part of #25852: guardrails --sites, the whole-tree main-blocking count - #25862
austinywang wants to merge 5 commits into
Conversation
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
red: cmux-next checks (god files, concurrency, crash safety, l10n); base red: the same failure on the base 01facc1; does not block Default changesNo defaults change at |
|
Review 1 (correctness subagent) at fd82abe and how it was resolved at a561674:
The review checked these and found them clean: the writer's state machine (no lost wakeup, no reordering), that no quit code uses |
|
Bead |
|
Found 6 test failures on Blacksmith runners: Failures
|
|
Review 2 (correctness subagent) at 140f6b5: SHIP. It verified all 4 review 1 fixes:
No new correctness issue. Nits only: a hung |
|
Merged origin/feat-cmux-next (93d1c8c) into the branch, no conflicts; pushed without force. New head 86a15ad. The PR's own diff is line-identical to the reviewed 140f6b5.
|
|
Review (Independent correctness and impact reviewers): SHIP at 6384d68 Two fresh independent correctness-first reviews of the full diff against The same focused fleet command executed 37 tests on both the before-fix commit Source review only: no runtime execution by the reviewer. GUI quit/relaunch, slow-disk deadline expiry, sanitizer and macOS 14/15 behavior remain unverified. The existing bounded quit deadlines may expire behind slow work on the shared file lane. Both reviewers independently confirmed that the +8 App allowance covers only imports, injection and quit composition, while the base cloud-automation +6 allowance remains separate. |
|
Current-head check classification for
The defaults guard passed after the fresh exact-head review receipt. Current-head focused suites are running in existing fleet job |
|
Review (Independent correctness and impact reviewers): SHIP at c034f6b Two fresh independent reviews of the full diff against This head normally merges the latest fetched base. It preserves the PR's persistence repair and includes base fixes for the previously failing daemon tests and automatic compile-receipt recovery. The remote head was verified before the plain push. Pre-push gate, push hook and Source review only: the reviewers did not execute builds or tests. Current-head fleet Release recipe-2 app compile passed (job |
|
Check classification at
No PR-caused source failure has been found. Current-head live quit/relaunch, sanitizer and macOS 14/15 behavior remain unverified, as disclosed in the description. |
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (Independent correctness and impact subagents; correctness first): SHIP at bb42033 Two fresh read-only reviews examined the full diff against base The impact review found a test-only race between separate suites that replace the shared scroll store across awaits. The current head nests the default-host suite under the existing serialized page-host suite; both reviews verified the shared serialization boundary. Standard substring filters remain valid; strict named-suite selection uses Current-head automatic fleet app compile passed (job Source review does not establish live quit/relaunch, disk-contention deadlines, sanitizers, macOS 14/15 behavior, or performance measurements; these were not run. |
|
Check classification at
The app compile and static checks are green. Fleet reproduction confirmed the reviewer-found fixture race on the old head: nine combined scroll tests ran, and the final-drain test failed both late-save refusal assertions (step |
|
Review (Independent correctness and impact subagents; correctness first): SHIP at a8c14e7 Two fresh independent reviews examined the full diff against base Both independently approve the unchanged +8 App composition allowance. All base record fields and exceptions, including +485, are preserved. The +8 entry now sits between immutable applied entries; the consumer compares entries as multisets and sums allowances, so position has no semantic effect and future end insertions avoid the repeated conflict. Current-head app compile passed (fleet job Source review does not establish live quit/relaunch, disk-contention deadlines, sanitizers, macOS 14/15 behavior or light/STRESS performance; these were not run. |
|
Check classification at
Compile, defaults guard and CI status are green. Focused fleet step |
|
Ready-to-land handoff for The final merge-head focused rerun remains queued as fleet step |
|
Current-head verification update for |
|
Review (Independent impact/API reviewer): FIX at f647f95 P2: a pending tab creation can receive its real ID after Readiness remains removed. The repair will settle accepted drafts' pending identity migrations before the final lane drain, under the existing quit deadline, and retain refusal of new edits. A focused regression will exercise the real tab-store rekey path. Source review established the finding; executable red/green results will follow. |
|
Review (Independent correctness and impact subagents; correctness first): FIX at 4b68a87 Both independent reviewers confirmed the quit/rekey persistence defect. The new regression exercises the production tab-store track/rekey path and disk restore by the real ID. It is running on the fleet before the fix (step |
|
Review (Codex independent correctness reviewer): SHIP at 8a9fb26 Fresh read-only review of the full base-to-head diff found no verified correctness defects. The reviewer traced provisional registration, rekey, abandonment, restored draft lookup, normal and forced quit, overlapping drains, and writer ordering. Migration/removal is queued before identity waiters resume; new edits remain sealed. The reviewer independently confirmed exactly +8 physical App lines and preservation of every base exception. This replaces the prior FIX verdict: the accepted draft now follows a pending tab to its real ID before the final drain. The strengthened regression inspects disk immediately after quit and covers abandonment and empty pending tabs. Verification is separately owned by the primary agent: exact-head static gate and whitespace checks passed; official PR: #25862; owner: |
|
Review (Codex independent impact reviewer): SHIP at 8a9fb26 Fresh full-diff review found no surviving correctness defects. Both provisional creation paths register before page adoption. Reply/event rekey and failure/close release queue migration or deletion before settling waiters. Normal and forced quit retain their existing hard deadlines. The reviewer independently confirmed +8 App lines and preservation of every base allowance. This is a new exact-head review, with no inherited verdict. The primary agent also classified the current Source review only: the reviewer ran no builds, tests or live performance checks. The primary agent owns the green exact-head compile, static checks, red regression and running focused fleet verification. The defaults guard rerun now passes after the exact-head review receipt. PR: #25862; owner: |
|
Verification complete at 8a9fb26. Fleet step This completes red/green evidence for the identity repair: pre-fix step Both fresh full-diff reviews passed on this exact head. The only CI root red is the signing-hook assertion that also fails identically on Autoland classification remains an external blocker. Its current verdict calls The post-handoff autoland pass completed at PR: #25862; owner: |
|
Review (claude-rereview): SHIP at 8a9fb26 I am an independent reviewer. I did not write this PR or its merges. I read the full diff of this head against its merge base FindingsNo blocking defects. Two notes for a follow-up. They do not hold this PR:
What I checked
Checks on this head
What I did not check
|
|
Review (claude-review-subagent): BLOCK at 6aaafd0 Independent review of the full change against Blocking
Non-blocking
What I checked and found correct
|
|
Merge of The independent review of this head is BLOCK (#25862 (comment)). The cause is not the textual merge: #22919 (on feat after this branch's old base) gave each quit save step a time limit ( @austinywang, a decision for you (the fix changes this PR's quit model):
|
|
Review (independent correctness subagent): SHIP at 33c9938 A fresh read-only subagent reviewed the full diff against feat-cmux-next Findings and how each was resolved
What the reviewer checked
Not run: no Swift build or test, because this head changes no Swift. |
|
Check classification at
|
|
Ready for review at
Not merged, and |
…tree, base debt included (#25852) `scripts/cmux-next/guardrails.py --sites main-blocking` judges what HEAD adds over an empty commit and prints every site and the count, so threading item 1's slice (c) has one repeatable number: 79 at 101e904, 75 at this branch. threading-model.md names the command. Test: test_sites_counts_the_whole_tree_base_debt_included (python3 tests/test_cmux_next_guardrails_blocking.py: 7 tests OK, this Mac; Python only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Red on this commit: a crashing main-blocking rule makes tree_sites return an empty list (count 0), which reads as debt paid down. python3 -m unittest tests.test_cmux_next_guardrails_blocking.BlockingRuleTests.test_sites_fails_closed_when_the_rule_does_not_run -> AssertionError: SystemExit not raised. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
measure() fails open per rule; tree_sites now exits non-zero with the failure instead of printing a count that left the rule out (review of 89189f9, finding 1). Warning-rule sites are stripped like refusal sites. Green: the same unittest command, and the whole file (9 tests) passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
scripts/cmux-next/guardrails.py --sites RULEprints every site of a guardrail rule in HEAD's whole tree (base debt included) and their count. It is diagnostic only and does not change push enforcement.--sites main-blockinggives the main-thread blocking debt left to pay down under #25852: 75 sites at feat-cmux-next01facc1b131.threading-model.mdrecords the command.Scope change (base already landed the Swift part)
This PR first moved the agent panes' draft and scroll-place saves off the main thread through a
StateFileWriter, and drained them at quit. feat-cmux-next has since landed the same goal through another design:The merge at
ca0091ab7cresolves the 12 conflicted files to the base.StateFileWriter,AgentPanePersistenceQuit, their tests, the App wiring and theapp_lines +8allowance are removed. That also resolves both blocking findings of the review at6aaafd0a3a2(#25862 (comment)):Review note 5 is fixed:
tree_sitesdiffs against git's built-in empty tree and writes no tree or commit object.Verification
Head:
33c9938a8516bdc85895c60f675174c76ec8eae1. Base:01facc1b131. The base was merged normally and the push was a plain fast-forward.Observed / Not run
Observed:
python3 tests/test_cmux_next_guardrails_blocking.py: 9 tests OK, includingtest_sites_counts_the_whole_tree_base_debt_includedand the red-firsttest_sites_fails_closed_when_the_rule_does_not_run(red at377b591254: SystemExit not raised).python3 scripts/cmux-next/guardrails.py --sites main-blocking --head origin/feat-cmux-next: 75 at01facc1b131.python3 scripts/cmux-next/prepush-gate.py: no new violations, and no architecture count rises.git diff --check: clean.Not run: no Swift build or test, because this head changes no Swift. The PR diff against the base is
guardrails.py, its test and one doc line.No capture: no visible change.
Changelog
none
🤖 Generated with Claude Code