Skip to content

ui-react: Back has no in-app history because every route write replaces the entry #2582

Open

Description

@schlessera

Context

Part of #2576.

Every route write in ui-react replaces the current history entry, and nothing pushes one:

  • (useHashRoutes, packages/ui-react/src/hooks/use-hash-routes.ts:35-100) clears #/settings/storage with history.replaceState. :158-161 and :165-172 write #/graph and #/activity, or clear them, the same way.
  • (FilePanel, packages/ui-react/src/components/files/file-panel.tsx:37-105) replaces #/files/<path> on every file change and strips it on close.
  • (showDetail, packages/ui-react/src/components/activity/activity-page.tsx:257-264) replaces #/activity/<runId>, deliberately: the comment at :243-246 says "without history spam".
  • Sessions and Settings, other than the storage deep link, write no history at all.

So inside the installed app, history holds one entry. With no panel open, Android back from Graph, Activity, a file or a run detail closes the app. #2577 closes open panels on back through CloseWatcher without touching history, and does not change any of this.

No decision record covers back-navigation semantics. D52 N1 ("A panel is not a place") and N2 ("Esc, back, or Close files … returns focus") in sessions-and-drafts.md describe panels, not destinations or drill-ins. navigation.md D37 sets the five destinations and does not mention history.

Guide ui-components/stack-drill-down: "A pushState / popstate integration so every drill-down adds a history entry, the OS-level Back gesture works, and deep links open directly into the right view."

Recorded decisions — maintainer, 2026-10-22

Bounded C: Chat is the base. Actions or Graph occupies at most one replaceable view slot above Chat. Switching destinations collapses existing drill-ins rather than replaying destination taps. Deliberate drill-ins add entries; opening a panel alone adds none. Back from undrilled Actions or Graph returns to Chat, then leaves the app.

Drill-ins before panel dismissal: Back walks out of the innermost deliberate drill-in. At the panel root, Back closes the panel. One gesture performs one action, with focus restored per D52 N2. Coordinate with #2577; it is related work, not a declared blocker.

Session resume — option B: Resuming a session adds a deliberate drill-in. Back reopens Sessions focused on the resumed row; Back again closes the panel. At >=1280px, focus returns to that row in the persistent Sessions pane instead of opening a drawer. A destination switch clears the resume drill-in. This is a specific amendment to D52 N1; opening panels alone still adds no entry.

Cold run-detail launch — option B: #/activity/<runId> backs out to the Actions list, then Chat, then leaves. This supplies parent context even though it was not visited. Preserve the previously recorded runtime contingency: if real-browser proof shows the second unactivated step is grouped or skipped, record the evidence here before using the already ruled fallback Actions list → leave. No silent fallback or claim that a synthesized entry works.

Cold file deep link — option B: #/files/<path> backs out to the Files list, then closes Files to reveal Chat, then leaves. Do not close Files on the first Back. This supersedes both the original proposal and the earlier remaining-details comment for file deep links. It creates parent context for the linked file, not a history entry for opening the panel itself. Test this path without an unrelated user gesture. No reduced file-deep-link fallback has been approved.

Settings deep link: The existing ruling for #/settings/storage is unchanged: Back closes Settings and reveals Chat, then leaves. The latest option B selection concerns file deep links only.

Reconciled navigation behavior

This specification supersedes conflicting rows in the original design brief. The same Back policy applies at phone and desktop widths; inline tree expansion is not a drill-in. No new visible control is required; existing in-view Back controls must use the same navigation operation.

