task-pipeline-skill 1.94.1 → 1.95.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/CHANGELOG.md +40 -0
- package/CONTRIBUTING.md +32 -0
- package/HOW-IT-WORKS.md +4 -3
- package/README.md +18 -7
- package/SKILL-CARD.md +2 -2
- package/package.json +1 -1
- package/plugins/task-pipeline/.claude-plugin/plugin.json +1 -1
- package/plugins/task-pipeline/agents/verifier.md +1 -1
- package/plugins/task-pipeline/commands/task-pipeline.md +3 -2
- package/plugins/task-pipeline/hooks/release-gate.sh +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/SKILL.md +11 -9
- package/plugins/task-pipeline/skills/task-pipeline/references/artifacts.md +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/references/brainstorm.md +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/references/browser.md +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/references/certification.md +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/references/companion-skills.md +3 -2
- package/plugins/task-pipeline/skills/task-pipeline/references/continuity.md +3 -1
- package/plugins/task-pipeline/skills/task-pipeline/references/doctrine-map.md +19 -2
- package/plugins/task-pipeline/skills/task-pipeline/references/grill.md +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/references/portability.md +12 -1
- package/plugins/task-pipeline/skills/task-pipeline/references/spec.md +7 -5
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-00-intake.md +158 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-01-docs-study.md +10 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-02-brainstorm.md +52 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-03-spec.md +66 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-04-plan.md +11 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-05-dev.md +55 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-06-tests.md +11 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-07-lint-deploy.md +15 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-08-post-deploy.md +29 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-09-docs-wiki.md +45 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stage-10-acceptance.md +91 -0
- package/plugins/task-pipeline/skills/task-pipeline/references/stages.md +43 -482
- package/plugins/task-pipeline/skills/task-pipeline/references/verification.md +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/scripts/graph.py +1 -1
- package/plugins/task-pipeline/skills/task-pipeline/scripts/stage_checkpoint.py +156 -33
- package/plugins/task-pipeline/skills/task-pipeline/templates/run.md +2 -2
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Stages — detail & gates
|
|
2
2
|
|
|
3
|
+
For the selected **default profile**, read this spine at entry, then the one detail
|
|
4
|
+
linked in the current stage before work on every entry or resume, including wave
|
|
5
|
+
iterations and approved short paths. Do not preload all stage details. Missing or
|
|
6
|
+
unreadable detail means stop that stage and repair its route, never guess. A custom
|
|
7
|
+
profile uses its own declared doctrine and stages; numeric ids do not select these
|
|
8
|
+
default details, and the kernel still applies.
|
|
9
|
+
|
|
10
|
+
|
|
3
11
|
For each stage: what it does, what to invoke, artifacts, and the **GATE** that
|
|
4
12
|
must pass before advancing. Each gate is tagged with its **type** — `auto` (the
|
|
5
13
|
orchestrator verifies the check itself, pass/fail), `judgment` (a named judge
|
|
@@ -73,155 +81,9 @@ never that the work was skipped quietly.
|
|
|
73
81
|
|
|
74
82
|
## 0 — Intake grill — MANDATORY
|
|
75
83
|
- **Freedom: medium** — the interview adapts to the answers; its two phases and their order do not ([`gates.md`](gates.md) → *Axis C*).
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
entry-from-super-ux short-circuit below, and even that still requires a scope
|
|
80
|
-
confirmation and a record of what was adopted vs skipped. A run that reaches
|
|
81
|
-
stage 1 without a committed, operator-confirmed brief is a **failed run** —
|
|
82
|
-
stop and go back.
|
|
83
|
-
- **Entry-from-super-ux short-circuit (check FIRST).** task-pipeline is often
|
|
84
|
-
launched *from* super-ux — its `/ux` action menu offers "execute autonomously
|
|
85
|
-
via the task-pipeline plugin" once the UX chain (and often a
|
|
86
|
-
`docs/ux/plans/…` fix plan) is already built. Before grilling, detect that:
|
|
87
|
-
if `docs/ux/` already holds a validated chain (foundation → flows → screens →
|
|
88
|
-
scenarios) and/or a fresh fix plan, **do not re-run the grill or the stage-3
|
|
89
|
-
UX track from scratch.** Instead: (1) run a quick check — `/ux-lint`
|
|
90
|
-
(`docs/ux/lint.py`) green, chain present, plan (if any) readable; (2) confirm
|
|
91
|
-
the scope with the operator in ONE line; (3) skip to the first stage that
|
|
92
|
-
still has real work (usually stage 4 Plan if a UX fix plan already exists, or
|
|
93
|
-
stage 3 Spec to formalize it). Record what was adopted vs skipped. If the
|
|
94
|
-
check finds drift/gaps, fall back to the normal flow for the missing parts
|
|
95
|
-
only.
|
|
96
|
-
- **What (normal entry):** the operator's one-line task is almost never enough to
|
|
97
|
-
run autonomously. Before anything else, **grill the operator** to expand that
|
|
98
|
-
one line into a complete, unambiguous brief — resolve every decision branch
|
|
99
|
-
up front so stages 1→10 need no further human input beyond the manual gates.
|
|
100
|
-
This is input expansion, not design: turn "make me feature X" into locked
|
|
101
|
-
answers for scope, users, constraints, data, edge cases, done-criteria.
|
|
102
|
-
- **Phase 1 — harvest the knowledge sources FIRST**
|
|
103
|
-
([`knowledge-sources.md`](knowledge-sources.md)). Before the first question:
|
|
104
|
-
query what the project already knows about this task — code, **the code graph**
|
|
105
|
-
when one is built ([`knowledge-graph.md`](knowledge-graph.md): `graphify query` /
|
|
106
|
-
`affected` / `god-nodes` answer *reach*, which is what grep cannot), `CLAUDE.md`,
|
|
107
|
-
`CONTEXT.md`/ADRs, `docs/` + `docs/ux/`, past pipeline briefs and carry-over
|
|
108
|
-
ledgers, **the retro's standing instructions and run stamps** (`<artifacts>/retro.md`,
|
|
109
|
-
read **in full** — ten standing rows and ten stamps, both bounded **by a cap**, and they bind this
|
|
110
|
-
run; stamp each instruction as it fires. Its *Recent log* is **queried** by the
|
|
111
|
-
task's nouns, not read: uncapped narrative inside a binding source is what makes the
|
|
112
|
-
capped part get skimmed, [`retrospective.md`](retrospective.md)), **lessons from other
|
|
113
|
-
projects** (source 7b, [`knowledge-sources.md`](knowledge-sources.md): `scripts/lessons.py
|
|
114
|
-
query` over the local index, then a shared store where the session lists one — each
|
|
115
|
-
layer's state printed in the source ledger), the **knowledge wiki** if one is
|
|
116
|
-
installed
|
|
117
|
-
([obsidian-wiki](https://github.com/ar9av/obsidian-wiki) — recommended,
|
|
118
|
-
never required), and any **other repo or hosted doc system the project names as
|
|
119
|
-
its docs**. Write the **source ledger** into the brief (a row per source, or an
|
|
120
|
-
explicit "none found"; **the graph's row carries its measured lag — commits and
|
|
121
|
-
days behind `HEAD`, the signal that measured it, and `⚠ not trusted for reach
|
|
122
|
-
until refreshed` on anything but `current`**
|
|
123
|
-
([`knowledge-graph.md`](knowledge-graph.md) → *Measure the lag*; a build date is
|
|
124
|
-
the graph's own reply about itself, not a measurement of it). It is retrieval
|
|
125
|
-
scoped by the task's own nouns, not a read of everything — and it is what makes
|
|
126
|
-
phase 2's answers checkable instead of merely confident.
|
|
127
|
-
- **Phase 1b — the documentation inventory**
|
|
128
|
-
([`documentation.md`](documentation.md)). Four questions, answered before the
|
|
129
|
-
interview and written to `docs/DOCMAP.md` (seeded from
|
|
130
|
-
[`../templates/docmap.md`](../templates/docmap.md), **only when absent**): where
|
|
131
|
-
do settled things live, what is each fact's single home, what does a change of
|
|
132
|
-
type X oblige, and what proves it. A project with no answers gets them seeded —
|
|
133
|
-
registers, the matrix and `scripts/check-docs.sh` — and the seeding is itself
|
|
134
|
-
recorded as the register's first entry. **One decision home per project:** an
|
|
135
|
-
existing `docs/adr/` *is* the register and is recorded as such, never duplicated.
|
|
136
|
-
The gate is seeded so that it exits `0` on its own seeds; a project that starts
|
|
137
|
-
red learns on day one that the gate is noise.
|
|
138
|
-
- **Phase 1b+ — offer the entry audit, once** ([`setup.md`](setup.md)). When
|
|
139
|
-
`docs/DOCMAP.md` is absent or its regime line predates the project's last release,
|
|
140
|
-
ask whether to audit the documentation that already exists **before** building on
|
|
141
|
-
it. Record the answer — including a refusal — in the brief's autonomy sweep and
|
|
142
|
-
never ask again. `audit.md`'s ladder runs at the *end* over the change; this runs
|
|
143
|
-
at the *start* over what is already there.
|
|
144
|
-
- **Phase 1c — reconcile intent against as-built.** Git says how it *should* be;
|
|
145
|
-
the run record says how it *turned out*. Read both for the area you are about to
|
|
146
|
-
touch and resolve every divergence — the document is stale, the record is wrong,
|
|
147
|
-
or they genuinely disagree and that is a decision. There is no fourth option, and
|
|
148
|
-
starting on an unresolved divergence means building against a system that does
|
|
149
|
-
not exist.
|
|
150
|
-
- **Phase 1d — the short-path triage: printed, proposed, never taken silently.** This
|
|
151
|
-
pipeline's own boundary exempts a typo, a one-line fix and a mechanical rename — and
|
|
152
|
-
nothing measured that until 2026-08-10, so the exemption depended on an agent
|
|
153
|
-
remembering it while eleven stages and four manual gates stood in front of a
|
|
154
|
-
one-paragraph edit. Three questions, each with something behind it:
|
|
155
|
-
|
|
156
|
-
```
|
|
157
|
-
1. files the request names, resolved git ls-files -- <paths> -> N
|
|
158
|
-
2. any of them a public contract the surfaces the host's release
|
|
159
|
-
syncs, its schema or config
|
|
160
|
-
contracts, a shipped command,
|
|
161
|
-
its README -> yes/no
|
|
162
|
-
3. behaviour a user or a caller observes changes -> yes/no
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Few files, no contract, no observable change ⇒ **propose** the short path: stages 1,
|
|
166
|
-
2, 3 and 4 marked `⊘` with the triage answer as the reason, and 5→10 running
|
|
167
|
-
unchanged. **Propose, never take.** The answer goes in the brief's autonomy sweep and
|
|
168
|
-
silence takes the full flow — the same floor deploy authorization uses. The glyph is
|
|
169
|
-
what makes it safe: a skipped stage is printed on the rail **with its reason**
|
|
170
|
-
([`progress.md`](progress.md)), and a skip nobody can see is indistinguishable from a
|
|
171
|
-
stage that was never entered.
|
|
172
|
-
- **How it runs: [`grill.md`](grill.md)** — the full doctrine, built into this
|
|
173
|
-
skill (nothing to install). In short: close what the sources can, then ONE batch
|
|
174
|
-
of the material unknowns, ordered by dependency, a recommended answer with each —
|
|
175
|
-
one at a time only where answers depend on each other or the operator asks;
|
|
176
|
-
contradictions reconciled on the spot; **every answer that touches
|
|
177
|
-
a harvested source is checked against it** — the operator outranks any document,
|
|
178
|
-
but only out loud, and the losing side is logged for the stage-9 doc update; plus
|
|
179
|
-
**domain awareness**
|
|
180
|
-
(challenge terms against `CONTEXT.md`, sharpen fuzzy language, stress-test with
|
|
181
|
-
concrete scenarios, cross-reference the code, record ADRs for hard-to-reverse
|
|
182
|
-
calls) and the **autonomy sweep** that pre-resolves every stage-1→10 blocker.
|
|
183
|
-
Deploy authorization has a hard floor there: a standing go counts only when it
|
|
184
|
-
names the target and the preconditions.
|
|
185
|
-
- **The run mode is settled here too** ([`continuity.md`](continuity.md)): does
|
|
186
|
-
the run advance item-by-item with no check-in between items, and on what
|
|
187
|
-
interval? Exactly three sources arm it: `pipeline.json` → `run.loop` (read
|
|
188
|
-
first — a recorded mode is the answer and is not re-asked), the operator's answer
|
|
189
|
-
here, or a standing instruction the host already carries. The ledger names which, once:
|
|
190
|
-
`loop: armed by <source:line>`. **Absent all three, it is off.** It buys pacing, never
|
|
191
|
-
authorization: no loop mode collapses a `manual` gate or an outward act. The
|
|
192
|
-
same file carries the other half of pacing — the context budget, which fires
|
|
193
|
-
only on a harness signal or the operator's word, never on an estimate.
|
|
194
|
-
- **UI early-detect:** one branch of the grill is always "does this touch a
|
|
195
|
-
user-facing surface (web/mobile/CLI/TUI)?". If yes → surface **super-ux**
|
|
196
|
-
now (use it if installed; otherwise give the install line — see SKILL.md
|
|
197
|
-
*Prerequisites*); this arms the stage-3 UX track. **And the same branch records
|
|
198
|
-
the surface's class** — the next bullet.
|
|
199
|
-
- **The surface class.** Every user-facing task's brief carries
|
|
200
|
-
`surface_class: flagship | product | internal | ad`, and the class selects the gate
|
|
201
|
-
profile the visual layer is held to for the rest of the run:
|
|
202
|
-
|
|
203
|
-
| Class | What it is | Director record (stage 3) | Visual half (stages 5–6) | Stage 10 |
|
|
204
|
-
|---|---|---|---|---|
|
|
205
|
-
| `flagship` | the surface a product is judged by — landing, onboarding, paywall, a hero screen | the full record | **gate**: full matrix, pairwise across every axis, the full rubric | approved contact sheet |
|
|
206
|
-
| `product` | an ordinary screen of the product | the short record — Brief, Mode, References, Markers, Open | **gate**: every state and the mandatory pairs; the gate items of the rubric | approved contact sheet |
|
|
207
|
-
| `internal` | an admin panel, an internal tool, a CLI | none owed | recommended; the project linter is the floor | the functional look |
|
|
208
|
-
| `ad` | a creative that runs as an advertisement or a store asset | Brief, Mode, References, Markers, ADA (its rubric profile and safe zones), Open | **gate**: the ad profile and the safe zones | approved contact sheet |
|
|
209
|
-
|
|
210
|
-
Ask it as one question with a recommended answer read off the request — a landing or a
|
|
211
|
-
paywall is `flagship` unless the operator says otherwise — and never leave it to stage
|
|
212
|
-
5: a class decided at build time is decided by whoever wants the build to pass. A
|
|
213
|
-
work-graph node that builds the surface copies the class as `surface_class`, and
|
|
214
|
-
`graph.py certify` then owes the fourth, `visual` reading on `flagship` and `product`
|
|
215
|
-
([`certification.md`](certification.md) → *The fourth reading*).
|
|
216
|
-
- **Artifact:** lock the resolved decisions into a **task brief** committed at
|
|
217
|
-
`<artifacts>/specs/YYYY-MM-DD-<topic>-brief.md` (scope, users/UI verdict and,
|
|
218
|
-
for a user-facing task, `surface_class`, constraints, assumptions, explicitly-deferred items, done-criteria) **plus the
|
|
219
|
-
autonomy sweep's per-stage answers and the model decision**. Seed it from
|
|
220
|
-
the skill's `templates/brief.md` skeleton — but only when absent, never
|
|
221
|
-
overwrite an existing brief. Stages 2–4 build on this brief; stages 5–10 read
|
|
222
|
-
its autonomy section instead of asking. Where the session produced them, also:
|
|
223
|
-
an updated `CONTEXT.md` (terms written as they resolved) and any ADRs under
|
|
224
|
-
`docs/adr/` — see `grill.md` → *Domain awareness*.
|
|
84
|
+
|
|
85
|
+
**On entry or resume:** read [stage-00-intake.md](stage-00-intake.md) before stage work.
|
|
86
|
+
|
|
225
87
|
- **GATE (manual):** shared understanding reached — **the source ledger is written
|
|
226
88
|
(every source consulted, or an explicit "none found")** and **its `Contradictions:`
|
|
227
89
|
line is written under it** — the harvest is a fan-out that converges on one brief, and
|
|
@@ -265,63 +127,17 @@ never that the work was skipped quietly.
|
|
|
265
127
|
|
|
266
128
|
## 1 — Docs study
|
|
267
129
|
- **Freedom: medium** — which sources to fetch is judgement; grounding contracts on fetched docs is not ([`gates.md`](gates.md) → *Axis C*).
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
scoped by topic or the `context7-docs` skill. Web-search fallback for libs context7
|
|
272
|
-
can't resolve.
|
|
130
|
+
|
|
131
|
+
**On entry or resume:** read [stage-01-docs-study.md](stage-01-docs-study.md) before stage work.
|
|
132
|
+
|
|
273
133
|
- **GATE (auto):** every contract the design will lock is grounded in fetched docs,
|
|
274
134
|
not recall. Unresolvable libraries are flagged in the spec.
|
|
275
135
|
|
|
276
136
|
## 2 — Brainstorm + decompose
|
|
277
137
|
- **Freedom: high** — many designs are valid — this is the open field, and the only fixed thing is the gate ([`gates.md`](gates.md) → *Axis C*).
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
batch, 2–3 approaches with a recommendation, design presented in sections and
|
|
282
|
-
approved section by section. **Hard gate:** no code, no scaffolding, no implementation
|
|
283
|
-
skill before the operator approves the design — including on "obviously simple"
|
|
284
|
-
tasks.
|
|
285
|
-
- **UI detection (mandatory check):** decide whether the task touches any
|
|
286
|
-
user-facing surface (web, mobile, CLI, TUI — new feature, new screen/command,
|
|
287
|
-
or a change to user-visible behavior). Record the verdict; it arms the UX
|
|
288
|
-
track in stage 3.
|
|
289
|
-
- **Decomposition (platforms only): [`decomposition.md`](decomposition.md).** If
|
|
290
|
-
the brief describes a platform rather than a change — several independent
|
|
291
|
-
capabilities, several surfaces that could ship separately, REQs no single
|
|
292
|
-
deliverable satisfies — cut it into **modules** before any spec is written, and
|
|
293
|
-
commit the module map (`specs/<topic>-modules.md`): what each module delivers,
|
|
294
|
-
the entities it owns, what it depends on, the contracts it exposes, its REQs and
|
|
295
|
-
its status, in build order with the walking skeleton first. Single-module work
|
|
296
|
-
records `single module: <name>` in the design and moves on — a skipped
|
|
297
|
-
decomposition is a decision, never an omission.
|
|
298
|
-
- **Where the queue is a work graph, it is WRITTEN here**
|
|
299
|
-
([`work-graph.md`](work-graph.md)): `.task-pipeline/graph.json`, carrying the frozen REQ
|
|
300
|
-
ids so `serves` resolves, one node per unit of work with its owner, what it touches and
|
|
301
|
-
**the check that will close it**, and an edge per dependency **naming what it hands
|
|
302
|
-
over**. The check is the planner's job and not the verifier's: a node whose completion
|
|
303
|
-
test is decided by whoever happens to close it is a node two closes will disagree about,
|
|
304
|
-
and `validate` refuses one that names none. Then
|
|
305
|
-
`python3 scripts/graph.py validate` — a graph that does not validate is not a queue, and
|
|
306
|
-
`next` refuses to walk one. The reason to prefer it over a prose plan is measured, not
|
|
307
|
-
aesthetic: a 400-node graph and a 4-node graph produce the same 27-byte frontier, so the
|
|
308
|
-
cost of knowing what is next does not grow with the programme.
|
|
309
|
-
- **And the check is what THREE readings will run, not one**
|
|
310
|
-
([`certification.md`](certification.md)). A node is closed by `unit`, `seam` and `product`
|
|
311
|
-
reports, dispatched blind and in parallel, and `certify` refuses the close until all three
|
|
312
|
-
pass. That is a planning fact, not only a verification one: a node whose blast radius nobody
|
|
313
|
-
can name is a node the seam and product tiers cannot scope, so `touches` and `serves` are
|
|
314
|
-
what make the two outer readings possible at all.
|
|
315
|
-
- **The queue exists here, so the loop arms here** ([`continuity.md`](continuity.md) →
|
|
316
|
-
*Part 1a*). Where the loop is armed — `run.loop` with `arm: after-decomposition`, the
|
|
317
|
-
operator's preflight answer, or a standing instruction the host carries (which arms here
|
|
318
|
-
unless it says otherwise) — and the map holds more than one module, arm the mode at the
|
|
319
|
-
close of this stage, cite the source as `loop: armed by <source:line>`, and print one
|
|
320
|
-
line: the mode, and
|
|
321
|
-
either the job id and its cancel command (`interval`) or the delay chosen and why
|
|
322
|
-
(`dynamic`). Arming collapses no gate and authorizes no outward act; it decides only
|
|
323
|
-
that the run does not stop to ask *"shall I take the next one?"*. Single-module work
|
|
324
|
-
arms nothing and says so — a loop with one item is a timer.
|
|
138
|
+
|
|
139
|
+
**On entry or resume:** read [stage-02-brainstorm.md](stage-02-brainstorm.md) before stage work.
|
|
140
|
+
|
|
325
141
|
- **GATE (manual):** the user approves the design, the UI verdict is recorded, **the
|
|
326
142
|
queue is an artifact rather than a recollection** — where it is a work graph,
|
|
327
143
|
`graph.py validate` exits 0 and `graph.py coverage` names any requirement no node serves,
|
|
@@ -335,65 +151,9 @@ never that the work was skipped quietly.
|
|
|
335
151
|
|
|
336
152
|
## 3 — Spec — with UX track for user-facing tasks
|
|
337
153
|
- **Freedom: medium** — what the contract says is judgement; which contracts must be locked is a list ([`gates.md`](gates.md) → *Axis C*).
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
review gate.
|
|
342
|
-
- **UX track (runs FIRST when stage 2 flagged UI; skip entirely otherwise).**
|
|
343
|
-
Requires the **super-ux** skills. If missing on a UI task → give the install
|
|
344
|
-
line and stop (see SKILL.md *Prerequisites*: `/plugin marketplace add
|
|
345
|
-
ssheleg/super-ux` → `/plugin install super-ux@super-ux`, or `npx skills add
|
|
346
|
-
ssheleg/super-ux`). super-ux builds a traced chain — walk it top-down (see its
|
|
347
|
-
`system-map.md`):
|
|
348
|
-
0. **Destination first, when Figma is on.** The brief already names the team/org
|
|
349
|
-
and the files — **one per surface** (App, Web, ASO: store screenshots, icon and
|
|
350
|
-
logo), never one file for every frame; `docs/ux/foundation.md` → *Design tooling*
|
|
351
|
-
is the canonical record. Confirm each **resolves** before drawing. **Never create a file while a
|
|
352
|
-
recorded one resolves; if it doesn't resolve, stop and ask — never create a
|
|
353
|
-
replacement** (that is the duplicate, and it hides a permissions problem).
|
|
354
|
-
A creation happens at most once, in the named team, and its URL is written to
|
|
355
|
-
the canonical record before the first frame.
|
|
356
|
-
1. `/ux` (the only super-ux entry) — reports which `docs/ux/` layers exist,
|
|
357
|
-
repairs the skeleton, records the Figma on/off choice, recommends the next
|
|
358
|
-
action. Never make the operator pick skills.
|
|
359
|
-
2. `ux-foundation` → `docs/ux/foundation.md` — the **WHY**: personas, Jobs to
|
|
360
|
-
Be Done, **customer journey maps (CJM)**, user stories (Given/When/Then).
|
|
361
|
-
3. `ux-flows` → `docs/ux/flows.md` + `docs/ux/screens.md` — the **HOW + UI
|
|
362
|
-
map**: task analysis, user-flow diagrams (branches, error paths), every
|
|
363
|
-
screen + state with wireframe and (Figma on) a Figma frame link.
|
|
364
|
-
4. `ux-scenarios` → `docs/ux/scenarios.md` — the **WHAT** (source of truth for
|
|
365
|
-
behavior): scenarios validated against the scenario-format contract super-ux
|
|
366
|
-
itself ships (`scenario-format.md` — read its current version there, never
|
|
367
|
-
pin one here) — IDs, statuses, `Traces:` to stories/journey stages/flows,
|
|
368
|
-
edge/error states enumerated.
|
|
369
|
-
5. **Run the super-ux linter** (`/ux-lint` or `python3 docs/ux/lint.py`) — it
|
|
370
|
-
must pass: no drift, no orphans, no broken traces or stale Figma links.
|
|
371
|
-
These skills are **idempotent** — reuse and extend existing `docs/ux/` layers,
|
|
372
|
-
never rebuild from scratch. If the chain already exists and is validated (e.g.
|
|
373
|
-
the task entered from super-ux), just verify (linter green) and embed it into
|
|
374
|
-
the spec; only build the parts that are missing.
|
|
375
|
-
- **COPY track and VISUAL track — a parallel layer after UX, and their
|
|
376
|
-
convergence.** Three tracks, three questions, none substituting for another:
|
|
377
|
-
super-ux decides what the interface must **do**, `copywriting` how it
|
|
378
|
-
**sounds** (every string a product's user will read, against the brand pack),
|
|
379
|
-
`sheleg-design` how it **looks** (tokens, themes, typography, motion). COPY and
|
|
380
|
-
VISUAL are **parallel** — both consume the UX track's scenarios, neither
|
|
381
|
-
consumes the other — and where both ran, **their convergence check is run and
|
|
382
|
-
recorded before the spec is committed**: each can be right alone and the two
|
|
383
|
-
disagree together on one screen. The full doctrine — each track's scope and
|
|
384
|
-
out-of-scope, the refusal sentences, the four contradictions the check
|
|
385
|
-
catches — is [`spec.md`](spec.md) → *The COPY and VISUAL tracks, and their
|
|
386
|
-
convergence*, its one home. **The VISUAL track leaves a trace, not a fact**: a
|
|
387
|
-
director record at `docs/design/<surface>/director-record.md`, whose fields the gate
|
|
388
|
-
reads by the brief's `surface_class` (`python3 scripts/visual_gate.py record <file>
|
|
389
|
-
--class <c>`), and a refusal is that same file saying `Mode: declined` and why.
|
|
390
|
-
- **Spec:** write the approved design to
|
|
391
|
-
`<artifacts>/specs/YYYY-MM-DD-<topic>-design.md` and commit it. Lock all
|
|
392
|
-
shared contracts (types, schemas, signatures, file layout). For UI tasks the
|
|
393
|
-
spec **embeds the UX layer**: links the validated scenario IDs, the flows and
|
|
394
|
-
`SCR-` screens, the CJM stages the feature serves, and the UX
|
|
395
|
-
patterns/principles from super-ux that apply (`best-practices.md`,
|
|
396
|
-
`ux-design-principles.md`, `component-guidelines.md`).
|
|
154
|
+
|
|
155
|
+
**On entry or resume:** read [stage-03-spec.md](stage-03-spec.md) before stage work.
|
|
156
|
+
|
|
397
157
|
- **GATE (manual):** the **`## Self-review` section written and committed with
|
|
398
158
|
computed values** — every check the spec names resolving or marked `review`, the
|
|
399
159
|
brief's decisions and stage 2's rejected options read back with no unresolved
|
|
@@ -428,12 +188,9 @@ never that the work was skipped quietly.
|
|
|
428
188
|
|
|
429
189
|
## 4 — Plan
|
|
430
190
|
- **Freedom: low** — the task format is prescribed and the REQ set-comparison is mechanical ([`gates.md`](gates.md) → *Axis C*).
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
paths, complete code in every step, TDD steps with expected output, DoD each,
|
|
435
|
-
dependency graph + parallel groups, non-overlapping file ownership, and the
|
|
436
|
-
Global Constraints block copied verbatim from the spec.
|
|
191
|
+
|
|
192
|
+
**On entry or resume:** read [stage-04-plan.md](stage-04-plan.md) before stage work.
|
|
193
|
+
|
|
437
194
|
- **GATE (auto):** `python3 scripts/plan_audit.py` clean — the plan read as the agent
|
|
438
195
|
who was NOT there will read it: every live node carries a packet answering the cold
|
|
439
196
|
reader's eight questions, no two nodes the graph leaves unordered edit one file, the
|
|
@@ -457,56 +214,9 @@ never that the work was skipped quietly.
|
|
|
457
214
|
|
|
458
215
|
## 5 — Dev
|
|
459
216
|
- **Freedom: low** — TDD order, worktree isolation and 'a subagent never writes the register' are the narrow bridge ([`gates.md`](gates.md) → *Axis C*).
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
then one fresh implementer subagent per task with a file-based brief and report,
|
|
464
|
-
a review after every task ([`review.md`](review.md)), and a five-round fix loop
|
|
465
|
-
with an explicit breaker. TDD per task ([`tdd.md`](tdd.md)): failing test →
|
|
466
|
-
watch it fail → minimal impl → watch it pass → commit. Pin subagents to the
|
|
467
|
-
run's confirmed model (`model-tiering.md`). The plan's parallel groups fan out
|
|
468
|
-
**only when all three hold** — the tasks share no `depends:`, their file ownership
|
|
469
|
-
is exclusive per the plan, and each implementer gets its own worktree; otherwise
|
|
470
|
-
sequential. A group that did fan out gets **one convergence check over all its
|
|
471
|
-
reports and diffs together, before the first worktree is integrated**
|
|
472
|
-
([`build.md`](build.md) §4.2a) — a per-task review reads one diff and cannot see a
|
|
473
|
-
contradiction that exists only between two of them.
|
|
474
|
-
- **Web front end? The task's own surface is checked in a browser, not in the diff.**
|
|
475
|
-
Where a browser channel is connected — `playwright` **or** `chrome-devtools`, either
|
|
476
|
-
one, whichever answers first (**how**: [`browser.md`](browser.md); which:
|
|
477
|
-
[`companion-skills.md`](companion-skills.md)): after a
|
|
478
|
-
task that changes a rendered surface, load it, take a snapshot and read the
|
|
479
|
-
console and the network log **before the task is marked DONE** — a component can be
|
|
480
|
-
correct and land under a fixed header, and a review of the diff cannot see that.
|
|
481
|
-
**What the look finds is fixed in this task, or parked with the ruling the GATE below
|
|
482
|
-
requires — never parked silently** — a browser finding filed without a ruling is the
|
|
483
|
-
diff-review verdict wearing a screenshot; the look was worth taking only if it can
|
|
484
|
-
still change the code or is on record as deliberately not doing so. Absent, say the surface was verified by reading
|
|
485
|
-
the diff and treat it as the weaker claim it is. **On a surface whose brief names a
|
|
486
|
-
`surface_class`, the project linter runs here too**, after each task that changes a
|
|
487
|
-
rendered surface — `python3 scripts/visual_gate.py lint <dir>`; an S1 finding is
|
|
488
|
-
fixed in the task, and NOT_RUN (exit 3) is recorded as such
|
|
489
|
-
([`browser.md`](browser.md) → *The visual half*). **With Figma on, the token drift
|
|
490
|
-
probe runs beside it** after a task that touches the token file or a tokenised
|
|
491
|
-
component: `python3 scripts/visual_gate.py tokens --figma <variables.json> --css
|
|
492
|
-
<tokens.css>`. A FAIL is fixed in the task, renaming one side to match the other.
|
|
493
|
-
No export is NOT_RUN, recorded as such. A component whose API the task changed
|
|
494
|
-
updates its Code Connect mapping in the same change
|
|
495
|
-
([`build.md`](build.md) → *Code Connect, kept*). A slop marker caught while the
|
|
496
|
-
implementer is dispatched costs a line; caught on the contact sheet it costs a round. Stage 6 repeats this over the whole tree; this one catches it while the
|
|
497
|
-
implementer that wrote it is still dispatched. The matrix pointed this companion at
|
|
498
|
-
stages 5–6 from the day it was added and **this stage had never named it** — found by
|
|
499
|
-
the guard comparing the two, not by a reader.
|
|
500
|
-
- **Domain companions, where the task is on their ground** — recommended, never a
|
|
501
|
-
gate ([`companion-skills.md`](companion-skills.md)): `sheleg-dev` when the build
|
|
502
|
-
wires money, tracking, sign-in or page speed; `agent-stack` when the thing being
|
|
503
|
-
built is an agent system; `telegram-dev` when Telegram is the platform rather
|
|
504
|
-
than the transport. Absent, the build ships on the host's own doctrine and the
|
|
505
|
-
close-out names the seam nobody checked.
|
|
506
|
-
- **Integration closes the stage:** sync with the base branch, re-run the full suite
|
|
507
|
-
on the result, land it the project's way (merge, or a PR — outward, so it needs a
|
|
508
|
-
go), remove the worktree. Stages 7–9 act on the integrated result, so a branch the
|
|
509
|
-
operator chose to leave unmerged is recorded as such.
|
|
217
|
+
|
|
218
|
+
**On entry or resume:** read [stage-05-dev.md](stage-05-dev.md) before stage work.
|
|
219
|
+
|
|
510
220
|
- **GATE (auto):** **the hygiene gate green in diff mode after every task**
|
|
511
221
|
(`references/build.md`) — six checks over what that task changed, no floor, and a
|
|
512
222
|
finding fixed in-task or carried over with a reason; all plan tasks DONE (three review verdicts per task: spec
|
|
@@ -520,12 +230,9 @@ never that the work was skipped quietly.
|
|
|
520
230
|
|
|
521
231
|
## 6 — Tests
|
|
522
232
|
- **Freedom: low** — green means the full suite, and no skip smuggles a red one past ([`gates.md`](gates.md) → *Axis C*).
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
- **Invoke:** the host test runner (see `conventions.md` → *Lint + test*); the
|
|
527
|
-
built-in [`tdd.md`](tdd.md) cycle for any uncovered gap — failing test first,
|
|
528
|
-
same as stage 5.
|
|
233
|
+
|
|
234
|
+
**On entry or resume:** read [stage-06-tests.md](stage-06-tests.md) before stage work.
|
|
235
|
+
|
|
529
236
|
- **GATE (auto):** **the hygiene gate green over the whole tree**, its six counts
|
|
530
237
|
printed beside their floors; the **full** suite is green (not just the new tests); new/changed code
|
|
531
238
|
is covered; **every check this run added or widened has been probed both ways —
|
|
@@ -586,16 +293,9 @@ never that the work was skipped quietly.
|
|
|
586
293
|
|
|
587
294
|
## 7 — Lint + deploy
|
|
588
295
|
- **Freedom: low** — outward and irreversible — the authorization floor is exact or the stage stops ([`gates.md`](gates.md) → *Axis C*).
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
it must pass too (no UX drift merges). Then deploy per the project's convention;
|
|
593
|
-
if the project defines release automation (`pipeline.json` → `release`, toggle
|
|
594
|
-
on), that is what "deploy" runs here. **No runbook, or one too thin to act on?
|
|
595
|
-
Write it first** ([`deploy-targets.md`](deploy-targets.md)) — a deploy performed
|
|
596
|
-
from inference about the project is one nobody can repeat or roll back, and the
|
|
597
|
-
operator is standing at this gate anyway. That reference also carries the CLI
|
|
598
|
-
verbs per target for when the runbook names a platform you have to recall.
|
|
296
|
+
|
|
297
|
+
**On entry or resume:** read [stage-07-lint-deploy.md](stage-07-lint-deploy.md) before stage work.
|
|
298
|
+
|
|
599
299
|
- **GATE (manual):** lint clean (host linter **and**, for UI projects, the super-ux
|
|
600
300
|
linter) **and** suite green **before** deploy, **and no REQ is still `open`** — a
|
|
601
301
|
`partial` ships only with the operator's explicit acceptance. A gap is cheapest to
|
|
@@ -634,30 +334,9 @@ never that the work was skipped quietly.
|
|
|
634
334
|
|
|
635
335
|
## 8 — Post-deploy
|
|
636
336
|
- **Freedom: medium** — where the logs live varies; 'clean boot or an honest degradation report' does not ([`gates.md`](gates.md) → *Axis C*).
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
deployment/process state, runtime logs, and a health-check request from outside.
|
|
641
|
-
Where deploy happens in CI, verify the **deploy** job and not only the build —
|
|
642
|
-
a green build beside a skipped deploy is the commonest way a run reports success
|
|
643
|
-
while nothing shipped.
|
|
644
|
-
- **A deployed web target is opened, not curled.** A `200` proves the server
|
|
645
|
-
answered; it says nothing about whether the page rendered, whether a bundle 404'd,
|
|
646
|
-
or whether the console filled with errors on load — all three ship green past a
|
|
647
|
-
health check. Where a browser channel is connected — `playwright` **or**
|
|
648
|
-
`chrome-devtools`, either one ([`browser.md`](browser.md)) — load the deployed URL and read
|
|
649
|
-
the console and the network log; quote what you read, not that you looked
|
|
650
|
-
([`companion-skills.md`](companion-skills.md)). Absent → say the check was an HTTP
|
|
651
|
-
response only, which is the honest name for it.
|
|
652
|
-
- **Read the CI verdict for the deploy's own commit** ([`conventions.md`](conventions.md)
|
|
653
|
-
→ *The CI verdict*): the run's conclusion quoted, the **failing step's log quoted**
|
|
654
|
-
on anything but `success`, and one of the three states stated — including **`no run
|
|
655
|
-
found`**, out loud, because a project without CI is a legitimate state and not a
|
|
656
|
-
green one.
|
|
657
|
-
- **A public surface a logged-out reader will see** can additionally be audited for
|
|
658
|
-
search and answer-engine visibility with `seo-aeo-audit`
|
|
659
|
-
([`companion-skills.md`](companion-skills.md)) — recommended, never a gate;
|
|
660
|
-
absent, visibility ships unaudited and the close-out says so.
|
|
337
|
+
|
|
338
|
+
**On entry or resume:** read [stage-08-post-deploy.md](stage-08-post-deploy.md) before stage work.
|
|
339
|
+
|
|
661
340
|
- **GATE (auto):** clean boot confirmed, or an **honest degradation report** with next
|
|
662
341
|
steps — never silent success. **The CI verdict is one of the reported facts, with
|
|
663
342
|
its run id** — "CI is green" written without a command behind it prints the same
|
|
@@ -671,46 +350,9 @@ never that the work was skipped quietly.
|
|
|
671
350
|
|
|
672
351
|
## 9 — Docs + wiki
|
|
673
352
|
- **Freedom: low** — the matrix walk and the gate are mechanical; what a doc says is not this stage's call ([`gates.md`](gates.md) → *Axis C*).
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
them is where documentation rots — the document nobody read is exactly the
|
|
678
|
-
document nobody updated. Walk the matrix row for **every** change type this run
|
|
679
|
-
produced. Every settled thing gets an id in the register, every answered question
|
|
680
|
-
is flipped to `Resolved→<id>`, and every document named in a
|
|
681
|
-
`Consequences / affects:` line cites its decision.
|
|
682
|
-
- **Then run the documentation gate** (`bash scripts/check-docs.sh`, or whatever
|
|
683
|
-
`docs/DOCMAP.md` → *Gates* names) and print its **ratchet counts** beside the
|
|
684
|
-
verdict, so "green" reads as *"green, and here is exactly what was not looked
|
|
685
|
-
at"* ([`gates.md`](gates.md)). A check that skipped says so.
|
|
686
|
-
- **The stage-0 source ledger is the work list** ([`knowledge-sources.md`](knowledge-sources.md)
|
|
687
|
-
→ *Close the loop*): every source the harvest read gets updated if this run
|
|
688
|
-
changed or disproved it. What was worth reading at stage 0 and is wrong now is
|
|
689
|
-
the next run's false premise.
|
|
690
|
-
- Update host module docs / runbooks per the project's self-update rules, in the
|
|
691
|
-
**same change**. For UI tasks, confirm the super-ux layers were updated in this
|
|
692
|
-
change and the linter is green (super-ux *same-change* + *no-drift* rules).
|
|
693
|
-
- **Sync the knowledge wiki** — `wiki-update` when
|
|
694
|
-
[obsidian-wiki](https://github.com/ar9av/obsidian-wiki) is installed (detect:
|
|
695
|
-
`~/.obsidian-wiki/config`, or the skill resolves). Not installed → recommend it
|
|
696
|
-
once with its install line and continue; a missing wiki never blocks the gate.
|
|
697
|
-
Distil the knowledge (decisions, seams, why), not a diff summary.
|
|
698
|
-
- **Refresh the code graph** — `/graphify . --update` when one exists
|
|
699
|
-
([`knowledge-graph.md`](knowledge-graph.md)). The close-out has **three**
|
|
700
|
-
artifacts, not two: docs, wiki, graph. The graph is the source the *next* run's
|
|
701
|
-
harvest queries first, so a stale one is a false premise carrying the authority of
|
|
702
|
-
a machine — a wrong doc gets argued with, a wrong graph gets believed. Incremental
|
|
703
|
-
and model-free for code; a run that deleted code legitimately rebuilds smaller
|
|
704
|
-
(`--force`).
|
|
705
|
-
- **Then check the graph against the docs** — the cheap half of the divergence sweep
|
|
706
|
-
(`graphify god-nodes`; any doc naming a module the graph no longer has). A hub no
|
|
707
|
-
doc names, or an edge the docs deny, is either a leak in the code or a lie in the
|
|
708
|
-
docs; a doc naming a node that no longer exists is a stale ledger row found
|
|
709
|
-
mechanically. Doc-side findings are fixed here; **absences go to stage 10's ladder
|
|
710
|
-
walk as REQ rows** ([`audit.md`](audit.md)).
|
|
711
|
-
- **Docs living in another repository** are outward: propose the edit, get an
|
|
712
|
-
explicit go, then open a PR there. No go → the exact edit goes in the carry-over
|
|
713
|
-
ledger.
|
|
353
|
+
|
|
354
|
+
**On entry or resume:** read [stage-09-docs-wiki.md](stage-09-docs-wiki.md) before stage work.
|
|
355
|
+
|
|
714
356
|
- **GATE (auto):** **the hygiene gate green**, counts printed; **the propagation matrix walked for every change type this run
|
|
715
357
|
produced**, with every settled thing recorded under an id and every answered
|
|
716
358
|
question resolved; **the documentation gate green, its ratchet counts printed and
|
|
@@ -728,92 +370,9 @@ never that the work was skipped quietly.
|
|
|
728
370
|
|
|
729
371
|
## 10 — Acceptance
|
|
730
372
|
- **Freedom: medium** — the walk and the evidence rule are fixed; whether it is what was asked for is the operator's ([`gates.md`](gates.md) → *Axis C*).
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
brief carries.** Both directions: a shipped feature that entered no ledger and a
|
|
735
|
-
ledger row about nothing are different failures ([`verification.md`](verification.md)).
|
|
736
|
-
- **The ledger's open rows are resolved onto the board.** Every carry-over row still
|
|
737
|
-
`open` leaves with a `B-NNN` id on `<artifacts>/backlog.md`, and the ledger row
|
|
738
|
-
is updated to name it ([`backlog.md`](backlog.md)). Both directions, because they are
|
|
739
|
-
different failures: a ledger row pointing at an id nobody issued, and a board row
|
|
740
|
-
traceable to nothing. Measured before this was built: across the ledgers in
|
|
741
|
-
this repository, **twenty-four rows sat `open` with no home at all** — deferred out
|
|
742
|
-
loud and filed nowhere. The first count said sixteen across six ledgers; it read the
|
|
743
|
-
status column by position and was wrong wherever a ledger carried two of them. Then the board's priority is re-derived, because `age` moved while the
|
|
744
|
-
run was happening. Every earlier gate asks
|
|
745
|
-
"is this artifact good?"; none asks "does this still contain everything that was
|
|
746
|
-
asked for?" The loss happens on the seams between stages, and this is where it
|
|
747
|
-
surfaces.
|
|
748
|
-
- **Runs last**, after docs and wiki — those are deliverables too, and a REQ may
|
|
749
|
-
name them.
|
|
750
|
-
- **The ladder walk runs FIRST** ([`audit.md`](audit.md)). The REQ table can only
|
|
751
|
-
find what was named and lost; it cannot find what was never named, because a
|
|
752
|
-
comparison needs two sides and an absence has one. So before the table: walk each
|
|
753
|
-
REQ bottom-up through its rungs (decision → spec section → contract **and its
|
|
754
|
-
failure behavior** → task → change → executed test → surface/docs), check the
|
|
755
|
-
seam at each step, and order the findings **by seam, not by file**. On UI work
|
|
756
|
-
designed visually, the frame is a **second, parallel statement of the same
|
|
757
|
-
surface**: read it against the spec section that covers its `SCR-` id and against
|
|
758
|
-
what shipped. The super-ux linter proves a frame link exists, is named right and
|
|
759
|
-
is not stale — it cannot read the picture, so a frame promising a limit, a meter
|
|
760
|
-
or a tier nobody built passes every lint there is. **Where the VISUAL track ran, the
|
|
761
|
-
walk carries one more row: visual intent ↔ final render** — the director record (the
|
|
762
|
-
brief's falsifier, the signature moment, the rubric written before any render) read
|
|
763
|
-
against the **approved contact sheet**. On a `flagship`, `product` or `ad` surface the
|
|
764
|
-
sheet is approved (`visual_gate.py sheet … --require-approval` exits 0), and the last
|
|
765
|
-
`review:` line per surface — how many human rounds it took — is copied into the
|
|
766
|
-
acceptance file, because `.task-pipeline/run.md` does not outlive the run
|
|
767
|
-
([`audit.md`](audit.md) → the `V→R` seam). An absence
|
|
768
|
-
becomes a **new REQ row with its check** and *then* the table is written;
|
|
769
|
-
appending after the table is how acceptance goes green over a gap. Findings that
|
|
770
|
-
belong to a lower layer go back to that layer (spec → stage 3, plan → stage 4).
|
|
771
|
-
Record the pass's two counts — new findings, and findings caused by this run's
|
|
772
|
-
own fixes — so the next pass can tell whether the axis is exhausted.
|
|
773
|
-
- **How it runs:** built in. Read the brief's REQ table, the carry-over ledger in
|
|
774
|
-
full, the plan's task statuses, git log, the final suite output, stage-8 notes and
|
|
775
|
-
stage-9 doc changes (plus `docs/ux/scenarios.md` + `/ux-lint` for UI tasks). Write
|
|
776
|
-
`<artifacts>/specs/YYYY-MM-DD-<topic>-acceptance.md` — one row per REQ,
|
|
777
|
-
status `verified` / `partial` / `deferred` / `dropped`, each with **evidence** (a
|
|
778
|
-
passing test name, `file:line`, a command and its output, or a scenario ID).
|
|
779
|
-
"Done" without evidence is not done: downgrade to `partial` and say so rather
|
|
780
|
-
than upgrading the claim.
|
|
781
|
-
- Then ask the operator the closing question out loud, list in hand: *here's what
|
|
782
|
-
you asked for, here's what shipped, here's what's deferred and where it lives —
|
|
783
|
-
what's missing?* Ask it even when the table is green; the operator holds context
|
|
784
|
-
the brief never captured, and this is the cheapest moment in the run to hear it.
|
|
785
|
-
- **Several repositories: a submodule is finished when its parent says so.** A
|
|
786
|
-
parent records each submodule as a **pointer to one commit**, and moving the
|
|
787
|
-
submodule does not move the pointer — so the work is committed, pushed, CI green
|
|
788
|
-
and done in its own roadmap, while a clone of the parent still gets the commit
|
|
789
|
-
before it. Neither repo looks wrong alone; the disagreement lives between them,
|
|
790
|
-
which is why it survives every check that runs inside one. Before closing, this
|
|
791
|
-
reports nothing **for the parent as well as every submodule**:
|
|
792
|
-
`git submodule status` (no line starting `+`), plus `git -C <repo> status
|
|
793
|
-
--porcelain` and `git -C <repo> log @{u}..HEAD --oneline` per repo. With
|
|
794
|
-
[agent-sync](https://github.com/ssheleg/agent-sync) installed,
|
|
795
|
-
`/agent-sync finish` runs exactly that. The fix is two commands and the second is
|
|
796
|
-
the forgotten one: `git -C <submodule> push`, then
|
|
797
|
-
`git add <submodule> && git commit`.
|
|
798
|
-
- **The retrospective is the run's last act** ([`retrospective.md`](retrospective.md)),
|
|
799
|
-
written to `<artifacts>/retro.md` — one file per project, not per run. The
|
|
800
|
-
pipeline's gates are good at *this* run and blind across runs: the same class of
|
|
801
|
-
failure can be caught, fixed and forgotten five times and nothing in the flow
|
|
802
|
-
notices it is the same one. So, in this order: **stamp the run first** (one line,
|
|
803
|
-
with its commit — and the only thing that makes the next step computable), **then
|
|
804
|
-
prune** (every standing instruction against its three retirement triggers — it
|
|
805
|
-
became a check, its surface is gone, it hasn't fired in five run stamps or in sixty days — and the
|
|
806
|
-
list held to its cap of ten, every deletion logged **in the archive, with the
|
|
807
|
-
commit that retired it**), then **write an entry only if
|
|
808
|
-
the run diverged** (symptom · the stage it surfaced at · the stage that *owned* it
|
|
809
|
-
· root cause · fix, mechanical before instruction before expiring note · the check
|
|
810
|
-
that catches it next time). An entry whose class would be true in another project
|
|
811
|
-
carries a `**Lesson:**` line, and **`scripts/lessons.py add --retro <retro> --entry
|
|
812
|
-
<anchor>` puts it in the local lesson index** — and, where the session lists a shared
|
|
813
|
-
store, `emit-observatory` → the tool → `record` ([`iteration.md`](iteration.md) → *The
|
|
814
|
-
learning loop*). Every run stamps and prunes; a retro left empty after
|
|
815
|
-
a messy run is the failure the file exists to stop. Stage 0 reads the standing
|
|
816
|
-
instructions in full next time, which is why the cap is not negotiable.
|
|
373
|
+
|
|
374
|
+
**On entry or resume:** read [stage-10-acceptance.md](stage-10-acceptance.md) before stage work.
|
|
375
|
+
|
|
817
376
|
- **GATE (manual):** the ladder walk ran and its absences became REQ rows before
|
|
818
377
|
the table was written; **the hand-back is written** — the request quoted as it was
|
|
819
378
|
GIVEN, where the run stands against it, what was solved with its evidence, what
|
|
@@ -965,3 +524,5 @@ every run has turned a settled decision into a prompt, and a pipeline that gates
|
|
|
965
524
|
marker count has turned a writing-quality signal into a verdict — the false positives fall
|
|
966
525
|
hardest on people writing in a second language, and nothing here fails a stage for them.
|
|
967
526
|
`npx sshlg-skills humanizers` lists what is installed.
|
|
527
|
+
|
|
528
|
+
Entry and resume use the recorded run state ([`continuity.md`](continuity.md)).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**One job: record whether a human ever looked at what shipped, and when.**
|
|
4
4
|
|
|
5
5
|
Stage 8 already performs the verification trio, reads the CI verdict and opens the
|
|
6
|
-
rendered page ([`
|
|
6
|
+
rendered page ([`stage-08-post-deploy.md`](stage-08-post-deploy.md) → *8 — Post-deploy*). All of it is **per run**,
|
|
7
7
|
and none of it accumulates. Ask a project *"which features has nobody confirmed since
|
|
8
8
|
they shipped?"* and before this file the honest answer was: nobody knows, and no
|
|
9
9
|
artifact could be consulted.
|
|
@@ -1580,7 +1580,7 @@ def cmd_producer(graph, args):
|
|
|
1580
1580
|
def cmd_doctrine(graph, args):
|
|
1581
1581
|
"""Which doctrine this run actually read — B-061.
|
|
1582
1582
|
|
|
1583
|
-
The bundle is
|
|
1583
|
+
The bundle is 52 reference files. A run reads some subset and nothing recorded which,
|
|
1584
1584
|
so **a skipped file and a read one were indistinguishable** — the class every guard in
|
|
1585
1585
|
this repository exists to catch, left standing over the doctrine itself.
|
|
1586
1586
|
|