Skip to content

CW-17: SessionId type decision (F-3) #995

Closed

Description

@Xuepoo

Priority: P2 | Area: area:ui | Labels: feat,P2,area:ui | Milestone: v0.1.0 | RFC: workspace-panel-invariants.md F-3 | Task: unassigned (backlog)

Scope

Decide whether a distinct SessionId newtype is introduced; keep ViewId keying until then

Title

SessionId type decision (F-3)

Source

workspace-panel-invariants.md F-3

Size and priority

S / P2

Dependencies

[BLOCKED: OQ-058]

Blocked: awaits an owner decision ([BLOCKED: OQ-058]); do not start until the blocking item is resolved.

Sub-issue of #971. Backlog item CW-17.

Activity

  1. added this to the v0.1.0 milestone on Sep 19, 2026
  2. added
    feat
    area:ui
    P2
    on Sep 19, 2026
  3. Xuepoo commented on Sep 23, 2026

    @Xuepoo
    ContributorAuthor

    Task: CTX-0709 — verify-close assessment: HOLD.

    Evidence PR #1291 (CTX-0693, merged) is explicitly EVIDENCE_ONLY for this issue: no distinct SessionId newtype introduced; the F-3 decision is recorded in view.rs module docs (ViewId keying retained) and pinned by session_f3_keeps_viewid_keying.

    Acceptance not met: the issue is still [BLOCKED: OQ-058] and OQ-058 remains Open (no spatial multi-agent orchestration contract accepted). Per rule, OQ still Open on its core question = HOLD. Reassess once the owner resolves OQ-058.

  4. Xuepoo commented on Sep 23, 2026

    @Xuepoo
    ContributorAuthor

    Task: CTX-0714 — owner-adopted HOLD assessment (not closing).

    Owner ruling 2026-09-23 adopts packet RFC-OQ-3 Option A (bitty #1300; register bitty-docs#367 bb96efe, Accepted Option A; bitty#997 closed) and OQ-058 SMO-1..SMO-4 including delivery semantics. Merged evidence new since verify-batch: placement premise now exists (Option A); #1291 (dc9726c) F-3 record stands (no distinct SessionId newtype; ViewId keying retained) — but that record was explicitly provisional until the owner resolves OQ-058, which has now happened.

    Acceptance not met (literally): deciding the SessionId type needs the routable contract — OQ-058 delivery semantics remain candidate-only in bitty#1288 (de4c740), and the register names implementation bitty#1001 (still open, cross-refs #995) with no implementation claim. The F-3 provisional premise has expired by adoption and needs re-confirmation against adopted SMO + ADR-0013 ontology (in #367).

    Missing (precisely): #1001 routable contract acceptance (envelope, attribution, deadline, priority, dedup, cancel, expiry beyond event kinds) + F-3 re-confirmation vs ADR-0013. Reassess once #1001 is accepted.

  5. Xuepoo commented on Sep 23, 2026

    @Xuepoo
    ContributorAuthor

    Task: CTX-0721 — CLOSE verdict (decided + re-confirmed).

    Evidence PR #1311 implements the two missing pieces named in the CTX-0714 hold assessment (#1001 routable contract + F-3 re-confirmation vs ADR-0013):

    • CW-23: Panel provider contract (OQ-058) #1001 routable contract lands in the same PR (routable.rs envelope + PanelRuntime.route_message with registration fail-closed; see CW-23: Panel provider contract (OQ-058) #1001 comment for paths/tests). The F-3 provisional premise (no SessionId until OQ-058 resolved) has expired by adoption and is now re-confirmed.
    • F-3 re-confirmation vs ADR-0013 (bitty-docs [CTX-0217] Z-index tiers for floating overlays #367 bb96efe): crates/bitty-ui/src/view.rs docs re-confirmed — pane sessions stay keyed by owning live ViewId, registry terminal incarnations by RuntimeId per workspace-panel-invariants F-3; ADR-0013 Session (attachable continuity scope, Session-grained per headless ADR, bounded persistence per ADR 0008) maps to the headless continuity layer, not the view key; Panel/Execution separation holds (panels never own executions, presentation non-authoritative SMO-2); any future session type lands as a distinct newtype with no From bridge + generation-retirement rule, never a rename.
    • specifications/ux-decision-0995-session-id.md updated to re-confirmed keep-current (gates met, current state, open points for headless layer).
    • Tests: crates/bitty-ui/tests/a11y_baseline.rs session_f3_keeps_viewid_keying (comment updated) + new session_f3_reconfirmed_vs_adr0013 (attachment is panel/view/terminal, no session key; PanelId vs ViewId TypeId distinct).

    Acceptance literally met: distinct SessionId newtype decided (not introduced in UI layer); ViewId keying retained with accepted-premise re-confirmation.

    Gates: same as #1001 comment (fmt/clippy/test/scratch/status-drift green, MSRV 1.85).

    Closes #995 via #1311.

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

    P2area:uifeat

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions