@hecer/yoke 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/.claude-plugin/plugin.json +13 -13
  2. package/.codex-plugin/plugin.json +7 -7
  3. package/CHANGELOG.md +294 -288
  4. package/README.md +874 -874
  5. package/TODOS.md +5 -5
  6. package/agents/docs.toml +6 -6
  7. package/agents/implementer.toml +6 -6
  8. package/agents/reviewer.toml +6 -6
  9. package/agents/security.toml +6 -6
  10. package/bench/README.md +86 -86
  11. package/bench/RESULTS.md +35 -35
  12. package/bench/output-compaction.mjs +65 -65
  13. package/bench/result-schema.mjs +12 -12
  14. package/bench/results/claude-2026-07-27T18-03-26.json +50 -50
  15. package/bench/results/codex-unavailable-1785175418318.json +15 -15
  16. package/bench/results/gemini-2026-07-27T18-03-44.json +46 -46
  17. package/bench/run-matrix.mjs +26 -26
  18. package/bench/run.mjs +106 -106
  19. package/canon/AGENTS.md +30 -30
  20. package/canon/context/DECISIONS.md +4 -4
  21. package/canon/context/GLOSSARY.md +11 -11
  22. package/canon/context/KNOWLEDGE.md +4 -4
  23. package/canon/context/PROJECT.md +15 -15
  24. package/canon/loop/loop-spec.md +65 -65
  25. package/canon/loop/prd.schema.md +43 -43
  26. package/canon/manifest.yaml +59 -59
  27. package/canon/policy/gates.md +7 -7
  28. package/canon/policy/roles.md +9 -9
  29. package/canon/skills/ATTRIBUTION.md +99 -99
  30. package/canon/skills/authoring-prd/SKILL.md +58 -58
  31. package/canon/skills/brainstorming/SKILL.md +164 -164
  32. package/canon/skills/codebase-design/DEEPENING.md +15 -15
  33. package/canon/skills/codebase-design/DESIGN-IT-TWICE.md +12 -12
  34. package/canon/skills/codebase-design/SKILL.md +39 -39
  35. package/canon/skills/dispatching-parallel-agents/SKILL.md +182 -182
  36. package/canon/skills/document-release/SKILL.md +302 -302
  37. package/canon/skills/domain-modeling/ADR-FORMAT.md +19 -19
  38. package/canon/skills/domain-modeling/CONTEXT-FORMAT.md +39 -39
  39. package/canon/skills/domain-modeling/SKILL.md +35 -35
  40. package/canon/skills/executing-plans/SKILL.md +70 -70
  41. package/canon/skills/finishing-a-development-branch/SKILL.md +200 -200
  42. package/canon/skills/health/SKILL.md +177 -177
  43. package/canon/skills/maintaining-context/SKILL.md +34 -34
  44. package/canon/skills/minimal-code/SKILL.md +21 -21
  45. package/canon/skills/no-ai-slop/SKILL.md +103 -103
  46. package/canon/skills/no-ai-slop/eval.md +43 -43
  47. package/canon/skills/plan-ceo-review/SKILL.md +541 -541
  48. package/canon/skills/plan-eng-review/SKILL.md +362 -362
  49. package/canon/skills/receiving-code-review/SKILL.md +213 -213
  50. package/canon/skills/requesting-code-review/SKILL.md +105 -105
  51. package/canon/skills/resolving-merge-conflicts/SKILL.md +18 -18
  52. package/canon/skills/retro/SKILL.md +397 -397
  53. package/canon/skills/review/SKILL.md +246 -246
  54. package/canon/skills/ship/SKILL.md +691 -691
  55. package/canon/skills/subagent-driven-development/SKILL.md +277 -277
  56. package/canon/skills/systematic-debugging/SKILL.md +296 -296
  57. package/canon/skills/tdd/SKILL.md +371 -371
  58. package/canon/skills/unslop-ui/SKILL.md +34 -34
  59. package/canon/skills/using-git-worktrees/SKILL.md +218 -218
  60. package/canon/skills/verification-before-completion/SKILL.md +139 -139
  61. package/canon/skills/visual-verification/SKILL.md +54 -54
  62. package/canon/skills/workflow/SKILL.md +22 -22
  63. package/canon/skills/writing-for-agents/SKILL-MECHANICS.md +27 -27
  64. package/canon/skills/writing-for-agents/SKILL.md +42 -42
  65. package/canon/skills/writing-plans/SKILL.md +152 -152
  66. package/canon/skills/writing-skills/SKILL.md +655 -655
  67. package/canon/skills/yoke-retrofit/SKILL.md +26 -26
  68. package/canon/skills/yoke-workflow/SKILL.md +20 -20
  69. package/canon/tools/codex-rtk-hook.mjs +35 -35
  70. package/canon/tools/graphify.md +3 -3
  71. package/canon/tools/playwright-mcp.md +3 -3
  72. package/canon/tools/rtk.md +7 -7
  73. package/canon/tools/serena.md +6 -6
  74. package/dist/agents/process.js +3 -0
  75. package/dist/loop/watchdog.js +1 -1
  76. package/dist/prd/command.js +17 -17
  77. package/dist/retrofit/planners/claude.js +14 -14
  78. package/dist/retrofit/preserve.js +2 -2
  79. package/docs/MIGRATING-TO-1.0.md +33 -33
  80. package/docs/MIGRATING-TO-1.1.md +27 -27
  81. package/docs/MIGRATING-TO-1.4.md +70 -70
  82. package/docs/PUBLISHING.md +91 -91
  83. package/docs/superpowers/plans/2026-06-28-baustein-e-context-layer.md +981 -981
  84. package/docs/superpowers/plans/2026-06-29-baustein-f-routing.md +258 -258
  85. package/docs/superpowers/plans/2026-06-29-baustein-g-loop-observability.md +1006 -1006
  86. package/docs/superpowers/plans/2026-06-29-baustein-h-loop-robustness.md +374 -374
  87. package/docs/superpowers/plans/2026-06-30-baustein-i-visual-design-verification.md +450 -450
  88. package/docs/superpowers/plans/2026-07-02-baustein-k-zero-to-100-bootstrap.md +1024 -1024
  89. package/docs/superpowers/plans/2026-07-02-baustein-m-flow-smoke-proofs.md +574 -574
  90. package/docs/superpowers/plans/2026-08-13-gauntlet-quality-loop.md +537 -537
  91. package/docs/superpowers/plans/2026-08-16-artifact-backed-output-compaction.md +329 -329
  92. package/docs/superpowers/specs/2026-06-28-baustein-e-context-layer-design.md +146 -146
  93. package/docs/superpowers/specs/2026-06-29-baustein-f-routing-design.md +106 -106
  94. package/docs/superpowers/specs/2026-06-29-baustein-g-loop-observability-design.md +186 -186
  95. package/docs/superpowers/specs/2026-06-29-baustein-h-loop-robustness-design.md +113 -113
  96. package/docs/superpowers/specs/2026-06-30-baustein-i-visual-design-verification-design.md +98 -98
  97. package/docs/superpowers/specs/2026-07-02-baustein-k-zero-to-100-bootstrap-design.md +200 -200
  98. package/docs/superpowers/specs/2026-07-02-baustein-m-flow-smoke-proofs-design.md +155 -155
  99. package/docs/superpowers/specs/2026-08-13-gauntlet-quality-loop-design.md +422 -422
  100. package/docs/superpowers/specs/2026-08-16-artifact-backed-output-compaction-design.md +166 -166
  101. package/gemini-extension.json +6 -6
  102. package/hooks/hooks.json +19 -19
  103. package/package.json +87 -87
