Repository navigation
docs(window-frame): cut the context down to current behaviour and invariants (#1355) - #1381
Merged
Merged
Conversation
…ariants (#1355) State the frameless window and the exit flow as they behave now, with the reasons a wrong simplification would need. Correct the main-area header list and the exit question's nameless-row fallback, scope four rules to the code paths they cover, and drop incident history, dated measurements and run ids.
State the exact batch-cancel conditions, the per-type exit-question rows and Enter on the focused button, and restore five still-true constraints dropped by the trim.
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.
Summary
Part of #1355:
.ai/contexts/window-frame.mdcut down to current behaviour and invariants. Rationale stays only where a wrong simplification would otherwise look valid; incident narratives, dated measurements, run ids and issue-by-issue history are dropped (git keeps them).style.css(agents and Activity trace headers were missing);"<name>"· project · id (Untitled conversationwithout a name), a plain terminalPlain terminal· project · id, a panel shellPanel shell of "<owner name or id>"· id with no project; the bare-id fallback is the progress notice's, not the dialog's.sendhas not started only when it fails before its ownsend(busy timeout, permission prompt, unreadable status, user cancel) or itssendreturnsrefused;declined,cancelled,write-failedandfailedsends leave the other rows running (test/bg-handoff-main.test.js, (bg-agents): Move to background goes ahead while a same-name continuation job is in unknown liveness #1295 case); Enter activates the focused button of the exit question; the native-dialog set shields a pending check, not the force path after an unanswered quit; the 5-minute ceiling covers quit, update and reload checks; the session question is skipped for every action when the known inventory has no local rows; aftersession-endan untaggedbefore-quitstays approved.BrowserWindowis built; terminal container top padding 3px; Save/Discard/Cancel for unsaved edits; on success the tab is re-keyed before the restore mark; launches stay allowed while an attempt is uncommitted.Decided (JB, 2026-10-21).Docs
Agent docs only:
.ai/contexts/window-frame.md. No user doc describes this content.no-changelog: agent documentation only; no behaviour change.
Tests
node scripts/check-docs.js --validate: passed.node scripts/check-doc-refs.js --root <worktree>: 0 failures.git diff --check: clean.review-1355j/check-pointers.js <worktree>): 19 pointers, 0 failures; the same script fails (3 failures) on a copy with one heading renamed.node --test --test-concurrency=1 test/check-docs.test.js(Node 22.23.5): 99 pass, 0 fail. No other test reads this file's text.Not verified
env(titlebar-area-*)values, caption-area behaviour,unresponsivetiming,taskkill) are kept as they were; this PR does not re-measure them.Kept
--strip-min-heightso the strip is never shorter than the controls under zoom.#app-containerisoverflow: clip, nothidden, and its descendants never use100vh; what the CSS test can and cannot prove.no-dragwhatever stacking; the three test-heldno-draglists; a new overlay reaching the top 32 px joins them.placeHeaderControl; no tool toggle in the header; the 6px state slot and its margins; exit recording and forgetting order; shared banner wording; 2px padding arithmetic; never a rawFitAddon.fit()on file-panel refit.Alt/F10route and why; quit item per platform; accelerators cannot be pressed throughsendInputEvent/CDP.Digit0only without Shift; clamp to [−7.5, 8.5] and why.exit-backgroundadmission, one batch per attempt, Cancel across versions, abort kinds, what the backend never does.