axstack 0.59.1 → 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 (35) 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/diligence.md +37 -0
  9. package/skills/axstack/references/fleet-dispatch.md +111 -9
  10. package/skills/axstack/references/fleet-route-schema.md +80 -3
  11. package/skills/axstack/references/fleet-verification.md +43 -1
  12. package/skills/axstack/references/lifecycle.md +29 -12
  13. package/skills/axstack/references/pr-chain.md +4 -1
  14. package/skills/axstack/references/role-roster.md +5 -2
  15. package/skills/axstack/references/run-record.md +23 -0
  16. package/skills/axstack/references/t3-runtime.md +48 -10
  17. package/skills/axstack/scripts/dispatch-plan.js +68 -18
  18. package/skills/axstack/scripts/fleet-route-cli.js +18 -9
  19. package/skills/axstack/scripts/fleet-route-plan.js +138 -0
  20. package/skills/axstack/scripts/fleet-route.js +6 -2
  21. package/skills/axstack-align/SKILL.md +17 -1
  22. package/skills/axstack-audit/SKILL.md +17 -2
  23. package/skills/axstack-cleanup/SKILL.md +13 -4
  24. package/skills/axstack-implement/SKILL.md +59 -13
  25. package/skills/axstack-implement/references/step-back.md +9 -1
  26. package/skills/axstack-review/SKILL.md +8 -3
  27. package/skills/axstack-review/references/candidate-brief.md +3 -1
  28. package/skills/axstack-review/references/review-candidate.md +20 -7
  29. package/skills/axstack-review/references/review-receipt.md +5 -1
  30. package/skills/axstack-spec/SKILL.md +23 -7
  31. package/skills/axstack-watch/SKILL.md +5 -0
  32. package/skills/axstack-watch/references/escalation.md +4 -2
  33. package/skills/axstack-watch/references/proven-verification.md +5 -2
  34. package/skills/axstack-watch/references/readiness.md +20 -8
  35. package/src/instructions.js +6 -4
@@ -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.',