@@ -1,39 +1,39 @@
1
- # Glossary and context-map format
2
-
3
- ## GLOSSARY.md
4
-
5
- ```md
6
- # Glossary
7
-
8
- ## Ordering
9
-
10
- **Order**
11
- : A customer's confirmed request for one or more products.
12
- _Avoid_: Purchase, transaction
13
-
14
- **Cancellation**
15
- : The reversal of an entire Order before fulfillment begins.
16
- _Avoid_: Refund, deletion
17
- ```
18
-
19
- Keep each definition to one or two sentences. Define what the term is, name aliases to avoid, and
20
- include only concepts specific to this project's domain. Group terms when natural clusters emerge.
21
-
22
- ## CONTEXT-MAP.md
23
-
24
- Create this optional file only for multiple domain contexts:
25
-
26
- ```md
27
- # Context Map
28
-
29
- ## Contexts
30
-
31
- - **Ordering**: receives and tracks customer orders
32
- - **Billing**: issues invoices and processes payments
33
-
34
- ## Relationships
35
-
36
- - **Ordering -> Billing**: Ordering emits `OrderConfirmed`; Billing creates an invoice.
37
- ```
38
-
39
- Name ownership and the observable relationship. Do not turn the map into an implementation dump.
1
+ # Glossary and context-map format
2
+
3
+ ## GLOSSARY.md
4
+
5
+ ```md
6
+ # Glossary
7
+
8
+ ## Ordering
9
+
10
+ **Order**
11
+ : A customer's confirmed request for one or more products.
12
+ _Avoid_: Purchase, transaction
13
+
14
+ **Cancellation**
15
+ : The reversal of an entire Order before fulfillment begins.
16
+ _Avoid_: Refund, deletion
17
+ ```
18
+
19
+ Keep each definition to one or two sentences. Define what the term is, name aliases to avoid, and
20
+ include only concepts specific to this project's domain. Group terms when natural clusters emerge.
21
+
22
+ ## CONTEXT-MAP.md
23
+
24
+ Create this optional file only for multiple domain contexts:
25
+
26
+ ```md
27
+ # Context Map
28
+
29
+ ## Contexts
30
+
31
+ - **Ordering**: receives and tracks customer orders
32
+ - **Billing**: issues invoices and processes payments
33
+
34
+ ## Relationships
35
+
36
+ - **Ordering -> Billing**: Ordering emits `OrderConfirmed`; Billing creates an invoice.
37
+ ```
38
+
39
+ Name ownership and the observable relationship. Do not turn the map into an implementation dump.
@@ -1,35 +1,35 @@
1
- ---
2
- name: domain-modeling
3
- description: Build or sharpen a project's domain language and durable decisions. Use when terminology is fuzzy or contradictory, relationships need scenario testing, the code disagrees with the stated model, or a glossary or ADR-class decision must be updated; do not trigger merely to read existing context.
4
- ---
5
-
6
- # Domain modeling
7
-
8
- Build the model actively: challenge terms, test relationships with concrete scenarios, compare the
9
- stated behavior with code, and record a term when it becomes settled.
10
-
11
- Yoke stores durable context under `.yoke/context/`:
12
-
13
- - `GLOSSARY.md` is the canonical language for a single domain context.
14
- - `CONTEXT-MAP.md` is optional and maps multiple domain contexts plus their relationships.
15
- - `DECISIONS.md` records durable outcomes and ADR-class trade-offs.
16
-
17
- Read the existing files before proposing vocabulary. Merely consuming their terms is a normal
18
- context habit, not a reason to run this skill.
19
-
20
- ## Workflow
21
-
22
- 1. Identify overloaded, vague, conflicting, or missing terms in the request and current glossary.
23
- 2. Propose one canonical term and name avoidable aliases. Ask when the distinction changes behavior.
24
- 3. Stress-test relationships with specific scenarios, especially partial, repeated, failed, and
25
- cross-context cases.
26
- 4. Compare the model with public interfaces, persistence shapes, and relevant tests. Surface a
27
- contradiction instead of silently choosing one side.
28
- 5. When a term is settled, update `GLOSSARY.md` immediately using
29
- [CONTEXT-FORMAT.md](CONTEXT-FORMAT.md). Preserve unrelated entries.
30
- 6. Update `CONTEXT-MAP.md` only when the repository contains more than one genuine domain context.
31
- 7. Record an ADR-class decision only when all three thresholds in
32
- [ADR-FORMAT.md](ADR-FORMAT.md) pass.
33
-
34
- Glossary definitions describe the domain, not its implementation. General programming concepts do
35
- not belong there.
1
+ ---
2
+ name: domain-modeling
3
+ description: Build or sharpen a project's domain language and durable decisions. Use when terminology is fuzzy or contradictory, relationships need scenario testing, the code disagrees with the stated model, or a glossary or ADR-class decision must be updated; do not trigger merely to read existing context.
4
+ ---
5
+
6
+ # Domain modeling
7
+
8
+ Build the model actively: challenge terms, test relationships with concrete scenarios, compare the
9
+ stated behavior with code, and record a term when it becomes settled.
10
+
11
+ Yoke stores durable context under `.yoke/context/`:
12
+
13
+ - `GLOSSARY.md` is the canonical language for a single domain context.
14
+ - `CONTEXT-MAP.md` is optional and maps multiple domain contexts plus their relationships.
15
+ - `DECISIONS.md` records durable outcomes and ADR-class trade-offs.
16
+
17
+ Read the existing files before proposing vocabulary. Merely consuming their terms is a normal
18
+ context habit, not a reason to run this skill.
19
+
20
+ ## Workflow
21
+
22
+ 1. Identify overloaded, vague, conflicting, or missing terms in the request and current glossary.
23
+ 2. Propose one canonical term and name avoidable aliases. Ask when the distinction changes behavior.
24
+ 3. Stress-test relationships with specific scenarios, especially partial, repeated, failed, and
25
+ cross-context cases.
26
+ 4. Compare the model with public interfaces, persistence shapes, and relevant tests. Surface a
27
+ contradiction instead of silently choosing one side.
28
+ 5. When a term is settled, update `GLOSSARY.md` immediately using
29
+ [CONTEXT-FORMAT.md](CONTEXT-FORMAT.md). Preserve unrelated entries.
30
+ 6. Update `CONTEXT-MAP.md` only when the repository contains more than one genuine domain context.
31
+ 7. Record an ADR-class decision only when all three thresholds in
32
+ [ADR-FORMAT.md](ADR-FORMAT.md) pass.
33
+
34
+ Glossary definitions describe the domain, not its implementation. General programming concepts do
35
+ not belong there.
@@ -1,70 +1,70 @@
1
- ---
2
- name: executing-plans
3
- description: Use when you have a written implementation plan to execute in a separate session with review checkpoints
4
- ---
5
-
6
- # Executing Plans
7
-
8
- ## Overview
9
-
10
- Load plan, review critically, execute all tasks, report when complete.
11
-
12
- **Announce at start:** "I'm using the executing-plans skill to implement this plan."
13
-
14
- **Note:** Tell your human partner that Superpowers works much better with access to subagents. The quality of its work will be significantly higher if run on a platform with subagent support (such as Claude Code or Codex). If subagents are available, use superpowers:subagent-driven-development instead of this skill.
15
-
16
- ## The Process
17
-
18
- ### Step 1: Load and Review Plan
19
- 1. Read plan file
20
- 2. Review critically - identify any questions or concerns about the plan
21
- 3. If concerns: Raise them with your human partner before starting
22
- 4. If no concerns: Create TodoWrite and proceed
23
-
24
- ### Step 2: Execute Tasks
25
-
26
- For each task:
27
- 1. Mark as in_progress
28
- 2. Follow each step exactly (plan has bite-sized steps)
29
- 3. Run verifications as specified
30
- 4. Mark as completed
31
-
32
- ### Step 3: Complete Development
33
-
34
- After all tasks complete and verified:
35
- - Announce: "I'm using the finishing-a-development-branch skill to complete this work."
36
- - **REQUIRED SUB-SKILL:** Use superpowers:finishing-a-development-branch
37
- - Follow that skill to verify tests, present options, execute choice
38
-
39
- ## When to Stop and Ask for Help
40
-
41
- **STOP executing immediately when:**
42
- - Hit a blocker (missing dependency, test fails, instruction unclear)
43
- - Plan has critical gaps preventing starting
44
- - You don't understand an instruction
45
- - Verification fails repeatedly
46
-
47
- **Ask for clarification rather than guessing.**
48
-
49
- ## When to Revisit Earlier Steps
50
-
51
- **Return to Review (Step 1) when:**
52
- - Partner updates the plan based on your feedback
53
- - Fundamental approach needs rethinking
54
-
55
- **Don't force through blockers** - stop and ask.
56
-
57
- ## Remember
58
- - Review plan critically first
59
- - Follow plan steps exactly
60
- - Don't skip verifications
61
- - Reference skills when plan says to
62
- - Stop when blocked, don't guess
63
- - Never start implementation on main/master branch without explicit user consent
64
-
65
- ## Integration
66
-
67
- **Required workflow skills:**
68
- - **superpowers:using-git-worktrees** - REQUIRED: Set up isolated workspace before starting
69
- - **superpowers:writing-plans** - Creates the plan this skill executes
70
- - **superpowers:finishing-a-development-branch** - Complete development after all tasks
1
+ ---
2
+ name: executing-plans
3
+ description: Use when you have a written implementation plan to execute in a separate session with review checkpoints
4
+ ---
5
+
6
+ # Executing Plans
7
+
8
+ ## Overview
9
+
10
+ Load plan, review critically, execute all tasks, report when complete.
11
+
12
+ **Announce at start:** "I'm using the executing-plans skill to implement this plan."
13
+
14
+ **Note:** Tell your human partner that Superpowers works much better with access to subagents. The quality of its work will be significantly higher if run on a platform with subagent support (such as Claude Code or Codex). If subagents are available, use superpowers:subagent-driven-development instead of this skill.
15
+
16
+ ## The Process
17
+
18
+ ### Step 1: Load and Review Plan
19
+ 1. Read plan file
20
+ 2. Review critically - identify any questions or concerns about the plan
21
+ 3. If concerns: Raise them with your human partner before starting
22
+ 4. If no concerns: Create TodoWrite and proceed
23
+
24
+ ### Step 2: Execute Tasks
25
+
26
+ For each task:
27
+ 1. Mark as in_progress
28
+ 2. Follow each step exactly (plan has bite-sized steps)
29
+ 3. Run verifications as specified
30
+ 4. Mark as completed
31
+
32
+ ### Step 3: Complete Development
33
+
34
+ After all tasks complete and verified:
35
+ - Announce: "I'm using the finishing-a-development-branch skill to complete this work."
36
+ - **REQUIRED SUB-SKILL:** Use superpowers:finishing-a-development-branch
37
+ - Follow that skill to verify tests, present options, execute choice
38
+
39
+ ## When to Stop and Ask for Help
40
+
41
+ **STOP executing immediately when:**
42
+ - Hit a blocker (missing dependency, test fails, instruction unclear)
43
+ - Plan has critical gaps preventing starting
44
+ - You don't understand an instruction
45
+ - Verification fails repeatedly
46
+
47
+ **Ask for clarification rather than guessing.**
48
+
49
+ ## When to Revisit Earlier Steps
50
+
51
+ **Return to Review (Step 1) when:**
52
+ - Partner updates the plan based on your feedback
53
+ - Fundamental approach needs rethinking
54
+
55
+ **Don't force through blockers** - stop and ask.
56
+
57
+ ## Remember
58
+ - Review plan critically first
59
+ - Follow plan steps exactly
60
+ - Don't skip verifications
61
+ - Reference skills when plan says to
62
+ - Stop when blocked, don't guess
63
+ - Never start implementation on main/master branch without explicit user consent
64
+
65
+ ## Integration
66
+
67
+ **Required workflow skills:**
68
+ - **superpowers:using-git-worktrees** - REQUIRED: Set up isolated workspace before starting
69
+ - **superpowers:writing-plans** - Creates the plan this skill executes
70
+ - **superpowers:finishing-a-development-branch** - Complete development after all tasks