axstack 0.25.3 → 0.25.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/workflows.md CHANGED
@@ -254,8 +254,10 @@ for explicit ownership transfer.
254
254
  read back private evidence, salvage dirty or ignored non-cache content,
255
255
  archive the exact eligible thread, then remove its exact worktree without
256
256
  force and delete only eligible local branches. T3 metadata actions do not
257
- remove worktrees. Authors remain until their PR merges or closes; the current
258
- pass, unsettled descendants, and user-taken-over threads remain protected.
257
+ remove worktrees. Accepted writer or delegated completion settles thread
258
+ metadata only. Author threads and worktrees remain retained and unarchived
259
+ until their PR merges or closes; the current pass, unsettled descendants,
260
+ and user-taken-over threads remain protected.
259
261
 
260
262
  One T3 host/server owns a run, one persistent owner owns each PR, and one
261
263
  writer owns each candidate. Fanout has no fixed PR count; it follows real
@@ -431,8 +433,12 @@ admits nothing, writes only its private discovery note, and notifies once about
431
433
  a stalled owner under the recorded policy.
432
434
 
433
435
  Capacity is measured across the host. Waiting events stay covered and occupy
434
- no execution slot after descendants settle. Each pass retires eligible settled
435
- predecessors through `axstack-cleanup` and records retained worktree count.
436
+ no execution slot after descendants settle. After lane reconciliation at pass
437
+ start, every pass, including a duplicate, settles finished lane pass threads
438
+ under the [Finite-session teardown guards](../skills/axstack/references/automations.md#finite-session-teardown).
439
+ Held or stuck passes stay unsettled. Only the owner retires eligible settled
440
+ predecessors through `axstack-cleanup` and writes continuity; each pass records
441
+ retained worktree count.
436
442
  Past the authorized storage limit (default 20 lane worktrees), disable the
437
443
  schedule with `enabled:false` and hold. The overlap, real-event, killed-predecessor,
438
444
  and storage-limit canaries must pass before activation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axstack",
3
- "version": "0.25.3",
3
+ "version": "0.25.4",
4
4
  "description": "Axstack installer and setup CLI: installs owned chat skills and role data, configures supported harness settings, and checks T3 Code capabilities.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -70,8 +70,10 @@ The earlier pass wins only when ordering evidence exists.
70
70
  Missing ordering or ownership evidence holds admission and never guesses a winner.
71
71
 
72
72
  Once identified as a duplicate, the new pass does no PR work, makes no further
73
- shared-record write and touches no live or unsettled resource owned by the
74
- live manager. A duplicate pass admits nothing and runs read-only discovery
73
+ shared-record write and touches no PR-job thread or descendant owned by the
74
+ live manager. A duplicate's only mutation is pass-start settlement of eligible
75
+ terminal lane pass threads under [Finite-session teardown](#finite-session-teardown).
76
+ A duplicate pass admits nothing and runs read-only discovery
75
77
  into its own pass note in its private evidence folder, recording new eligible
76
78
  events and the unserved count. If a duplicate finds a stalled owner idle at its
77
79
  prompt with a final turn lacking a completion receipt for more than five
@@ -328,6 +330,16 @@ or separate model gate.
328
330
 
329
331
  ## Finite-session teardown
330
332
 
333
+ After lane reconciliation at pass start, every pass, including a duplicate,
334
+ uses `t3_thread_organize` to settle finished predecessor and duplicate lane pass
335
+ threads as metadata only, before discovery or admission.
336
+ Settle another lane pass thread only with terminal run evidence, no unsettled
337
+ descendants, no recorded open hold naming it, no user takeover, and exclusion of
338
+ the live owner and current pass.
339
+ Leave held or stuck pass threads unsettled.
340
+ Settlement is separate from owner-only worktree removal, branch deletion and
341
+ continuity writes.
342
+
331
343
  Only the owner-of-record pass retires settled predecessor passes and qualifying
332
344
  terminal duplicates, including duplicates newer than the owner and immediately
333
345
  after successor takeover.
@@ -340,8 +352,8 @@ Then run the driver-start orphan sweep under Workspace hygiene; the sweep is
340
352
  silent when nothing was removed. Record sweep results and holds in continuity's
341
353
  Open holds table.
342
354
  The orphan sweep covers the run record's repositories plus registered repositories on this host.
343
- Retirement settles duplicate threads with `t3_thread_organize` (settle/archive
344
- changes metadata only) before separate guarded Git worktree removal.
355
+ Retirement settles remaining duplicate threads with `t3_thread_organize`
356
+ (settle/archive changes metadata only) before separate guarded Git worktree removal.
345
357
  Unknown, active or user-taken-over threads,
346
358
  ambiguous publication and failed salvage stay preserved.
347
359
 
@@ -9,10 +9,13 @@ which loads `../axstack/references/automations.md` relatively. Read that contrac
9
9
  and [T3 runtime](t3-runtime.md). Reconcile lane ownership and duplicate status,
10
10
  then follow [Provider bindings](t3-runtime.md#preflight-and-binding) for shared schedule
11
11
  recreation and recorded instance update before verifying the recorded `axstack-owner`
12
- binding before admission. Discover all eligible peer-review events and admit within measured host capacity.
12
+ binding before admission. At pass start, every pass, including a duplicate,
13
+ settles finished predecessor and duplicate pass threads under the Finite-session
14
+ teardown guards before admission. Discover all eligible peer-review events and admit within measured host capacity.
13
15
  Use host-clone detached per-PR checkouts; preserve exact ownership and receipts.
14
- Retire settled predecessors, report retained worktree count, and disable the
15
- schedule and hold past its authorized limit. Save and read back continuity at
16
+ Report retained worktree count and disable the schedule and hold past its
17
+ authorized limit. Only the owner retires settled predecessors and saves and
18
+ reads back continuity at
16
19
  `~/.local/share/axstack/runs/review-manager/progress.md` using
17
20
  `run-record.md#review-manager-continuity-template`; settle descendants and end
18
21
  the finite turn. Stay quiet when unchanged. Never check out a PR branch here.
@@ -32,7 +32,12 @@ Cleanup order is: settled descendants -> evidence readback -> salvage dirty or i
32
32
  Require terminal run evidence before `t3_thread_organize` settle or archive.
33
33
  These metadata actions do not remove worktrees. Accept matching delegated task
34
34
  or launched run completion under the runtime contract before settlement.
35
- Keep the author worktree and thread until the PR merges or closes.
35
+ After the driver accepts a launched writer's or delegated task's completion from terminal run evidence plus a verified receipt or candidate check, it settles the matching thread with `t3_thread_organize` as metadata only.
36
+ Settling never removes, archives or abandons the thread or worktree.
37
+ Retain the author worktree and thread unarchived until the PR merges or closes, with repairs returning to the same author.
38
+ A repair turn automatically un-settles the thread, making it visible while working.
39
+ The driver settles the thread again after the next accepted repair completion.
40
+ Threads with unaccepted completion, FAILED or QUESTION markers, held, failed or interrupted runs, or anything needing the user stay unsettled and visible.
36
41
  Retain a user-taken-over T3 thread and never send cleanup commands to it, including `t3_thread_organize` settle or archive.
37
42
  Never remove the current driver, current pass, an active or unknown thread, an unsettled descendant, or a resource with ambiguous ownership.
38
43
  At final settlement, no eligible non-driver thread or worktree remains.