@zalom/plastic 1.0.0-alpha.6 → 1.0.0-alpha.8
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/package.json +1 -1
- package/scripts/doctor.rb +43 -0
- package/scripts/hook-session-start +8 -1
- package/scripts/lib/bridge.rb +34 -0
- package/skills/_active-intent-gate.md +26 -0
- package/skills/auto/SKILL.md +18 -4
- package/skills/brainstorming/SKILL.md +143 -0
- package/skills/releasing/SKILL.md +88 -17
- package/skills/research/SKILL.md +114 -0
- package/skills/writing-plans/SKILL.md +183 -0
- package/templates/agents.md +16 -0
- package/templates/project.yml +5 -0
package/package.json
CHANGED
package/scripts/doctor.rb
CHANGED
|
@@ -681,6 +681,49 @@ def check_project_stores
|
|
|
681
681
|
)
|
|
682
682
|
end
|
|
683
683
|
|
|
684
|
+
# project_yml_exists
|
|
685
|
+
project_yml_path = File.join(PLASTIC_HOME, "projects", slug, "project.yml")
|
|
686
|
+
project_yml_data = nil
|
|
687
|
+
|
|
688
|
+
if File.exist?(project_yml_path)
|
|
689
|
+
checks << check(
|
|
690
|
+
category: "project_stores", name: "project_yml_exists", status: "pass",
|
|
691
|
+
message: "project.yml exists for project '#{slug}'"
|
|
692
|
+
)
|
|
693
|
+
project_yml_data = load_yaml_safe(project_yml_path)
|
|
694
|
+
else
|
|
695
|
+
checks << check(
|
|
696
|
+
category: "project_stores", name: "project_yml_exists", status: "warn",
|
|
697
|
+
message: "project.yml missing for project '#{slug}'",
|
|
698
|
+
fixable: true, fix_hint: "Create project.yml from template — see plastic:creating-project"
|
|
699
|
+
)
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# governing_docs_exist
|
|
703
|
+
if project_yml_data.is_a?(Hash) && project_yml_data["governing_docs"].is_a?(Array) && !project_yml_data["governing_docs"].empty?
|
|
704
|
+
project_path = project_info.is_a?(Hash) ? project_info["path"] : nil
|
|
705
|
+
|
|
706
|
+
if project_path
|
|
707
|
+
missing_docs = project_yml_data["governing_docs"].reject do |doc_path|
|
|
708
|
+
File.exist?(File.join(project_path, doc_path))
|
|
709
|
+
end
|
|
710
|
+
|
|
711
|
+
if missing_docs.empty?
|
|
712
|
+
checks << check(
|
|
713
|
+
category: "project_stores", name: "governing_docs_exist", status: "pass",
|
|
714
|
+
message: "All governing docs exist for project '#{slug}'"
|
|
715
|
+
)
|
|
716
|
+
else
|
|
717
|
+
checks << check(
|
|
718
|
+
category: "project_stores", name: "governing_docs_exist", status: "warn",
|
|
719
|
+
message: "#{missing_docs.size} governing doc(s) missing for project '#{slug}'",
|
|
720
|
+
details: missing_docs,
|
|
721
|
+
fixable: false
|
|
722
|
+
)
|
|
723
|
+
end
|
|
724
|
+
end
|
|
725
|
+
end
|
|
726
|
+
|
|
684
727
|
# cross_references — if project has `parent` field, check global store intent tags
|
|
685
728
|
parent_id = project_info.is_a?(Hash) ? project_info["parent"] : nil
|
|
686
729
|
next unless parent_id
|
|
@@ -172,7 +172,14 @@ exit 0 if all_active.empty? && stale.empty? && all_future.empty? && active_depre
|
|
|
172
172
|
parts = []
|
|
173
173
|
|
|
174
174
|
if current_project
|
|
175
|
-
|
|
175
|
+
slug = current_project["slug"]
|
|
176
|
+
banner = "Project: #{slug} | Store: ~/.plastic/projects/#{slug}/store/"
|
|
177
|
+
if project_active.any? && project_active.first =~ /\[([^\]]+)\].*store\/([\w-]+)\//
|
|
178
|
+
intent_name, dir_name = $1, $2
|
|
179
|
+
intent_id = dir_name.split("--").first
|
|
180
|
+
banner += "\nActive: [#{intent_id} — #{intent_name}] | Artifacts → store/#{dir_name}/"
|
|
181
|
+
end
|
|
182
|
+
parts << banner + "\n"
|
|
176
183
|
else
|
|
177
184
|
parts << "PLASTIC — Global store loaded from ~/.plastic/\n"
|
|
178
185
|
end
|
package/scripts/lib/bridge.rb
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# encoding: UTF-8
|
|
3
3
|
|
|
4
4
|
require "json"
|
|
5
|
+
require "yaml"
|
|
5
6
|
require "fileutils"
|
|
6
7
|
require "tempfile"
|
|
7
8
|
|
|
@@ -136,4 +137,37 @@ module Bridge
|
|
|
136
137
|
|
|
137
138
|
nil # no gate violation
|
|
138
139
|
end
|
|
140
|
+
|
|
141
|
+
PROJECT_CONFIG_DEFAULTS = {
|
|
142
|
+
"governing_docs" => ["AGENTS.md"],
|
|
143
|
+
"release" => {
|
|
144
|
+
"on_complete" => "commit",
|
|
145
|
+
},
|
|
146
|
+
}.freeze
|
|
147
|
+
|
|
148
|
+
def self.read_project_config(slug)
|
|
149
|
+
path = File.join(Dir.home, ".plastic", "projects", slug, "project.yml")
|
|
150
|
+
config = if File.exist?(path)
|
|
151
|
+
YAML.safe_load(File.read(path)) || {}
|
|
152
|
+
else
|
|
153
|
+
{}
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
deep_merge(PROJECT_CONFIG_DEFAULTS, config)
|
|
157
|
+
rescue => e
|
|
158
|
+
$stderr.puts "Warning: failed to read project config for #{slug}: #{e.message}"
|
|
159
|
+
PROJECT_CONFIG_DEFAULTS.dup
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
def self.deep_merge(base, overlay)
|
|
163
|
+
result = base.dup
|
|
164
|
+
overlay.each do |key, value|
|
|
165
|
+
if value.is_a?(Hash) && result[key].is_a?(Hash)
|
|
166
|
+
result[key] = deep_merge(result[key], value)
|
|
167
|
+
else
|
|
168
|
+
result[key] = value
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
result
|
|
172
|
+
end
|
|
139
173
|
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
## Active Intent Gate
|
|
2
|
+
|
|
3
|
+
Before proceeding, resolve the active intent:
|
|
4
|
+
|
|
5
|
+
1. **Detect store:**
|
|
6
|
+
- Read `~/.plastic/projects.yml`
|
|
7
|
+
- Match CWD against registered project paths
|
|
8
|
+
- If match → project store at `~/.plastic/projects/{slug}/store/`
|
|
9
|
+
- If no match → global store at `~/.plastic/store/`
|
|
10
|
+
|
|
11
|
+
2. **Find active intent:**
|
|
12
|
+
- Read `INDEX.md` from the detected store
|
|
13
|
+
- Look under `## Active` for intent entries
|
|
14
|
+
- If exactly one active intent → use it
|
|
15
|
+
- If multiple active intents → ask user which one
|
|
16
|
+
- If no active intent → refuse: "No active intent. Create one first with /plastic:creating-intent"
|
|
17
|
+
|
|
18
|
+
3. **Resolve paths:**
|
|
19
|
+
- Intent directory: `{store}/store/{id}--{slug}/`
|
|
20
|
+
- Spec: `{intent_dir}/spec.md`
|
|
21
|
+
- Plan: `{intent_dir}/plan.md`
|
|
22
|
+
- Checklist: `{intent_dir}/checklist.md`
|
|
23
|
+
- Resources: `{intent_dir}/resources/`
|
|
24
|
+
- Outcome: `{intent_dir}/outcome.md`
|
|
25
|
+
|
|
26
|
+
All lifecycle artifacts MUST be written to the intent directory. Never write to `docs/superpowers/specs/`, `docs/superpowers/plans/`, or any other external path.
|
package/skills/auto/SKILL.md
CHANGED
|
@@ -111,12 +111,26 @@ During initial project creation, all decisions are non-destructive by definition
|
|
|
111
111
|
1. Verify all checklist items are checked
|
|
112
112
|
2. Write `outcome.md` with detailed results
|
|
113
113
|
3. Write `## Outcome` summary in the intent file (1-2 sentences)
|
|
114
|
-
4.
|
|
114
|
+
4. **Release (if configured)**
|
|
115
|
+
1. Detect project — match CWD against paths in `~/.plastic/projects.yml` to find the project slug. If no match, skip to step 5 (default commit-only behavior).
|
|
116
|
+
2. Read `~/.plastic/projects/{slug}/project.yml`. If the file doesn't exist or has no `release` key, skip to step 5.
|
|
117
|
+
3. Based on `release.on_complete`:
|
|
118
|
+
- `commit` — git add + commit (same as default, proceed to step 5)
|
|
119
|
+
- `commit_and_push` — git add + commit + push
|
|
120
|
+
- `manual` — skip auto-commit, notify user: "Release configured as manual — commit when ready."
|
|
121
|
+
4. If `release.verify` is set, run the verify command (e.g. `bundle exec rake test`):
|
|
122
|
+
- **Exit 0 (green):** proceed to sub-step 5
|
|
123
|
+
- **Non-zero (red):** check `release.on_red`:
|
|
124
|
+
- `fix_and_retry` — attempt to fix the failure, re-run verify (max 2 retries)
|
|
125
|
+
- `stop` — write `savepoint.md` with current state, notify user: "Verify failed — savepoint written.", **STOP**
|
|
126
|
+
- `manual` — notify user: "Verify failed: [summary]. Resolve manually."
|
|
127
|
+
5. If `release.on_green` has items, invoke `plastic:releasing` to handle them (tag, changelog, publish, etc.). Do NOT duplicate release logic — delegate entirely.
|
|
128
|
+
5. Review `## Insights` for observations that should spawn future intents. If any:
|
|
115
129
|
- Create them (using `plastic:creating-intent` conventions)
|
|
116
130
|
- Update `chain` in the current intent's frontmatter
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
131
|
+
6. Move intent from `## Active` to `## Completed` in INDEX.md (with today's date)
|
|
132
|
+
7. Auto-commit: `cd <store-root> && git add . && git commit -m "feat: deliver intent <ID> — <name>"`
|
|
133
|
+
8. Notify user: "Intent [ID] — [name] delivered. [1-2 sentence summary]. See outcome.md for details."
|
|
120
134
|
|
|
121
135
|
## Error Handling
|
|
122
136
|
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plastic:brainstorming
|
|
3
|
+
description: "Explore intent requirements and design before implementation. Produces spec.md in the active intent directory."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorming Ideas Into Designs
|
|
7
|
+
|
|
8
|
+
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
|
|
9
|
+
|
|
10
|
+
Announce: "I'm using the brainstorming skill to explore the design for intent {id} — {name}."
|
|
11
|
+
|
|
12
|
+
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.
|
|
13
|
+
|
|
14
|
+
<HARD-GATE>
|
|
15
|
+
Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
|
|
16
|
+
</HARD-GATE>
|
|
17
|
+
|
|
18
|
+
## Active Intent Gate
|
|
19
|
+
|
|
20
|
+
Before proceeding, resolve the active intent:
|
|
21
|
+
|
|
22
|
+
1. **Detect store:** Read `~/.plastic/projects.yml`, match CWD against registered project paths. If match → project store at `~/.plastic/projects/{slug}/store/`. If no match → global store at `~/.plastic/store/`.
|
|
23
|
+
2. **Find active intent:** Read `INDEX.md` from the detected store. Look under `## Active`. If exactly one → use it. If multiple → ask which. If none → refuse: "No active intent. Create one first with /plastic:creating-intent"
|
|
24
|
+
3. **Resolve intent directory:** `{store}/store/{id}--{slug}/`
|
|
25
|
+
|
|
26
|
+
All artifacts go to the intent directory. Never write to external paths.
|
|
27
|
+
|
|
28
|
+
## Anti-Pattern: "This Is Too Simple To Need A Design"
|
|
29
|
+
|
|
30
|
+
Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
|
|
31
|
+
|
|
32
|
+
## Checklist
|
|
33
|
+
|
|
34
|
+
You MUST create a task for each of these items and complete them in order:
|
|
35
|
+
|
|
36
|
+
1. **Explore project context** — check files, docs, recent commits, read active intent
|
|
37
|
+
2. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
|
|
38
|
+
3. **Propose 2-3 approaches** — with trade-offs and your recommendation
|
|
39
|
+
4. **Present design** — in sections scaled to their complexity, get user approval after each section
|
|
40
|
+
5. **Write spec** — save to `{intent_dir}/spec.md` and commit to store repo
|
|
41
|
+
6. **Spec self-review** — placeholder scan, consistency, scope, ambiguity
|
|
42
|
+
7. **User reviews written spec** — ask user to review before proceeding
|
|
43
|
+
8. **Transition to planning** — invoke `plastic:writing-plans`
|
|
44
|
+
|
|
45
|
+
## Process Flow
|
|
46
|
+
|
|
47
|
+
```dot
|
|
48
|
+
digraph brainstorming {
|
|
49
|
+
"Explore project context" [shape=box];
|
|
50
|
+
"Ask clarifying questions" [shape=box];
|
|
51
|
+
"Propose 2-3 approaches" [shape=box];
|
|
52
|
+
"Present design sections" [shape=box];
|
|
53
|
+
"User approves design?" [shape=diamond];
|
|
54
|
+
"Write spec" [shape=box];
|
|
55
|
+
"Spec self-review\n(fix inline)" [shape=box];
|
|
56
|
+
"User reviews spec?" [shape=diamond];
|
|
57
|
+
"Invoke plastic:writing-plans" [shape=doublecircle];
|
|
58
|
+
|
|
59
|
+
"Explore project context" -> "Ask clarifying questions";
|
|
60
|
+
"Ask clarifying questions" -> "Propose 2-3 approaches";
|
|
61
|
+
"Propose 2-3 approaches" -> "Present design sections";
|
|
62
|
+
"Present design sections" -> "User approves design?";
|
|
63
|
+
"User approves design?" -> "Present design sections" [label="no, revise"];
|
|
64
|
+
"User approves design?" -> "Write spec" [label="yes"];
|
|
65
|
+
"Write spec" -> "Spec self-review\n(fix inline)";
|
|
66
|
+
"Spec self-review\n(fix inline)" -> "User reviews spec?";
|
|
67
|
+
"User reviews spec?" -> "Write spec" [label="changes requested"];
|
|
68
|
+
"User reviews spec?" -> "Invoke plastic:writing-plans" [label="approved"];
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**The terminal state is invoking `plastic:writing-plans`.** Do NOT invoke any other implementation skill. The ONLY skill you invoke after brainstorming is `plastic:writing-plans`.
|
|
73
|
+
|
|
74
|
+
## The Process
|
|
75
|
+
|
|
76
|
+
**Understanding the idea:**
|
|
77
|
+
- Check out the current project state first (files, docs, recent commits)
|
|
78
|
+
- Before asking detailed questions, assess scope: if the request describes multiple independent subsystems (e.g., "build a platform with chat, file storage, billing, and analytics"), flag this immediately. Don't spend questions refining details of a project that needs to be decomposed first.
|
|
79
|
+
- If the project is too large for a single spec, help the user decompose into sub-projects: what are the independent pieces, how do they relate, what order should they be built? Then brainstorm the first sub-project through the normal design flow. Each sub-project gets its own spec → plan → implementation cycle.
|
|
80
|
+
- For appropriately-scoped projects, ask questions one at a time to refine the idea
|
|
81
|
+
- Prefer multiple choice questions when possible, but open-ended is fine too
|
|
82
|
+
- Only one question per message - if a topic needs more exploration, break it into multiple questions
|
|
83
|
+
- Focus on understanding: purpose, constraints, success criteria
|
|
84
|
+
|
|
85
|
+
**Exploring approaches:**
|
|
86
|
+
- Propose 2-3 different approaches with trade-offs
|
|
87
|
+
- Present options conversationally with your recommendation and reasoning
|
|
88
|
+
- Lead with your recommended option and explain why
|
|
89
|
+
|
|
90
|
+
**Presenting the design:**
|
|
91
|
+
- Once you believe you understand what you're building, present the design
|
|
92
|
+
- Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
|
|
93
|
+
- Ask after each section whether it looks right so far
|
|
94
|
+
- Cover: architecture, components, data flow, error handling, testing
|
|
95
|
+
- Be ready to go back and clarify if something doesn't make sense
|
|
96
|
+
|
|
97
|
+
**Design for isolation and clarity:**
|
|
98
|
+
- Break the system into smaller units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
|
|
99
|
+
- For each unit, you should be able to answer: what does it do, how do you use it, and what does it depend on?
|
|
100
|
+
- Can someone understand what a unit does without reading its internals? Can you change the internals without breaking consumers? If not, the boundaries need work.
|
|
101
|
+
- Smaller, well-bounded units are also easier for you to work with - you reason better about code you can hold in context at once, and your edits are more reliable when files are focused. When a file grows large, that's often a signal that it's doing too much.
|
|
102
|
+
|
|
103
|
+
**Working in existing codebases:**
|
|
104
|
+
- Explore the current structure before proposing changes. Follow existing patterns.
|
|
105
|
+
- Where existing code has problems that affect the work (e.g., a file that's grown too large, unclear boundaries, tangled responsibilities), include targeted improvements as part of the design - the way a good developer improves code they're working in.
|
|
106
|
+
- Don't propose unrelated refactoring. Stay focused on what serves the current goal.
|
|
107
|
+
|
|
108
|
+
## After the Design
|
|
109
|
+
**Documentation:**
|
|
110
|
+
- Write the validated design (spec) to `{intent_dir}/spec.md`
|
|
111
|
+
- Use elements-of-style:writing-clearly-and-concisely skill if available
|
|
112
|
+
- Commit to the store repo:
|
|
113
|
+
```
|
|
114
|
+
cd {store_root} && git add . && git commit -m "docs: spec for intent {id} — {name}"
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**Spec Self-Review:**
|
|
118
|
+
After writing the spec document, look at it with fresh eyes:
|
|
119
|
+
1. **Placeholder scan:** Any "TBD", "TODO", incomplete sections, or vague requirements? Fix them.
|
|
120
|
+
2. **Internal consistency:** Do any sections contradict each other? Does the architecture match the feature descriptions?
|
|
121
|
+
3. **Scope check:** Is this focused enough for a single implementation plan, or does it need decomposition?
|
|
122
|
+
4. **Ambiguity check:** Could any requirement be interpreted two different ways? If so, pick one and make it explicit.
|
|
123
|
+
|
|
124
|
+
Fix any issues inline. No need to re-review — just fix and move on.
|
|
125
|
+
|
|
126
|
+
**User Review Gate:**
|
|
127
|
+
After the spec review loop passes, ask the user to review the written spec before proceeding:
|
|
128
|
+
> "Spec written and committed to `{intent_dir}/spec.md`. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."
|
|
129
|
+
|
|
130
|
+
Wait for the user's response. If they request changes, make them and re-run the spec review loop. Only proceed once the user approves.
|
|
131
|
+
|
|
132
|
+
**Implementation:**
|
|
133
|
+
- Invoke `plastic:writing-plans` to create the implementation plan
|
|
134
|
+
- Do NOT invoke any other skill. `plastic:writing-plans` is the next step.
|
|
135
|
+
|
|
136
|
+
## Key Principles
|
|
137
|
+
|
|
138
|
+
- **One question at a time** - Don't overwhelm with multiple questions
|
|
139
|
+
- **Multiple choice preferred** - Easier to answer than open-ended when possible
|
|
140
|
+
- **YAGNI ruthlessly** - Remove unnecessary features from all designs
|
|
141
|
+
- **Explore alternatives** - Always propose 2-3 approaches before settling
|
|
142
|
+
- **Incremental validation** - Present design, get approval before moving on
|
|
143
|
+
- **Be flexible** - Go back and clarify when something doesn't make sense
|
|
@@ -6,25 +6,62 @@ description: Use when merging a feature branch to main and tagging a release, bu
|
|
|
6
6
|
# Releasing
|
|
7
7
|
|
|
8
8
|
Merge, bump, tag, push. Annotated tags with changelogs. Semantic versioning.
|
|
9
|
+
Project configuration drives the workflow — no hardcoded assumptions.
|
|
9
10
|
|
|
10
11
|
## Checklist
|
|
11
12
|
|
|
12
|
-
- [ ]
|
|
13
|
+
- [ ] Read project config
|
|
14
|
+
- [ ] All tests pass (or verification skipped per config)
|
|
13
15
|
- [ ] Merge feature branch to main
|
|
14
|
-
- [ ] Bump version in
|
|
16
|
+
- [ ] Bump version in configured version files
|
|
15
17
|
- [ ] Commit version bump
|
|
16
18
|
- [ ] Create annotated tag
|
|
17
19
|
- [ ] Push to remote with tags
|
|
20
|
+
- [ ] Run post-push actions (GitHub release, npm publish, etc.)
|
|
21
|
+
- [ ] Complete active intent
|
|
18
22
|
|
|
19
23
|
## Workflow
|
|
20
24
|
|
|
25
|
+
### 0. Read Project Config
|
|
26
|
+
|
|
27
|
+
Before anything else, determine which project we are releasing and load its config.
|
|
28
|
+
|
|
29
|
+
1. Read `~/.plastic/projects.yml` — find the project whose `path` matches the current working directory.
|
|
30
|
+
2. Extract the project slug (the key under `projects:`).
|
|
31
|
+
3. Read `~/.plastic/projects/{slug}/project.yml` — this contains the `release:` section.
|
|
32
|
+
|
|
33
|
+
Expected `release:` keys in project.yml:
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
release:
|
|
37
|
+
verify: "bin/rails test" # command to run before release
|
|
38
|
+
version_file: package.json # single file containing the version
|
|
39
|
+
version_files: # multiple files (overrides version_file)
|
|
40
|
+
- package.json
|
|
41
|
+
- .claude-plugin/plugin.json
|
|
42
|
+
tag_format: "v{{version}}" # tag naming pattern ({{version}} is replaced)
|
|
43
|
+
on_green: # actions to run after push succeeds
|
|
44
|
+
- github_release
|
|
45
|
+
- npm_publish
|
|
46
|
+
on_complete: commit_and_push # what to do with the version bump commit
|
|
47
|
+
on_red: stop # what to do if verification fails
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Fallback:** If no project.yml exists or it has no `release:` section, fall back to asking the user for each step — verify command, version files, tag format, and post-push actions.
|
|
51
|
+
|
|
21
52
|
### 1. Verify Tests Pass
|
|
22
53
|
|
|
54
|
+
Run the verification command from `release.verify` in project.yml:
|
|
55
|
+
|
|
23
56
|
```bash
|
|
24
|
-
|
|
57
|
+
# Example: release.verify = "ruby -Itest test/*_test.rb"
|
|
58
|
+
<verify-command-from-config>
|
|
25
59
|
```
|
|
26
60
|
|
|
27
|
-
|
|
61
|
+
- If `release.verify` is present: run it. All checks must pass before proceeding.
|
|
62
|
+
- If `release.verify` is absent or empty: skip verification. Log that no verify command is configured.
|
|
63
|
+
- If `release.on_red` is `stop`: abort the release on failure.
|
|
64
|
+
- If `release.on_red` is `fix_and_retry`: ask the user to fix and re-run.
|
|
28
65
|
|
|
29
66
|
### 2. Determine Version Bump
|
|
30
67
|
|
|
@@ -47,18 +84,26 @@ Always `--no-ff` to preserve branch history in the merge commit.
|
|
|
47
84
|
|
|
48
85
|
### 4. Bump Version
|
|
49
86
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
87
|
+
Determine which files to update from project.yml:
|
|
88
|
+
|
|
89
|
+
- If `release.version_files` is set: update ALL listed files (they must stay in sync).
|
|
90
|
+
- Else if `release.version_file` is set: update that single file.
|
|
91
|
+
- Else: ask the user which files contain the version.
|
|
92
|
+
|
|
93
|
+
Update the version string in each file, then commit:
|
|
54
94
|
|
|
55
95
|
```bash
|
|
56
|
-
git add
|
|
96
|
+
git add <version-files>
|
|
57
97
|
git commit -m "chore: bump version to X.Y.Z — [one-line summary]"
|
|
58
98
|
```
|
|
59
99
|
|
|
60
100
|
### 5. Create Annotated Tag
|
|
61
101
|
|
|
102
|
+
Read `release.tag_format` from project.yml to determine the tag name:
|
|
103
|
+
|
|
104
|
+
- If set (e.g. `"v{{version}}"`): replace `{{version}}` with the new version string.
|
|
105
|
+
- If not set: default to `vX.Y.Z`.
|
|
106
|
+
|
|
62
107
|
Generate the changelog from commits since the last tag:
|
|
63
108
|
|
|
64
109
|
```bash
|
|
@@ -68,7 +113,7 @@ git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges | grep -E
|
|
|
68
113
|
Create the tag with a multi-line message:
|
|
69
114
|
|
|
70
115
|
```bash
|
|
71
|
-
git tag -a
|
|
116
|
+
git tag -a <tag-name> -m "<tag-name> — [release name]
|
|
72
117
|
|
|
73
118
|
- [changelog bullet points from feat/fix/refactor commits]"
|
|
74
119
|
```
|
|
@@ -79,16 +124,42 @@ git tag -a vX.Y.Z -m "vX.Y.Z — [release name]
|
|
|
79
124
|
git push origin main --tags
|
|
80
125
|
```
|
|
81
126
|
|
|
82
|
-
### 7.
|
|
127
|
+
### 7. Post-Push Actions
|
|
128
|
+
|
|
129
|
+
Read `release.on_green` from project.yml. This is a list of actions to run after a successful push. Execute each in order:
|
|
83
130
|
|
|
84
|
-
|
|
131
|
+
#### `github_release`
|
|
132
|
+
|
|
133
|
+
Create a GitHub release from the tag:
|
|
85
134
|
|
|
86
135
|
```bash
|
|
87
|
-
gh release create
|
|
136
|
+
gh release create <tag-name> --title "<tag-name> — [release name]" --generate-notes --notes-start-tag <previous-tag>
|
|
88
137
|
```
|
|
89
138
|
|
|
90
139
|
For the first release (no previous tag), write notes manually with `--notes "..."` instead.
|
|
91
140
|
|
|
141
|
+
#### `npm_publish`
|
|
142
|
+
|
|
143
|
+
Publish the package to npm:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
# For pre-release versions (0.x.y, or version contains -alpha/-beta/-rc):
|
|
147
|
+
npm publish --access public --tag alpha
|
|
148
|
+
|
|
149
|
+
# For stable versions (>= 1.0.0, no pre-release suffix):
|
|
150
|
+
npm publish --access public
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
#### Other values
|
|
154
|
+
|
|
155
|
+
If `on_green` contains an action not listed above, log it:
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
[releasing] Action "<action>" is configured but not yet implemented. Skipping.
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
If `on_green` is empty or absent: skip post-push actions entirely.
|
|
162
|
+
|
|
92
163
|
### 8. Complete Active Intent
|
|
93
164
|
|
|
94
165
|
A release IS a delivery. The active intent that drove this work must be completed as part of the release process. This is NOT optional.
|
|
@@ -100,17 +171,17 @@ A release IS a delivery. The active intent that drove this work must be complete
|
|
|
100
171
|
c. Update `## Insights` with final observations
|
|
101
172
|
d. Move from `## Active` to `## Completed` in INDEX.md (with today's date)
|
|
102
173
|
e. Update clusters to show `_(completed)_`
|
|
103
|
-
3. Auto-commit: `cd ~/.plastic && git add . && git commit -m "feat: complete intent <ID> — delivered in
|
|
174
|
+
3. Auto-commit: `cd ~/.plastic && git add . && git commit -m "feat: complete intent <ID> — delivered in <tag-name>"`
|
|
104
175
|
|
|
105
176
|
**If no active intent exists for this release**, that itself is a problem — work happened outside the intent system. Log it and move on, but flag it.
|
|
106
177
|
|
|
107
178
|
## Conventions
|
|
108
179
|
|
|
109
180
|
- **Annotated tags only** — `git tag -a`, never lightweight tags
|
|
110
|
-
- **Tag format** — `vX.Y.Z`
|
|
111
|
-
- **Tag message** — first line:
|
|
181
|
+
- **Tag format** — driven by `release.tag_format` in project.yml (default: `vX.Y.Z`)
|
|
182
|
+
- **Tag message** — first line: `<tag> — [short name]`, then blank line, then bullet changelog
|
|
112
183
|
- **Commit prefixes** — `feat:`, `fix:`, `refactor:`, `chore:`, `docs:` (conventional commits)
|
|
113
|
-
- **Version files** —
|
|
184
|
+
- **Version files** — driven by project.yml; all listed files must always match
|
|
114
185
|
- **Branch cleanup** — delete merged feature branches: `git branch -d <branch>`
|
|
115
186
|
|
|
116
187
|
## Retroactive Tagging
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plastic:research
|
|
3
|
+
description: "Research a topic for the active intent. Agent decides shallow vs deep based on scope. Produces reports in the intent's resources/ directory."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Research
|
|
7
|
+
|
|
8
|
+
Investigate a topic related to the active intent. Choose the right depth, produce a cited report.
|
|
9
|
+
|
|
10
|
+
**Announce at start:** "I'm researching [topic] for intent {id} — {name}."
|
|
11
|
+
|
|
12
|
+
## Active Intent Gate
|
|
13
|
+
|
|
14
|
+
Before proceeding, resolve the active intent:
|
|
15
|
+
|
|
16
|
+
1. **Detect store:** Read `~/.plastic/projects.yml`, match CWD against registered project paths. If match → project store at `~/.plastic/projects/{slug}/store/`. If no match → global store at `~/.plastic/store/`.
|
|
17
|
+
2. **Find active intent:** Read `INDEX.md` from the detected store. Look under `## Active`. If exactly one → use it. If multiple → ask which. If none → refuse: "No active intent. Create one first with /plastic:creating-intent"
|
|
18
|
+
3. **Resolve intent directory:** `{store}/store/{id}--{slug}/`
|
|
19
|
+
|
|
20
|
+
## Depth Decision
|
|
21
|
+
|
|
22
|
+
Before starting research, assess the question against these criteria:
|
|
23
|
+
|
|
24
|
+
### Shallow Research
|
|
25
|
+
Use when:
|
|
26
|
+
- The question is narrow and factual (e.g., "what's the API for X?", "does library Y support Z?")
|
|
27
|
+
- A single source or quick search is sufficient
|
|
28
|
+
- The answer is likely well-documented
|
|
29
|
+
- Time budget: minutes, not hours
|
|
30
|
+
|
|
31
|
+
**Method:** Direct web search + codebase exploration + single-pass synthesis.
|
|
32
|
+
|
|
33
|
+
### Deep Research
|
|
34
|
+
Use when:
|
|
35
|
+
- The question needs multiple sources and cross-verification
|
|
36
|
+
- It's a landscape survey, competitive analysis, or architectural decision
|
|
37
|
+
- The user explicitly asks for thorough/exhaustive/comprehensive research
|
|
38
|
+
- Conflicting information exists and needs adversarial verification
|
|
39
|
+
- Time budget: significant, user expects depth
|
|
40
|
+
|
|
41
|
+
**Method:** Delegate to the native agent's deep research capability.
|
|
42
|
+
- On Claude Code: invoke the `deep-research` skill via `Skill` tool
|
|
43
|
+
- On other agents: use the agent's equivalent (see intent 7 for cross-agent mapping)
|
|
44
|
+
- If no native deep research exists: fan out multiple web searches manually, cross-reference, synthesize
|
|
45
|
+
|
|
46
|
+
### Decision Heuristic
|
|
47
|
+
|
|
48
|
+
Ask yourself:
|
|
49
|
+
1. Can I answer this with 1-2 searches? → **Shallow**
|
|
50
|
+
2. Do I need to compare 3+ sources? → **Deep**
|
|
51
|
+
3. Is the user asking for a survey or landscape view? → **Deep**
|
|
52
|
+
4. Am I fact-checking a specific claim? → **Shallow**
|
|
53
|
+
5. Could wrong information here cause architectural mistakes? → **Deep**
|
|
54
|
+
|
|
55
|
+
Announce your choice: "This needs [shallow/deep] research because [reason]."
|
|
56
|
+
|
|
57
|
+
## Output
|
|
58
|
+
|
|
59
|
+
### File Location
|
|
60
|
+
`{intent_dir}/resources/{type}--{topic}.md`
|
|
61
|
+
|
|
62
|
+
Create the resources/ directory if it doesn't exist.
|
|
63
|
+
|
|
64
|
+
### Naming Convention
|
|
65
|
+
- `{type}` — one of: `deep-research`, `competitive-analysis`, `technical-spike`, `reference`, `landscape-survey`
|
|
66
|
+
- `{topic}` — kebab-case description of the research subject
|
|
67
|
+
|
|
68
|
+
Examples:
|
|
69
|
+
- `deep-research--installer-patterns.md`
|
|
70
|
+
- `technical-spike--sqlite-vec-performance.md`
|
|
71
|
+
- `reference--claude-code-hooks-api.md`
|
|
72
|
+
- `landscape-survey--ai-agent-ecosystem.md`
|
|
73
|
+
|
|
74
|
+
### Report Structure
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
# {Type}: {Topic}
|
|
78
|
+
|
|
79
|
+
**Intent:** {id} — {name}
|
|
80
|
+
**Depth:** shallow | deep
|
|
81
|
+
**Date:** YYYY-MM-DD
|
|
82
|
+
|
|
83
|
+
## Summary
|
|
84
|
+
[2-3 sentence executive summary]
|
|
85
|
+
|
|
86
|
+
## Findings
|
|
87
|
+
|
|
88
|
+
### [Finding 1 title]
|
|
89
|
+
[Details with inline citations where applicable]
|
|
90
|
+
|
|
91
|
+
### [Finding 2 title]
|
|
92
|
+
...
|
|
93
|
+
|
|
94
|
+
## Sources
|
|
95
|
+
- [Source 1 title](url) — what was learned from this source
|
|
96
|
+
- [Source 2 title](url) — ...
|
|
97
|
+
|
|
98
|
+
## Relevance to Intent
|
|
99
|
+
[How these findings affect the active intent's decisions or design]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## After Research
|
|
103
|
+
|
|
104
|
+
1. Commit to store repo:
|
|
105
|
+
```
|
|
106
|
+
cd {store_root} && git add . && git commit -m "research: {type} — {topic} (intent {id})"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
2. Log in intent's `## Insights`:
|
|
110
|
+
```
|
|
111
|
+
- Research: {type} — {topic}. Key finding: [one sentence]. See resources/{filename}.
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
3. Research does NOT chain to any other skill. It's a side quest — the user decides what to do with the findings.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plastic:writing-plans
|
|
3
|
+
description: "Write implementation plans from a spec. Produces plan.md, checklist.md, and actions/ in the active intent directory."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Writing Plans
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
|
|
11
|
+
|
|
12
|
+
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
|
|
13
|
+
|
|
14
|
+
**Announce at start:** "I'm using the writing-plans skill to plan intent {id} — {name}."
|
|
15
|
+
|
|
16
|
+
## Active Intent Gate
|
|
17
|
+
|
|
18
|
+
Before proceeding, resolve the active intent:
|
|
19
|
+
|
|
20
|
+
1. **Detect store:** Read `~/.plastic/projects.yml`, match CWD against registered project paths. If match → project store at `~/.plastic/projects/{slug}/store/`. If no match → global store at `~/.plastic/store/`.
|
|
21
|
+
2. **Find active intent:** Read `INDEX.md` from the detected store. Look under `## Active`. If exactly one → use it. If multiple → ask which. If none → refuse: "No active intent. Create one first with /plastic:creating-intent"
|
|
22
|
+
3. **Resolve intent directory:** `{store}/store/{id}--{slug}/`
|
|
23
|
+
4. **Read spec:** Load `{intent_dir}/spec.md`. If no spec exists → refuse: "No spec found. Run /plastic:brainstorming first."
|
|
24
|
+
|
|
25
|
+
All artifacts go to the intent directory. Never write to external paths.
|
|
26
|
+
|
|
27
|
+
## Scope Check
|
|
28
|
+
|
|
29
|
+
If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
|
|
30
|
+
|
|
31
|
+
## File Structure
|
|
32
|
+
|
|
33
|
+
Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
|
|
34
|
+
|
|
35
|
+
- Design units with clear boundaries and well-defined interfaces. Each file should have one clear responsibility.
|
|
36
|
+
- You reason best about code you can hold in context at once, and your edits are more reliable when files are focused. Prefer smaller, focused files over large ones that do too much.
|
|
37
|
+
- Files that change together should live together. Split by responsibility, not by technical layer.
|
|
38
|
+
- In existing codebases, follow established patterns. If the codebase uses large files, don't unilaterally restructure - but if a file you're modifying has grown unwieldy, including a split in the plan is reasonable.
|
|
39
|
+
|
|
40
|
+
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
|
|
41
|
+
|
|
42
|
+
## Bite-Sized Task Granularity
|
|
43
|
+
|
|
44
|
+
**Each step is one action (2-5 minutes):**
|
|
45
|
+
- "Write the failing test" - step
|
|
46
|
+
- "Run it to make sure it fails" - step
|
|
47
|
+
- "Implement the minimal code to make the test pass" - step
|
|
48
|
+
- "Run the tests and make sure they pass" - step
|
|
49
|
+
- "Commit" - step
|
|
50
|
+
|
|
51
|
+
## Plan Document Header
|
|
52
|
+
|
|
53
|
+
**Every plan MUST start with this header:**
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
# [Feature Name] Implementation Plan
|
|
57
|
+
|
|
58
|
+
> **For agentic workers:** Use `plastic:executing-plan` to implement this plan task-by-task.
|
|
59
|
+
|
|
60
|
+
**Goal:** [One sentence describing what this builds]
|
|
61
|
+
|
|
62
|
+
**Architecture:** [2-3 sentences about approach]
|
|
63
|
+
|
|
64
|
+
**Tech Stack:** [Key technologies/libraries]
|
|
65
|
+
|
|
66
|
+
**Intent:** {id} — {name}
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Task Structure
|
|
72
|
+
|
|
73
|
+
````markdown
|
|
74
|
+
### Task N: [Component Name]
|
|
75
|
+
|
|
76
|
+
**Files:**
|
|
77
|
+
- Create: `exact/path/to/file.rb`
|
|
78
|
+
- Modify: `exact/path/to/existing.rb:123-145`
|
|
79
|
+
- Test: `test/exact/path/to/test.rb`
|
|
80
|
+
|
|
81
|
+
- [ ] **Step 1: Write the failing test**
|
|
82
|
+
|
|
83
|
+
```ruby
|
|
84
|
+
def test_specific_behavior
|
|
85
|
+
result = function(input)
|
|
86
|
+
assert_equal expected, result
|
|
87
|
+
end
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
- [ ] **Step 2: Run test to verify it fails**
|
|
91
|
+
|
|
92
|
+
Run: `ruby -Itest test/path/test.rb --name test_specific_behavior`
|
|
93
|
+
Expected: FAIL with "undefined method"
|
|
94
|
+
|
|
95
|
+
- [ ] **Step 3: Write minimal implementation**
|
|
96
|
+
|
|
97
|
+
```ruby
|
|
98
|
+
def function(input)
|
|
99
|
+
expected
|
|
100
|
+
end
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
- [ ] **Step 4: Run test to verify it passes**
|
|
104
|
+
|
|
105
|
+
Run: `ruby -Itest test/path/test.rb --name test_specific_behavior`
|
|
106
|
+
Expected: PASS
|
|
107
|
+
|
|
108
|
+
- [ ] **Step 5: Commit**
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
git add test/path/test.rb lib/path/file.rb
|
|
112
|
+
git commit -m "feat: add specific feature"
|
|
113
|
+
```
|
|
114
|
+
````
|
|
115
|
+
|
|
116
|
+
## No Placeholders
|
|
117
|
+
|
|
118
|
+
Every step must contain the actual content an engineer needs. These are **plan failures** — never write them:
|
|
119
|
+
- "TBD", "TODO", "implement later", "fill in details"
|
|
120
|
+
- "Add appropriate error handling" / "add validation" / "handle edge cases"
|
|
121
|
+
- "Write tests for the above" (without actual test code)
|
|
122
|
+
- "Similar to Task N" (repeat the code — the engineer may be reading tasks out of order)
|
|
123
|
+
- Steps that describe what to do without showing how (code blocks required for code steps)
|
|
124
|
+
- References to types, functions, or methods not defined in any task
|
|
125
|
+
|
|
126
|
+
## Remember
|
|
127
|
+
- Exact file paths always
|
|
128
|
+
- Complete code in every step — if a step changes code, show the code
|
|
129
|
+
- Exact commands with expected output
|
|
130
|
+
- DRY, YAGNI, TDD, frequent commits
|
|
131
|
+
|
|
132
|
+
## Self-Review
|
|
133
|
+
|
|
134
|
+
After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.
|
|
135
|
+
|
|
136
|
+
**1. Spec coverage:** Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.
|
|
137
|
+
|
|
138
|
+
**2. Placeholder scan:** Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.
|
|
139
|
+
|
|
140
|
+
**3. Type consistency:** Do the types, method signatures, and property names you used in later tasks match what you defined in earlier tasks? A function called `clear_layers` in Task 3 but `clear_full_layers` in Task 7 is a bug.
|
|
141
|
+
|
|
142
|
+
If you find issues, fix them inline. No need to re-review — just fix and move on. If you find a spec requirement with no task, add the task.
|
|
143
|
+
|
|
144
|
+
## Plastic Artifacts
|
|
145
|
+
|
|
146
|
+
After writing `plan.md`, create two additional artifacts in the intent directory:
|
|
147
|
+
|
|
148
|
+
### checklist.md
|
|
149
|
+
|
|
150
|
+
Execution registry with one checkbox per task. Format:
|
|
151
|
+
|
|
152
|
+
```markdown
|
|
153
|
+
# Checklist — Intent {id}: {name}
|
|
154
|
+
|
|
155
|
+
- [ ] Task 1: {task title}
|
|
156
|
+
- [ ] Task 2: {task title}
|
|
157
|
+
- [ ] Task 3: {task title}
|
|
158
|
+
...
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### actions/ACTION_N.md
|
|
162
|
+
|
|
163
|
+
One file per task. Each action is self-contained — a subagent can execute it without reading the plan.
|
|
164
|
+
|
|
165
|
+
```markdown
|
|
166
|
+
# Action {N}: {task title}
|
|
167
|
+
|
|
168
|
+
{Full task text copied from plan.md — all steps, all code, all commands. Nothing omitted.}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
Create the `actions/` directory inside the intent directory: `{intent_dir}/actions/`
|
|
172
|
+
|
|
173
|
+
## Git Commit
|
|
174
|
+
|
|
175
|
+
After writing all artifacts (plan.md, checklist.md, actions/), commit to the store:
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
cd {store_root} && git add . && git commit -m "docs: plan for intent {id} — {name}"
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Execution Handoff
|
|
182
|
+
|
|
183
|
+
Plan complete. Invoke `plastic:executing-plan` to begin execution.
|
package/templates/agents.md
CHANGED
|
@@ -41,6 +41,22 @@ Active/Future/Completed placement is managed in INDEX.md, not in frontmatter.
|
|
|
41
41
|
4. Set frontmatter: `id`, `intent`, `sources` (array — link to governing intent), `chain` (starts empty), `created`, `author`, `tags`
|
|
42
42
|
5. Add `[[global:ID]]` backlink in `## Links`
|
|
43
43
|
|
|
44
|
+
## Lifecycle Skills
|
|
45
|
+
|
|
46
|
+
Plastic has its own lifecycle skills. When a Plastic skill exists for the current phase, use it instead of any external skill (superpowers, superpowers-ruby, etc.).
|
|
47
|
+
|
|
48
|
+
| Phase | Skill | Produces |
|
|
49
|
+
|-------|-------|----------|
|
|
50
|
+
| What | `plastic:creating-intent` | Intent file |
|
|
51
|
+
| Why | `plastic:brainstorming` | `spec.md` |
|
|
52
|
+
| Why | `plastic:research` | `resources/*.md` |
|
|
53
|
+
| Why | `plastic:brainstorming-grill-me` | Deep interrogation |
|
|
54
|
+
| How | `plastic:writing-plans` | `plan.md`, `checklist.md`, `actions/` |
|
|
55
|
+
| Exec | `plastic:executing-plan` | Code + `outcome.md` |
|
|
56
|
+
| Done | `plastic:intent-curator` | Lifecycle transition |
|
|
57
|
+
|
|
58
|
+
**Artifact convention:** ALL lifecycle artifacts go to the active intent directory (`store/{id}--{slug}/`). Never write specs to `docs/superpowers/specs/` or plans to `docs/superpowers/plans/`.
|
|
59
|
+
|
|
44
60
|
## When You're Done
|
|
45
61
|
|
|
46
62
|
When this project satisfies the governing intent's goal, report back. The orchestrator will complete the strategic intent.
|