Repository navigation
base red: arch app_lines, #32159's Session Info capture and #32131's held-prompt checks move into CmuxNextAgentPane - #32307
Conversation
…held-prompt checks move into CmuxNextAgentPane The arch ratchet at feat-cmux-next tip 612c99d counted CmuxNextApp +129 lines over the last green arch tip 85a8bb7: #32159 +115 (the native Session Info capture scene and its debug action) and #32131 +14 (the hibernation keep check and the retirer's release before close). This moves that logic into its owning package, with the same behavior: - AgentPaneView+SessionInfoDebug: the scene's readiness report (debugSessionInfoReadiness; the app passes its frame settle and window width), the open click sequence (debugOpenSessionInfo; the app passes its real header click), the viewport widening (AgentPaneSessionInfoDebugState.widenCaptureWindow) and the session_info_action reply. - AgentPaneWakeState: keepReason (no wake state in time, or prompts held for a trust answer; same log text) and AgentPaneView.releaseHeldPrompts (then:), which owns the release-then-close task. - AgentPaneView+DebugReads: debug.agent_pane readiness and the ACP Inspector toggle, the page reads the capture path calls, move from DebugAgentPane so the move covers both culprits' lines. CmuxNextApp: -141 lines. arch-ratchet --base 85a8bb7 shows no rise. Fixes the tip red from #32159 (b4f4a13) and #32131 (17e83a0).
|
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)
Default changesThis pull request changes 3 defaults at
Signed off on this commit by Merge receipt: merged as Regenerate the snapshot with Shipped in:
|
|
Fleet compile at 3da4853: |
|
Review (independent review subagent, claude-opus-5-5): SHIP at 3da4853
|
…d-1256-app-lines # Conflicts: # Packages/macOS/CmuxNext/Sources/CmuxNextApp/Hibernation/AgentPageHibernation.swift
|
Merged origin/feat-cmux-next (plain merge, no force push) at af06d16. Conflict in AgentPageHibernation.swift with #32286: kept |
|
Review (independent review subagent, claude-opus-5-5): SHIP at af06d16
|
Summary
Fixes the tip red from #32159 (b4f4a13) and #32131 (17e83a0):
arch-ratchetfailed at feat-cmux-next tip 612c99d with[app_lines] CmuxNextApp Swift lines: +129over the last green arch tip 85a8bb7 (#32159 +115, #32131 +14).This moves that new logic out of CmuxNextApp into
CmuxNextAgentPane, its owning package. Behavior stays the same:AgentPaneView+SessionInfoDebug.swift(DEBUG/bench only), from cmux NEXT: ship native Session Info by default #32159: the native Session Info scene's readiness report (debugSessionInfoReadiness; the app passes itsBenchFramessettle and the window width), the open-click sequence (debugOpenSessionInfo; the app passes the same real header click), the viewport widening (AgentPaneSessionInfoDebugState.widenCaptureWindow), and thesession_info_actionreply.AgentPaneWakeState.swift, from Agent pane: an open folder trust question never blocks Send or steer (prompts wait, then go after Trust) #32131:keepReason(no wake state in time, or prompts held for a trust answer; the log text is the same) andAgentPaneView.releaseHeldPrompts(then:), which owns the release-then-close task. The app still measuresagentPane.close.AgentPaneView+DebugReads.swift(DEBUG/bench only):debug.agent_pane readinessand the ACP Inspector toggle move fromDebugAgentPane. They are page reads that the capture path calls. This moves enough to cover both culprits' 129 lines without relying on other commits' removals.CmuxNextApp: -141 lines. No arch exception file, and
arch-ratchet.jsonis not changed.Changelog
none
Observed / Not run
Observed:
python3 scripts/cmux-next/arch-ratchet.py --base 85a8bb7467c2 --head origin/feat-cmux-next:app_lines CmuxNextApp +110(+129 from the culprits, -19 from fix(cloud): keep first-send creates and panes stable across retries #32244), push refused.app_lines -31 (CmuxNextApp -31),no architecture count rises. The prepush gate reportsapp_lines -141,no new violations.scripts/lint-ios-package-conventions.sh --namespace-fix: no unjustified convention violations.Not run: the
session-info-nativecapture scene and the hibernation/retire paths at run time (this is a move that keeps the same code paths; no new tests).Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Moves the Session Info capture logic from #32159 and the held-prompt checks from #32131 out of
CmuxNextAppintoCmuxNextAgentPane, fixing the arch-ratchet failure at thefeat-cmux-nexttip.CmuxNextAppdrops 141 lines; arch-ratchet shows no rise. Behavior is unchanged.AgentPaneView+DebugReads.swift(DEBUG only) picks updebug.agent_panereadiness and the ACP Inspector toggle.Written for commit 3da4853. Summary will update on new commits.