axstack 0.61.4 → 0.63.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.
- package/README.md +4 -2
- package/docs/concepts.md +5 -2
- package/docs/installation.md +1 -1
- package/docs/workflows.md +17 -13
- package/package.json +1 -1
- package/profiles/presets/claude-only.json +14 -13
- package/profiles/presets/codex-only.json +11 -11
- package/profiles/presets/mixed.json +14 -13
- package/skills/axstack/references/autopilot.md +8 -2
- package/skills/axstack/references/candidate-publication.md +11 -3
- package/skills/axstack/references/contracts.md +8 -6
- package/skills/axstack/references/diligence.md +6 -4
- package/skills/axstack/references/independent-delivery.md +9 -5
- package/skills/axstack/references/lifecycle.md +15 -6
- package/skills/axstack/references/local-artifacts.md +14 -6
- package/skills/axstack/references/parallel-first.md +152 -0
- package/skills/axstack/references/perf-loop.md +9 -0
- package/skills/axstack/references/role-roster.md +20 -6
- package/skills/axstack/references/routing.md +22 -6
- package/skills/axstack/references/run-record.md +26 -4
- package/skills/axstack/references/t3-runtime.md +5 -0
- package/skills/axstack/references/ui-improvement-loop.md +9 -0
- package/skills/axstack/references/ui-verification.md +5 -1
- package/skills/axstack/references/workspace-hygiene.md +11 -1
- package/skills/axstack/scripts/archive-evidence.js +2 -1
- package/skills/axstack/scripts/check-staged-file-tokens.js +2 -1
- package/skills/axstack/scripts/fleet-scope.js +3 -3
- package/skills/axstack/scripts/git-argv.js +4 -0
- package/skills/axstack/scripts/pr-shape.js +2 -1
- package/skills/axstack/scripts/readiness-run.js +3 -3
- package/skills/axstack/scripts/readiness.js +2 -1
- package/skills/axstack/scripts/run-init.js +2 -1
- package/skills/axstack-align/SKILL.md +7 -3
- package/skills/axstack-anatomy/SKILL.md +4 -0
- package/skills/axstack-audit/SKILL.md +13 -4
- package/skills/axstack-audit/references/record.md +12 -2
- package/skills/axstack-brainstorm/SKILL.md +4 -0
- package/skills/axstack-brainstorm/references/arena.md +5 -1
- package/skills/axstack-cleanup/SKILL.md +12 -2
- package/skills/axstack-correct/SKILL.md +12 -2
- package/skills/axstack-debug/SKILL.md +14 -2
- package/skills/axstack-explain/SKILL.md +4 -0
- package/skills/axstack-implement/SKILL.md +101 -26
- package/skills/axstack-implement/references/step-back.md +4 -1
- package/skills/axstack-improve/SKILL.md +19 -1
- package/skills/axstack-perf/SKILL.md +12 -0
- package/skills/axstack-publish/SKILL.md +4 -0
- package/skills/axstack-research/SKILL.md +14 -2
- package/skills/axstack-review/SKILL.md +4 -0
- package/skills/axstack-review/references/candidate-brief.md +2 -1
- package/skills/axstack-review/references/peer-mode.md +1 -1
- package/skills/axstack-review/references/review-candidate.md +12 -3
- package/skills/axstack-scout/SKILL.md +11 -4
- package/skills/axstack-spec/SKILL.md +6 -2
- package/skills/axstack-tickets/SKILL.md +14 -2
- package/skills/axstack-verify/SKILL.md +14 -3
- package/skills/axstack-watch/SKILL.md +8 -3
- package/skills/axstack-watch/references/readiness.md +1 -1
- package/skills/axstack-watch/references/repair-publication.md +3 -2
- package/skills/axstack-watch/references/watch-runtime.md +13 -3
- package/skills/voa/SKILL.md +8 -0
- package/src/roles.js +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { gitArgv } from './git-argv.js';
|
|
1
2
|
import { chmodSync, mkdirSync, mkdtempSync, readFileSync, realpathSync, statSync, writeFileSync } from 'node:fs';
|
|
2
3
|
|
|
3
4
|
const help = `Usage: bun scripts/run-init.js --slug <slug> [--date YYYYMMDD]
|
|
@@ -41,7 +42,7 @@ function optionsFrom(argv) {
|
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
function git(...args) {
|
|
44
|
-
const result = Bun.spawnSync(
|
|
45
|
+
const result = Bun.spawnSync(gitArgv(...args), { stdout: 'pipe', stderr: 'pipe' });
|
|
45
46
|
return result.exitCode === 0 ? result.stdout.toString().trim() : null;
|
|
46
47
|
}
|
|
47
48
|
|
|
@@ -5,6 +5,10 @@ description: When exploring or planning engineering work, use axstack-align to s
|
|
|
5
5
|
|
|
6
6
|
# Align
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
For authorized delivery runs, follow [Autopilot](../axstack/references/autopilot.md)
|
|
9
13
|
for phase continuation and holds.
|
|
10
14
|
|
|
@@ -81,8 +85,8 @@ return. Reuse valid brainstorm receipts to replace the adviser consult for
|
|
|
81
85
|
that question. For other questions, consult advisers only for consequential
|
|
82
86
|
decisions and disagreements. Never dispatch advisers for every question,
|
|
83
87
|
routine factual clarification or settled preferences.
|
|
84
|
-
For those consequential decisions and disagreements, consult `axstack-advisor-
|
|
85
|
-
`axstack-advisor-
|
|
88
|
+
For those consequential decisions and disagreements, consult `axstack-advisor-codex` and
|
|
89
|
+
`axstack-advisor-claude` independently, without cross-reading, using the same
|
|
86
90
|
bounded evidence and question. Each adviser challenges assumptions, edges,
|
|
87
91
|
omissions, and alternatives; the driver synthesizes disagreements and accepts
|
|
88
92
|
or rejects each material point with a reason. Use one focused reply when
|
|
@@ -173,7 +177,7 @@ approval; record chosen document names and paths once per run.
|
|
|
173
177
|
When scope changes runnable behavior, the read-back records a Verification decision.
|
|
174
178
|
For an applicable `verify-<app>` skill, record the features that cover the change.
|
|
175
179
|
For a missing skill, the plan always includes `axstack-verify create` as the first PR.
|
|
176
|
-
Skipping this first PR requires plain AGREE from both `axstack-advisor-
|
|
180
|
+
Skipping this first PR requires plain AGREE from both `axstack-advisor-codex` and `axstack-advisor-claude` that a verification skill is unnecessary.
|
|
177
181
|
Record both advisers' reason in the Verification decision.
|
|
178
182
|
2. Classify the result with the shared
|
|
179
183
|
[proportional scope identity](../axstack/references/routing.md#proportional-scope-identity):
|
|
@@ -5,6 +5,10 @@ description: When the user explicitly asks for an isometric, physical-object, or
|
|
|
5
5
|
|
|
6
6
|
# Anatomy
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
On driver entry, sweep under [Workspace hygiene](../axstack/references/workspace-hygiene.md); dispatched workers do not sweep.
|
|
9
13
|
For every dispatch brief, name its private `<run dir>/evidence/<dispatch>/` folder.
|
|
10
14
|
Before acting, load [Standing contracts](../axstack/references/contracts.md),
|
|
@@ -5,6 +5,10 @@ description: When a substantive run needs evidence review, use axstack-audit to
|
|
|
5
5
|
|
|
6
6
|
# Audit
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
For explicit nonrepo evidence, follow
|
|
9
13
|
[Local artifacts](../axstack/references/local-artifacts.md): standalone audit uses
|
|
10
14
|
workflow audit; inherited audits retain the supported parent's workflow. The
|
|
@@ -67,8 +71,8 @@ expanding authority to fill it.
|
|
|
67
71
|
Use actual records, never memory:
|
|
68
72
|
|
|
69
73
|
- the approved spec, or the accepted peer, research, or maintenance scope;
|
|
70
|
-
- the decision log and configured `axstack-advisor-
|
|
71
|
-
`axstack-advisor-
|
|
74
|
+
- the decision log and configured `axstack-advisor-codex` and
|
|
75
|
+
`axstack-advisor-claude` receipts and fresh `axstack-escalation-fable`
|
|
72
76
|
receipts when triggered;
|
|
73
77
|
- exact git revisions where applicable; owned SHA-256 snapshots for nonrepo evidence;
|
|
74
78
|
- test and review evidence; and
|
|
@@ -96,7 +100,7 @@ counts with denominators plus the evidence behind the count:
|
|
|
96
100
|
- Configured adviser coverage across Align, Spec creation, Spec revision,
|
|
97
101
|
solution design, and unresolved consequential decisions, including
|
|
98
102
|
independent same-question receipts and disagreement synthesis. Measure
|
|
99
|
-
|
|
103
|
+
Codex/Claude adviser routine coverage and Astra/Fable high-stakes plain AGREE coverage
|
|
100
104
|
over eligible uses; record escalation triggers, evidence pointers, and whether
|
|
101
105
|
the outcome changed.
|
|
102
106
|
- Debug evidence where `axstack-debug` ran: rung reached, loop command, fix
|
|
@@ -125,7 +129,12 @@ counts with denominators plus the evidence behind the count:
|
|
|
125
129
|
applicability and completeness; it is not a quality score.
|
|
126
130
|
- Rework cycles with causes.
|
|
127
131
|
- Avoidable user interventions where records support the call, and no call where they do not.
|
|
128
|
-
-
|
|
132
|
+
- Package outcomes identified, launched, completed and serialized with reasons,
|
|
133
|
+
dependencies and writer/resource isolation under
|
|
134
|
+
[Evidence](../axstack/references/parallel-first.md#evidence). Use the record schema's
|
|
135
|
+
native useful-overlap and joined-correctness fields; queued work and parallel
|
|
136
|
+
tool calls do not prove execution overlap. Preserve UNKNOWN timing/cost and
|
|
137
|
+
unexercised phase coverage; speedup needs a comparable measured baseline.
|
|
129
138
|
- PRs with an informational size flag / total PRs using the actual denominator.
|
|
130
139
|
Record full totals, bulk buckets with reproducible commands, and measured head/base.
|
|
131
140
|
Treat size flags as informational only.
|
|
@@ -9,7 +9,7 @@ Run: <run identity + scope/authority + audit mode (end-of-run | checkpoint)>
|
|
|
9
9
|
Baseline: <approved spec rev | peer mode | research mode | maintenance scope | nonrepo report scope + source SHA-256>
|
|
10
10
|
Acceptance: <passed / failed / unverified + test + SHA traces>
|
|
11
11
|
Steps: <completed / deviated + why + approval per deviation>
|
|
12
|
-
Advisers: <
|
|
12
|
+
Advisers: <Codex/Claude adviser configured coverage / eligible uses + same-question receipts; Astra/Fable high-stakes AGREE coverage / eligible uses>
|
|
13
13
|
Decisions: <escalation trigger + evidence pointers + outcome changed yes/no, or n/a>
|
|
14
14
|
Debug: <rung reached + loop command + fix attempts + adviser and investigator receipts + isolation evidence | n/a>
|
|
15
15
|
TDD: <applicable evidence path: normal real red-green | accepted structure-preserving old revision green before edits + same checks new revision green | F-repair base-green/removal-inversion-red/rewording-green evidence; absent proof: noncompliance | unavailable records: UNKNOWN with reason>
|
|
@@ -17,7 +17,7 @@ Review: <exact-rev independent review status + unresolved findings>
|
|
|
17
17
|
Simplification: <applicability determinations evidenced / total candidate diffs, complete simplification receipts / total candidates, applied, not-applicable, or UNKNOWN with reason + evidence>
|
|
18
18
|
Rework: <cycles + causes>
|
|
19
19
|
Interventions: <avoidable user interventions, or unsupported by records>
|
|
20
|
-
Parallelism: <identified
|
|
20
|
+
Parallelism: <packages identified/launched/completed/serialized + reasons and denominator/evidence; native overlap vs queued work/tool calls; joined correctness; unexercised phases>
|
|
21
21
|
Shape: <PRs with an informational size flag / total PRs; full totals + bulk buckets with reproducible commands + measured head/base; UNKNOWN when measurement is missing>
|
|
22
22
|
Cost: <API dollars by model when measured, or UNKNOWN with reason>
|
|
23
23
|
Judgment: <execution outcome vs procedural adherence vs measurement coverage>
|
|
@@ -26,6 +26,16 @@ Learning candidates: <each candidate's statement + scope + evidence/revision poi
|
|
|
26
26
|
Privacy: <local/private default; sanitized summary only when authorized>
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
+
Report packages identified, launched, completed and serialized with reasons and
|
|
30
|
+
evidence denominators. Distinguish native execution overlap from queued work and
|
|
31
|
+
parallel tool calls. Verify useful overlap from native run intervals plus timed
|
|
32
|
+
substantive-activity intersection, excluding queue/prompt/rate-limit/idle waits;
|
|
33
|
+
missing reliable endpoints are UNKNOWN. Require accepted exact outputs and joined
|
|
34
|
+
correctness separately from overlap, and name unexercised phase coverage.
|
|
35
|
+
Never invent cost or duration without trustworthy receipts. Never claim speedup
|
|
36
|
+
without a comparable measured baseline; preserve uncertainty and distinguish
|
|
37
|
+
labelled deterministic/seeded fixtures from native observations or natural repairs.
|
|
38
|
+
|
|
29
39
|
Treat size flags as informational only.
|
|
30
40
|
|
|
31
41
|
The record is complete when its counts reconcile, its judgments remain
|
|
@@ -5,6 +5,10 @@ description: When validating a design approach, use axstack-brainstorm to compar
|
|
|
5
5
|
|
|
6
6
|
# Brainstorm
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
Standalone usage: `/axstack-brainstorm <problem + candidate approach>`.
|
|
9
13
|
Run inline in the current T3 driver thread. Never delegate a coordinator.
|
|
10
14
|
This procedure is report-only. Do not implement, prototype, or grant execution
|
|
@@ -11,7 +11,7 @@ hard-to-reverse choices; they replace the critique round for that question.
|
|
|
11
11
|
flags as evidence prompts: seeing only opened files, copying the nearest
|
|
12
12
|
example, taking the shortest path that compiles. Treat them as prompts, not defects. Candidates receive only the brief; the rubric is for judging.
|
|
13
13
|
2. **Fan out.** Produce one candidate per configured family independently from the same brief,
|
|
14
|
-
without cross-reading: `axstack-advisor-
|
|
14
|
+
without cross-reading: `axstack-advisor-codex`, `axstack-advisor-claude`,
|
|
15
15
|
and `axstack-arena-candidate-grok`.
|
|
16
16
|
Each gives a design, rationale, and rejected alternatives. The driver authors no candidate.
|
|
17
17
|
The driver drafts no recommendation until every candidate returns.
|
|
@@ -61,5 +61,9 @@ A required adviser, candidate, or judge needed for this rung unavailable at
|
|
|
61
61
|
launch or returning a failed receipt holds that question without substitution;
|
|
62
62
|
record the gap and return a proposed question to the caller about whether to proceed. In mixed fan-out retain at least one Codex and one Claude
|
|
63
63
|
seat, or hold the affected question.
|
|
64
|
+
Preserve configured candidate and judge seats and provider floors during
|
|
65
|
+
decomposition; distinct work packages do not replace independent same-question
|
|
66
|
+
candidates or judge rounds. Ready independent questions can progress without
|
|
67
|
+
waiting for an unrelated question, while dependent synthesis waits for its inputs.
|
|
64
68
|
For an uncertain dispatch, reconcile natively; it is never treated as absent.
|
|
65
69
|
Unaffected fact work and questions continue.
|
|
@@ -5,14 +5,24 @@ description: When completed T3 threads and worktrees need bounded retirement, us
|
|
|
5
5
|
|
|
6
6
|
# Cleanup
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
Batch eligible cleanup, including reviewer worktrees, at [run checkpoints](#run-checkpoints) after
|
|
9
13
|
accepted settlement, or for the exact backlog scope the user named.
|
|
10
14
|
Run the batch inline in the driver.
|
|
11
15
|
Per-review invocations preserve evidence and record pending cleanup in the
|
|
12
16
|
existing private run record. Per-review invocations never retire resources individually.
|
|
13
17
|
Before checkpoint retirement, preserve and read back each resource's evidence
|
|
14
|
-
and apply existing eligibility and safety guards.
|
|
15
|
-
|
|
18
|
+
and apply existing eligibility and safety guards. Never retire the current driver
|
|
19
|
+
session. Allow the driver in repository mode to assign bounded read-only
|
|
20
|
+
preservation analysis for disjoint inactive resources to existing research or
|
|
21
|
+
exploration roles; workers write only private evidence/reports. Never delegate
|
|
22
|
+
cleanup mutations. The driver alone performs each mutation after fresh ownership,
|
|
23
|
+
liveness, eligibility and preservation checks; analysis is no removal receipt.
|
|
24
|
+
Leaf workers never delegate cleanup. Tiny reads stay direct; nonrepo Cleanup
|
|
25
|
+
remains inline-only under [Local artifacts](../axstack/references/local-artifacts.md).
|
|
16
26
|
|
|
17
27
|
Before any runtime action, load and follow:
|
|
18
28
|
|
|
@@ -6,14 +6,24 @@ disable-model-invocation: true
|
|
|
6
6
|
|
|
7
7
|
# Correct
|
|
8
8
|
|
|
9
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
10
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
11
|
+
scope and never dispatch.
|
|
12
|
+
|
|
9
13
|
Usage: /axstack-correct ["<correction>"] [runs=<ids> | last=<N, default 10>]
|
|
10
14
|
|
|
11
15
|
Load [Standing contracts](../axstack/references/contracts.md) before acting.
|
|
12
16
|
|
|
13
17
|
Run only at the user's request.
|
|
14
18
|
Write a report only.
|
|
15
|
-
Never edit files.
|
|
16
|
-
|
|
19
|
+
Never edit files except the report and workers' private evidence.
|
|
20
|
+
Allow the driver in repository mode to assign bounded read-only evidence
|
|
21
|
+
analysis to existing research/exploration roles, partitioned by useful incident
|
|
22
|
+
class within the selected runs. Briefs retain the selected-records/git bounds,
|
|
23
|
+
report-only scope and no-transcripts rule; workers write only their private
|
|
24
|
+
report/evidence and gain no implementation authority. The driver reconciles
|
|
25
|
+
incidents without duplicate counting. Tiny reads stay direct. Nonrepo Correct
|
|
26
|
+
remains inline-only under [Local artifacts](../axstack/references/local-artifacts.md).
|
|
17
27
|
Never merge.
|
|
18
28
|
Never read transcripts.
|
|
19
29
|
|
|
@@ -5,6 +5,10 @@ description: When a bug, failing test, regression, or wrong behavior needs a roo
|
|
|
5
5
|
|
|
6
6
|
# Debug
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
On driver entry, sweep under [Workspace hygiene](../axstack/references/workspace-hygiene.md); dispatched workers do not sweep.
|
|
9
13
|
For every dispatch brief, name its private `<run dir>/evidence/<dispatch>/` folder.
|
|
10
14
|
|
|
@@ -98,10 +102,18 @@ before any further probe or attempt.
|
|
|
98
102
|
|
|
99
103
|
| Rung | Trigger | Who | Output |
|
|
100
104
|
| --- | --- | --- | --- |
|
|
101
|
-
| L0 | entry | driver
|
|
105
|
+
| L0 | entry | driver with bounded packages | phases 1–7; at most one fix attempt through `axstack-implement` |
|
|
102
106
|
| L1 | the L0 fix attempt failed; or phases 1–3 complete plus at least one discriminating probe (or a recorded reason no safe probe exists) and no hypothesis ranks | the preset's configured advisers, independently, same evidence packet | ranked hypotheses and one investigator brief per hypothesis |
|
|
103
107
|
| L1 fan-out | driver merges the adviser plans | `axstack-debug-investigator-1..4`, identical packet, distinct briefs, no cross-reading | one receipt per brief |
|
|
104
|
-
| L2 | two failed attempts at the same named goal and stated acceptance check (second failure overall); or each fix reveals a new symptom elsewhere | `axstack-advisor-
|
|
108
|
+
| L2 | two failed attempts at the same named goal and stated acceptance check (second failure overall); or each fix reveals a new symptom elsewhere | `axstack-advisor-codex` and `axstack-escalation-fable` (fresh session) on architecture, then the user | wrong-architecture finding, bounded refactor proposal, or one bounded next diagnostic action; the user decides before any third attempt |
|
|
109
|
+
|
|
110
|
+
Permit driver-dispatched bounded safe evidence and probe packages at L0 using
|
|
111
|
+
existing configured roles. Evidence preparation can help establish the loop;
|
|
112
|
+
hypotheses and probes require its reproducible red first. Apply the packet,
|
|
113
|
+
private-evidence, isolation and shared-resource rules below to every L0 probe.
|
|
114
|
+
L0 package receipts never satisfy or bypass L1 adviser and investigator receipt
|
|
115
|
+
requirements. Parallel investigation grants no extra fix attempts: preserve the
|
|
116
|
+
per-bug ledger, L0's one attempt, L1 conditions and L2 user hold before a third.
|
|
105
117
|
|
|
106
118
|
L1 is inadmissible without a red loop. Ordinary diagnosis is not a high-stakes
|
|
107
119
|
decision: in `mixed` both advisers are consulted and both receipts are
|
|
@@ -5,6 +5,10 @@ description: When the user asks how, why, explain, or show, asks to diagram, vis
|
|
|
5
5
|
|
|
6
6
|
# Explain
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
On driver entry, sweep under [Workspace hygiene](../axstack/references/workspace-hygiene.md); dispatched workers do not sweep.
|
|
9
13
|
For every dispatch brief, name its private `<run dir>/evidence/<dispatch>/` folder.
|
|
10
14
|
|
|
@@ -5,6 +5,10 @@ description: When an approved task is ready to build or repair, use axstack-impl
|
|
|
5
5
|
|
|
6
6
|
# Implement
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
For authorized delivery runs, follow [Autopilot](../axstack/references/autopilot.md)
|
|
9
13
|
for phase continuation and holds.
|
|
10
14
|
|
|
@@ -60,7 +64,10 @@ This path keeps §§2-5's ownership, isolation, strict TDD and verification
|
|
|
60
64
|
requirements and §6's publication, review, repair, native watch and merge gates;
|
|
61
65
|
it omits full-path step-back advice until escalation.
|
|
62
66
|
|
|
63
|
-
1.
|
|
67
|
+
1. Allow isolated package writers for small work with eligible combined review.
|
|
68
|
+
Package count alone changes neither scope classification nor diligence depth;
|
|
69
|
+
all contributors must satisfy that review pairing. Keep one writer per candidate
|
|
70
|
+
and return package-local repairs to its author.
|
|
64
71
|
Workers never push. The driver verifies author proof and evidence before
|
|
65
72
|
publication, publishes the exact candidate under candidate-publication and
|
|
66
73
|
confirms remote readback.
|
|
@@ -88,7 +95,7 @@ or design decisions through shared routing before dependent repair.
|
|
|
88
95
|
Step-back advisers run only on the full path after escalation, under §6's
|
|
89
96
|
counted-round and unused-budget conditions. Audits follow lifecycle triggers.
|
|
90
97
|
|
|
91
|
-
## 2. Establish one owner and
|
|
98
|
+
## 2. Establish one owner and exclusive candidate writers
|
|
92
99
|
|
|
93
100
|
For substantive delegated or resumable work, use the shared
|
|
94
101
|
[run record](../axstack/references/run-record.md). Reconcile it on restart with
|
|
@@ -106,22 +113,51 @@ Immediately before an actual role dispatch, read and follow the
|
|
|
106
113
|
[T3 runtime boundary](../axstack/references/t3-runtime.md). Ordinary local
|
|
107
114
|
reading and writing does not require that launch reference.
|
|
108
115
|
|
|
116
|
+
Before a fresh author dispatch for work bound to an issue or ticket id, the driver
|
|
117
|
+
must search open PRs in the target repository for that id and check closing references
|
|
118
|
+
and PR bodies (e.g. `gh api -X GET search/issues -f q='repo:<target-repo> is:pr is:open <id>'`).
|
|
119
|
+
A match outside the current run holds only that dispatch and requires reporting the PR URL.
|
|
120
|
+
Exempt the current run's recorded PR for repair/resume.
|
|
121
|
+
A failed or incomplete lookup (non-zero exit, `incomplete_results: true`, or
|
|
122
|
+
`total_count` greater than the number of returned items) is unknown and holds only that dispatch.
|
|
123
|
+
Work without an issue/ticket id is unaffected.
|
|
124
|
+
|
|
109
125
|
Authors must use async `delegate_task` with `isolation:"worktree"`, title = role-labelled dispatch key
|
|
110
126
|
and stable `clientRequestId` under the runtime contract's fresh-checkout bootstrap,
|
|
111
127
|
same-child repair and recorded launch fallback rules.
|
|
112
128
|
|
|
113
|
-
One persistent owner remains accountable for each PR
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
129
|
+
One persistent owner remains accountable for each PR; the driver coordinates
|
|
130
|
+
integration and forge actions and never edits candidate source. Follow
|
|
131
|
+
[Package ownership](../axstack/references/parallel-first.md#ownership): one
|
|
132
|
+
isolated candidate has one active writer, while several candidates may feed one PR.
|
|
133
|
+
Assign one integration author as sole writer of the final branch. Reuse a package
|
|
134
|
+
author after its package duty ends and the driver records the exclusive scope
|
|
135
|
+
transition, or use a separate native-created worktree; a single package needs no
|
|
136
|
+
extra integrator. Shared files and glue have one named writer or a serialized
|
|
137
|
+
integration step. Separate worktrees alone do not establish semantic independence.
|
|
138
|
+
Only an explicit accepted transfer changes PR ownership; path reassignment needs
|
|
139
|
+
driver reconciliation and no live competing writer, never presumed from idleness.
|
|
140
|
+
|
|
141
|
+
Dispatch ready independent packages before waiting, within current capacity and
|
|
142
|
+
configured limits; a PR boundary does not determine package boundaries. Consume
|
|
143
|
+
settled immutable interfaces or verified terminal package tips under
|
|
144
|
+
[Dependencies and repairs](../axstack/references/parallel-first.md#dependencies-and-repairs).
|
|
145
|
+
An internal code dependency within one PR needs its exact tip and applicable
|
|
146
|
+
acceptance evidence, without a separate package review. Across PRs, PR chains
|
|
147
|
+
retains reviewed-parent branching, immediate child evidence invalidation, lazy
|
|
148
|
+
merge updates and legacy rebasing. Sensitive-action holds remain in force.
|
|
149
|
+
Failed, stale, partial, unknown or questioned receipts cannot satisfy consumers;
|
|
150
|
+
producer changes invalidate affected consumers while unrelated work continues.
|
|
151
|
+
Keep package worktrees for repairs until the integrated PR merges or closes.
|
|
152
|
+
|
|
153
|
+
Use one supported snapshotted author binding for package, integration and repair
|
|
154
|
+
writers; record each actual session/provider/model. Same-binding writers are the
|
|
155
|
+
scoped fanout-floor exception, with independent authored review still required.
|
|
156
|
+
Divergent or unknown provenance without a supported review mapping holds the
|
|
157
|
+
candidate. All contributors and the owner are ineligible to review it.
|
|
158
|
+
Dispatch only when ownership, worktree, input revisions, writer exclusivity and
|
|
159
|
+
capacity agree with live state. Shape, split, fanout and exceptions are autonomous
|
|
160
|
+
driver decisions within approved scope; size alone requires no user approval.
|
|
125
161
|
|
|
126
162
|
## 3. Establish test-first evidence
|
|
127
163
|
|
|
@@ -188,6 +224,23 @@ files or crosses a new security or infrastructure boundary, stop and reassess
|
|
|
188
224
|
scope through shared routing. Do not turn a bounded refactor into a sweeping
|
|
189
225
|
campaign.
|
|
190
226
|
|
|
227
|
+
### Combined behavior and assembly
|
|
228
|
+
|
|
229
|
+
Require a named owner to record a meaningful behavioral red before implementing
|
|
230
|
+
new combined behavior, then green on the integrated head, including behavior
|
|
231
|
+
emerging without glue. Plan this check before the behavior-producing merge on
|
|
232
|
+
the pinned base or partial assembly; missing-module/setup failures and later tests
|
|
233
|
+
are not historical TDD. Package completion alone does not prove joined correctness.
|
|
234
|
+
|
|
235
|
+
Only the driver classifies mechanical assembly under
|
|
236
|
+
[Evidence](../axstack/references/parallel-first.md#evidence). Verify input identities
|
|
237
|
+
and merge order, absence of manual resolutions/integration-owned edits, and tree
|
|
238
|
+
equality with a reproducible automatic merge; a clean textual merge is insufficient.
|
|
239
|
+
Reuse package red/green or accepted characterization only for covered behavior,
|
|
240
|
+
run combined acceptance green, and retain independent review. Unknown classification
|
|
241
|
+
holds the exception; new glue, semantic resolutions or emergent behavior needs real
|
|
242
|
+
red first. Green-only assembly never exempts unaccounted combined behavior.
|
|
243
|
+
|
|
191
244
|
## 4. Turn the slice green, then refactor
|
|
192
245
|
|
|
193
246
|
For the normal behavior path, implement only what makes the red check pass.
|
|
@@ -236,6 +289,19 @@ Report a broken or stale recipe as a `low` finding naming `axstack-verify mainta
|
|
|
236
289
|
Never let a broken or stale recipe waive existing acceptance obligations.
|
|
237
290
|
Keep browser recipes tool-neutral for the verifier.
|
|
238
291
|
|
|
292
|
+
Each package returns the author receipt below with package scope/base/tip,
|
|
293
|
+
current writer attempt, exact input identities and named test logs. Verify consumed
|
|
294
|
+
package tips are ancestors of the final head; default assembly uses ordinary local
|
|
295
|
+
merges preserving package commits and repairs append commits. Guarded necessary
|
|
296
|
+
rewrites supersede affected identities and ancestry evidence. The integration
|
|
297
|
+
receipt adds package-tip ancestry, dependency identities, merge order/commits,
|
|
298
|
+
integration-owned edits/conflict resolutions and final head/base. Publication
|
|
299
|
+
metadata belongs only to the final candidate; package receipts invent no PRs.
|
|
300
|
+
Prepublication receipt checking/diligence covers every package and integration
|
|
301
|
+
receipt and may be batched or overlap other work, without a mandatory extra
|
|
302
|
+
session per package. Partial checks remain provisional until all required inputs
|
|
303
|
+
and combined acceptance pass.
|
|
304
|
+
|
|
239
305
|
After the last change, pin the exact candidate revision and return this compact
|
|
240
306
|
implementation receipt to the driver:
|
|
241
307
|
|
|
@@ -267,21 +333,25 @@ for its format and classification.
|
|
|
267
333
|
## 6. Loop until merge-ready
|
|
268
334
|
|
|
269
335
|
Inputs are one snapshotted small-change intent or an approved spec and ticket
|
|
270
|
-
map. The unit is that accepted task/PR map:
|
|
271
|
-
|
|
336
|
+
map. The unit is that accepted package/task/PR map: advance each ready package
|
|
337
|
+
without a global wave barrier and assemble required accepted inputs; run an
|
|
338
|
+
ordinary dependent PR chain root-first under PR chains, each child
|
|
272
339
|
from its reviewed parent; preexisting native stacks retain their legacy path. The driver is owner, sole record writer, dispatcher,
|
|
273
340
|
publisher, and wait-holder for every loop PR it creates. Resume preserves an
|
|
274
341
|
existing live owner absent an accepted transfer.
|
|
275
342
|
|
|
276
343
|
For each PR:
|
|
277
344
|
|
|
278
|
-
1. Dispatch
|
|
345
|
+
1. Dispatch package authors under §§2-5 and consume each verified terminal
|
|
346
|
+
strict-TDD receipt. The integration author combines accepted tips and returns
|
|
347
|
+
the integration receipt and combined acceptance before final publication.
|
|
279
348
|
2. Publish through candidate-publication and read back the exact SHA.
|
|
280
349
|
For each own PR, the owner must follow [PR previews](../axstack/references/preview.md)
|
|
281
350
|
to decide whether a preview makes sense.
|
|
282
351
|
3. Dispatch and consume the authored-mode `axstack-review` selected from actual
|
|
283
|
-
author provenance. State
|
|
284
|
-
T3 launch
|
|
352
|
+
author provenance. State every package, integration and repair contributor's
|
|
353
|
+
actual session/provider/model from T3 launch receipts in the review dispatch
|
|
354
|
+
brief; a `Claude-Session`
|
|
285
355
|
trailer is attribution, not provenance. At
|
|
286
356
|
[run checkpoints](../axstack-cleanup/SKILL.md#run-checkpoints), batch eligible
|
|
287
357
|
reviewer worktree retirement through `axstack-cleanup`, preserving and reading back
|
|
@@ -303,14 +373,19 @@ For each PR:
|
|
|
303
373
|
non-blocking notes and does not elect a repair; only the user can ask for
|
|
304
374
|
polish.
|
|
305
375
|
`REQUEST_CHANGES`, a failed required check, or post-readiness feedback returns
|
|
306
|
-
findings to the
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
376
|
+
package-local findings to the exclusive package author and integration-only
|
|
377
|
+
findings to the integration author for a new revision, increments `repairs`,
|
|
378
|
+
and returns to step 1. Split cross-package findings by ownership and prerequisite
|
|
379
|
+
order. Base updates and unattributed combined CI defects first go to the
|
|
380
|
+
integrator for diagnosis, then verified local causes return to their package
|
|
381
|
+
owner without competing writers. Budgets remain per PR, never per package.
|
|
382
|
+
`INCOMPLETE`, a provenance gap, unavailable model or serious risk records `held`.
|
|
383
|
+
A changed parent immediately invalidates affected child readiness; refresh the
|
|
384
|
+
next ready children as needed under PR chains before step 1.
|
|
310
385
|
Follow [Advised holds](../axstack/references/contracts.md#advised-holds) for eligible `held` causes.
|
|
311
386
|
Merge-ready also requires current applicable diligence evidence at the exact
|
|
312
387
|
head and base. Diligence `FINDINGS` or combined `Scope: FINDINGS` return to
|
|
313
|
-
the same
|
|
388
|
+
the same package/integration repair route within the review round.
|
|
314
389
|
Diligence `UNKNOWN` or combined `Scope: UNKNOWN` records the PR as `held`
|
|
315
390
|
with the reason in the run record and blocks merge-ready pending the driver's
|
|
316
391
|
recorded disposition; the disposition never substitutes for `PASS` evidence.
|
|
@@ -326,8 +401,8 @@ For each PR:
|
|
|
326
401
|
as failing review rounds.
|
|
327
402
|
Small-path work first escalates to the full path at review round 3.
|
|
328
403
|
On the full path, on any counted failing review round that leaves `rounds` at 3 or more while
|
|
329
|
-
`step-back: unused`, the driver steps back with both `axstack-advisor-
|
|
330
|
-
and `axstack-advisor-
|
|
404
|
+
`step-back: unused`, the driver steps back with both `axstack-advisor-codex`
|
|
405
|
+
and `axstack-advisor-claude` to assess exactly one extra repair round (round 4
|
|
331
406
|
in the normal case).
|
|
332
407
|
Load and follow [Round-3 step-back](references/step-back.md).
|
|
333
408
|
Load and follow [Review-round budgets](../axstack/references/run-record.md#review-round-budgets) before dispatching any repair from the step-back.
|
|
@@ -12,7 +12,10 @@ Each adviser independently gets the per-round deltas.
|
|
|
12
12
|
Each adviser independently gets blame showing the round in which each flagged line first appeared.
|
|
13
13
|
Each adviser independently gets the approved scope, sketch and approach.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Route package-local repairs to their exclusive author and integration-only work
|
|
16
|
+
to the integration author within one per-PR extra round; split cross-package
|
|
17
|
+
findings with prerequisite order. Send each advised brief only when all conditions
|
|
18
|
+
below hold:
|
|
16
19
|
|
|
17
20
|
- The driver accepts the path.
|
|
18
21
|
- Both advisers agree on the path.
|
|
@@ -5,6 +5,10 @@ description: When assessing codebase quality, improving a named screen or flow,
|
|
|
5
5
|
|
|
6
6
|
# Improve
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
For named nonversioned code/UI discovery, use workflow improve under
|
|
9
13
|
[Local artifacts](../axstack/references/local-artifacts.md). Its bounded code
|
|
10
14
|
research/UI roles and inherited audit have separate owned snapshots and SHA-256
|
|
@@ -31,7 +35,12 @@ reconciles findings per claim and never averages them. Record an intentionally
|
|
|
31
35
|
absent `-sol` pair and proceed with the base seat alone. A configured optional
|
|
32
36
|
`-sol` pair that fails to launch is fenced, recorded `absent (<reason>)`, and
|
|
33
37
|
named once in the next read-back, then skipped without relay or substitution.
|
|
34
|
-
|
|
38
|
+
Every other mixed fan-out, except precisely same-binding writers and
|
|
39
|
+
distinct-brief nonwriter packages, retains at least one Codex and one Claude
|
|
40
|
+
seat, otherwise hold that fan-out. Apply only these exceptions under
|
|
41
|
+
[Authority](../axstack/references/parallel-first.md#authority); they use eligible
|
|
42
|
+
configured roles, add no seat solely for provider diversity and never remove
|
|
43
|
+
required research-pair corroboration.
|
|
35
44
|
|
|
36
45
|
For performance claims only, load [Performance checklist](../axstack/references/performance-checklist.md).
|
|
37
46
|
|
|
@@ -39,6 +48,15 @@ For performance work only, load [Performance loop](../axstack/references/perf-lo
|
|
|
39
48
|
For performance work, discovery remains report-only.
|
|
40
49
|
For performance work, rank candidates in mantra order.
|
|
41
50
|
|
|
51
|
+
Overlap non-measuring preparation/analysis or probes in isolated non-contending
|
|
52
|
+
environments only. Within each Perf/UI loop preserve frozen workloads, commands
|
|
53
|
+
and environments, noise criteria, cheapest-first early stop, one measured change
|
|
54
|
+
at a time, best-known comparison, keep/revert order and revert-before-next.
|
|
55
|
+
Every candidate-effect probe counted as an experiment by its owning loop consumes
|
|
56
|
+
that loop's finite attempt budget, including failed or parallel preparatory probes;
|
|
57
|
+
parallel work grants no speculative bypass of early stop. Contended measurements
|
|
58
|
+
never support baseline, delta or keep decisions.
|
|
59
|
+
|
|
42
60
|
## 1. Bound discovery
|
|
43
61
|
|
|
44
62
|
1. Start with the user's named subsystem or pain. Otherwise inspect recent
|
|
@@ -5,6 +5,10 @@ description: When making something faster, use axstack-perf to route measured pe
|
|
|
5
5
|
|
|
6
6
|
# Performance
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
Usage: `/axstack-perf make the deploy step faster; target -30%`
|
|
9
13
|
|
|
10
14
|
Load [Performance loop](../axstack/references/perf-loop.md).
|
|
@@ -16,3 +20,11 @@ Load [Performance loop](../axstack/references/perf-loop.md).
|
|
|
16
20
|
Record the target, noise criterion and finite attempt budget as acceptance checks in the routed phase.
|
|
17
21
|
The routed phase owns scope.
|
|
18
22
|
This entry point defines no additional workflow, role or runtime.
|
|
23
|
+
|
|
24
|
+
Overlap only non-measuring preparation/analysis or isolated non-contending probes.
|
|
25
|
+
Never run concurrent measured attempts within one loop. Preserve the frozen
|
|
26
|
+
workload/command/environment, noise criterion, cheapest-first early stop, one
|
|
27
|
+
measured change at a time, keep/revert and revert-before-next order. Every
|
|
28
|
+
experiment counted by the owning loop, including failed or parallel preparatory
|
|
29
|
+
candidate-effect probes, consumes its existing finite budget; early stop still
|
|
30
|
+
applies. Contended measurements never support baseline, delta or keep decisions.
|
|
@@ -5,6 +5,10 @@ description: When the user requests publication of an Explain HTML article, use
|
|
|
5
5
|
|
|
6
6
|
# Publish
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
Publish an existing Explain HTML article through the notes CLI on the configured publish host.
|
|
9
13
|
The current T3 driver owns publication; workers return checked artifacts.
|
|
10
14
|
Load [Standing contracts](../axstack/references/contracts.md) and follow its
|
|
@@ -5,6 +5,10 @@ description: When one bounded question needs verified answers, use axstack-resea
|
|
|
5
5
|
|
|
6
6
|
# Research
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
On driver entry, sweep under [Workspace hygiene](../axstack/references/workspace-hygiene.md); dispatched workers do not sweep.
|
|
9
13
|
For every dispatch brief, name its private `<run dir>/evidence/<dispatch>/` folder.
|
|
10
14
|
|
|
@@ -78,8 +82,16 @@ Preserve this phase's independent source/fact and exact-byte review requirements
|
|
|
78
82
|
trust/login prompt, or prompt block; record `absent (<reason>)`, and continue
|
|
79
83
|
with the base seat. A sized mixed research fan-out requires dispatched
|
|
80
84
|
branches spanning at least two different providers; otherwise hold that fan-out.
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
Apply the decomposition exception only to distinct-brief nonwriter packages and
|
|
86
|
+
same-binding engineering writers under [Authority](../axstack/references/parallel-first.md#authority).
|
|
87
|
+
This exception adds no provider solely for diversity on partitioned work;
|
|
88
|
+
each brief still uses an eligible configured role. Required same-question
|
|
89
|
+
research pairs/source-class floors and other corroborating teams retain their
|
|
90
|
+
configured seats and provider floors, including arena judges, peer first
|
|
91
|
+
passes and audit pairs. Every other mixed fan-out, except same-binding
|
|
92
|
+
engineering writers and distinct-brief nonwriter packages, retains at least
|
|
93
|
+
one Codex and one Claude seat, otherwise hold that fan-out.
|
|
94
|
+
Decomposition never replaces independent corroboration.
|
|
83
95
|
|
|
84
96
|
3. **Gather primary source evidence.** Inspect the actual documentation, code,
|
|
85
97
|
or tool output for every answer-changing claim. Apply the source standards
|
|
@@ -5,6 +5,10 @@ description: When a candidate PR or bounded codebase needs review, use axstack-r
|
|
|
5
5
|
|
|
6
6
|
# Review
|
|
7
7
|
|
|
8
|
+
Drivers follow [Parallel-first ready work](../axstack/references/parallel-first.md#ready-work)
|
|
9
|
+
at intake and dependency/completion transitions. Workers keep their assigned
|
|
10
|
+
scope and never dispatch.
|
|
11
|
+
|
|
8
12
|
On driver entry, sweep under [Workspace hygiene](../axstack/references/workspace-hygiene.md); dispatched workers do not sweep.
|
|
9
13
|
For every dispatch brief, name its private `<run dir>/evidence/<dispatch>/` folder.
|
|
10
14
|
Include [Safe deletion](../axstack/references/workspace-hygiene.md#safe-deletion) in reviewer briefs.
|
|
@@ -5,7 +5,8 @@ Candidate: <PR URL> rev <sha> (immutable checkout)
|
|
|
5
5
|
Workspace: <T3 taskId/childThreadId/runId + authored: native worktree absolute path | peer: detached checkout absolute path>
|
|
6
6
|
Driver worktree: <authored: resolved absolute path for isolation proof | peer: n/a>
|
|
7
7
|
Evidence: <run dir>/evidence/<dispatch>/ (report and probe paths)
|
|
8
|
-
Mode: <peer | authored> Actual author: <provider/model
|
|
8
|
+
Mode: <peer | authored> Actual author: <every package/integration/repair contributor's provider/model + T3 launch receipt/session | n/a>
|
|
9
|
+
Integration: <package tips + ancestry + input identities + combined acceptance | single package | n/a>
|
|
9
10
|
Scope: <spec rev or linked issue + ticket + current base + exclusions>
|
|
10
11
|
Combined review: <yes — return the Scope verdict | no — separate diligence>
|
|
11
12
|
Angles: <all six; identical brief for peer reviewers>
|