Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
17225d6
docs: record lifecycle simplification baseline (WI-R/W)
tnaum-ms Nov 30, 2026
62848a7
docs: map approved lifecycle checkpoints to implementation slices
tnaum-ms Nov 30, 2026
af8ace1
docs: record R/W/F dispatch and pending live gates
tnaum-ms Nov 30, 2026
b58b745
fix: keep tree recovery pinned to the original account (WI-R)
tnaum-ms Nov 30, 2026
d6be5ea
docs: record WI-R review and the WI-W test blocker
tnaum-ms Nov 30, 2026
4c5ff5f
test: fence worker replies and evaluation replay across teardown (WI-W)
tnaum-ms Nov 30, 2026
8c4854f
docs: record WI-W pass and bounded WI-F1 correction
tnaum-ms Nov 30, 2026
dce388d
docs: record passing host baselines and WI-F1 technical gate
tnaum-ms Nov 30, 2026
b7fd8bf
fix: permanently end retained host lifetimes on teardown (WI-F1)
tnaum-ms Nov 30, 2026
21c5442
docs: record approved WI-F1 boundary and final evidence
tnaum-ms Nov 30, 2026
a0cb190
docs: record WI-F2/E/H1 dispatch after boundary approval
tnaum-ms Nov 30, 2026
95cd11d
fix: fence namespace writes at the last host boundary (WI-H1)
tnaum-ms Nov 30, 2026
b322b74
docs: record WI-H1 pass and scoped E/U/F2 corrections
tnaum-ms Nov 30, 2026
7417e01
fix: isolate frozen Dashboard actions by panel session (WI-F2)
tnaum-ms Nov 30, 2026
1d971f4
fix: complete ordinary Disconnect before editing settings (WI-E)
tnaum-ms Nov 30, 2026
52a70c0
docs: record committed WI-F2/E passes and remaining corrections
tnaum-ms Nov 30, 2026
54e8908
fix: cancel stale query sampling and model sends (WI-H2)
tnaum-ms Nov 30, 2026
674ab9c
fix: keep recovery live and frozen notices copy-only (WI-U1)
tnaum-ms Nov 30, 2026
a76f7cd
docs: record WI-H2/U1 evidence and start guarded handoffs
tnaum-ms Nov 30, 2026
1a1c6ce
docs: align lifecycle guidance with recovery and one-way teardown (WI-P)
tnaum-ms Nov 30, 2026
c640d44
fix: preserve origin lifetimes across Playground handoffs (WI-H3)
tnaum-ms Nov 30, 2026
efd802c
docs: record WI-H3 pass and dispatch final protocol removal
tnaum-ms Nov 30, 2026
9222ec8
docs: add executable manual lifecycle test runbook (WI-P)
tnaum-ms Nov 30, 2026
6bcf634
refactor: remove Retry-unlock protocol and keep close-only RPCs (WI-U2)
tnaum-ms Nov 30, 2026
c4cc00e
docs: record integrated Case 1 and completed U2 evidence
tnaum-ms Nov 30, 2026
37917fc
chore: regenerate localization and format lifecycle changes
tnaum-ms Nov 30, 2026
2dbafd6
test: repair strict lint imports and preserve wizard mock exports (WI-P)
tnaum-ms Nov 30, 2026
2f704aa
docs: record draft handoff, Case 2 repairs and outstanding gates
tnaum-ms Nov 30, 2026
e175711
fix: explain why connection edits require Disconnect (FUP-1)
tnaum-ms Nov 30, 2026
dcbf37f
fix: close clean disconnected views without confirmation (FUP-2)
tnaum-ms Nov 30, 2026
39be627
fix: refresh Playground indicators after explicit Disconnect (FUP-3)
tnaum-ms Nov 30, 2026
ced74e6
docs: record manual feedback fixes and retest steps
tnaum-ms Nov 30, 2026
117e9cc
chore: localize and format manual-feedback fixes
tnaum-ms Nov 30, 2026
da75c7e
test: supply latch subscription in schema contract mock (FUP-3)
tnaum-ms Nov 30, 2026
a9d540c
docs: record follow-up Case 2 fixture approval
tnaum-ms Nov 30, 2026
107efc1
test: type the latch-event mock without getter-spy overloads
tnaum-ms Nov 30, 2026
f8da433
docs: record follow-up test typing correction
tnaum-ms Nov 30, 2026
1b98521
docs: checkpoint PR #1149 review decisions
tnaum-ms Dec 1, 2026
09a1f35
docs: record C01, C08 and C12 review replies
tnaum-ms Dec 1, 2026
5e39ca7
fix: bind Dashboard collection opens to their origin (C04)
tnaum-ms Dec 1, 2026
651a00c
docs: record C04 Dashboard origin acceptance
tnaum-ms Dec 1, 2026
d013208
fix: retire prior connection lifetimes on idle edits (C02)
tnaum-ms Dec 1, 2026
29b899b
docs: record C02 idle-edit acceptance
tnaum-ms Dec 1, 2026
2e01db6
fix: invalidate Playground handoffs from closed Shells (C03)
tnaum-ms Dec 1, 2026
2fe876e
docs: record C03 closed-Shell acceptance
tnaum-ms Dec 1, 2026
94d6287
fix: let Generate Query recover an evicted client (C05)
tnaum-ms Dec 1, 2026
393c441
docs: record C05 query recovery acceptance
tnaum-ms Dec 1, 2026
82723db
fix: keep Entra account rejection recoverable (C07)
tnaum-ms Dec 1, 2026
9917b40
docs: record C07 Entra recovery acceptance
tnaum-ms Dec 1, 2026
0b81b83
fix: settle interrupted Dashboard collections loads (C09)
tnaum-ms Dec 1, 2026
066758f
docs: record C09 Dashboard interruption acceptance
tnaum-ms Dec 1, 2026
eb57981
fix: clear Playground selections after connection removal (C06)
tnaum-ms Dec 1, 2026
a133a26
docs: record C06 Playground removal acceptance
tnaum-ms Dec 1, 2026
700c6d1
fix: resume failed index polling only on Refresh (C10)
tnaum-ms Dec 1, 2026
723a7f7
docs: record C10 index polling acceptance
tnaum-ms Dec 1, 2026
dc4a95b
fix: show localized connection recovery notices (C11)
tnaum-ms Dec 1, 2026
e847964
docs: record C11 acceptance and lifecycle guidance
tnaum-ms Dec 1, 2026
754098c
chore: format connection lifecycle review fixes
tnaum-ms Dec 1, 2026
f1dd44e
docs: record integrated advisor review and index refresh decision
tnaum-ms Dec 1, 2026
4f39971
chore: format C09 follow-up documentation
tnaum-ms Dec 1, 2026
269d371
test: match Dashboard callback ref pattern in C09 regression
tnaum-ms Dec 1, 2026
caaa6b2
docs: record passing integrated Case 2 verification
tnaum-ms Dec 1, 2026
fd20185
Address connection lifecycle review feedback (#1154)
tnaum-ms Dec 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions .github/skills/tree-cluster-architecture/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,28 @@ Rules:
## Connection Binding Contract

A long-lived surface binds to `{ clusterId, fingerprint, generation }`, not to a `ClustersClient`
instance. Resolve the client for every operation through the binding with
instance. Resolve the client for every operation through that shared binding with
`ClustersClient.resolveBoundClient()` or `runWithClient()`. Never retain a `ClustersClient` in view,
router, shell, playground, task, or clipboard state.

- A new generation with the same fingerprint is a transparent same-connection replacement.
- A normal replacement advances the physical client generation while keeping the fingerprint.
An operation bound to the old generation must not attribute its late failure to the replacement,
but a later explicit operation may use the replacement for the same identity.
- Explicit Disconnect, Remove or Disconnect-before-update retires the logical host lifetime once.
That cutoff is one-way: same-account `Reconnect` creates a new live session but does not revive
retained views or canceled handoffs from the retired lifetime.
- A different fingerprint is an identity or settings change. Never rebind an existing surface.
- Check latches and the binding again at operation and async-reply boundaries.
- Use one shared per-operation resolution path. Assert binding/latch state after client resolution,
and capture the originating lifetime or cancellation signal across async handoffs. Check it
again immediately before external side effects, replies and Playground/model sends.
- An operation may hold the resolved client only for the duration of that operation. A stale reply
must not mutate the new connection or replay a failed write.
- Shell and playground workers may keep their own connection, but pin the originating identity and
obey the same fingerprint and epoch checks when they respawn.
- Shell and Playground workers may keep their own connection, but pin the originating identity and
use equivalent renewal, cancellation and lifetime checks when they respawn.
- Ordinary token, sign-in or network repair is not retirement. Keep the same tab usable and show
an actionable error for a failed operation; require no Retry-to-unlock step and no automatic
replay. A retained tab after explicit teardown is permanently read-only: dismissing its notice
exposes only copyable contents, and closing it requires the normal dirty confirmation.

The failure-row **Open shell without authentication** entry is separate from normal authenticated
Shell startup. It binds to a sanitized endpoint and re-reads it with epoch/latch checks, without
Expand Down Expand Up @@ -241,7 +252,9 @@ Before approving a cluster tree change, answer yes to all:
- [ ] `clusterId`, `treeId`, and `viewId` have documented owners.
- [ ] Credentials and clients use `clusterId` only.
- [ ] Long-lived surfaces retain bindings, not `ClustersClient` instances.
- [ ] Per-operation resolution checks the fingerprint and generation.
- [ ] Normal same-fingerprint generation replacement remains separate from one-way lifetime retirement.
- [ ] Per-operation resolution uses the shared path and checks the binding after resolution.
- [ ] Async handoffs fence external side effects with the captured lifetime or cancellation.
- [ ] Every rendered layout has a reverse lookup strategy.
- [ ] Cluster and collection lookup share one resolver.
- [ ] Synthetic ownership is exact and isolated from stored lookup.
Expand Down
6 changes: 3 additions & 3 deletions build/verification/browser/scenarios.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('L2-dev manifest and routes', (): void => {

it('round-trips every scenario and theme, without duplicate routes', (): void => {
const routes = scenarioRoutes();
expect(routes).toHaveLength(186);
expect(new Set(routes.map((route): string => route.path)).size).toBe(186);
expect(routes).toHaveLength(189);
expect(new Set(routes.map((route): string => route.path)).size).toBe(189);
for (const route of routes) expect(parseScenarioRoute(route.path)).toEqual(route);
});

Expand Down Expand Up @@ -71,7 +71,7 @@ describe('L2-dev manifest and routes', (): void => {
});

it('provides path-only all/view/theme helpers and rejects unknown subsets', (): void => {
expect(runnerRoutes('/scenarios/run-all.js')).toHaveLength(186);
expect(runnerRoutes('/scenarios/run-all.js')).toHaveLength(189);
expect(runnerRoutes('/scenarios/run-all/connectionDiagnostics.js')).toHaveLength(84);
expect(runnerRoutes('/scenarios/run-all/localQuickStart.js')).toHaveLength(75);
expect(runnerRoutes('/scenarios/run-all/localQuickStart/dark.js')).toHaveLength(25);
Expand Down
Loading
Loading