Skip to content

Read-only Fleet Sessions tree view (#779) - #794

Closed
aarontrowbridge wants to merge 1 commit into
mainfrom
aaron/issue-779-fleet-sessions-view
Closed

aarontrowbridge wants to merge 1 commit into
mainfrom
aaron/issue-779-fleet-sessions-view

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Closes #779.

What

A Fleet Sessions tree view (extension-side, shown only on fleet-client machines) that lists the canonical hub's sessions — title + last-updated — fetched read-only from the hub's session-list API over the tunnel (limit 200, directory-scoped, roots only). Clicking an entry reattaches the panel to the hub with that session pinned. When the hub is unreachable the view shows an explicit "Sessions live on " row — never a misleading empty list.

Why now

The store split bit repeatedly today (2026-09-04): fleet mode hides local sessions, standalone hides hub ones, and there's no bridge. #792's thin client supersedes this long-term, but it needs fork work; this is the deliberately minimal bridge — zero fork changes, zero app changes.

Gates (director-run)

  • pnpm --filter amicode test: 2193 passed / 30 skipped / 0 failed (own run, after staging launcher bins)
  • tsc --noEmit: clean
  • Read-only verified by test: recorded HTTP calls are all GET; no mutation menus contributed.

Notes

  • Visible only when fleet.json role=client (context key amicode.fleetClient); absent on standalone machines.
  • Refresh on view open + hub attach/regain transitions; no timer.
  • WIP-hold posture: stays a draft per Aaron's 2026-09-04 no-merges-while-UI-churns call.

Part of the 2026-09-03 handoff bundle (B of E); provenance: vault sessions/session-20260903-fleet-improvements-brainstorm.md §6.

@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aarontrowbridge

Copy link
Copy Markdown
Member Author

Superseded by design — recorded per spec spec-20260905-193000-local-shell-data-plane rev 2, D4 (this PR is never merged; the native view retires the interim).

This draft implemented #779's read-only Fleet Sessions tree view. At the local-shell data plane's landing (Slice C, amicissimo#393), the native session list carries the merged projection (D2): both stores in one provenance-tagged list, posture-honest (the hub-down pointer surfaced, refetch-before-first-render on transitions). The sub-spec's D4 is determinative: the bridge's premise — the store split visible on today's posture, bridged without fork changes — is genuinely superseded, because the native list now carries both stores on every posture.

Per the slice contract, the close stays Aaron's click — recorded superseded-by-design, never merged.

@aarontrowbridge

Copy link
Copy Markdown
Member Author

Closed per D4 of spec-20260905-193000 (the local-shell data plane): the native merged sessions view has LANDED — amicode#848 + amicissimo#397 (merged 2026-09-07) render the /amicode/fleet/sessions provenance-tagged projection with posture-honest states. This held draft (the read-only Fleet Sessions tree view) is superseded-by-design, never merged — exactly the disposition the sub-spec and the synthesis campaign recorded. (Aaron's directive, 2026-09-07.)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read-only Fleet Sessions view: list hub sessions from a standalone client

1 participant