task-pipeline-skill 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/README.md +68 -8
  3. package/cursor/rules/task-pipeline.mdc +82 -0
  4. package/package.json +5 -2
  5. package/plugins/task-pipeline/.claude-plugin/plugin.json +4 -2
  6. package/plugins/task-pipeline/skills/task-pipeline/SKILL.md +41 -10
  7. package/plugins/task-pipeline/skills/task-pipeline/pipeline.example.json +6 -3
  8. package/plugins/task-pipeline/skills/task-pipeline/references/artifacts.md +10 -2
  9. package/plugins/task-pipeline/skills/task-pipeline/references/audit.md +5 -1
  10. package/plugins/task-pipeline/skills/task-pipeline/references/companion-skills.md +15 -0
  11. package/plugins/task-pipeline/skills/task-pipeline/references/conventions.md +19 -0
  12. package/plugins/task-pipeline/skills/task-pipeline/references/documentation.md +285 -0
  13. package/plugins/task-pipeline/skills/task-pipeline/references/gates.md +236 -0
  14. package/plugins/task-pipeline/skills/task-pipeline/references/hooks.md +164 -0
  15. package/plugins/task-pipeline/skills/task-pipeline/references/knowledge-sources.md +26 -5
  16. package/plugins/task-pipeline/skills/task-pipeline/references/learned.md +17 -2
  17. package/plugins/task-pipeline/skills/task-pipeline/references/retrospective.md +55 -14
  18. package/plugins/task-pipeline/skills/task-pipeline/references/stages.md +71 -9
  19. package/plugins/task-pipeline/skills/task-pipeline/templates/README.md +14 -1
  20. package/plugins/task-pipeline/skills/task-pipeline/templates/adr.md +28 -3
  21. package/plugins/task-pipeline/skills/task-pipeline/templates/brief.md +26 -8
  22. package/plugins/task-pipeline/skills/task-pipeline/templates/decisions.md +50 -0
  23. package/plugins/task-pipeline/skills/task-pipeline/templates/docgate.sh +391 -0
  24. package/plugins/task-pipeline/skills/task-pipeline/templates/docmap.md +86 -0
  25. package/plugins/task-pipeline/skills/task-pipeline/templates/hooks.example.json +21 -0
  26. package/plugins/task-pipeline/skills/task-pipeline/templates/open-questions.md +21 -0
  27. package/plugins/task-pipeline/skills/task-pipeline/templates/retro-archive.md +41 -0
  28. package/plugins/task-pipeline/skills/task-pipeline/templates/retro.md +27 -13
@@ -4,8 +4,10 @@ One file per project, not per run. Written as the **last act of stage 10**:
4
4
  prune first, then stamp, then write an entry **only if the run diverged**.
5
5
  Doctrine: `references/retrospective.md`.
6
6
 
7
- Stage 0 reads *Standing instructions* in full, every run which is why the list
8
- has a hard cap of **ten**.
7
+ **What stage 0 reads in full:** *Standing instructions*, *Run stamps* and *Recent
8
+ log* all three are bounded by construction, which is why the cap is not
9
+ negotiable. The **archive** (`docs/superpowers/retro/YYYY-QN.md`) is *queried* by
10
+ the task's nouns and never read end to end.
9
11
 
10
12
  ## Standing instructions (max 10 — in force right now)
11
13
 
@@ -13,18 +15,25 @@ Every row is a rule an agent must follow, that **no check can decide**. A rule a
13
15
  check *can* decide is not written here: it is written as the check (grade 1).
14
16
  No row is accepted without its **retire-when** trigger, written at birth.
15
17
 
16
- | id | Born | Instruction | Because (incident) | Retire when | Last fired |
17
- |---|---|---|---|---|---|
18
- | R-001 | 2026-05-04 · `<topic>` | … | … (one line, links the log entry) | (e.g. "the export path is covered by a test") | 2026-06-18 |
18
+ Two SHA columns, and they are not bookkeeping: a `file:line` rots at the next edit,
19
+ while `git show <sha>` reconstructs the whole incident months later. Every SHA here
20
+ must resolve the documentation gate runs `git rev-parse --verify` over all of
21
+ them.
22
+
23
+ | id | Born | Commit | Instruction | Because | Retire when | Last fired | Fired at |
24
+ |---|---|---|---|---|---|---|---|
25
+ | R-001 | 2026-05-04 · `<topic>` | `<sha>` | … | … (one line; links the archive entry) | … (e.g. "the export path is covered by a test") | 2026-06-18 | `<sha>` |
19
26
 
20
27
  Retire on **any** of: it became a check · every path/command it names is gone · it
21
28
  has not fired in the last five run stamps. At eleven rows, the oldest never-fired
22
29
  row goes — the cap is not negotiable, ranking is.
23
30
 
24
- ## Logproblem cause fix (newest first)
31
+ ## Recent log entries from the last five run stamps (newest first)
25
32
 
26
- Retirements are logged here too, one line each: *silent deletion is forbidden; the
27
- record stays, the instruction leaves.*
33
+ Older entries and every retirement **move** to `docs/superpowers/retro/YYYY-QN.md`
34
+ at the prune. Moving is not deleting: the archive is append-only and holds the
35
+ incident forever, so pruning the in-force list costs no knowledge. This section
36
+ stays short precisely so that reading it in full at stage 0 stays cheap.
28
37
 
29
38
  ### 2026-05-04 · `<topic>` · gate 6 reopened twice
30
39
 
@@ -35,17 +44,22 @@ record stays, the instruction leaves.*
35
44
  - **Fix:** grade 1 (mechanical) — … / grade 2 → `R-00N` / grade 3, expires in
36
45
  2 runs
37
46
  - **The check:** … (what catches this the first time, from now on)
47
+ - **Commit:** `<sha>` — the change that fixed it
38
48
  - **Upstream?** … (a lesson true in any repo belongs in the skill's own
39
49
  `references/learned.md` — open an issue and say so here)
40
50
 
41
- ### 2026-05-04 · retired R-000 — became a check (`npm run lint:paths`)
51
+ ### 2026-05-04 · retired R-000 — became a check (`npm run lint:paths`) · `<sha>`
42
52
 
43
53
  ## Run stamps
44
54
 
45
55
  One line per run, appended at stage 10. This is what makes "five runs" countable
46
56
  — without it the cold-rule is a guess and the prune becomes a mood.
47
57
 
48
- | Date | Topic | Verdict | Retro |
49
- |---|---|---|---|
50
- | 2026-05-04 | `<topic>` | 14/14 verified | 1 entry · 7 standing (was 9) · retired 3 · added 1 |
51
- | 2026-05-02 | `<topic>` | 9/9 verified | no divergence · 9 standing · retired 0 |
58
+ | Date | Topic | Commit | Verdict | Retro |
59
+ |---|---|---|---|---|
60
+ | 2026-05-04 | `<topic>` | `<sha>` | 14/14 verified | 1 entry · 7 standing (was 9) · retired 3 · added 1 |
61
+ | 2026-05-02 | `<topic>` | `<sha>` | 9/9 verified | no divergence · 9 standing · retired 0 |
62
+
63
+ The `Commit` column is what turns a stamp from a date into a navigable point in
64
+ history: `git show <sha>` is the run, and `git log <sha>..HEAD` is everything that
65
+ happened since a rule last fired.