Starting state / action Back below 900px Back at >=900px
Chat, nothing open Leave app / previous browser page Same
Open Actions from Chat Chat Same
Switch Actions to Graph Chat; never replay Actions Same
Open Files panel at root Close Files; reveal underlying view Close Files pane; reveal underlying view
Open file from Files list Files list, focus file row Files pane with no file, focus file row
Follow a link from one file to another Previous file Same
Open a folder as a stacked list Previous list Inline expansion adds no entry; root Back closes pane
Open run detail from Actions list Actions list, focus run row Same
Step from run detail A to sibling B Actions list; sibling replaces detail entry Same
Open Settings over Actions Close Settings only; keep Actions Same
Switch from Files with drill-ins to Actions Chat; old drill-ins collapsed Same
Resume a session from Sessions Reopen Sessions, focus resumed row; next Back closes panel Same below 1280px; at >=1280px return focus to persistent Sessions pane
Open subagent drill-in Previous transcript view Same
Cold #/activity/<runId> Actions list → Chat → leave; runtime contingency above Same
Cold #/files/<path> Files list → close Files to Chat → leave Same
Cold #/settings/storage Close Settings to Chat → leave Same

Settings' existing dirty-state leave guard remains: declining a close keeps Settings open with no extra navigation.

Implementation and runtime conditions

One history helper owns writes and restoration. Panel dismissal and its close watcher belong to #2577, whose shared close-request helper exposes an arm/disarm control; this issue's history helper drives it (disarmed while a panel has drill-in entries above its root, re-armed at root). Escape keeps its D52 N2 meaning and closes the panel at any depth; when it closes a drilled-in panel, this helper collapses that panel's drill-in entries. The proposed watcher disarming at nonzero drill-in depth, re-arming at root, and asynchronous history.go collapse are implementation proposals requiring actual browser proof. A re-armed watcher must not group or skip a Back step; if it does, report it here before selecting an unruled fallback. The selected behavior is not evidence that these mechanisms work.

No maintainer choice remains open. The implementation must record these rulings in navigation.md, including the D52 N1 session-resume amendment. Runtime checks are implementation/merge conditions, not prerequisites for starting the work.

Scope

  • Record the ruling as a new entry in navigation.md.
  • Implement bounded C: one history helper in ui-react owns every write (pushState or replaceState by kind) and a single popstate handler that restores store state from the URL. The sites above use it. File the implementation as its own task if it does not fit one sitting.

Out of scope

Acceptance criteria

  • The maintainer selected bounded C on this issue: Chat base, at most one replaceable Actions/Graph slot, deliberate drill-ins, and no panel entries.
  • Panel/drill-in precedence is recorded: Back walks out of deliberate drill-ins first and closes the panel only at its root.
  • Cold run-detail launch is ruled: #/activity/<runId> → Back → Actions list → Back → Chat → Back → leave the app.
  • Session resume is ruled: resume a session → Back → Sessions focused on the resumed row → Back → panel closed; at >=1280px return focus to the persistent Sessions pane. Destination switches clear this drill-in.
  • Cold file-deep-link option B is ruled: file → Files list → close Files to Chat → leave. Settings deep links close to Chat. The navigation table above reconciles the recorded rulings.
  • Record the final history rulings in navigation.md during implementation.
  • real-Chromium tests open each affected drill-in or destination and call history.back(). They assert the restored view, focus per D52 N2, and that one Back gesture performs exactly one action: at nonzero drill-in depth it pops one drill-in without closing the containing panel; at panel root it closes the panel without also popping history. Cover Files root → file → linked file → Back → previous file → Back → list → Back → panel closed. Cover session resume → Back → Sessions with focus on the resumed row → Back → panel closed, persistent-pane focus at >=1280px, and clearing the resume drill-in on destination switch. They also check that a cold deep-link launch behaves as ruled, including #/activity/<runId> → Actions list → Chat → leave, #/files/<path> → Files list → close Files to Chat → leave, and #/settings/storage → close Settings to Chat → leave, without requiring an unrelated user gesture to make Back work. Do not claim a synthesized entry works without real-browser evidence. Each test fails on the current tree. Record the failing-first runs in the PR.
  • every write site above goes through the one helper, and grep -rn "replaceState\|pushState" packages/ui-react/src shows no direct calls outside it apart from use-share-intake.ts.

