axstack 0.20.20 → 0.20.21
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/package.json
CHANGED
|
@@ -56,7 +56,7 @@ Only an explicit user request to transfer ownership enters this branch.
|
|
|
56
56
|
prior owner seeing a different valid accepted owner stops.
|
|
57
57
|
|
|
58
58
|
Complete record: goal, authority, intent, IDs, revisions, evidence, pending
|
|
59
|
-
receipts/timers, unresolved decisions, next action, and transfer
|
|
59
|
+
receipts/timers, unresolved decisions, next action, and transfer status.
|
|
60
60
|
|
|
61
61
|
## Receipts (bind each decision to evidence)
|
|
62
62
|
|
|
@@ -87,8 +87,8 @@ covers only ordinary reading, writing, and local checks. Heartbeat deliveries
|
|
|
87
87
|
are acknowledged with no user-facing text. Process each whole delivery before
|
|
88
88
|
acknowledgment and validate its Task, Dispatch, sender, authority, revisions,
|
|
89
89
|
and receipts before advancing the run record. Duplicate deliveries are
|
|
90
|
-
deduplicated by runtime identity. Healthy unchanged
|
|
91
|
-
|
|
90
|
+
deduplicated by runtime identity. Healthy unchanged passes are silent.
|
|
91
|
+
After accepting worker, Task, or Run completion, the driver
|
|
92
92
|
invokes [axstack-cleanup](../../axstack-cleanup/SKILL.md) inline; it never
|
|
93
93
|
dispatches cleanup work.
|
|
94
94
|
|
|
@@ -99,8 +99,8 @@ session liveness, delivery, and verified advancement are distinct evidence.
|
|
|
99
99
|
On `consumer_fenced`, reconcile the active coordinator rather than borrowing an
|
|
100
100
|
identity. Respect settlement protection including `user_takeover`.
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
Axstack creates no execution heartbeat or substitute scheduler. See
|
|
103
|
+
[Review automation health](#review-automation-health).
|
|
104
104
|
Tracking grants no merge, release, model-substitution, or scope authority.
|
|
105
105
|
|
|
106
106
|
## Deadline (one rule for every owned timer)
|
|
@@ -131,15 +131,16 @@ nothing without tested independent review.
|
|
|
131
131
|
|
|
132
132
|
## Close-out
|
|
133
133
|
|
|
134
|
-
PRs merge by forge state
|
|
134
|
+
PRs merge by forge state; close out: (1) settle every worker
|
|
135
135
|
terminal; (2) compact record with counts and denominators—user
|
|
136
136
|
interventions/deviations from plan/repairs; (3) `axstack-auditor`: settle
|
|
137
137
|
non-zero/requested, else `counts zero`; an unavailable auditor leaves close-out
|
|
138
138
|
pending, never skipped silently; (4) release merged run worktrees and branches;
|
|
139
|
-
use `axstack-cleanup
|
|
139
|
+
use `axstack-cleanup`, remove the run's own automations under
|
|
140
|
+
[Workspace hygiene](workspace-hygiene.md), and close selected external-tracker tickets;
|
|
140
141
|
(5) mark the
|
|
141
142
|
[Run record](run-record.md) `Archived`. `Archived`—one each:
|
|
142
143
|
settlement receipt; compact record path; auditor decision plus settlement
|
|
143
|
-
receipt or `counts zero`; release and ticket receipts; archive timestamp.
|
|
144
|
+
receipt or `counts zero`; automation, release, and ticket receipts; archive timestamp.
|
|
144
145
|
`active`/receipt-incomplete record: close-out pending, never done. One-step
|
|
145
146
|
lookups exempt.
|
|
@@ -33,8 +33,8 @@ and Dispatch decides; parent/child display lineage does not. The creator closes
|
|
|
33
33
|
what it created at ordinary settlement; the cross-run sweep below may retire
|
|
34
34
|
its settled leftovers. A finite scheduled pass closes only its own exact terminal as
|
|
35
35
|
its final action. Manual chats, automation dedicated workspaces, and genuine
|
|
36
|
-
`user_takeover` sessions are never removed
|
|
37
|
-
its terminal; agent chat history is not deleted.
|
|
36
|
+
`user_takeover` sessions are never removed by ordinary settlement or sweep.
|
|
37
|
+
Deleting a session means closing its terminal; agent chat history is not deleted.
|
|
38
38
|
|
|
39
39
|
If native exact terminal close returns `runtime_error` for a provably finished
|
|
40
40
|
agent, send `/quit` + Enter to that exact terminal, wait about 5 seconds, then
|
|
@@ -45,6 +45,30 @@ leaves its terminal for the next pass, without treating that expected failure
|
|
|
45
45
|
as a hold. At pass start, clear only provably finished predecessor terminals
|
|
46
46
|
of the same automation in its dedicated workspace by this exact-handle path.
|
|
47
47
|
|
|
48
|
+
## Owned automation retirement
|
|
49
|
+
|
|
50
|
+
At Close-out, reconcile the run record with native inventory: the recorded
|
|
51
|
+
owning Run must have created the exact automation IDs selected for retirement.
|
|
52
|
+
The sweeping pass uses that recorded owning Run, not its own Run, for cross-run
|
|
53
|
+
watches. A cross-run sweep may retire a disabled per-run watch only when its
|
|
54
|
+
owning run is closed or every watched PR is merged or closed. Uncertain recorded
|
|
55
|
+
ownership, watch state, or disable result holds the affected automation.
|
|
56
|
+
|
|
57
|
+
For each eligible automation, disable it and verify native readback before
|
|
58
|
+
`orca automations remove <id>` on its exact ID, and verify absence by native
|
|
59
|
+
readback. The observer only disables and reports; the driver removes its own
|
|
60
|
+
run's automation. Only a retired owned per-run watch's workspace may be removed
|
|
61
|
+
under these guards. Never remove the durable review manager and its dedicated
|
|
62
|
+
workspace or a user-created automation and its dedicated workspace.
|
|
63
|
+
|
|
64
|
+
Remove that dedicated workspace only after confirming its exact ownership, no
|
|
65
|
+
live terminal, a clean worktree, and a head on the remote. Recheck ownership and
|
|
66
|
+
liveness immediately before workspace removal. If dirty or unpublished, use the
|
|
67
|
+
salvage and bundle verification below before removal; failed verification or
|
|
68
|
+
uncertain liveness is a hold. The current scheduled pass cannot remove its own
|
|
69
|
+
workspace while its terminal is live; the driver or a later sweep finishes that
|
|
70
|
+
step. Record separate automation and workspace receipts.
|
|
71
|
+
|
|
48
72
|
## Preserve before removal
|
|
49
73
|
|
|
50
74
|
Workers write reports, probes, logs, evidence, and scratch to the private
|
|
@@ -137,8 +137,9 @@ observed state distinct from merged, and the human merges by default.
|
|
|
137
137
|
## 6. End and preserve continuity
|
|
138
138
|
|
|
139
139
|
End a chat-run watch only after all members merged or closed or user
|
|
140
|
-
cancellation, with own-automation disable/readback and driver-owned
|
|
141
|
-
receipts in
|
|
140
|
+
cancellation, with own-automation disable/readback and driver-owned automation
|
|
141
|
+
removal and workspace cleanup receipts in
|
|
142
|
+
[Watch runtime](references/watch-runtime.md#chat-run-watch).
|
|
142
143
|
|
|
143
144
|
End a standalone watch early when all required PRs merge, at cancellation, or
|
|
144
145
|
at its shared default 24 h deadline. In every case, stop all owned
|
|
@@ -10,7 +10,10 @@ A standalone PR owner remains accountable through the default 24-hour window.
|
|
|
10
10
|
current GitHub state, persists event IDs, wakes the owner only for a new
|
|
11
11
|
actionable event, and never sends or mutates. Healthy observations update
|
|
12
12
|
quietly. Reuse prior watch identity rather than registering a duplicate, and
|
|
13
|
-
stop task-owned registrations at completion, cancellation, or expiry.
|
|
13
|
+
stop task-owned registrations at completion, cancellation, or expiry. The owner
|
|
14
|
+
must disable and read back its own automation, then remove it by exact ID under
|
|
15
|
+
[Workspace hygiene](../../axstack/references/workspace-hygiene.md#owned-automation-retirement).
|
|
16
|
+
Remove its dedicated workspace only after the terminal and preservation guards pass.
|
|
14
17
|
|
|
15
18
|
## Chat-run watch
|
|
16
19
|
|
|
@@ -109,8 +112,11 @@ Stop only when all members merged or closed, or on user cancellation recorded
|
|
|
109
112
|
by the driver in the run record. Re-read membership and confirm no ambiguous
|
|
110
113
|
publication or unsettled pass; cancellation
|
|
111
114
|
prevents new work but does not prove running workers exited. The observer may
|
|
112
|
-
disable only its own automation and must verify native disable/readback. A
|
|
113
|
-
|
|
115
|
+
disable only its own automation and must verify native disable/readback. A failed
|
|
116
|
+
or uncertain disable is a hold. Report the stop receipt to the driver; the
|
|
117
|
+
driver removes the automation by exact ID, verifies absence, and removes the
|
|
118
|
+
dedicated workspace after the observer terminal closes under
|
|
119
|
+
[Workspace hygiene](../../axstack/references/workspace-hygiene.md#owned-automation-retirement).
|
|
114
120
|
The driver separately settles workers, preserves evidence, and archives the run;
|
|
115
121
|
an unavailable driver leaves those steps pending. The standalone 24-hour expiry
|
|
116
122
|
and peer observation contracts are unchanged.
|