axstack 0.63.0 → 0.65.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 +2 -0
- package/docs/workflows.md +26 -0
- package/package.json +1 -1
- package/skills/axstack/references/candidate-publication.md +6 -0
- package/skills/axstack/references/contracts.md +4 -0
- package/skills/axstack/references/design-lens.md +10 -0
- package/skills/axstack/references/lifecycle.md +2 -0
- package/skills/axstack/references/t3-runtime.md +8 -0
- package/skills/axstack/references/workspace-hygiene.md +5 -0
- package/skills/axstack-align/SKILL.md +11 -1
- package/skills/axstack-explain/SKILL.md +4 -0
- package/skills/axstack-explain/references/architecture-diagram.md +73 -0
- package/skills/axstack-explain/references/delivery.md +9 -0
- package/skills/axstack-explain/references/inline-pages.md +21 -0
- package/skills/axstack-implement/SKILL.md +8 -0
- package/skills/axstack-spec/SKILL.md +7 -1
- package/skills/axstack-spec/references/format.md +11 -0
- package/skills/axstack-spec/references/prototype.md +125 -0
- package/skills/axstack-tickets/SKILL.md +2 -0
package/README.md
CHANGED
|
@@ -94,6 +94,8 @@ and [guides](docs/guides.md) for features, reviews, watches, debugging and relea
|
|
|
94
94
|
Explanations default to checked inline T3 pages above a short reply.
|
|
95
95
|
Use Anatomy only on an explicit isometric or physical-object figure request.
|
|
96
96
|
Every Explain visual is authored and independently reviewed; plain prose stays proportional.
|
|
97
|
+
[Architecture diagrams](skills/axstack-explain/references/architecture-diagram.md) add scout grounding,
|
|
98
|
+
conditional research, specialist authorship and review by a different provider than the actual author.
|
|
97
99
|
|
|
98
100
|
## How work stays controlled
|
|
99
101
|
|
package/docs/workflows.md
CHANGED
|
@@ -43,6 +43,11 @@ Direct routes need no spec ceremony:
|
|
|
43
43
|
is optional for these and retains other visual authorship, including Anatomy.
|
|
44
44
|
Every visual is independently reviewed by `axstack-explainer-review`;
|
|
45
45
|
interactive pages receive a verifier pass.
|
|
46
|
+
[Architecture and system-map diagrams](../skills/axstack-explain/references/architecture-diagram.md)
|
|
47
|
+
require scout grounding, research when external facts are needed, delegated
|
|
48
|
+
`axstack-explainer` authorship, and exact-byte review from a different provider
|
|
49
|
+
than the actual author before the driver renders. Single-provider presets hold
|
|
50
|
+
for a user routing choice; ordinary diagrams keep their existing path.
|
|
46
51
|
Whole-work understanding and defense covers high-level flow, decisions,
|
|
47
52
|
data/state, misbehaviour at trust boundaries and visible failure, with open
|
|
48
53
|
evidence gaps. Narrow questions stay proportional.
|
|
@@ -79,6 +84,27 @@ multi-PR or stacked work. Unclear work is clarified, then classified. A deeper p
|
|
|
79
84
|
the same identity before action; missing preparation names the gap and holds
|
|
80
85
|
only affected work.
|
|
81
86
|
|
|
87
|
+
## Spec prototypes and downstream use
|
|
88
|
+
|
|
89
|
+
In delivery runs continuing to Spec, Align may defer an open look, behaviour
|
|
90
|
+
or state-model question as `Open (prototype):`. Before the first draft adviser
|
|
91
|
+
round, Spec's [prototype step](../skills/axstack-spec/references/prototype.md)
|
|
92
|
+
uses one isolated author to build a throwaway UI variant or logic demo. Only
|
|
93
|
+
prototype authors use its completion exemption from red/green logs. User
|
|
94
|
+
verdicts become binding `Decisions` rows; the prototype illustrates those rows.
|
|
95
|
+
|
|
96
|
+
At the verdict the driver makes one create-only `prototype-axstack-<slug>`
|
|
97
|
+
push, outside candidate-publication diligence, review and PR rules because
|
|
98
|
+
the ref never merges. Prototype authors remain retained until capture or
|
|
99
|
+
abandonment. Guarded worktree removal keeps the local branch.
|
|
100
|
+
|
|
101
|
+
Tickets copy the prototype record into each affected task. Implement reads
|
|
102
|
+
the pinned SHA as reference only, never merging or cherry-picking the branch.
|
|
103
|
+
Copied code goes through strict TDD and ordinary cross-model review. Follow
|
|
104
|
+
the rows for details they do not capture; an unfetchable SHA makes the
|
|
105
|
+
reference unavailable without holding implementation. Brainstorm remains
|
|
106
|
+
report-only under its existing rules.
|
|
107
|
+
|
|
82
108
|
## Weekly test-audit activation
|
|
83
109
|
|
|
84
110
|
The packaged [weekly prompt](../skills/axstack/references/test-audit-weekly.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axstack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.0",
|
|
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",
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Candidate publication
|
|
2
2
|
|
|
3
|
+
Only the driver's create-only `prototype-axstack-<slug>` push skips
|
|
4
|
+
candidate-publication diligence, review and PR rules, because that ref never merges.
|
|
5
|
+
This push is not candidate publication. Follow
|
|
6
|
+
[Spec prototypes](../../axstack-spec/references/prototype.md) for its capture
|
|
7
|
+
guards; no other push or candidate receives this exemption.
|
|
8
|
+
|
|
3
9
|
Follow [Parallel-first delivery](parallel-first.md) for joined candidates: verify
|
|
4
10
|
every required package and integration receipt before final publication. Partial
|
|
5
11
|
assembly checks are provisional; package commits need no phantom package PRs.
|
|
@@ -32,6 +32,10 @@ Confirm the identity for the selected mode from the
|
|
|
32
32
|
without an Axstack-created spec.
|
|
33
33
|
- Read-only research, explanation, improvement discovery, and handoff: no baseline.
|
|
34
34
|
|
|
35
|
+
The sole pre-baseline prototype exception is bounded by
|
|
36
|
+
[Spec 3a](../../axstack-spec/references/prototype.md#authority-and-build);
|
|
37
|
+
it grants no candidate implementation or publication authority.
|
|
38
|
+
|
|
35
39
|
Substantial means substantial features, multi-PR work, or stacked work; a
|
|
36
40
|
bounded small feature is not substantial merely because it is called a
|
|
37
41
|
feature. Clarify unclear size, then classify it. Alignment, spec writing, and
|
|
@@ -65,6 +65,16 @@ Rejected: <alternative -> why>
|
|
|
65
65
|
Open: <question?>
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
+
Defer a look, behave, or state-model question discussion cannot settle only in
|
|
69
|
+
delivery runs whose substantial work continues to Spec, regardless of rung.
|
|
70
|
+
Otherwise settle it by discussion: no deferral for small-change, planning-only,
|
|
71
|
+
read-only or stop-after-phase work (including "write the spec and stop").
|
|
72
|
+
Tag the sketch's Open line or a read-back item `Open (prototype): <question>`.
|
|
73
|
+
A plain `Open:` retains its existing meaning. A deferral never blocks Align
|
|
74
|
+
completion. Ask questions on deferred items in Spec within Align's cumulative
|
|
75
|
+
count. Questions on deferred items need no refinement opt-in; follow
|
|
76
|
+
[Spec 3a](../../axstack-spec/references/prototype.md).
|
|
77
|
+
|
|
68
78
|
Keep settled choices in `Decisions` rows. `CONTEXT.md` stays a glossary; ADRs
|
|
69
79
|
keep their existing test. Add no design document or phase.
|
|
70
80
|
|
|
@@ -111,6 +111,8 @@ Delegated notifications wake the driver; a launched
|
|
|
111
111
|
writer sends its marker with `t3_thread_send` using `mode: queue` to the recorded driver thread.
|
|
112
112
|
Delegated completion requires persisted `task_status` before `t3_thread_read`, terminal `completed`, `result_available`, `hasPendingChildRuns:false`, and final `AXSTACK-DONE`.
|
|
113
113
|
Delegated author completion requires delegated terminal checks plus candidate checks: non-empty diff, clean tree and named red/green logs.
|
|
114
|
+
Only prototype authors use the no-red/green-log completion exemption in
|
|
115
|
+
[Spec prototypes](../../axstack-spec/references/prototype.md).
|
|
114
116
|
A delegated repair uses a stable clientRequestId with `t3_thread_send(childThreadId, mode:queue, clientRequestId)` to the same author in the same worktree and branch, records the returned taskId and verifies the existing candidate head.
|
|
115
117
|
Repairs never repeat fresh checkout step 1.
|
|
116
118
|
Launched fallback writer completion requires `AXSTACK-DONE` plus terminal `t3_thread_wait` on the recorded run and candidate checks: non-empty diff, clean tree, and named red/green logs.
|
|
@@ -223,6 +223,10 @@ a missing or equal path holds review.
|
|
|
223
223
|
|
|
224
224
|
The UI verifier checkout row applies to candidate checks, while a page without
|
|
225
225
|
a candidate follows [UI verification](ui-verification.md).
|
|
226
|
+
For a prototype, the `axstack-ui-verifier` dispatch binds to the prototype SHA
|
|
227
|
+
on a detached checkout under [Spec prototypes](../../axstack-spec/references/prototype.md).
|
|
228
|
+
The author retention endpoint for prototypes is capture or abandonment under
|
|
229
|
+
that reference; keep the author worktree and thread until then.
|
|
226
230
|
|
|
227
231
|
The driver must be the sole run-record writer and enforce one writer per
|
|
228
232
|
candidate; it never writes tracked candidate source or tests or repairs an author's source.
|
|
@@ -253,6 +257,8 @@ during recovery. Substring matches do not establish identity. Branch and task
|
|
|
253
257
|
identity continue to use the original dispatch key. On title regeneration preserve
|
|
254
258
|
explicit role-labelled dispatch keys and `Needs you:` notices unchanged.
|
|
255
259
|
Each dispatch binds the approved spec or small-change intent, brief, authority, role snapshot, base and candidate to its dispatch key.
|
|
260
|
+
The prototype author dispatch binds to the deferred question and current draft
|
|
261
|
+
revision in place of an approved identity; all other bindings remain required.
|
|
256
262
|
Every dispatch brief must state that dispatched roles never call `html_render`.
|
|
257
263
|
Dispatched roles may call `html_preview` within [UI verification](ui-verification.md).
|
|
258
264
|
|
|
@@ -311,6 +317,8 @@ incomplete even when native status says completed.
|
|
|
311
317
|
|
|
312
318
|
Delegated author completion requires delegated terminal checks plus candidate checks:
|
|
313
319
|
non-empty diff, clean tree and named red/green logs.
|
|
320
|
+
Only prototype authors use the no-red/green-log completion exemption in
|
|
321
|
+
[Spec prototypes](../../axstack-spec/references/prototype.md).
|
|
314
322
|
|
|
315
323
|
Launched writer completion must require terminal `t3_thread_wait` on that run,
|
|
316
324
|
then candidate checks: non-empty diff, clean tree and named red/green logs.
|
|
@@ -74,6 +74,11 @@ For close-out holds, follow the [run-record acceptance rules](run-record.md#clos
|
|
|
74
74
|
A missing or failed settle readback never triggers author repair: it holds only that dispatch's next advancement (publication, review routing, merge-ready) until resolved.
|
|
75
75
|
Settling never removes, archives or abandons the thread or worktree.
|
|
76
76
|
Retain each author worktree and thread unarchived until the PR merges or closes.
|
|
77
|
+
For prototype authors only, capture or abandonment replaces that endpoint under
|
|
78
|
+
[Spec prototypes](../../axstack-spec/references/prototype.md). A prototype
|
|
79
|
+
worktree is removable when remote readback matches the author head, or when
|
|
80
|
+
the prototype is abandoned and its tree is clean. Keep the local branch.
|
|
81
|
+
Existing terminal, ownership and evidence guards still apply.
|
|
77
82
|
Repairs return to the responsible package or integration author in that author's
|
|
78
83
|
existing session and worktree.
|
|
79
84
|
On forge-confirmed merge or closure, follow [Native PR links and watches](t3-runtime.md#native-pr-links-and-watches)
|
|
@@ -132,6 +132,16 @@ question budget. The user still decides; reuse unchanged receipts.
|
|
|
132
132
|
|
|
133
133
|
## Bound the interview
|
|
134
134
|
|
|
135
|
+
Defer a look, behave, or state-model question discussion cannot settle only in
|
|
136
|
+
delivery runs whose substantial work continues to Spec; rung does not gate it.
|
|
137
|
+
Otherwise settle it by discussion, including small-change, planning-only,
|
|
138
|
+
read-only and stop-after-phase runs (even "write the spec and stop").
|
|
139
|
+
Mark the sketch's Open line or a read-back item with the carrier
|
|
140
|
+
`Open (prototype): <question>`. A plain `Open:` keeps its existing meaning.
|
|
141
|
+
A deferral does not block Align completion. Ask questions on deferred items in
|
|
142
|
+
Spec inside Align's cumulative count. Questions on deferred items need no
|
|
143
|
+
refinement opt-in; follow [Spec 3a](../axstack-spec/references/prototype.md).
|
|
144
|
+
|
|
135
145
|
Twenty cumulative presented questions is the normal ceiling, not a target.
|
|
136
146
|
Follow-ups, reopened questions, and separate decisions bundled into one prompt
|
|
137
147
|
each count; never discount a presented question later. Before extending beyond
|
|
@@ -142,7 +152,7 @@ remains; 20 is not a quota.
|
|
|
142
152
|
|
|
143
153
|
At completion or the 35-question cap, read back the result.
|
|
144
154
|
Never make a deeper-refinement offer a completion requirement.
|
|
145
|
-
|
|
155
|
+
Except for the deferred prototype items above, ask no further interview or refinement questions
|
|
146
156
|
without opt-in; this does not replace required spec approval or a clarification
|
|
147
157
|
prompt when a configured model is unavailable. An opted-in refinement names
|
|
148
158
|
one area and a separate finite budget of at most five questions; it preserves
|
|
@@ -86,6 +86,7 @@ Choose the best visual for the concept: flowchart, sequence, state, architecture
|
|
|
86
86
|
map, timeline, comparison or bespoke SVG are examples, not a taxonomy.
|
|
87
87
|
Follow [Fidelity](references/fidelity.md) for every visual.
|
|
88
88
|
For whole-work understanding or defense, follow [Whiteboard defense](references/whiteboard-defense.md).
|
|
89
|
+
For architecture and system-map diagram requests, follow [Architecture diagrams](references/architecture-diagram.md).
|
|
89
90
|
The driver authors ordinary inline HTML and chat Mermaid by default.
|
|
90
91
|
Use `axstack-explainer` as an optional specialist author with a bounded evidence
|
|
91
92
|
brief when useful. Keep one writer per visual, including specialist delegation;
|
|
@@ -136,6 +137,9 @@ through [Anatomy](../axstack-anatomy/SKILL.md).
|
|
|
136
137
|
## 3. Verify and deliver
|
|
137
138
|
|
|
138
139
|
1. For inline pages, follow [Inline pages](references/inline-pages.md).
|
|
140
|
+
For prototype pages, follow Inline pages' prototype-page rules and
|
|
141
|
+
[Delivery](references/delivery.md), including their four exemptions and bounded repairs;
|
|
142
|
+
they govern the review and word-cap requirements for those pages.
|
|
139
143
|
For every explicitly requested HTML or visual artifact
|
|
140
144
|
outside inline T3 pages, follow [Visual QA](references/visual-qa.md).
|
|
141
145
|
2. Require independent `axstack-explainer-review` for consequential or complex
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Architecture diagrams
|
|
2
|
+
|
|
3
|
+
Apply this mode to diagram requests about how parts fit together, who talks to
|
|
4
|
+
whom, and where risks sit. Ordinary diagrams keep Explain's existing path.
|
|
5
|
+
This mode specializes authorship and review for architecture/system maps in any
|
|
6
|
+
requested format; Explain still owns its 700-word cap, claim labels and delivery.
|
|
7
|
+
Whole-work defense also follows the linked whiteboard-defense route in Explain §2.
|
|
8
|
+
|
|
9
|
+
## 1. Bound and ground
|
|
10
|
+
|
|
11
|
+
The driver first bounds the question under Explain §1.
|
|
12
|
+
After the driver bounds the question, require `axstack-scout` grounding before
|
|
13
|
+
research or authorship. Follow [Scout](../../axstack-scout/SKILL.md) for its
|
|
14
|
+
content identity, required seats and evidence reconciliation.
|
|
15
|
+
Reuse scout evidence only when its inspected content identity is unchanged.
|
|
16
|
+
|
|
17
|
+
After grounding, require `axstack-research` only when the diagram depends on
|
|
18
|
+
external, vendor or platform facts outside the inspected repositories.
|
|
19
|
+
Otherwise the driver records `not needed (<reason>)` for research.
|
|
20
|
+
When research is needed, follow [Research](../../axstack-research/SKILL.md) for
|
|
21
|
+
its source standards, configured branches and required checks.
|
|
22
|
+
Reconcile scout and research evidence before author dispatch.
|
|
23
|
+
Resolve conflicting material claims or label them unknown before design.
|
|
24
|
+
|
|
25
|
+
The driver keeps the source map outside the reader view.
|
|
26
|
+
Follow [Fidelity](fidelity.md) when mapping nodes and edges to evidence and
|
|
27
|
+
marking planned or unknown elements; include supporting evidence for badges,
|
|
28
|
+
markers and legend claims in the map as well.
|
|
29
|
+
|
|
30
|
+
## 2. Create with one author
|
|
31
|
+
|
|
32
|
+
Before dispatch, follow the [T3 runtime boundary](../../axstack/references/t3-runtime.md)
|
|
33
|
+
and [Role roster](../../axstack/references/role-roster.md) for the selected
|
|
34
|
+
preset's actual bindings and availability.
|
|
35
|
+
Give `axstack-explainer` the reconciled evidence and source map in its author brief.
|
|
36
|
+
Include the bounded question, audience, format, inspected identities and open gaps.
|
|
37
|
+
Require `axstack-explainer` as the one writer of the architecture diagram.
|
|
38
|
+
The driver never authors architecture diagrams.
|
|
39
|
+
Return every repair to the same author.
|
|
40
|
+
The author follows Explain's existing format and design references.
|
|
41
|
+
|
|
42
|
+
## 3. Review the final artifact
|
|
43
|
+
|
|
44
|
+
After authorship and before delivery, require independent
|
|
45
|
+
`axstack-explainer-review` on the exact final bytes.
|
|
46
|
+
Require the reviewer provider to be different from the actual author provider,
|
|
47
|
+
using session provenance. Record the actual author and reviewer session,
|
|
48
|
+
provider and model alongside the artifact identity; role names alone prove
|
|
49
|
+
neither provenance nor independence.
|
|
50
|
+
Review the full claim set every round, including nodes, edges, badges and
|
|
51
|
+
markers, legend and prior findings.
|
|
52
|
+
Give the reviewer the source map and reconciled evidence so it can reopen the
|
|
53
|
+
sources independently, rather than trusting the author's account.
|
|
54
|
+
|
|
55
|
+
For inline HTML, the driver captures 728px dark and 360px light previews before
|
|
56
|
+
review, bound to SHA-256. The reviewer inspects the driver's 728px dark and
|
|
57
|
+
360px light previews for design review.
|
|
58
|
+
Follow [Inline pages](inline-pages.md) for exact-byte scans, preview acceptance
|
|
59
|
+
and any interaction verification, and [Visual QA](visual-qa.md) for reviewer
|
|
60
|
+
design checks and other requested artifact formats.
|
|
61
|
+
Every byte change requires fresh review.
|
|
62
|
+
|
|
63
|
+
## 4. Deliver or hold
|
|
64
|
+
|
|
65
|
+
The driver renders only reviewed bytes after the review passes.
|
|
66
|
+
Follow [Delivery](delivery.md) for repairs, missing evidence or tools, and
|
|
67
|
+
delivery readback; interim prose leaves the requested diagram incomplete.
|
|
68
|
+
If a required seat is unavailable or rejected, hold the diagram and name the
|
|
69
|
+
blocker and resume condition.
|
|
70
|
+
Never substitute a required seat, provider or model.
|
|
71
|
+
Single-provider presets hold for a user routing choice.
|
|
72
|
+
This mode never permits same-provider author and review through Explain's
|
|
73
|
+
session-independence exception.
|
|
@@ -18,6 +18,15 @@ and resume condition.
|
|
|
18
18
|
Missing access, tool, model or evidence, or material new scope, holds the
|
|
19
19
|
specific dependency with its reason and resume condition.
|
|
20
20
|
|
|
21
|
+
For prototype pages, a check still failing at a cap holds the page as a
|
|
22
|
+
Delivery scope hold with its reason and resume condition, and the question
|
|
23
|
+
takes a no-verdict exit under [prototype.md](../../axstack-spec/references/prototype.md).
|
|
24
|
+
For a prototype, where the cap question applies, ask once first as a Qn if
|
|
25
|
+
budget remains; follow that reference's options before recording the cap hold.
|
|
26
|
+
This applies the existing scope hold rules rather than adding an exemption.
|
|
27
|
+
Inline pages' four prototype exemptions govern the review, word-cap and
|
|
28
|
+
design-and-decency loop requirements below; all other holds and repairs remain.
|
|
29
|
+
|
|
21
30
|
If the reviewer is unavailable, hold the whiteboard-defense explanation and name the unavailable reviewer.
|
|
22
31
|
Never deliver a held whiteboard-defense explanation unreviewed or describe it as reviewed.
|
|
23
32
|
Visual-only findings follow the visual rule, and claim findings hold the whiteboard-defense explanation.
|
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
Use this reference for Explain's inline T3 answer path.
|
|
4
4
|
The driver publishes the page in its own thread.
|
|
5
5
|
|
|
6
|
+
## Prototype pages
|
|
7
|
+
|
|
8
|
+
Prototype pages follow every inline-pages.md rule except `axstack-explainer-review`,
|
|
9
|
+
design review, the word cap, and Delivery's design and decency repair loop.
|
|
10
|
+
For prototype pages, repair every other failed check within
|
|
11
|
+
[prototype.md caps](../../axstack-spec/references/prototype.md).
|
|
12
|
+
At the top, prototype pages say "prototype" and use colours with
|
|
13
|
+
`var(--x, <fallback>)` so they also work standalone.
|
|
14
|
+
|
|
15
|
+
Prototype pages retain self-contained bytes, no network, no storage (including
|
|
16
|
+
cookies), no modals or popups, and the exact-byte scan.
|
|
17
|
+
Prototype pages retain both driver previews for layout, theme, height, network,
|
|
18
|
+
zero console errors, and empty `missingImages`.
|
|
19
|
+
Prototype pages require semantic, accessible markup and the interactive
|
|
20
|
+
`axstack-ui-verifier` pass.
|
|
21
|
+
Prototype pages retain driver-only `html_render` using precisely the bytes checked
|
|
22
|
+
by these gates.
|
|
23
|
+
These kept rules cannot be exempted; every unlisted rule also stays in force.
|
|
24
|
+
For prototype pages, never treat an ambiguous or unknown `html_render` result
|
|
25
|
+
as passed or retry it.
|
|
26
|
+
|
|
6
27
|
## Shape and theme
|
|
7
28
|
|
|
8
29
|
Use T3 theme variables and follow the live theme.
|
|
@@ -161,6 +161,14 @@ driver decisions within approved scope; size alone requires no user approval.
|
|
|
161
161
|
|
|
162
162
|
## 3. Establish test-first evidence
|
|
163
163
|
|
|
164
|
+
When the spec links a prototype, read the pinned prototype commit as reference
|
|
165
|
+
only under [Spec prototypes](../axstack-spec/references/prototype.md).
|
|
166
|
+
Code may be copied into the real change. Copied prototype code must pass strict
|
|
167
|
+
TDD and ordinary review, including cross-model review.
|
|
168
|
+
Never merge the prototype branch. Never cherry-pick the prototype branch.
|
|
169
|
+
`Decisions` rows bind. Where the prototype shows something no row captures,
|
|
170
|
+
follow the rows. An unfetchable SHA makes the reference unavailable, not a hold.
|
|
171
|
+
|
|
164
172
|
For authorized UI improvement work, load [UI improvement loop](../axstack/references/ui-improvement-loop.md).
|
|
165
173
|
|
|
166
174
|
For performance work only, load [Performance loop](../axstack/references/perf-loop.md).
|
|
@@ -58,7 +58,13 @@ Before drafting, load and follow [Independent delivery](../axstack/references/in
|
|
|
58
58
|
independent assessment. For questions, consult advisers only for consequential
|
|
59
59
|
decisions and disagreements. Never dispatch advisers for every question,
|
|
60
60
|
routine factual clarification or settled preferences.
|
|
61
|
-
|
|
61
|
+
|
|
62
|
+
**3a. Prototype first.** Before the first draft adviser round,
|
|
63
|
+
follow [Prototype](references/prototype.md) for `Open (prototype):` items.
|
|
64
|
+
Return later deferred questions to 3a within the same caps; after approval,
|
|
65
|
+
use Material revisions instead.
|
|
66
|
+
|
|
67
|
+
**Review the draft.** For those consequential decisions and disagreements and the required draft
|
|
62
68
|
rounds below, load
|
|
63
69
|
[T3 runtime](../axstack/references/t3-runtime.md) before dispatching the
|
|
64
70
|
configured `axstack-advisor-codex` and `axstack-advisor-claude` independently,
|
|
@@ -45,6 +45,17 @@ a duplicate whole spec with separate requirements.
|
|
|
45
45
|
|
|
46
46
|
## Evidence and history
|
|
47
47
|
|
|
48
|
+
Per prototyped question, put this record line in `Design`, or Evidence and
|
|
49
|
+
history when there is no sketch:
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
Prototype: <branch> (never-merge) | https://github.com/<owner>/<repo>/tree/<sha> | entry: <command or file> | question: <question> | verdict: <decision> (Qn)
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Pin the author commit SHA in the tree URL. Each verdict's `Decisions` row cites
|
|
56
|
+
its `Qn`; the rows bind and the prototype illustrates. Follow
|
|
57
|
+
[Prototype capture](prototype.md#capture) for a capture-held record.
|
|
58
|
+
|
|
48
59
|
Keep history, evidence and adviser receipts separate from current requirements.
|
|
49
60
|
Place provenance, commands, review-round dispositions and change logs here or
|
|
50
61
|
link their existing records. They explain the requirements, not override them.
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Spec 3a: prototype a deferred question
|
|
2
|
+
|
|
3
|
+
Use only for `Open (prototype):` questions under
|
|
4
|
+
[Align's delivery gate](../../axstack-align/SKILL.md#bound-the-interview),
|
|
5
|
+
before the first draft adviser round. This is a bounded step, not a new phase
|
|
6
|
+
or standalone skill. Brainstorm stays report-only: when its question overlaps,
|
|
7
|
+
run Brainstorm first, then test the chosen candidate with the user.
|
|
8
|
+
|
|
9
|
+
Before dispatch, write one sentence naming the question. Put it at the top of
|
|
10
|
+
the prototype. One prototype answers one question. Choose the smallest
|
|
11
|
+
presentation that answers it; if kind is unclear, match the surrounding code
|
|
12
|
+
(page/component: UI; module: logic) and state the assumption at the top.
|
|
13
|
+
|
|
14
|
+
## Kinds and shared constraints
|
|
15
|
+
|
|
16
|
+
- **UI:** include about three variants (at most five), differing in structure
|
|
17
|
+
rather than colour, in the real page. UI variants require a switcher, such
|
|
18
|
+
as `?variant=` or a floating bar.
|
|
19
|
+
- Run the documented start command first. If the start command fails, use
|
|
20
|
+
tier 2 in the same dispatch. Also use tier 2 when the user must interact and
|
|
21
|
+
cannot reach the app: one self-contained HTML mock with a variant switcher,
|
|
22
|
+
shown inline with fidelity limits at the top. Never re-route the run.
|
|
23
|
+
If neither real page nor mock answers the question, take tier 3: no verdict.
|
|
24
|
+
- **Logic:** show one self-contained HTML file inline under
|
|
25
|
+
[Inline pages](../../axstack-explain/references/inline-pages.md), using its
|
|
26
|
+
prototype-page rules. Include visible state, controls and useful examples.
|
|
27
|
+
Keep logic in a small pure module without DOM code, in its own script block.
|
|
28
|
+
- Label it "prototype" and place it next to the code it informs. Start it
|
|
29
|
+
with one command or double-click. Keep state in memory; for a persistence
|
|
30
|
+
question only, use a local scratch file/database named `PROTOTYPE-wipe-me`.
|
|
31
|
+
Inline copies never use storage. Add no automated test suite or speculative
|
|
32
|
+
reusable framework; runnable and interaction checks below still apply.
|
|
33
|
+
- Keep variants read-only and stub every mutation. Use only repository-
|
|
34
|
+
documented dev or test data sources, never production secrets. Prototype
|
|
35
|
+
status grants no production data, credential, transaction or infrastructure
|
|
36
|
+
authority.
|
|
37
|
+
|
|
38
|
+
## Authority and build
|
|
39
|
+
|
|
40
|
+
The pre-baseline exception applies only in delivery runs: one author per
|
|
41
|
+
question, only named files from the brief and one create-only push of a
|
|
42
|
+
never-merged ref. Bind the dispatch to the deferred question and current draft
|
|
43
|
+
revision in place of an approved identity. The driver records this exception
|
|
44
|
+
on the run record's `Authority:` line.
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
Authority: Spec 3a prototype | question: <deferred item> | draft: <revision> | author: <attempt> | files: <exclusive paths> | one create-only never-merged ref push
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
The driver dispatches `axstack-author` via `delegate_task` with
|
|
51
|
+
`isolation:"worktree"`, on its encoded branch from a pinned base SHA. The author
|
|
52
|
+
commits with `[skip ci]`. Only the driver pushes the author SHA. The author
|
|
53
|
+
never pushes. Record sends and rounds per question, including the caps below
|
|
54
|
+
in the brief.
|
|
55
|
+
|
|
56
|
+
Only prototype authors skip red/green logs. For completion require terminal
|
|
57
|
+
checks, non-empty diff, clean tree and run evidence of the start command and
|
|
58
|
+
observed output. This exemption changes no other author completion rule.
|
|
59
|
+
|
|
60
|
+
## Show and review
|
|
61
|
+
|
|
62
|
+
For static look, dispatch `axstack-ui-verifier` on a detached checkout of the
|
|
63
|
+
prototype SHA: capture one screenshot per variant at both 390x844 and
|
|
64
|
+
1440x900 and show them inline. For observed behaviour, add a short GIF.
|
|
65
|
+
For interaction, use a reachable real app directly; otherwise show the tier 2
|
|
66
|
+
mock or logic page inline under the linked prototype-page rules. Those rules
|
|
67
|
+
retain their checks and exactly their four exemptions; repair other failures
|
|
68
|
+
within these caps. A check still failing at a cap holds the inline page after
|
|
69
|
+
the cap question below; take a no-verdict exit.
|
|
70
|
+
|
|
71
|
+
Present each decision, including the cap question, as one Qn under Align's
|
|
72
|
+
focused-round rule with a driver recommendation, reason and trade-off.
|
|
73
|
+
Prototype review is not an advised hold. Keep `Autopilot: on`, record the wait
|
|
74
|
+
in `Next:`, and use `paused` only when no other authorized work can advance.
|
|
75
|
+
|
|
76
|
+
Per question allow one author, at most 3 review rounds and at most 3
|
|
77
|
+
build-or-revise sends, each with at most one verification repair. Per spec
|
|
78
|
+
allow at most 2 prototyped questions. Stop before spending the last Qn of 20
|
|
79
|
+
or the justified 35. At any cap ask once, as a Qn if budget remains: extend by
|
|
80
|
+
one bounded round, settle by discussion or drop. Record the user's choice
|
|
81
|
+
and the bounded extension before advancing.
|
|
82
|
+
|
|
83
|
+
Tier 3, abandonment, drop, a spent budget or a held inline page take a
|
|
84
|
+
no-verdict exit to discussion as an ordinary Qn. With the budget spent put the
|
|
85
|
+
question under "Decisions needed from the user" so spec approval settles it.
|
|
86
|
+
A no-verdict question never appears settled. Abandoned prototypes are not pushed.
|
|
87
|
+
|
|
88
|
+
Later deferred questions found in drafting or adviser review re-enter 3a within
|
|
89
|
+
the same caps. A verdict changing draft meaning refreshes adviser and diligence
|
|
90
|
+
receipts under Spec's existing rules. A verdict never approves the spec.
|
|
91
|
+
After approval, questions follow Material revisions.
|
|
92
|
+
|
|
93
|
+
## Capture
|
|
94
|
+
|
|
95
|
+
Normalise the slug as for encoded branch segments. Before the push scan the
|
|
96
|
+
diff for secrets and personal data. A failed scan holds the push.
|
|
97
|
+
At the verdict, the driver pushes once, create-only:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
git push --force-with-lease=refs/heads/prototype-axstack-<slug>: origin <sha>:refs/heads/prototype-axstack-<slug>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Create an absent ref; never change an existing ref. If rejection says the ref
|
|
104
|
+
exists, use the next suffix (`-2`, `-3`). An identical existing tip reporting
|
|
105
|
+
up to date is also insufficient: use the next suffix. Require `[new branch]`
|
|
106
|
+
in the output to prove creation, rather than the exit code. Then read the
|
|
107
|
+
remote ref back and confirm it equals the author head. A protected or
|
|
108
|
+
ambiguous result holds capture only; record `Prototype: capture held (<reason>)`
|
|
109
|
+
and inspect remote state before any retry. Never open a PR or merge.
|
|
110
|
+
|
|
111
|
+
Only the never-merged prototype ref push skips candidate-publication diligence,
|
|
112
|
+
review and PR rules. This is not candidate publication; the exception exists
|
|
113
|
+
only because the ref never merges. Never base a candidate on the prototype SHA.
|
|
114
|
+
|
|
115
|
+
Record: per question, in the spec's `Design` or Evidence and history if there
|
|
116
|
+
is no sketch, write the [prototype record line](format.md#evidence-and-history):
|
|
117
|
+
branch (never-merge), pinned GitHub `tree/<sha>` URL, entry point, question and
|
|
118
|
+
verdict with its Qn. Each verdict's `Decisions` row cites its Qn; the rows bind,
|
|
119
|
+
the prototype illustrates.
|
|
120
|
+
|
|
121
|
+
The author worktree is removable when remote readback matches the author head,
|
|
122
|
+
or when the prototype is abandoned and its tree is clean. Keep the local
|
|
123
|
+
branch. Apply existing terminal, ownership and evidence guards in
|
|
124
|
+
[Workspace hygiene](../../axstack/references/workspace-hygiene.md); this step
|
|
125
|
+
grants no prototype-branch cleanup authority.
|
|
@@ -59,6 +59,8 @@ Before mapping, load and follow [Independent delivery](../axstack/references/ind
|
|
|
59
59
|
in the existing map, including packages feeding one PR. Choose the earliest
|
|
60
60
|
sufficient immutable interface, verified terminal internal package tip, review,
|
|
61
61
|
merge or deployment milestone; retain reviewed-parent rules across PRs.
|
|
62
|
+
Copy the prototype record line from the spec into each affected task under
|
|
63
|
+
[Spec prototypes](../axstack-spec/references/prototype.md).
|
|
62
64
|
Package count alone neither escalates small work nor changes diligence depth.
|
|
63
65
|
For each task the driver records
|
|
64
66
|
one theme and a coarse size estimate from the ownership, interface, and
|