Verification

bun run test packages/ui-react
node scripts/visual.mjs --project=rail-coarse --filter=phone-navigation
node scripts/visual.mjs --project=rail-fine --filter=desktop-navigation
bun run typecheck
bun run lint

Contract impact

  • This touches the integration contract, so it needs the contract label, a CONTRACT: commit prefix, and the doc updated in the same commit.
  • This changes a published package's behaviour, so it needs a changeset.

The hash formats stay as they are. Bounded C changes ui-react behaviour and needs a changeset. No supported machine shape or hash format changes are proposed.

2026-10-24: named #2577's arm/disarm control as the coordination boundary for the drill-in-first precedence (also folded into #2577) and stated that Escape keeps closing the panel; moved the stacked 2026-10-22 triage and correction notes to a comment.

Activity

  1. added
    type: feat
    area: ui-react
    priority: p2
    needs: decision
    needs: design
    on Oct 22, 2026
  2. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Design needed: what Back means inside the installed app. Already decided: panels close on Esc or back and return focus (D52 N2), and #2577 implements that without touching history. Still open: whether destinations and drill-ins (a file, a run detail, a folder) become places that Back walks through. Nothing in code settles this, because every option works technically. The question is what a person expects when they swipe back from a file they opened three taps ago. A documented "no, Back leaves the app" is an acceptable answer.

    Read first
    - The issue body (this issue) and its epic.
    - docs/decisions/design-kit/sessions-and-drafts.md — D52, rules N1 ("A panel is not a place"), N2 ("Esc, back, or Close … returns focus"), N3, and the N3 addendum.
    - docs/decisions/design-kit/navigation.md — D37 (five destinations), D52 §1 (destinations vs acts, the palette).
    - docs/decisions/design-kit/overlays.md — D54 layer table (which surfaces are modal, which are destination panels).
    - packages/ui-react/src/hooks/use-hash-routes.ts:92-172 — every view route write (all replaceState).
    - packages/ui-react/src/components/files/file-panel.tsx:89-105 — Files writes #/files/<path> per file with replaceState.
    - packages/ui-react/src/components/activity/activity-page.tsx:243-264 — run detail writes #/activity/<runId> with replaceState, "without history spam".
    - Guide: GoogleChrome modern-web-guidance, ui-components/stack-drill-down ("every drill-down adds a history entry, the OS-level Back gesture works").
    
    The problem
    On an installed Android PWA the app has exactly one history entry. Example (Odysseus world, 2026-07-12): Penelope opens Files, opens voyages/ithaca-return.md, then opens a linked note voyages/cyclops-cave.md. She swipes back expecting ithaca-return.md. The app closes. The same happens from Graph, from Activity, and from a run detail opened by a push notification.
    
    Design — answer each
    1. Which moves are places Back returns to: (a) switching destinations (Chat, Sessions, Files, Activity, Settings), (b) opening a file or folder inside Files, (c) following a link from one file to another, (d) opening a run detail in Activity, (e) opening Graph from the palette, (f) resuming a session from Sessions?
    2. Back from a non-Chat destination with nothing drilled in: return to Chat, or leave the app?
    3. Cold launch into a deep link (push notification → #/activity/<runId>; shared link → #/files/<path>): what does the first Back do?
    4. How deep may history grow? Is there a cap or a collapsing rule, for example "at most one destination entry above Chat; drill-ins stack inside it"?
    5. Width differences: at ≥900px Files and Settings are panes beside the rail. Does the answer change there, or is it one rule at every width?
    6. Does anything visible change: an in-app back affordance in a drill-in header, or none?
    
    Requirements to hold
    - D52 N1–N3 stay binding: a panel is not a place; closing returns focus; pressing the current destination scrolls to start and moves focus.
    - One back gesture does one thing. If a panel is open, Back closes it and nothing else.
    - Deep links keep working and stay shareable (hash formats unchanged).
    - No personal data in examples; use the Odysseus corpus.
    - 320px and ≥900px both answered. Touch targets ≥44px (D34) for any new control.
    - Acceptable outcomes: A (no history entries; documented), B (drill-ins only), C (destinations + drill-ins, bounded). Pick one and say why the others lose.
    
    Deliverable
    - The chosen outcome A/B/C with answers to 1–6.
    - A table: starting state → action → what Back does, for phone (320) and desktop (≥900), covering every row in question 1 plus the two cold-launch cases.
    - ASCII mocks at 320px and 1280px only if a visible affordance changes (question 6).
    
  3. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Design brief: what Back means inside the installed app

    Recommendation: C, bounded. Panels never push. History holds at most three layers:

      [ drill-ins of the current destination ]   ← file, linked file, folder, run detail, subagent view
      [ one view entry: Actions or Graph ]       ← at most one, replaced on switch
      [ Chat ]                                   ← base; Back from here leaves the app
    

    Why the others lose:

    • A: Penelope's swipe from cyclops-cave.md closes the app. That is the bug in the issue.
    • B: Back from Actions or Graph leaves the app. Android users expect Back from a secondary bottom-nav destination to return to the start destination.
    • Unbounded C: every tab tap becomes an entry, and Back replays navigation the user never meant as a path.

    Answers

    1. Which moves are places Back returns to:
      • (a) Switching destinations: only the views (Actions, Graph) take the single view entry above Chat. Sessions, Files and Settings are panels: no entry.
      • (b) Opening a file or folder inside Files: a file pushes. A folder pushes when it replaces the list, as on the phone's stacked tree. Expanding a tree node inline, as at ≥900, does not.
      • (c) Following a link from one file to another: pushes. This is Penelope's case.
      • (d) Run detail in Activity: pushes when opened from the list. Moving sideways to a sibling run replaces; this keeps "without history spam".
      • (e) Graph from the palette or More: takes the view entry, replacing Actions if that was there.
      • (f) Resuming a session from Sessions: no entry. Resuming is an act that lands on Chat (Chat is base), and the Sessions panel is not a place.
      • Also: subagent drill-in (pushSubagentView) pushes, and its in-view back calls history.back().
    2. Back from a non-Chat destination with nothing drilled in: returns to Chat. A second Back leaves the app.
    3. Cold launch into a deep link: no entries exist beneath it, and entries pushed at load without a user gesture are skipped by Chrome's Back. So the first Back always lands on Chat, and the next one leaves:
      • #/files/<path> and #/settings/storage: these open panels, so the panel's own CloseWatcher closes it and Chat is beneath.
      • #/activity/<runId>: a view. At boot the helper arms one CloseWatcher, the one a page may create without activation, and on its close it switches to Chat.
    4. How deep: Chat, plus ≤ 1 view entry, plus the drill-ins of the current destination. Drill-ins are uncapped, because each is a deliberate tap. Any destination switch collapses them.
    5. Width differences: one rule at every width.
      • At ≥900, Files and Settings are panes beside the rail, but they are still panels: no entry, and Back or Esc closes them.
      • At ≥1280 the Sessions pane is part of Chat, and pressing Sessions only moves focus there: no entry.
    6. Visible change: none. No new control. Where a drill-in header already has an in-app back (for example the subagent view), it calls the same history.back(), so the on-screen and OS Back never disagree. No mocks needed.

    Panels and pushed entries: one gesture does one thing

    • A panel open at the root of its stack: its CloseWatcher is armed and takes the Back.
    • A panel with drill-ins, such as Files showing a file: the helper keeps the panel's watcher disarmed while the drill-in depth is greater than 0, so the Back reaches popstate and walks out of the drill-in. At depth 0 it re-arms the watcher, and the next Back closes the panel.
    • Focus follows N2: after a pop, focus returns to the row that opened the drill-in, such as the file row or the run row.
    • A dirty Settings panel: Back runs the existing leave guard. Refusing keeps Settings open, and nothing else happens.

    Back table

    Starting state Action Back at 320 px Back at ≥900 px
    Chat, nothing open Back leaves the app leaves (browser: previous site)
    Chat press Actions → Chat → Chat
    Actions press Graph (More or palette) → Chat (Graph replaced the slot) → Chat
    Chat press Files (panel) closes Files → Chat closes the Files pane → Chat
    Files, at its root open voyages/ithaca-return.md → Files list → Files pane, no file
    ithaca-return.md follow the link to voyages/cyclops-cave.md → ithaca-return.md → ithaca-return.md
    Files, at its root open folder voyages/ → Files root (inline expand, no entry) closes the pane
    Actions open run note-filer 06:40 → Actions list → Actions list
    Run detail A step to sibling run B → Actions list (B replaced A) → Actions list
    Actions, Settings open Back closes Settings only closes Settings only
    Files with 2 drill-ins press Actions → Chat (stack collapsed) → Chat
    Sessions open resume "Cyclops" (on Chat) leaves the app (on Chat) leaves
    Chat open a subagent view → transcript → transcript
    Cold: push → #/activity/<runId> Back → Chat, then leaves → Chat, then leaves
    Cold: share → #/files/<path> Back closes Files → Chat, then leaves same
    Cold: #/settings/storage Back closes Settings → Chat, then leaves same

    Draft entry for navigation.md

    Dxx: Back walks out, never across. Chat is the base. Actions and Graph take at most one history entry above it, and switching between them replaces it. Drill-ins (file, linked file, stacked folder, run detail, subagent view) push inside the current destination, and any destination switch collapses them. Panels never push (D52 N1). Back closes an open panel and does nothing else. A cold deep link's first Back lands on Chat. Hash formats are unchanged.

    Risks to check in implementation

    For the maintainer

    • C-bounded as above, or B if Back from Actions should leave the app.
    • Cold launch into a run detail: land on Chat (as above) or on the Actions list? The list needs a synthesized entry, which Chrome skips without a gesture, so it would need the CloseWatcher trick twice. I recommend Chat.
    • Resuming a session adds no entry, as above. Confirm.
  4. removed
    needs: design
    on Oct 22, 2026
  5. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    2026-10-22 triage at main aa8c8966b59f031f054f4876dbca84048b40ae4f: linked the newly supplied bounded-C proposal and named the unresolved acceptance, cold-launch/session choices and panel/drill-in precedence. Verified the existing replaceState paths against the D52 panel/focus rules. Preserve the concurrent needs: decision state, p2 and native #2576 parent. No history policy, watcher behavior or proposal is approved by this update.

  6. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-22): Select option C, bounded destination history plus deliberate drill-ins. Chat is the base; Actions or Graph occupies at most one replaceable view slot above it. Switching destinations collapses the previous drill-in stack instead of replaying destination taps. Deliberate drill-ins push within the current view, while panels themselves add no entry. Back from an undrilled Actions or Graph view returns to Chat, then leaves the app.

    This accepts the history model presented in the decision interview, not every detail of the existing design proposal. Panel/drill-in precedence, cold-launch behavior, session-resume behavior and the reconciled state table remain unresolved. The body and acceptance criteria now distinguish the ruling from those open choices. Keep needs: decision and no agent-ready; no browser mechanism or runtime proof is claimed.

  7. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-22): Panel/drill-in precedence: option A, walk out of drill-ins first. Files root → ithaca-return.md → linked cyclops-cave.md unwinds one Back at a time to the previous file, then the Files list, then closes Files.

    This explicitly qualifies the existing panel-dismissal rule: Back closes the panel at its root; deliberate drill-ins take precedence while their depth is nonzero. One gesture performs one action and restores focus appropriately. The body and runtime acceptance criteria now reflect this policy. Coordinate with #2577; the proposal to disarm/re-arm CloseWatcher still requires actual browser verification. Cold-launch and session-resume choices remain unresolved; keep needs: decision and no agent-ready.

  8. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Maintainer ruling: remaining details (bounded C)

    1. Panel and drill-in precedence: the drill-in goes first.
      • Inside a panel that has drill-ins (Files showing a file, or a linked file), Back walks out of the drill-in: it returns to the previous file, then to the Files list.
      • At the panel's root, Back closes the panel.
      • The panel's CloseWatcher is disarmed while the drill-in depth is greater than 0 and re-armed at depth 0.
      • Amends the body's "Back closes an open panel and nothing else" to: Back does one thing. It walks out of the innermost drill-in, or, at a panel's root, closes the panel.
      • Runtime check, required before merge: Chrome Android must not group or skip a CloseWatcher re-armed without user activation after popstate. If it does, raise it on this issue before choosing a fallback.
    2. Cold launch into #/activity/<runId>: Actions list, then Chat, then leave.
      • The first Back shows the Actions list, the second shows Chat, and the third leaves the app.
      • Both steps happen without user activation, by the helper's own choice of mechanism (a boot-time CloseWatcher, then a second watcher armed on the first close).
      • Runtime check, required before merge. If Chrome groups or skips the second step, the ruled fallback is that the first Back goes to the Actions list and the second leaves the app. Chat is never skipped silently in favour of an exit without that fallback being recorded here.
      • #/files/<path> and #/settings/storage stay as proposed: Back closes the panel and lands on Chat.
    3. Resuming a session pushes an entry that reopens Sessions.
      • After resuming "Cyclops" from Sessions, Back reopens the Sessions panel, focused on the row of the session just left (D52 N2). Back again closes Sessions, per the panel rule.
      • Amends D52 N1 ("A panel is not a place") for this one case. A resume is a drill-in out of Sessions, so Sessions is the place Back returns to. No other panel becomes a place.
      • It counts as a drill-in for collapsing: any destination switch drops it.

    Updated rows in the Back table (replace the matching rows in the brief)

    Starting state Action Back at 320 px Back at ≥900 px
    ithaca-return.md in Files follow the link to voyages/cyclops-cave.md → ithaca-return.md (watcher disarmed) same
    ithaca-return.md in Files Back again → Files list (watcher re-armed) → Files pane, no file
    Files list (root) Back closes Files → Chat closes pane → Chat
    Sessions open resume "Cyclops" → Sessions, focus on the previous session's row → Sessions drawer; at ≥1280 focus moves to the Sessions pane
    Cold: push → #/activity/<runId> Back → Actions list → Chat → leaves same

    navigation.md entry (final)

    Dxx: Back walks out, never across. Chat is the base. Actions and Graph take at most one history entry above it, and switching between them replaces it. Drill-ins (file, linked file, stacked folder, run detail, subagent view, and resuming a session from Sessions) push inside the current destination, and any destination switch collapses them. Panels push no entry of their own. Back does one thing: it walks out of the innermost drill-in, or, at a panel's root, closes the panel. A cold deep link into a run detail backs out to the Actions list, then Chat. Panel deep links back out to Chat. Hash formats are unchanged. (Amends D52 N1 for session resume.)

    All rulings for this issue are recorded. needs: decision is removed. The two runtime checks above are merge conditions, not open decisions.

  9. removed
    needs: decision
    on Oct 22, 2026
  10. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-22): Cold run-detail launch: option B. When the app launches directly at #/activity/<runId>, successive Back actions go to the Actions list, then Chat, then leave the app. Preserve the run's parent context even though that list was not previously visited.

    This supersedes the existing design proposal's recommendation that the first Back return directly to Chat. Implementation must prove the actual cold-launch path in a real browser; synthetic-history or CloseWatcher mechanisms are not assumed to work. The body and runtime acceptance criteria reflect this ruling. Session-resume behavior and confirmation of panel deep-link behavior remain open; keep needs: decision and no agent-ready.

  11. added
    needs: decision
    on Oct 22, 2026
  12. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-22): Session resume: option B, reconfirmed in the decision interview. Resuming a session adds a deliberate drill-in: Back reopens Sessions focused on the resumed session row; Back again closes the panel. At >=1280px, focus returns to the persistent Sessions pane. A destination switch clears this drill-in.

    This confirms the session-resume branch of the earlier remaining-details ruling and supersedes later statements that session resume is unresolved. It is the specific exception to D52 N1; opening panels alone still adds no history entry. The issue body and runtime acceptance criteria now reflect it. Record the decision and D52 amendment in navigation.md during implementation. Browser mechanisms remain subject to real-browser proof. Panel deep-link confirmation and the reconciled state table remain open; retain needs: decision and no agent-ready.

  13. added
    agent-ready
    and removed
    needs: decision
    on Oct 22, 2026
  14. schlessera commented on Oct 22, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-22): Cold file deep links: option B. After launch at #/files/<path>, Back shows the Files list first. The next Back closes Files and reveals Chat; the next leaves. Apply the same sequence at phone and desktop widths. This supersedes the direct-to-Chat file-deep-link rows in the original proposal and earlier remaining-details ruling. The existing Settings deep-link ruling is unchanged: close Settings to Chat.

    The body now consolidates the bounded-C, drill-in precedence, session-resume, cold run-detail and cold file-deep-link rulings and contains the reconciled navigation table. No maintainer decision remains open. Remove needs: decision and add agent-ready; implementation, the navigation.md record/D52 amendment and real-browser proof remain outstanding. Preserve the previously recorded run-detail fallback only under its evidence/reporting condition; no file-deep-link fallback is approved. Watcher grouping/re-arming and synthetic history still need runtime proof.

  15. schlessera commented on Oct 24, 2026

    @schlessera
    OwnerAuthor

    History, moved from the body on 2026-10-24 (the active specification above reflects every ruling these notes record):

    2026-10-22 triage at main aa8c8966b59f031f054f4876dbca84048b40ae4f: linked the newly supplied bounded-C proposal and named the unresolved acceptance, cold-launch/session choices and panel/drill-in precedence. Verified the existing replaceState paths against the D52 panel/focus rules. Preserve the concurrent needs: decision state, p2 and native #2576 parent. That triage update approved no history policy, watcher behavior or proposal; the subsequent maintainer ruling above selects bounded C without approving the remaining details.

    2026-10-22 correction: Folded the maintainer's option C selection into the history specification and acceptance criteria. Detailed panel precedence, cold-launch and session-resume choices remain unresolved; keep needs: decision and no agent-ready.

    2026-10-22 correction: Recorded panel precedence option A: Back walks out of drill-ins before closing the panel, explicitly qualifying the panel-root dismissal rule. Updated the acceptance criteria and #2577 scope boundary. Cold-launch and session-resume decisions remain open.

    2026-10-22 correction: Recorded cold run-detail option B: Back visits the Actions list, then Chat, then leaves. This supersedes the proposal's direct-to-Chat recommendation. Session-resume and confirmation of panel deep-link behavior remain open.

    2026-10-22 correction: Reconfirmed session-resume option B in the maintainer decision interview and folded it into the current specification and runtime acceptance criteria. Earlier notes that session resume remains open are historical. Panel deep-link confirmation and state-table reconciliation remain; retain needs: decision and no agent-ready.

    2026-10-22 correction: Recorded cold file-deep-link option B from the maintainer interview, superseding the previous direct-to-Chat proposal for Files only. Folded all rulings into the current specification and navigation table; earlier unresolved-choice notes below the contract section are historical. Remove needs: decision and add agent-ready. Keep browser proof, decision-record updates and implementation outstanding; no runtime mechanism is claimed verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyarea: ui-reactpriority: p2type: feat

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions