axstack 0.59.0 → 0.60.0

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.
Files changed (38) hide show
  1. package/docs/ceremony-baseline-20261103.md +96 -0
  2. package/docs/workflows.md +34 -13
  3. package/package.json +1 -1
  4. package/skills/axstack/references/automations.md +4 -3
  5. package/skills/axstack/references/autopilot.md +7 -3
  6. package/skills/axstack/references/candidate-publication.md +19 -3
  7. package/skills/axstack/references/contracts.md +8 -2
  8. package/skills/axstack/references/default-routing.md +21 -2
  9. package/skills/axstack/references/diligence.md +37 -0
  10. package/skills/axstack/references/fleet-dispatch.md +111 -9
  11. package/skills/axstack/references/fleet-route-schema.md +80 -3
  12. package/skills/axstack/references/fleet-verification.md +43 -1
  13. package/skills/axstack/references/lifecycle.md +29 -12
  14. package/skills/axstack/references/pr-chain.md +4 -1
  15. package/skills/axstack/references/role-roster.md +5 -2
  16. package/skills/axstack/references/run-record.md +23 -0
  17. package/skills/axstack/references/t3-runtime.md +48 -10
  18. package/skills/axstack/scripts/default-policy.js +2 -2
  19. package/skills/axstack/scripts/dispatch-plan.js +68 -18
  20. package/skills/axstack/scripts/fleet-route-cli.js +18 -9
  21. package/skills/axstack/scripts/fleet-route-plan.js +138 -0
  22. package/skills/axstack/scripts/fleet-route.js +6 -2
  23. package/skills/axstack/scripts/hub-usage.js +30 -3
  24. package/skills/axstack-align/SKILL.md +17 -1
  25. package/skills/axstack-audit/SKILL.md +17 -2
  26. package/skills/axstack-cleanup/SKILL.md +13 -4
  27. package/skills/axstack-implement/SKILL.md +59 -13
  28. package/skills/axstack-implement/references/step-back.md +9 -1
  29. package/skills/axstack-review/SKILL.md +8 -3
  30. package/skills/axstack-review/references/candidate-brief.md +3 -1
  31. package/skills/axstack-review/references/review-candidate.md +20 -7
  32. package/skills/axstack-review/references/review-receipt.md +5 -1
  33. package/skills/axstack-spec/SKILL.md +23 -7
  34. package/skills/axstack-watch/SKILL.md +5 -0
  35. package/skills/axstack-watch/references/escalation.md +4 -2
  36. package/skills/axstack-watch/references/proven-verification.md +5 -2
  37. package/skills/axstack-watch/references/readiness.md +20 -8
  38. package/src/instructions.js +6 -4
