axstack 0.59.1 → 0.60.1
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/ceremony-baseline-20261103.md +96 -0
- package/docs/workflows.md +34 -13
- package/package.json +1 -1
- package/skills/axstack/references/automations.md +4 -3
- package/skills/axstack/references/autopilot.md +7 -3
- package/skills/axstack/references/candidate-publication.md +19 -3
- package/skills/axstack/references/contracts.md +8 -2
- package/skills/axstack/references/diligence.md +37 -0
- package/skills/axstack/references/fleet-dispatch.md +111 -9
- package/skills/axstack/references/fleet-route-schema.md +80 -3
- package/skills/axstack/references/fleet-verification.md +43 -1
- package/skills/axstack/references/lifecycle.md +29 -12
- package/skills/axstack/references/pr-chain.md +4 -1
- package/skills/axstack/references/role-roster.md +5 -2
- package/skills/axstack/references/run-record.md +23 -0
- package/skills/axstack/references/t3-runtime.md +48 -10
- package/skills/axstack/scripts/dispatch-plan.js +68 -18
- package/skills/axstack/scripts/fleet-route-cli.js +18 -9
- package/skills/axstack/scripts/fleet-route-plan.js +138 -0
- package/skills/axstack/scripts/fleet-route.js +6 -2
- package/skills/axstack-align/SKILL.md +17 -1
- package/skills/axstack-audit/SKILL.md +17 -2
- package/skills/axstack-cleanup/SKILL.md +13 -4
- package/skills/axstack-implement/SKILL.md +59 -13
- package/skills/axstack-implement/references/step-back.md +9 -1
- package/skills/axstack-review/SKILL.md +8 -3
- package/skills/axstack-review/references/candidate-brief.md +3 -1
- package/skills/axstack-review/references/review-candidate.md +20 -7
- package/skills/axstack-review/references/review-receipt.md +5 -1
- package/skills/axstack-spec/SKILL.md +23 -7
- package/skills/axstack-watch/SKILL.md +5 -0
- package/skills/axstack-watch/references/escalation.md +4 -2
- package/skills/axstack-watch/references/proven-verification.md +5 -2
- package/skills/axstack-watch/references/readiness.md +20 -8
- package/src/instructions.js +12 -11
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Ceremony baseline — 2026-11-03
|
|
2
|
+
|
|
3
|
+
CR-2 reporting baseline, built from the 2026-10-29–11-03 thread research and
|
|
4
|
+
11 recent run records read on axat-vps. This is observational evidence and
|
|
5
|
+
never gates work. Missing measurements stay `unknown`, never zero.
|
|
6
|
+
|
|
7
|
+
## Sources and selection
|
|
8
|
+
|
|
9
|
+
Private source root: `<axstack-git-common-dir>/axstack/runs/align-ceremony-20261103/evidence/`.
|
|
10
|
+
Research `R` is `research-threads-5d/{report.md,vps-window.json,vps-nonrm.tsv,rm-pr-role.tsv,classify.jq}`.
|
|
11
|
+
The read-only source inventory, full SHA-256 hashes, frozen inputs and extraction
|
|
12
|
+
receipt are in `author-t2/{source-manifest.json,inputs/,baseline-check.json}`.
|
|
13
|
+
Source IDs below identify `progress.md` under each repository's
|
|
14
|
+
`.git/axstack/runs/<run>/`. Hash prefixes identify the frozen source bytes.
|
|
15
|
+
|
|
16
|
+
Selected the 11 most recently modified top-level run records available under
|
|
17
|
+
`/root/dev/*` and `/root/defi/*`; the oldest are dated October 28, supplementing
|
|
18
|
+
the five-day research. Nested author records are excluded to avoid duplication.
|
|
19
|
+
Review-manager PRs are excluded: the 107 PR keys in `R/rm-pr-role.tsv` have no
|
|
20
|
+
intersection with the 11 PRs below. Peer/dependency PRs mentioned in a record
|
|
21
|
+
are excluded too. Separate release PRs owned by the sampled drivers remain.
|
|
22
|
+
|
|
23
|
+
| ID | Repository | Run | SHA-256 prefix | Evidence used |
|
|
24
|
+
| --- | --- | --- | --- | --- |
|
|
25
|
+
| A | axstack | align-ceremony-20261103 | 91543da0c52c | Spec r1–r5; #606 publication; shared multi-PR scope |
|
|
26
|
+
| B | monorepo | 20261102-sentry-full-visibility | dc355065a99c | Review a1–a4 at four heads; #1988 merged; wider spec r1–r2 |
|
|
27
|
+
| C | monorepo | 20261102-def-2899-spec | 3b69089aac91 | Spec drafts r1–r12; no PR |
|
|
28
|
+
| D | monorepo | 20261102-ci-speed-spec | 18f822172f1c | Six completed workers; drafts r1–r2; paused; no PR |
|
|
29
|
+
| E | monorepo | 20261030-def-2848-frame-loop | 39ef13c9eb98 | #1963 review a1 at 2e3e3dac; replacement #1964 |
|
|
30
|
+
| F | monorepo | 20261029-def-2826-implement | f29473236880 | #1950 review a1 cancelled; a2 complete at c61d2160 |
|
|
31
|
+
| G | monorepo | 20261029-def-2826-debug | b50d620bef28 | Explicit no-dispatch diagnostic; no PR |
|
|
32
|
+
| H | monorepo | 20261029-def-2794 | ccf119a912d0 | #1924 reviews a1–a4, including base-update heads |
|
|
33
|
+
| I | monorepo | 20261028-feature-map-refresh | 1b3c9dd241df | #1900 repair and base-update reviews; no complete tally |
|
|
34
|
+
| J | axstack | 20261028-advisory-file-size | cc90b8f1df5d | #576 reviews a1–a4; separate #580 release review |
|
|
35
|
+
| K | axstack | 20261028-readable-spec-format | 27be6bf2da79 | #577 reviews a1–a4; separate #581 release review |
|
|
36
|
+
|
|
37
|
+
## Per-PR observations
|
|
38
|
+
|
|
39
|
+
A dispatch is one native task or launch, counted once by its identity. A review
|
|
40
|
+
round is one authored-review pass at one head, including passing passes and
|
|
41
|
+
distinct passes at the same head. Spec adviser and diligence receipts are not
|
|
42
|
+
authored-review rounds. Interrupted review fragments do not prove a full pass.
|
|
43
|
+
Spec revisions count distinct attributable drafts including the first; a spec
|
|
44
|
+
shared across PRs stays unallocated without an allocation receipt.
|
|
45
|
+
|
|
46
|
+
These are snapshot observations, not a claim of complete lifetime accounting.
|
|
47
|
+
Known review totals below have individually recorded passes; dispatch totals
|
|
48
|
+
remain `unknown` because complete per-PR native-task inventories are absent.
|
|
49
|
+
Durations require active/wait intervals; elapsed time alone cannot supply them.
|
|
50
|
+
Driver and worker token totals require separate provider receipts and a stated
|
|
51
|
+
cache basis. No sampled PR has those measurements.
|
|
52
|
+
|
|
53
|
+
| PR | Source | Dispatches | Review rounds | Spec revisions | Active time | Wait time | Driver tokens | Worker tokens |
|
|
54
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
55
|
+
| [axstack #606](https://github.com/axatbhardwaj/axstack/pull/606) | A | unknown | unknown | unknown | unknown | unknown | unknown | unknown |
|
|
56
|
+
| [monorepo #1988](https://github.com/defi-com/monorepo/pull/1988) | B | unknown | 4 | unknown | unknown | unknown | unknown | unknown |
|
|
57
|
+
| [monorepo #1963](https://github.com/defi-com/monorepo/pull/1963) | E | unknown | 1 | unknown | unknown | unknown | unknown | unknown |
|
|
58
|
+
| [monorepo #1964](https://github.com/defi-com/monorepo/pull/1964) | E | unknown | unknown | unknown | unknown | unknown | unknown | unknown |
|
|
59
|
+
| [monorepo #1950](https://github.com/defi-com/monorepo/pull/1950) | F | unknown | unknown | unknown | unknown | unknown | unknown | unknown |
|
|
60
|
+
| [monorepo #1924](https://github.com/defi-com/monorepo/pull/1924) | H | unknown | 4 | unknown | unknown | unknown | unknown | unknown |
|
|
61
|
+
| [monorepo #1900](https://github.com/defi-com/monorepo/pull/1900) | I | unknown | unknown | unknown | unknown | unknown | unknown | unknown |
|
|
62
|
+
| [axstack #576](https://github.com/axatbhardwaj/axstack/pull/576) | J | unknown | 4 | unknown | unknown | unknown | unknown | unknown |
|
|
63
|
+
| [axstack #580](https://github.com/axatbhardwaj/axstack/pull/580) | J | unknown | 1 | unknown | unknown | unknown | unknown | unknown |
|
|
64
|
+
| [axstack #577](https://github.com/axatbhardwaj/axstack/pull/577) | K | unknown | 4 | unknown | unknown | unknown | unknown | unknown |
|
|
65
|
+
| [axstack #581](https://github.com/axatbhardwaj/axstack/pull/581) | K | unknown | 1 | unknown | unknown | unknown | unknown | unknown |
|
|
66
|
+
|
|
67
|
+
Coverage: review rounds measured for 7/11 PRs (19 passes); each other field
|
|
68
|
+
measured for 0/11 PRs. This is not a total-cost estimate or an average over all
|
|
69
|
+
PRs. #1950 has one completed and one interrupted review, so its total stays
|
|
70
|
+
`unknown`. #1964 carries #1963's approval; it receives no duplicate pass count.
|
|
71
|
+
The two no-PR spec runs and diagnostic run contribute evidence, not invented PRs.
|
|
72
|
+
|
|
73
|
+
## Research cross-check and unallocated run costs
|
|
74
|
+
|
|
75
|
+
`R/report.md` §§1–2, 7 reports 684 VPS threads; raw data separates 527 manager
|
|
76
|
+
children. `vps-nonrm.tsv` still includes five manager drivers: removing them
|
|
77
|
+
leaves **152 non-manager threads and 23,405 items**. Their title classifications
|
|
78
|
+
are 28 top-level, 49 advisers, 13 escalations, 21 diligence, 9 reviewers,
|
|
79
|
+
4 authors, 4 verifiers, 3 arena and 21 other subagents. These are observed
|
|
80
|
+
thread/item counts, not dispatch or token totals. A resumed thread can contain
|
|
81
|
+
multiple native tasks; deleted threads cannot be recovered from this list.
|
|
82
|
+
|
|
83
|
+
C and `R/report.md` §2 record 12 spec drafts, 43 observed spec dispatches and
|
|
84
|
+
two UI verifier threads for DEF-2899. D records six completed workers and two
|
|
85
|
+
drafts. G explicitly records no dispatches. Those facts belong to their runs;
|
|
86
|
+
none is silently assigned to a later implementation PR. A's five spec drafts
|
|
87
|
+
also serve a multi-PR delivery, while B's wider spec is separate from PR1.
|
|
88
|
+
|
|
89
|
+
The research's 2h28m DEF-2899 spec loop, roughly six-hour #1988 readiness loop,
|
|
90
|
+
and 69.5-hour fleet build are elapsed windows, with active and wait time both
|
|
91
|
+
`unknown`. The fleet build's deleted children prevent full dispatch recovery.
|
|
92
|
+
iobox was unreachable; other fleet lists were partial or not saved. No fleet
|
|
93
|
+
total, token total, causal speed claim or post-change saving is established.
|
|
94
|
+
|
|
95
|
+
Later audits should compare compatible per-PR cost lines against this file,
|
|
96
|
+
report measurement coverage separately, and keep unknowns visible.
|
package/docs/workflows.md
CHANGED
|
@@ -59,8 +59,10 @@ Direct routes need no spec ceremony:
|
|
|
59
59
|
- `axstack-debug` builds a red loop, diagnoses to root cause, escalates hard
|
|
60
60
|
bugs through adviser-directed investigator fan-out, and hands off a
|
|
61
61
|
classified repair without landing a change.
|
|
62
|
-
- `axstack-cleanup` runs inline in the driver
|
|
63
|
-
|
|
62
|
+
- `axstack-cleanup` runs inline in the driver at
|
|
63
|
+
[run checkpoints](../skills/axstack-cleanup/SKILL.md#run-checkpoints) to batch eligible
|
|
64
|
+
cleanup, including reviewer worktree retirement, preserving and reading back evidence
|
|
65
|
+
first with every existing per-resource guard, or against an explicitly bounded backlog. It dispatches no
|
|
64
66
|
cleanup worker and preserves protected or uncertain resources.
|
|
65
67
|
- Peer review uses the linked issue, PR description, author comments and repository
|
|
66
68
|
rules as context for code and design defects, not a contract. Accept the author's
|
|
@@ -206,8 +208,10 @@ Top-level drivers use `t3_thread_launch` only after an explicit user request.
|
|
|
206
208
|
Preserve existing accepted authorization within its exact scope.
|
|
207
209
|
Use `t3_thread_launch` as a rare author fallback only when
|
|
208
210
|
worktree isolation is unavailable and record each use in the run record.
|
|
209
|
-
|
|
210
|
-
and
|
|
211
|
+
Authored reviewers use native `isolation:"worktree"`, enter their own worktree, and verify
|
|
212
|
+
its path differs from the driver's before checking out and verifying the exact
|
|
213
|
+
candidate SHA and base there. Peer reviewers and investigators receive driver-made disposable detached
|
|
214
|
+
checkouts pinned to candidate and base. Repairs return
|
|
211
215
|
to the same author and worktree. The current T3 driver owns coordination and
|
|
212
216
|
forge mutations and never writes an author's tracked files.
|
|
213
217
|
|
|
@@ -282,9 +286,10 @@ for explicit ownership transfer.
|
|
|
282
286
|
the named keepers or vacuity/obsolescence evidence for removals.
|
|
283
287
|
- `axstack-review` gives peer PRs two isolated same-brief reviewers on the first
|
|
284
288
|
review and one reviewer on follow-ups; authored PRs receive one eligible
|
|
285
|
-
cross-family/preset-mapped reviewer.
|
|
286
|
-
|
|
287
|
-
|
|
289
|
+
cross-family/preset-mapped reviewer. Peer reviewers run in a separate detached
|
|
290
|
+
checkout, with private evidence preserved before removal. Authored reviewers use native
|
|
291
|
+
`isolation:"worktree"` and verify the pinned candidate and base inside their
|
|
292
|
+
own worktrees, with private evidence preserved before removal. First peer reviews and authored reviews cover security,
|
|
288
293
|
correctness, integration, requirements, design, and simplicity; peer follow-ups
|
|
289
294
|
check prior blockers, author replies and the delta, with a full-diff fallback
|
|
290
295
|
when the last-reviewed head or delta cannot be recovered. Report-only
|
|
@@ -400,12 +405,24 @@ admin permission. A `defi-com` repository, an extra writer, or an incomplete or
|
|
|
400
405
|
failed readback classes as work (`team`).
|
|
401
406
|
Every other repository is work (`team`).
|
|
402
407
|
|
|
408
|
+
Follow the [applicable diligence gate](../skills/axstack/references/diligence.md#applicable-diligence-gate).
|
|
409
|
+
For eligible small non-risk-path work (one PR and a snapshotted small-change
|
|
410
|
+
intent), the same cross-provider reviewer supplies `APPROVE` plus `Scope: PASS`
|
|
411
|
+
at the exact head and base. Substantial work, spec checkpoints, risk paths and
|
|
412
|
+
release reconciliation retain separate diligence. Review-depth risk includes
|
|
413
|
+
watch's merge-risk list, merge/dispatch/authority rule changes and driver- or
|
|
414
|
+
reviewer-flagged security, data-loss or major-design concerns; this leaves the
|
|
415
|
+
merge hold list unchanged. `Scope: FINDINGS` or `Scope: UNKNOWN` blocks merge-ready.
|
|
416
|
+
Before publication the driver reads back the author evidence folder (named
|
|
417
|
+
red/green logs, counts, SHAs and paths); combined review follows remote readback.
|
|
403
418
|
Solo approval is current-head-and-base cross-provider authored-review `APPROVE`
|
|
404
|
-
plus diligence
|
|
419
|
+
plus applicable diligence evidence (combined `Scope: PASS` or separate `PASS`).
|
|
420
|
+
The reviewer differs from every receipt-recorded provider
|
|
405
421
|
that authored or repaired `merge-base..head` commits. Team approval also needs a
|
|
406
422
|
counted non-author collaborator review at the current head. Axstack automation
|
|
407
423
|
votes never count. Unknown or mixed provenance and manually authored PRs need a
|
|
408
|
-
merge card.
|
|
424
|
+
merge card. Every head or base change needs fresh authored review, applicable
|
|
425
|
+
diligence evidence, and CI. A collaborator
|
|
409
426
|
approval carries over only across an unchanged stable patch-id rebase, base-update
|
|
410
427
|
merge or base-only retarget, recorded
|
|
411
428
|
for both heads, while the forge still counts it.
|
|
@@ -423,7 +440,10 @@ Proven verification is required for every own PR. Use the authored receipt:
|
|
|
423
440
|
- Verification requires `Verdict: APPROVE`, `Coverage: COMPLETE`, and
|
|
424
441
|
`Escalate to user: no`.
|
|
425
442
|
- Verification requires a `Safety fact` about the change that is not `unproven`.
|
|
426
|
-
-
|
|
443
|
+
- For eligible small non-risk-path work, `APPROVE` and `Scope: PASS` from the
|
|
444
|
+
same cross-provider reviewer at the exact head and base satisfy verification's
|
|
445
|
+
diligence gate. Otherwise verification requires separate diligence `PASS`
|
|
446
|
+
at the exact head and base. Follow the [applicable diligence gate](../skills/axstack/references/diligence.md#applicable-diligence-gate).
|
|
427
447
|
- Verification requires `Final-head check: <command> -> <log path>` for a check
|
|
428
448
|
the reviewer ran at the final head, with its log kept in the run's evidence folder.
|
|
429
449
|
- Each acceptance check requires passing evidence from the ticket or spec
|
|
@@ -455,7 +475,7 @@ reissuing only if a decision is still needed.
|
|
|
455
475
|
The user's reply in the driver thread or on the forge clears only that
|
|
456
476
|
verification cause. Record `user-accepted unproven: <item>`, never as a pass.
|
|
457
477
|
Treat the accepted item as settled for this head and base and merge when every
|
|
458
|
-
other gate and hold permits it. A reply never waives `APPROVE`, diligence
|
|
478
|
+
other gate and hold permits it. A reply never waives `APPROVE`, the applicable diligence gate
|
|
459
479
|
or green CI. A new head or base voids the acceptance.
|
|
460
480
|
Settle an `Escalate to user` for the user-accepted verification cause at its
|
|
461
481
|
accepted head and base while other escalation holds still apply.
|
|
@@ -540,8 +560,9 @@ A quoted format inside a bullet never counts as the declaration.
|
|
|
540
560
|
`Auto-merge: off` for a run or PR makes the merge card wait, and it waits for the user.
|
|
541
561
|
|
|
542
562
|
Post a merge card for every nonqualifying approval, base, verification, or off case.
|
|
543
|
-
Bind it to the PR head and base SHA; list CI, authored review and
|
|
544
|
-
|
|
563
|
+
Bind it to the PR head and base SHA; list CI, authored review and applicable
|
|
564
|
+
diligence evidence (combined Scope or separate diligence) at those SHAs, counted
|
|
565
|
+
collaborator approvals and bot votes with each vote's SHA
|
|
545
566
|
and stale flag, and the causes holding this merge.
|
|
546
567
|
A card that needs the user's decision (work promotion or work deploying/unknown base,
|
|
547
568
|
`Auto-merge: off`, provenance, or an unclosable verification gap) is a decision
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axstack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.1",
|
|
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",
|
|
@@ -48,12 +48,13 @@ The full pass records in Watermarks `Quiet gate:` as the sorted list and
|
|
|
48
48
|
The sections below govern full passes; a quiet exit bypasses their teardown
|
|
49
49
|
except the guarded pass-end self-settle.
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
The lane thread must use the recorded `axstack-owner` binding and verify its
|
|
52
|
+
readback through `t3_thread_read`. Then `schedule_task` uses the packaged prompt,
|
|
53
53
|
hourly with `everyMs:3600000`, `bindToCurrentThread:false`, and a stable `clientRequestId`.
|
|
54
54
|
Record the schedule ID, project, lane binding and pass thread/run identities.
|
|
55
|
-
Each pass compares
|
|
55
|
+
Each pass compares native task status and thread reads for settings readback with the recorded binding
|
|
56
56
|
after any owner-only instance update under [Provider bindings](t3-runtime.md#preflight-and-binding), before admission.
|
|
57
|
+
Unreturned effective fields must stay unknown and hold admission when required.
|
|
57
58
|
A binding mismatch holds admission.
|
|
58
59
|
Read [T3 runtime](t3-runtime.md) for capability, provider/effort, prompt, dispatch,
|
|
59
60
|
completion and cleanup boundaries; a manager never checks out a PR branch in
|
|
@@ -22,9 +22,13 @@ holds the potentially affected work until its boundary is resolved. For example,
|
|
|
22
22
|
tracker access, adviser or arena-seat availability, CI-wait timeout, readiness
|
|
23
23
|
UNKNOWN, dismissed approval, wake or cleanup uncertainty, single-provider routing,
|
|
24
24
|
an existing tag or version, and failed publish hold the work that needs them.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
Follow the [applicable diligence gate](diligence.md#applicable-diligence-gate):
|
|
26
|
+
eligible small non-risk-path PRs use combined `Scope: PASS` with cross-provider
|
|
27
|
+
`APPROVE`; all other work keeps separate diligence.
|
|
28
|
+
Diligence FINDINGS during implement follow its §6 repair route; at spec, tickets,
|
|
29
|
+
or release preparation the driver resolves them before advancing, and only a
|
|
30
|
+
recorded hold pauses autopilot. Combined `Scope: FINDINGS` follows the same
|
|
31
|
+
implement repair route; `Scope: UNKNOWN` holds merge-ready.
|
|
28
32
|
|
|
29
33
|
Denied tool calls, including calls denied by automatic approval review, hold
|
|
30
34
|
only that action and its dependants. Never retry, reroute, or delegate around
|
|
@@ -5,10 +5,18 @@ receipt and stops without pushing. Under recorded PR-scoped publication authorit
|
|
|
5
5
|
the owner reconciles author receipt with actual local candidate SHA/base. The owner
|
|
6
6
|
does not edit the candidate; code changes return to its author.
|
|
7
7
|
|
|
8
|
-
Before publication,
|
|
8
|
+
Before publication, follow the [applicable diligence gate](diligence.md#applicable-diligence-gate).
|
|
9
|
+
For combined review, before publication the driver verifies the author receipt
|
|
10
|
+
against its evidence folder: named red/green logs exist, and counts, SHAs and
|
|
11
|
+
paths match. Record the readback and eligibility at the local candidate head
|
|
12
|
+
and base; missing or mismatched evidence holds publication and returns to the
|
|
13
|
+
same author. The combined cross-provider review follows publication at the
|
|
14
|
+
confirmed remote head and pinned base; driver readback never supplies `Scope: PASS`.
|
|
15
|
+
For all other work, before publication dispatch `axstack-diligence` under
|
|
9
16
|
[Diligence](diligence.md) to check the author receipt against its evidence
|
|
10
17
|
folder: red/green logs exist, and counts, SHAs, and paths match. Resolve
|
|
11
|
-
`FINDINGS` with the same author before publishing.
|
|
18
|
+
`FINDINGS` with the same author before publishing. A diligence `UNKNOWN` or
|
|
19
|
+
missing/stale receipt holds publication.
|
|
12
20
|
|
|
13
21
|
Follow [PR chains](pr-chain.md) for recorded membership and base-bound evidence.
|
|
14
22
|
For ordinary PRs, use `git push origin HEAD:refs/heads/<owned branch>` and
|
|
@@ -67,15 +75,23 @@ step, subject to recorded release authority and human npm stage approval.
|
|
|
67
75
|
|
|
68
76
|
## Immutable checkout shape
|
|
69
77
|
|
|
78
|
+
Authored reviewers must use async `delegate_task` with native `isolation:"worktree"`.
|
|
79
|
+
Authored reviewers must `cd` into their own worktree and verify its resolved path differs from the driver's before inspecting the pinned revision.
|
|
80
|
+
Authored reviewers must check out and verify the exact candidate SHA and pinned base inside that worktree.
|
|
81
|
+
Use `git checkout --detach <candidate-sha>`, then verify `git rev-parse HEAD` and
|
|
82
|
+
`git rev-parse <base-sha>^{commit}` equal the pinned SHAs before inspection.
|
|
83
|
+
For peer reviewers and release checks:
|
|
70
84
|
The driver creates the immutable review checkout with `git worktree add --detach <run>/checkouts/<key> <sha>` at the confirmed candidate SHA and pinned base.
|
|
71
85
|
Follow [T3 runtime](t3-runtime.md) for async `delegate_task`.
|
|
72
86
|
Bind disposable checkout to exact attempt identity.
|
|
73
87
|
Use the existing repository; never register a duplicate or use a movable branch.
|
|
74
|
-
Delegated reviewers must `cd` into their separate detached checkout; tracked candidate files remain read-only and outputs go to their private evidence folder.
|
|
88
|
+
Delegated reviewers must `cd` into their assigned workspace (authored: native worktree; peer: separate detached checkout); tracked candidate files remain read-only and outputs go to their private evidence folder.
|
|
75
89
|
Snapshot driver HEAD and full status (including untracked) before dispatch.
|
|
76
90
|
After each delegated completion, compare the driver HEAD and `git status --porcelain` with their pre-dispatch values; any change holds advancement.
|
|
77
91
|
Peer reviewers have separate checkouts/evidence without first-pass cross-read.
|
|
78
92
|
Later review gets a fresh checkout.
|
|
93
|
+
Before removing an authored reviewer checkout, read back its report and supporting evidence, then use exact `git worktree remove <recorded-native-worktree-path>` without force.
|
|
94
|
+
For peer reviewers and release checks:
|
|
79
95
|
Before removing a reviewer checkout, read back its report and supporting evidence, then use exact `git worktree remove <run>/checkouts/<key>` without force.
|
|
80
96
|
Verify absence under [Workspace hygiene](workspace-hygiene.md); retain the author
|
|
81
97
|
candidate until merge/closure. Release checks use same driver-made SHA-pinned detached-checkout procedure.
|
|
@@ -93,6 +93,10 @@ discriminating check. A bare "stuck" claim needs pointers to two failed attempts
|
|
|
93
93
|
setup slips and new user requirements do not count. Each use starts a fresh
|
|
94
94
|
session that never reuses an adviser or candidate context. Escalation never
|
|
95
95
|
resets existing holds or attempt budgets.
|
|
96
|
+
For Align and Spec, when existing triggers apply, run `axstack-escalation-fable`
|
|
97
|
+
only after ordinary high and medium findings settle. Reuse the Fable receipt
|
|
98
|
+
while the reviewed meaning holds. If Fable's own findings change meaning,
|
|
99
|
+
a fresh Fable session reviews the revised result.
|
|
96
100
|
At an advised hold or step-back that is not high-stakes, an adviser split goes
|
|
97
101
|
to the user with no reconciliation and no Fable.
|
|
98
102
|
|
|
@@ -113,8 +117,10 @@ merge cards, a blocked operation after bounded recovery, a scoped no-test-first
|
|
|
113
117
|
decision, the round-4 step-back hold, major-design urgent escalation in authored
|
|
114
118
|
or codebase review, and authored `Escalate to user` concerns about security,
|
|
115
119
|
permanent on-chain state changes or an architectural change in approach.
|
|
116
|
-
|
|
117
|
-
|
|
120
|
+
Follow the [applicable diligence gate](diligence.md#applicable-diligence-gate).
|
|
121
|
+
Diligence `UNKNOWN`, combined `Scope: UNKNOWN` and a `Learning` contradiction
|
|
122
|
+
remain driver dispositions, advised only if raised to the user as a hold.
|
|
123
|
+
A disposition never substitutes for required diligence `PASS` or combined `Scope: PASS`.
|
|
118
124
|
|
|
119
125
|
Never advise spec approval, npm stage approval or collaborator approval.
|
|
120
126
|
Never advise access or credentials.
|
|
@@ -3,6 +3,43 @@
|
|
|
3
3
|
Never dispatch diligence for peer review. Its code/design-only blocking bar
|
|
4
4
|
and bounded follow-ups are defined in [Peer mode](../../axstack-review/SKILL.md#peer-mode-colleague-pr).
|
|
5
5
|
|
|
6
|
+
## Applicable diligence gate
|
|
7
|
+
|
|
8
|
+
Use combined review only for a snapshotted small-change intent, one PR and a
|
|
9
|
+
non-risk-path classification. The driver decides eligibility for combined review.
|
|
10
|
+
The combined reviewer rechecks eligibility against the diff and review-depth risk.
|
|
11
|
+
A same-provider reviewer under single-provider presets makes combined review
|
|
12
|
+
ineligible; use separate diligence while retaining the configured review route.
|
|
13
|
+
The combined reviewer uses a provider that differs
|
|
14
|
+
from every author and repair provider. Keep the authored mode's mapped reviewer,
|
|
15
|
+
non-author/non-owner session independence and checkout rules.
|
|
16
|
+
Review-depth risk includes the [merge-risk list](../../axstack-watch/references/readiness.md),
|
|
17
|
+
changes to merge, dispatch or authority rules, and anything the driver or
|
|
18
|
+
reviewer marks as a security, data-loss or major-design concern.
|
|
19
|
+
These additions affect review depth only; they leave merge authority unchanged.
|
|
20
|
+
Separate diligence is required for substantial work, spec checkpoints, risk
|
|
21
|
+
paths and release reconciliation. Unknown eligibility holds the combined route;
|
|
22
|
+
use separate diligence pending classification.
|
|
23
|
+
|
|
24
|
+
The combined reviewer performs every applicable diligence check: scope against
|
|
25
|
+
intent for dropped, added or softened obligations, author evidence and red/green
|
|
26
|
+
logs, and PR body and commits against the diff for claims, counts, SHAs and paths.
|
|
27
|
+
Apply all checks and the finding rubric below, including evidence-integrity and
|
|
28
|
+
full-suite failure handling; this replaces a dispatch, not diligence coverage.
|
|
29
|
+
The combined reviewer returns `Scope: PASS|FINDINGS|UNKNOWN` bound to the exact
|
|
30
|
+
head and base, with observed evidence, findings and limitations in the authored
|
|
31
|
+
review receipt. The same reviewer returns the authored verdict and Scope status.
|
|
32
|
+
`APPROVE` plus `Scope: PASS` satisfies the applicable diligence gate only for
|
|
33
|
+
eligible work; otherwise require separate diligence `PASS` with authored approval.
|
|
34
|
+
`Scope: FINDINGS` returns to the same author in the same round and blocks
|
|
35
|
+
merge-ready. `Scope: UNKNOWN` holds merge-ready with the reason recorded for
|
|
36
|
+
driver disposition; a disposition never converts unknown evidence into a pass.
|
|
37
|
+
Every head or base change invalidates the combined receipt and requires fresh
|
|
38
|
+
review and Scope evidence, including unchanged-head base retargets.
|
|
39
|
+
A missing or stale Scope receipt never satisfies this gate.
|
|
40
|
+
|
|
41
|
+
## Separate diligence and shared checks
|
|
42
|
+
|
|
6
43
|
Read the [T3 runtime boundary](t3-runtime.md) before dispatch.
|
|
7
44
|
Dispatch `axstack-diligence` with async `delegate_task` in the driver worktree,
|
|
8
45
|
using a pinned brief and private evidence paths. Explicit non-repository
|
|
@@ -1,4 +1,107 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Whole-task intake routing and fleet receipts
|
|
2
|
+
|
|
3
|
+
## Intake boundary (CR-3)
|
|
4
|
+
|
|
5
|
+
Route only new user-started tasks at intake before the first worker dispatch.
|
|
6
|
+
Scheduled work, status requests and follow-up work must stay local.
|
|
7
|
+
The driver must honor an explicit named host (pilot) as the user's placement request.
|
|
8
|
+
The driver must use the routed marker to prevent second routing and mid-task hand-off.
|
|
9
|
+
Never require per-dispatch routing inside a task; all authors, reviewers and
|
|
10
|
+
advisers run locally on its chosen host. C3a below remains an optional legacy
|
|
11
|
+
nonwriter contract, pending a separate CR-8 retirement proposal. C3b stays disabled.
|
|
12
|
+
|
|
13
|
+
`intakeRouting` must gate only the automatic decision, with missing meaning false.
|
|
14
|
+
An explicit named host (pilot) runs with the switch off under the user's
|
|
15
|
+
explicit request and needs no existing support record.
|
|
16
|
+
An explicit named host (pilot) ignores `intakeSupport`, including malformed
|
|
17
|
+
values; all other pre-launch, staffing and sole-driver checks still apply.
|
|
18
|
+
From a successful named-host pilot outcome, the driver must write a support
|
|
19
|
+
record for the launching host and provider in `fleet-routing.json`, with
|
|
20
|
+
`supported:true` and evidence.
|
|
21
|
+
On pilot failure, the driver must remove the named destination host from the
|
|
22
|
+
pool list and write no support record.
|
|
23
|
+
For unnamed automatic hand-offs, read `intakeSupport`: missing = unsupported,
|
|
24
|
+
stay local and record `routing unsupported`. A standing grant is usable only when the
|
|
25
|
+
active T3 runtime accepts it as the user's explicit request for this one thread.
|
|
26
|
+
Neither this contract nor a helper grants that authority.
|
|
27
|
+
|
|
28
|
+
## Observe and plan once
|
|
29
|
+
|
|
30
|
+
1. Record the exact task text, scope identity and content (inline or a
|
|
31
|
+
destination-readable ref), authority, grant citation, origin environment,
|
|
32
|
+
thread ID/title and a task-unique launch key. Record `routed:false` only at
|
|
33
|
+
the original intake. A received routed task preserves `routed:true`.
|
|
34
|
+
For an unknown named host, report `routing unknown host` and the supplied
|
|
35
|
+
name to the user, then stay local with staffing checks. An unknown name is
|
|
36
|
+
never replaced with another destination silently.
|
|
37
|
+
2. Save native environment links, destination environment/project reads,
|
|
38
|
+
fully paginated project lists and exact destination catalog bytes. The
|
|
39
|
+
driver must clone a missing repo through T3 and a failed clone makes the
|
|
40
|
+
host ineligible. Continue to the next host, else stay local. Refresh the
|
|
41
|
+
saved reads after cloning; an attempted clone is never proof of a project.
|
|
42
|
+
3. Require reachability, the correct repository project and worktree isolation.
|
|
43
|
+
Require the pinned driver model, a local author and a different-provider
|
|
44
|
+
reviewer, plus advisers when needed. Collect bounded `fleet-sample` telemetry and
|
|
45
|
+
current assignment inventory into the facts directory described in
|
|
46
|
+
[the schema](fleet-route-schema.md#whole-task-intake-plan).
|
|
47
|
+
4. Run one `fleet-route.js plan --facts <facts-dir> --now <epoch-ms> --config
|
|
48
|
+
<reviewed-config> --config-digest <run-pin> --json`. It combines recommendation
|
|
49
|
+
and binding evidence. Exclusions, unknown load and local staffing remain
|
|
50
|
+
explicit; the helper performs no native calls, cloning or dispatch.
|
|
51
|
+
5. For a remote selection, use `dispatch-plan --kind launch` with that saved
|
|
52
|
+
plan as `--recommendation`, the original `--fleet-input`, the same `--now`
|
|
53
|
+
and digest, `--role axstack-owner` (or the accepted driver role at the same
|
|
54
|
+
exact pins), role snapshot and selected destination catalog. Copy only
|
|
55
|
+
native arguments: environmentId/projectId, modelSelection, runtimeMode,
|
|
56
|
+
delegatedFrom (including title), clientRequestId, title and message. Keep
|
|
57
|
+
`inputs`, terms and fleetBinding as evidence, never native arguments.
|
|
58
|
+
Launch only under the cited explicit user request or accepted standing
|
|
59
|
+
intake grant. Verify the returned thread using `dispatch-plan --verify`
|
|
60
|
+
with native thread reads; unreturned settings or run-start evidence hold.
|
|
61
|
+
|
|
62
|
+
Skip collection for non-intake, already-routed or disabled automatic decisions once
|
|
63
|
+
local staffing is proven. If plan is invoked it still validates the full supplied
|
|
64
|
+
facts. An exit-1 input/config error before any launch means stay local only with
|
|
65
|
+
independent local staffing proof; otherwise hold. Report the helper error, never
|
|
66
|
+
infer a route or silently continue without staffing.
|
|
67
|
+
|
|
68
|
+
## Acceptance, ownership and outcomes
|
|
69
|
+
|
|
70
|
+
The origin must remain the owner and owns the task until the destination accepts.
|
|
71
|
+
The destination first run must check only acceptance and end with exactly
|
|
72
|
+
`AXSTACK-ACCEPT` or `AXSTACK-HANDBACK <reason>`. It checks scope/authority,
|
|
73
|
+
readable inputs and local staffing (author, different-provider reviewer and
|
|
74
|
+
advisers if needed), then ends without implementation and awaits `proceed`.
|
|
75
|
+
The origin waits on that exact first run with `t3_thread_wait`, reads its full
|
|
76
|
+
untruncated final response and checks exactly one marker. A quoted marker,
|
|
77
|
+
both markers or multiple markers is ambiguous and holds.
|
|
78
|
+
|
|
79
|
+
Only after `AXSTACK-ACCEPT`, record the destination link, send one `proceed`
|
|
80
|
+
with a stable `clientRequestId` and stop origin execution. Preserve this send's
|
|
81
|
+
receipt and run ID; the destination becomes the sole driver. Both acceptance
|
|
82
|
+
and proceed waits must follow the wait tool `next` and hold while active or
|
|
83
|
+
unconfirmed. Never infer completion from a timeout. Once proceed is confirmed,
|
|
84
|
+
the origin ends; ongoing implementation belongs only to the destination thread.
|
|
85
|
+
|
|
86
|
+
With no launch call because of unsupported runtime, no eligible host or
|
|
87
|
+
pre-launch failure, the origin must stay local. After `AXSTACK-HANDBACK` the
|
|
88
|
+
origin must continue locally. Hand-back is terminal for routing: keep the
|
|
89
|
+
routed marker and do not try another destination. Every local stay/continue
|
|
90
|
+
checks staffing too; a missing author or different-provider reviewer holds.
|
|
91
|
+
|
|
92
|
+
On error or a lost launch reply, the origin must retry once with the same
|
|
93
|
+
`clientRequestId`. The native launch tool documents this retry as safe; the
|
|
94
|
+
cross-host pilot must verify it before enabling automatic routing. After that
|
|
95
|
+
retry the origin must search the destination by launch key using fully
|
|
96
|
+
paginated `t3_thread_list` with `includeSubagents:true`. For one verified match
|
|
97
|
+
the origin must wait for its first run. The origin must hold for multiple
|
|
98
|
+
matches, incomplete listing, readback mismatch, a run that never starts or a
|
|
99
|
+
silent first run without exactly one marker. Zero matches after a launch call,
|
|
100
|
+
an uncertain reply or any unresolved identity also holds. Never start a second
|
|
101
|
+
driver while the first may exist. Reconcile the exact original attempt before
|
|
102
|
+
any further execution; no rerouting, replacement driver or model substitution.
|
|
103
|
+
|
|
104
|
+
## Legacy nonwriter dispatch and receipts (C3a)
|
|
2
105
|
|
|
3
106
|
This contract joins C1 recommendation and C2 sampling to native T3 execution.
|
|
4
107
|
It does not deploy a routing switch. Read [T3 runtime](t3-runtime.md) and the
|
|
@@ -13,7 +116,7 @@ null-identity proof and owned folders replace only the repository/checkout terms
|
|
|
13
116
|
All native execution authority and independent exact-byte review remain required.
|
|
14
117
|
Engineering/code review and remote routes retain their existing rules.
|
|
15
118
|
|
|
16
|
-
## Observe before selecting
|
|
119
|
+
## Observe before selecting (legacy C3a only)
|
|
17
120
|
|
|
18
121
|
1. Record installed Axstack and both T3 versions, directed origin/target link,
|
|
19
122
|
explicit time, exact reviewed config bytes/digest and installed role snapshot.
|
|
@@ -29,13 +132,12 @@ Engineering/code review and remote routes retain their existing rules.
|
|
|
29
132
|
Discovery is not proof that the provider executes. Unknown catalog, project,
|
|
30
133
|
mode, options, access, link or required session excludes that destination.
|
|
31
134
|
3. Keep the model/effort/provider pins from the run; do not re-resolve to another
|
|
32
|
-
model when quota/auth/timeout fails.
|
|
33
|
-
|
|
34
|
-
provider restrictions; they do not prove effective access. Native task/thread facts supply
|
|
135
|
+
model when quota/auth/timeout fails. Unreturned effective fields must stay unknown. Catalog runtimeModes advertise
|
|
136
|
+
provider restrictions; they do not prove effective access. Settings readback must use native task status and thread reads, preserving
|
|
35
137
|
only the fields actually returned. A worker assertion is not native readback.
|
|
36
138
|
4. Normalize current driver assignments and the pending batch as below. Sample
|
|
37
|
-
telemetry with C2's bounded command, then recompute C1
|
|
38
|
-
|
|
139
|
+
telemetry with C2's bounded command, then recompute C1 for an explicitly
|
|
140
|
+
scoped legacy route using the collector time and current exclusions. Preserve the full
|
|
39
141
|
recommendation JSON bytes and complete replayable input. Unknown inventory
|
|
40
142
|
is unknown, not a claimed zero; pending lower bounds are labelled separately.
|
|
41
143
|
|
|
@@ -215,8 +317,8 @@ existing run-ID path. Saved inputs cannot authenticate their own provenance.
|
|
|
215
317
|
`inspectFleetReceipt(receipt,{attempt,recommendation,recommendationJSON,now})`
|
|
216
318
|
returns terms, never authority. Existing dispatch-plan --verify can additionally
|
|
217
319
|
consume fleetAttempt/fleetReceipt in its saved envelope; save --out to retain
|
|
218
|
-
full receiptTerms.
|
|
219
|
-
|
|
320
|
+
full receiptTerms. Settings-only MATCH checks supplied native thread/task reads
|
|
321
|
+
and child identity, never terminal completion. Stable receipt-* / destination-* terms identify the exact
|
|
220
322
|
hold and evidence; unknown means incomplete. A passing receipt is no merge grant.
|
|
221
323
|
|
|
222
324
|
## Retrieval and retirement
|
|
@@ -26,6 +26,79 @@ these errors belongs to the adapter; exceptions never authorize fallback routes.
|
|
|
26
26
|
object. Missing/invalid configuration and digest mismatches fail explicitly.
|
|
27
27
|
No account path or fleet identity is built into this API.
|
|
28
28
|
|
|
29
|
+
## Whole-task intake plan
|
|
30
|
+
|
|
31
|
+
`bun fleet-route.js plan --facts <directory> --now <epoch-ms> --config
|
|
32
|
+
<reviewed.json> --config-digest <sha256> --json` reads `<directory>/input.json`
|
|
33
|
+
and the exact reviewed config bytes. It writes stdout/stderr only. The directory
|
|
34
|
+
is an evidence bundle produced at intake by bounded `fleet-sample` telemetry
|
|
35
|
+
and saved native links/environment/project/catalog reads, not a runtime store.
|
|
36
|
+
No collection, clone, dispatch, retries, authority grants or retained state occur.
|
|
37
|
+
All flags are listed by `--help`; `--input` and `--task` belong to recommend,
|
|
38
|
+
not plan. The default config path and digest checks below apply to both commands.
|
|
39
|
+
|
|
40
|
+
Plan uses the schema-1 recommendation inputs below, extended as follows:
|
|
41
|
+
|
|
42
|
+
| Field | Contract |
|
|
43
|
+
| --- | --- |
|
|
44
|
+
| `request.role` | `driver`: place one whole task; authors then run locally, never C3b |
|
|
45
|
+
| `origin.threadId`, `origin.title` | Original native driver identity and title; both nonempty |
|
|
46
|
+
| `origin.providerInstanceId` | Actual launching provider; runtime support is keyed here, not to the requested destination provider |
|
|
47
|
+
| `intake.kind`, `intake.willDispatch` | `new-task` and true for a new user task before its first worker dispatch; scheduled/status/follow-up work stays local |
|
|
48
|
+
| `intake.routed` | true prevents a second decision or mid-task hand-off; origin records false on first intake |
|
|
49
|
+
| `intake.namedHost` | Explicit named host (pilot): configured host ID, or `here`; needs no support record, but still requires authority/preflight; unknown ID returns `routing unknown host` and must be reported to the user |
|
|
50
|
+
| `intake.launchKey` | Task-unique stable key, used as launch clientRequestId and in the title |
|
|
51
|
+
| `intake.taskText` | Exact user task text |
|
|
52
|
+
| `intake.scope` | `{identity,content}` or `{identity,destinationRef}` readable on destination; acceptance run verifies readability |
|
|
53
|
+
| `intake.authority`, `intake.grantCitation` | Exact bounded authority and citation of explicit user request or accepted standing grant |
|
|
54
|
+
| `staffing` | `{author:{providerInstanceId,model},reviewer:{providerInstanceId,model},advisers:[{providerInstanceId,model},...]}`; author/reviewer driverKind must differ |
|
|
55
|
+
| `nativeDestinations` | Map keyed by environmentId, each value is the saved nativeDestination read envelope set below, including fully paginated projectList and exact capabilities.valueText |
|
|
56
|
+
| `config.intakeRouting` | true enables automatic decisions; missing = false; explicit named host (pilot) bypasses the switch and support-record gate |
|
|
57
|
+
| `config.intakeSupport` | Array of `{environmentId,providerInstanceId,supported,evidence}`. Automatic unnamed hand-offs without a record stay local with `routing unsupported`; malformed records are `intake-support-schema` |
|
|
58
|
+
|
|
59
|
+
From a successful named-host pilot outcome, the driver must write a support
|
|
60
|
+
record for the launching host and provider in `fleet-routing.json`, with
|
|
61
|
+
`supported:true` and evidence.
|
|
62
|
+
On pilot failure, the driver must remove the named destination host from the
|
|
63
|
+
pool list and write no support record.
|
|
64
|
+
An explicit named host (pilot) ignores `intakeSupport`, including malformed
|
|
65
|
+
values; all other pre-launch, staffing and sole-driver checks still apply.
|
|
66
|
+
|
|
67
|
+
The driver request uses repository scope and exact driver model/options/full-access
|
|
68
|
+
pins. Driver placement automatically requires worktree-isolation at both configured
|
|
69
|
+
and observed host. Plan excludes failed destination native reads, catalog-digest
|
|
70
|
+
mismatches and unproven local staffing. All required model pins must appear exactly
|
|
71
|
+
once in their destination provider catalog, with executable full-access support.
|
|
72
|
+
Options must be advertised. Cloning is the driver's T3 action before plan: a failed
|
|
73
|
+
clone leaves the project absent, excluding that host, then next host else local.
|
|
74
|
+
|
|
75
|
+
The result is `{schemaVersion:1,kind:"intake-plan",configDigest,evaluatedAt,
|
|
76
|
+
request,disposition,reason,selected,terms,counts,launch?}`. Disposition describes
|
|
77
|
+
the proposed placement (`stay`, `launch`, `hold`), never execution authority or
|
|
78
|
+
an aggregate verdict. Each term has code, state (`pass|fail|unknown|n/a`), evidence
|
|
79
|
+
and optional environmentId; counts summarize states only. Failed terms for excluded
|
|
80
|
+
hosts remain visible even if another host is eligible. Local stay/continue checks
|
|
81
|
+
staffing too. Exit 0 = plan/help, 1 = malformed input/config, 2 = hold/incomplete.
|
|
82
|
+
|
|
83
|
+
For `launch`, `selected` binds host/environment/project, exact destination catalog
|
|
84
|
+
digest, snapshot, model/options/mode and evidence. `launch` carries native destination,
|
|
85
|
+
`delegatedFrom:{environmentId,threadId,title}`, clientRequestId, title and an
|
|
86
|
+
acceptance-only message with task/scope/authority/routed marker/grant citation.
|
|
87
|
+
Use `dispatch-plan --kind launch --recommendation <plan.json> --fleet-input
|
|
88
|
+
<input.json> --now <same-time> --config-digest <same-pin>` plus role snapshot and
|
|
89
|
+
selected raw catalog and `--role axstack-owner` (or the run's accepted driver role
|
|
90
|
+
with the same exact pins); it replays and checks the complete intake plan before binding
|
|
91
|
+
the role model/options. Never copy plan evidence fields to native launch arguments.
|
|
92
|
+
|
|
93
|
+
`dispatch-plan --verify` preserves T1's `{thread,task?}` native-read shape. For
|
|
94
|
+
intake launches also save `recentRuns` from the same `t3_thread_read` and the
|
|
95
|
+
environmentId/projectId/fleetBinding evidence envelope. It checks native thread
|
|
96
|
+
title/project, latestRunId and a matching run with nonempty startedAt. Settings
|
|
97
|
+
omitted by native reads remain unknown; no retired configuration API is used.
|
|
98
|
+
This proves a started run, not acceptance: follow the exact-marker, wait `next`,
|
|
99
|
+
ownership, idempotent proceed and lost-launch hold rules in
|
|
100
|
+
[Fleet dispatch](fleet-dispatch.md#acceptance-ownership-and-outcomes).
|
|
101
|
+
|
|
29
102
|
### Offline command
|
|
30
103
|
|
|
31
104
|
`bun fleet-route.js recommend --input snapshot.json --now 100000 --json`
|
|
@@ -123,7 +196,8 @@ Applicable rung/round duties remain report-only procedural checks, not route aut
|
|
|
123
196
|
Artifact destination project also carries workspaceRoot; only the bound local
|
|
124
197
|
environment/project/workspace is eligible. Null alone never selects a route.
|
|
125
198
|
|
|
126
|
-
`role` is `reader` (all nonwriter roles)
|
|
199
|
+
`role` is `reader` (all nonwriter roles), `author`, or the whole-task `driver`
|
|
200
|
+
used by plan above. `requiredCapabilities`
|
|
127
201
|
is an array of strings. An authentication requirement names the actual session
|
|
128
202
|
capability; only the host proving that session is eligible. No credential
|
|
129
203
|
transfer occurs. `options` is an object keyed by option ID. The adapter must
|
|
@@ -331,9 +405,12 @@ destinationCapabilitiesDigest}`. This is preserved evidence, not a T3 launch
|
|
|
331
405
|
parameter. Copy only tool-supported launch fields. Coordinator author routes
|
|
332
406
|
remain explicitly unsupported pending C3 lifecycle enablement.
|
|
333
407
|
|
|
334
|
-
For `--verify`, supply
|
|
408
|
+
For `--verify`, supply native reads as `{thread: <t3_thread_read.thread>,
|
|
409
|
+
task?: <task_status>}` plus independently observed
|
|
335
410
|
`environmentId`, `projectId` and the preserved `fleetBinding` in one JSON
|
|
336
|
-
envelope.
|
|
411
|
+
envelope. The thread ID is required; local and remote child IDs must agree when
|
|
412
|
+
both are returned, and `task.remoteChild.environmentId` must match the envelope's
|
|
413
|
+
`environmentId`. All are compared; missing required values hold. Do not synthesize observed
|
|
337
414
|
fields from the plan. C3 owns live evidence collection and remote receipts;
|
|
338
415
|
C1b verifies supplied evidence only and cannot authenticate its origin.
|
|
339
416
|
Fleet binding mismatches exit 2; malformed CLI/files exit 1. Existing local
|