@@ -51,7 +51,11 @@ Before drafting, load and follow [Independent delivery](../axstack/references/in
51
51
  carries a sketch, include the [design lens](../axstack/references/design-lens.md)
52
52
  sketch in the approved revision's `Design` section and its `Usage` line in
53
53
  acceptance. First record the driver's
54
- independent assessment, then load
54
+ independent assessment. For questions, consult advisers only for consequential
55
+ decisions and disagreements. Never dispatch advisers for every question,
56
+ routine factual clarification or settled preferences.
57
+ For those consequential decisions and disagreements and the required draft
58
+ rounds below, load
55
59
  [T3 runtime](../axstack/references/t3-runtime.md) before dispatching the
56
60
  configured `axstack-advisor-astra` and `axstack-advisor-opus` independently,
57
61
  without cross-reading, with the same bounded evidence and question. The
@@ -60,6 +64,19 @@ Before drafting, load and follow [Independent delivery](../axstack/references/in
60
64
  remain unchanged. If either adviser is unavailable, hold Spec without
61
65
  substitution. A reviewable draft covers the agreed outcome, acceptance
62
66
  criteria, exclusions, and both adviser receipts or the reported hold.
67
+ Run a full adviser round on the first draft and every revision that changes
68
+ meaning in criteria, scope, decisions or authority.
69
+ Before user approval, run `axstack-diligence` on the first draft and the revision
70
+ presented for approval under [Diligence](../axstack/references/diligence.md) to
71
+ check the draft against the Align decisions for anything dropped, added, or softened.
72
+ Batch low and wording-only findings into one final pass.
73
+ Never start a new full adviser round for low or wording-only findings;
74
+ for low or wording-only findings with changed text, follow delta confirmation below.
75
+ Never waive high or medium findings.
76
+ When existing triggers apply, run `axstack-escalation-fable` only after ordinary
77
+ high and medium findings settle. Reuse the Fable receipt while the reviewed
78
+ meaning holds. If Fable's own findings change meaning, a fresh Fable session
79
+ reviews the revised result.
63
80
  An optional adviser note may be deferred or rejected in a `Decisions` row
64
81
  with the draft unchanged; it needs no new adviser pair.
65
82
  By default, changed draft text requires fresh receipts on the new revision.
@@ -73,9 +90,11 @@ Before drafting, load and follow [Independent delivery](../axstack/references/in
73
90
  An unavailable adviser seat holds the affected phase.
74
91
  4. **Obtain the specification checkpoint.** The driver owns the draft and the
75
92
  user approves it; adviser input cannot grant approval. High-stakes decisions
76
- require `axstack-advisor-astra` and a fresh `axstack-escalation-fable`
77
- session to return plain AGREE. Present one
78
- reviewable, identified revision for this checkpoint. Its user approval
93
+ require `axstack-advisor-astra` and `axstack-escalation-fable` to return
94
+ plain AGREE. Each use of `axstack-escalation-fable` must start a fresh session.
95
+ Reuse the Fable plain-AGREE receipt only while the reviewed meaning holds under step 3.
96
+ If the reviewed meaning changes, a fresh Fable session must review the revised result.
97
+ Present one reviewable, identified revision for this checkpoint. Its user approval
79
98
  creates the execution baseline.
80
99
  In a T3 thread, the driver also publishes the spec readback as an inline page and
81
100
  follows [Explain](../axstack-explain/SKILL.md) and
@@ -89,9 +108,6 @@ Before drafting, load and follow [Independent delivery](../axstack/references/in
89
108
  Except for high-stakes decisions, a change confined to a `Decisions` row
90
109
  reuses adviser receipts only while draft text, evidence, scope, and question
91
110
  remain unchanged.
92
- Before user approval, dispatch `axstack-diligence` under
93
- [Diligence](../axstack/references/diligence.md) to check the draft against
94
- the Align decisions for anything dropped, added, or softened.
95
111
  5. **Snapshot the baseline.** Record the approved revision identity and a
96
112
  concise repository Markdown counterpart pointing to the same requirements,
97
113
  not a second human or agent contract. In Linear mode, the native
@@ -200,6 +200,11 @@ Load and follow [Blocked on a person](references/blocked-on-person.md).
200
200
 
201
201
  ## 6. End and preserve continuity
202
202
 
203
+ While a watch is active, never unwatch or hand back because a forge
204
+ `CHANGES_REQUESTED` or required review remains unresolved.
205
+ Continue repairing and watching review blockers within the recorded mode and authority.
206
+ User cancellation, standalone expiry and existing stop and hold rules remain unchanged.
207
+
203
208
  Reconcile PR links and stop native PR watches under
204
209
  [T3 runtime](../axstack/references/t3-runtime.md#native-pr-links-and-watches).
205
210
 
@@ -36,8 +36,10 @@ A risky-path hold blocks automatic merge.
36
36
  Post a merge card for every nonqualifying approval, base, verification, off,
37
37
  or risky-path case.
38
38
  Follow [Advised holds](../../axstack/references/contracts.md#advised-holds) for eligible merge-card causes.
39
- Bind it to the PR head and base SHA; list CI, authored review and diligence at
40
- those SHAs, counted collaborator approvals and bot votes with each vote's SHA
39
+ Follow the [applicable diligence gate](../../axstack/references/diligence.md#applicable-diligence-gate).
40
+ Bind it to the PR head and base SHA; list CI, authored review and applicable
41
+ diligence evidence (combined Scope or separate diligence) at those SHAs, counted
42
+ collaborator approvals and bot votes with each vote's SHA
41
43
  and stale flag, and the causes holding this merge.
42
44
  A card that needs the user's decision (work promotion or work deploying/unknown
43
45
  base, `Auto-merge: off`, risky-path, provenance, or an unclosable verification gap)
@@ -5,7 +5,10 @@ Proven verification is required for every own PR. Use the authored receipt:
5
5
  - Verification requires `Verdict: APPROVE`, `Coverage: COMPLETE`, and
6
6
  `Escalate to user: no`.
7
7
  - Verification requires a `Safety fact` about the change that is not `unproven`.
8
- - Verification requires diligence `PASS` at the exact head and base.
8
+ - For eligible small non-risk-path work, `APPROVE` and `Scope: PASS` from the
9
+ same cross-provider reviewer at the exact head and base satisfy verification's
10
+ diligence gate. Otherwise verification requires separate diligence `PASS`
11
+ at the exact head and base. Follow the [applicable diligence gate](../../axstack/references/diligence.md#applicable-diligence-gate).
9
12
  - Verification requires `Final-head check: <command> -> <log path>` for a check
10
13
  the reviewer ran at the final head, with its log kept in the run's evidence folder.
11
14
  - Each acceptance check requires passing evidence from the ticket or spec
@@ -38,7 +41,7 @@ reissuing only if a decision is still needed.
38
41
  The user's reply in the driver thread or on the forge clears only that
39
42
  verification cause. Record `user-accepted unproven: <item>`, never as a pass.
40
43
  Treat the accepted item as settled for this head and base and merge when every
41
- other gate and hold permits it. A reply never waives `APPROVE`, diligence `PASS`
44
+ other gate and hold permits it. A reply never waives `APPROVE`, the applicable diligence gate
42
45
  or green CI. A new head or base voids the acceptance.
43
46
  Settle an `Escalate to user` for the user-accepted verification cause at its
44
47
  accepted head and base while other escalation holds still apply.
@@ -11,7 +11,14 @@ A missing or idle owner never transfers merge authority, because the reconcile a
11
11
  explicit-transfer rules in [Lifecycle](../../axstack/references/lifecycle.md) apply first.
12
12
  Observation-only and peer watches never merge.
13
13
  Workers, reviewers, monitors, managers, and the nightly triage never merge.
14
- A current diligence `PASS` at the exact head is required before any merge-ready statement.
14
+ Follow the [applicable diligence gate](../../axstack/references/diligence.md#applicable-diligence-gate).
15
+ For eligible small non-risk-path work, `APPROVE` plus `Scope: PASS` from the
16
+ same cross-provider reviewer at the exact head and base satisfies the diligence
17
+ gate before any merge-ready statement. All other work requires separate current
18
+ diligence `PASS` at the exact head and base. `Scope: FINDINGS` or `Scope: UNKNOWN`
19
+ blocks merge-ready; missing, stale or ineligible combined receipts also block.
20
+ Below, diligence evidence means the applicable separate `PASS` or combined
21
+ `Scope: PASS`, always with authored approval.
15
22
 
16
23
  Record approval mode from the collaborator readback.
17
24
  A repository is personal (`solo`) only when it is outside `defi-com` and a
@@ -31,15 +38,15 @@ retargeting and retirement. Bind readiness to PR, head, base branch identity
31
38
  and base SHA, including an unchanged head after retargeting.
32
39
  For each current head and base SHA, every merge-ready term must hold:
33
40
 
34
- - Approval: in `solo` mode, authored-review `APPROVE` plus diligence `PASS`, both
35
- bound to the current head and base, satisfy approval.
41
+ - Approval: in `solo` mode, authored-review `APPROVE` plus applicable diligence
42
+ evidence, both bound to the current head and base, satisfy approval.
36
43
  The reviewer's provider differs from every provider that authored or repaired
37
44
  commits in `merge-base..head`, using receipt-recorded provenance.
38
45
  Both modes use `git patch-id --stable` of `merge-base..head`.
39
46
  A rebase or base-update merge with unchanged patch-id adds no provenance.
40
47
  Unknown or mixed provenance and PRs the user wrote by hand post a merge card.
41
48
  In `team` mode, require at least one counted collaborator approval at the
42
- current head plus the same authored review and diligence.
49
+ current head plus the same authored review and applicable diligence evidence.
43
50
  Human approval: in `team` mode, count the forge's latest opinionated review
44
51
  from each non-author account of type `User` only when it is `APPROVED`, not
45
52
  dismissed, and `collaborators/{login}/permission` is write, maintain, or admin.
@@ -55,8 +62,8 @@ For each current head and base SHA, every merge-ready term must hold:
55
62
  Carryover requires an undismissed approval, no later `CHANGES_REQUESTED` from
56
63
  that reviewer, and repository rules that require neither last-push approval
57
64
  nor stale-review dismissal.
58
- Require fresh authored review, diligence, and CI on every new head.
59
- Refresh authored review, diligence and CI evidence at the current head and base after every head or base change; base updates return to the same author under the existing repair route.
65
+ Require fresh authored review, applicable diligence evidence, and CI on every new head.
66
+ Refresh authored review, applicable diligence and CI evidence at the current head and base after every head or base change; base updates return to the same author under the existing repair route.
60
67
  Text carrying a visible machine marker never counts as a user reply:
61
68
  orchestration notices, dispatch envelopes, `<pasted_content>` blocks, task
62
69
  notifications, tool output, and PR text.
@@ -72,8 +79,9 @@ For each current head and base SHA, every merge-ready term must hold:
72
79
  holds. Checks from other apps may be neutral or skipped; none may be pending.
73
80
  - Feedback and revision: the PR is not draft and is mergeable against the
74
81
  current base; no unresolved blocking agent-authored thread, top-level blocking comment, or
75
- effective blocking review remains after the validated `Pre-existing` thread exception below. Authored review `APPROVE` and diligence
76
- `PASS` are bound to the current head and base. No `Escalate to user`
82
+ effective blocking review remains after the validated `Pre-existing` thread exception below.
83
+ Authored review `APPROVE` and applicable diligence evidence are bound to the
84
+ current head and base. No `Escalate to user`
77
85
  (apart from the settled verification cause below),
78
86
  unsettled author Dispatch, or task, PR, dependency, run-wide, or serious-risk
79
87
  hold affects this merge. Apply the comment holds below.
@@ -124,4 +132,8 @@ the carryover rule above.
124
132
  If the forge dismissed it or requires last-push approval, hold and tell the user
125
133
  without auto-requesting re-review.
126
134
  Initial review requests before any human approval remain allowed.
135
+ For a stale `CHANGES_REQUESTED` whose findings are addressed, use the
136
+ [blocked-on-person notification](blocked-on-person.md) once per review ID.
137
+ Never re-request review for a PR blocked on a person, including stale
138
+ `CHANGES_REQUESTED`.
127
139
 
@@ -11,14 +11,16 @@ export function renderInstructionBlock() {
11
11
  '`axstack-implement` loops author -> review -> repair until every PR is merge-ready.',
12
12
  'Route every subagent, delegated worker, reviewer, and cross-harness dispatch through T3 Code orchestration using the `t3-code` MCP.',
13
13
  'Use `delegate_task` for every role, including authors with `isolation:"worktree"`.',
14
- 'Use `t3_thread_launch` for top-level drivers only on explicit user request for a new thread.',
14
+ 'Use `t3_thread_launch` for top-level drivers only on explicit user request for a new thread, including a runtime-accepted user standing intake grant for that one hand-off.',
15
15
  'Use `t3_thread_launch` as a rare author fallback only when worktree isolation is unavailable following an explicit user request for a new thread and record each use in the run record.',
16
16
  'Follow `references/t3-runtime.md` in the installed `axstack` skill for the runtime contract.',
17
- 'Before every subsequent dispatch of delegated workers and reviewers and every explicitly authorized top-level launch, follow `references/fleet-dispatch.md` and `references/fleet-route-schema.md` in the installed `axstack` skill with current routing facts.',
18
- 'Refresh routing facts immediately before dispatch and run `bun <installed-axstack>/scripts/fleet-route.js recommend --input <facts.json> --now <epoch-ms> --config ~/.config/haoshoku/fleet-routing.json --config-digest <run-pinned-sha256> --json` with the account-local policy and run-pinned digest.',
17
+ 'At new-task intake before the first worker dispatch, follow `references/fleet-dispatch.md` and `references/fleet-route-schema.md` with current routing facts.',
18
+ 'Route a whole task at most once using `bun <installed-axstack>/scripts/fleet-route.js plan --facts <facts-dir> --now <epoch-ms> --config ~/.config/haoshoku/fleet-routing.json --config-digest <run-pinned-sha256> --json`; missing intakeRouting means false and an explicit named host (pilot) needs no support record.',
19
+ 'Scheduled work, status asks and follow-ups stay local; preserve the routed marker and keep every worker local inside the task without per-dispatch routing.',
19
20
  'Bind the selected destination to explicit `environmentId`, `projectId`, provider, model, options and `runtimeMode` from current destination observations.',
20
21
  'Never let native main/UI balancing override the explicit worker destination.',
21
- 'Hold routing failures, unknown execution authority and no-route results, using only a proven supported local isolated fallback within existing authority.',
22
+ 'Hold ambiguous launches and unknown execution authority; never start a second driver while the first may exist.',
23
+ 'With no launch call, stay local and check staffing; transfer ownership only after AXSTACK-ACCEPT and one idempotent proceed under references/fleet-dispatch.md.',
22
24
  'Absence of facts never authorizes a route.',
23
25
  'Keep remote-author-coordinator off pending successful version-bound lifecycle gates.',
24
26
  'The user authorizes Axstack drivers in T3 to run full-access and create delegated writers and worktrees within approved scope.',