@pieai/pro-gov 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,10 +9,10 @@ Think of Project Governance System as a librarian, traffic desk, and inspection
9
9
  station:
10
10
 
11
11
  - `pro-gov` shows which reusable project-governance parts are present or missing;
12
- - `@pieai/doc-gov` checks documents, routing, links, hooks, and CI;
13
- - Superpowers may provide the engineering process;
14
- - Compound Engineering may provide the post-work learning capture tail;
15
- - Ponytail may provide an optional simplicity review.
12
+ - `@pieai/doc-gov` checks documents, routing, links, guardrails, and CI;
13
+ - the AI host and project checks own normal execution;
14
+ - optional Matt skills trigger only when their narrow descriptions match;
15
+ - `capture-learning` records a reusable lesson only when one exists.
16
16
 
17
17
  The current `pro-gov` release is conservative by design. Public init and sync
18
18
  commands inspect and compare; they do not silently overwrite another project's
@@ -53,7 +53,6 @@ pro-gov init --profile engineering-runtime --dry-run
53
53
  pro-gov init --profile engineering-runtime --apply
54
54
  pro-gov init --profile doc-only --dry-run
55
55
  pro-gov sync --check --profile engineering-runtime
56
- pro-gov sync --apply-host-hooks --profile engineering-runtime
57
56
  pro-gov doctor
58
57
  ```
59
58
 
@@ -72,8 +71,7 @@ What these commands do:
72
71
  | `lens report` | Writes the requested report file. | Only the explicit output |
73
72
  | `init --dry-run` | Shows starter/profile files that would be needed. | No |
74
73
  | `init --apply` | Installs one profile into a fresh target; refuses the whole operation if any target file exists. Optional CI and Lefthook references are not installed. | Yes |
75
- | `sync --check` | Strictly compares shared core files and checks only the presence of project-local seed files. | No |
76
- | `sync --apply-host-hooks` | Merges current PGS Compound Gate entries into engineering-runtime host configs while preserving consumer-owned keys and hooks. | Only the three host config files |
74
+ | `sync --check` | Strictly compares shared core files, checks project-local seeds for presence, and leaves optional guardrail contents consumer-owned. | No |
77
75
  | `doctor` | Checks required packaged assets and whether `doc-gov` is available. | No |
78
76
 
79
77
  ## Full Checkout Commands
@@ -129,71 +127,31 @@ the private-source and public-copy hashes recorded during promotion.
129
127
  reviewable plan in a full upstream checkout.
130
128
  - `pro-gov lens inspect|report` provides read-only inspection and an explicit
131
129
  report output.
132
- - `doc-gov` remains the document, router, manifest, link, hook, CI, and migration
130
+ - `doc-gov` remains the document, router, manifest, link, CI, and migration
133
131
  validator.
134
132
  - Product truth stays in the target project.
135
133
  - `pro-gov init --apply` is intentionally fresh-target only. Existing projects
136
134
  use `--dry-run` and a deliberate migration so local truth is never overwritten.
137
- - Superpowers, Compound Engineering, and Ponytail are external tools, not
138
- bundled runtime dependencies.
135
+ - PGS does not require or bootstrap a workflow plugin.
139
136
  - Optional `hostTooling` entries let `portfolio doctor` verify required Codex or
140
137
  Claude Code plugins. PGS does not install or upgrade those plugins.
141
138
 
142
- ## Recommended Companion Tools
139
+ ## Lightweight Agent Workflow
143
140
 
144
- Superpowers is recommended for engineering/runtime projects that need
145
- brainstorming, plans, TDD, debugging, verification, and worktree discipline.
141
+ The AI host and the target project's proof commands own ordinary work. Matt
142
+ Pocock's skills may be exposed as an optional unchanged library; each skill
143
+ triggers from its own narrow description and does not become a mandatory
144
+ pipeline or workflow owner.
146
145
 
147
- Compound Engineering is recommended for knowledge capture after verified
148
- engineering work. The default PGS pattern is a Compound Gate: run
149
- `ce-compound` when there is reusable learning, or report why compounding was
150
- skipped. Full CE workflows such as `ce-plan`, `ce-work`, and `lfg` remain
151
- explicit user choices.
152
-
153
- PGS Learning Recall is the pre-work companion to that post-work gate. Before
146
+ Before
154
147
  non-trivial implementation, debugging, release, architecture, or portfolio-sync
155
148
  work, run `pro-gov learn recall --query "<task summary>"` and read relevant
156
149
  `docs/solutions/**` or `CONCEPTS.md` hits before changing files.
157
150
 
158
- Engineering-runtime starters include cross-host Stop hooks for Codex,
159
- Claude Code, and Antigravity. Those hooks call `pro-gov host-hook`. The starter
160
- default is `--compound-gate-mode off`: wiring is present, but the hook does not
161
- interrupt the main session. Use `--compound-gate-mode lite` for a short
162
- exit-door reminder, or `--compound-gate-mode strict` for the older blocking
163
- gate.
164
-
165
- When enabled, the hook expects the final report to include either:
166
-
167
- ```text
168
- Compound Gate: ran ce-compound -> <path>
169
- Compound Gate: ran fallback capture -> <path>
170
- Compound Gate: skipped -> <reason>
171
- ```
172
-
173
- Use `ran fallback capture` only when the Compound Engineering plugin or
174
- `ce-compound` skill is unavailable in the current host. It writes a minimal
175
- `docs/solutions/**` learning record through `pro-gov learn capture`; it does
176
- not replace or copy the full CE workflow.
177
-
178
- Use `pro-gov doctor --strict-hooks` after syncing an engineering project to
179
- verify that the host configs are wired. This is a wiring check: it proves the
180
- project calls `pro-gov host-hook` for Codex, Claude Code, and Antigravity. The
181
- host behavior contract is covered by PGS package tests against recorded
182
- per-host Stop/SubagentStop fixtures. Open a fresh AI session after installing or
183
- changing hooks; old sessions may not reload host configuration.
184
-
185
- Antigravity hook commands enable `PGS_HOST_HOOK_DEBUG=1` by default in PGS
186
- starters. The hook writes local diagnostics to `.git/pro-gov-hook-debug/` when
187
- it is actually invoked, including the input summary, decision, and output JSON.
188
- This directory lives inside Git's private metadata so it does not dirty the
189
- worktree. If an Antigravity test does not create a diagnostic file, inspect
190
- whether the host loaded `.agents/hooks.json` before changing PGS policy.
191
- `.pro-gov/assets.json` is only an asset-install manifest; its `host` field does
192
- not control runtime hook dispatch.
193
-
194
- Ponytail can be installed as an optional complexity adviser. Keep its global mode
195
- `off`; test `lite` in one isolated task before considering a stronger mode.
196
- Ponytail must not remove requested scope, tests, safety, accessibility, or proof.
151
+ After verified work, use the small `capture-learning` skill only when the result
152
+ will help future work. It calls `pro-gov learn capture` and writes a compact
153
+ `docs/solutions/**` record. PGS does not install Stop/SubagentStop reminder
154
+ hooks or require a completion ceremony.
197
155
 
198
156
  Read the
199
157
  [full project introduction](https://github.com/PieAIStudio/ProjectGovernanceSystem#readme)
@@ -22,11 +22,10 @@ related:
22
22
 
23
23
  Use this when a project wants to migrate into the Project Governance System.
24
24
 
25
- Before choosing external AI workflow tools, read
25
+ Before choosing optional AI skills, read
26
26
  `docs/reference/adoption/recommended-agent-tooling.md`. It explains which PGS
27
- packages are required, when Superpowers is recommended, how Compound
28
- Engineering's `ce-compound` fits as a post-work learning tail, and why Ponytail
29
- should remain globally `off` until it is tested in an isolated task.
27
+ packages are required, how Matt skills remain trigger-based, and how the small
28
+ native learning-capture path works.
30
29
 
31
30
  ## The Short Version
32
31
 
@@ -79,8 +78,7 @@ Current package-based method:
79
78
  merge local truth deliberately instead of asking PGS to overwrite it
80
79
  - run `pro-gov sync --check --profile <profile>` to compare shared core files;
81
80
  project-local router, policy, documentation map, and current-work files are
82
- checked for presence rather than byte equality; host configs are compared by
83
- PGS-owned entries rather than whole-file equality
81
+ checked for presence rather than byte equality
84
82
  - run `pro-gov assets discover --target <path>` and
85
83
  `pro-gov assets recommend --target <path>` to collect local project signals
86
84
  and suggested agent-asset bundles without changing the project
@@ -93,20 +91,8 @@ Current package-based method:
93
91
  - copy `starter/lefthook.template.yml` to `lefthook.yml` and
94
92
  `starter/.github/workflows/docs-check.yml` to `.github/workflows/docs-check.yml`
95
93
  when the target project is ready for standard guardrails
96
- - for an `engineering-runtime` target, install the three host-hook starter files
97
- or merge their Stop/SubagentStop entries into the target's existing host
98
- config:
99
- - `.codex/hooks.json`
100
- - `.claude/settings.json`
101
- - `.agents/hooks.json`
102
- - prefer `pro-gov sync --apply-host-hooks --profile engineering-runtime` for
103
- that merge; it preserves consumer `PreToolUse`, other events, other top-level
104
- keys, and non-PGS Stop/SubagentStop entries
105
94
  - run `doc-gov doctor` after wiring guardrails to verify they are actually
106
95
  connected
107
- - run `pro-gov doctor --strict-hooks` after wiring host hooks to prove the
108
- target has the expected host-hook configuration for Codex, Claude Code, and
109
- Antigravity
110
96
  - treat the npm package as the CLI source and the local `docs/governance/`
111
97
  files as the project's checked-in governance contract
112
98
 
@@ -116,7 +102,6 @@ pnpm pro-gov init --profile engineering-runtime --dry-run
116
102
  pnpm pro-gov init --profile engineering-runtime --apply
117
103
  pnpm doc-gov scan
118
104
  pnpm pro-gov sync --check --profile engineering-runtime
119
- pnpm pro-gov sync --apply-host-hooks --profile engineering-runtime
120
105
  ```
121
106
 
122
107
  Use `--apply` only for a fresh target. Existing projects normally already own
@@ -211,13 +196,10 @@ The project must define local lanes and proof commands.
211
196
  Do not copy the upstream root `integrations/` directory into target projects by default.
212
197
  If a project needs local external-workflow guidance, keep it thin in `AGENTS.md` or put project-specific notes under `docs/reference/integrations/`.
213
198
 
214
- For engineering projects, keep Superpowers as the default engineering workflow.
215
- Use Compound Engineering by default only as the post-work Compound Gate:
216
- `ce-compound` captures reusable lessons when they exist; otherwise the agent
217
- reports a skip reason. If the current host cannot load the CE plugin, use
218
- `pro-gov learn capture` as the fallback capture path and report
219
- `Compound Gate: ran fallback capture -> <path>`. Full CE workflows require an
220
- explicit user request.
199
+ For engineering projects, normal execution belongs to the AI host and the
200
+ project's own proof commands. Matt Pocock's skills remain available as a
201
+ lightweight library and trigger only when their narrow descriptions match; they
202
+ are not a mandatory pipeline or workflow owner.
221
203
 
222
204
  Use PGS Learning Recall before non-trivial work:
223
205
 
@@ -225,22 +207,10 @@ Use PGS Learning Recall before non-trivial work:
225
207
  pro-gov learn recall --query "<task summary>"
226
208
  ```
227
209
 
228
- This reads the project's existing `docs/solutions/**` and `CONCEPTS.md` records
229
- so prior lessons can shape the work without making Compound Engineering the
230
- default execution workflow.
231
-
232
- The host-hook gate is deliberately small. It does not make Compound Engineering
233
- the main workflow. Starter hooks default to `--compound-gate-mode off`, so they
234
- prove the wiring without interrupting the main session. Switch a target to
235
- `--compound-gate-mode lite` for a short reminder, or `--compound-gate-mode
236
- strict` when a project intentionally wants the old blocking exit gate. In
237
- `lite` or `strict`, the hook checks whether a completion report says one of:
238
-
239
- ```text
240
- Compound Gate: ran ce-compound -> <path>
241
- Compound Gate: ran fallback capture -> <path>
242
- Compound Gate: skipped -> <reason>
243
- ```
210
+ This reads the project's existing `docs/solutions/**` and `CONCEPTS.md` records.
211
+ After verified work, use `capture-learning` only when the result is genuinely
212
+ reusable. The skill calls `pro-gov learn capture`; no exit hook or completion
213
+ ceremony is required.
244
214
 
245
215
  ### Doc-Only
246
216
 
@@ -251,15 +221,9 @@ Add:
251
221
  - AI-in-the-Loop rules linked from the project's external shared-rule source
252
222
  - canon/provenance/archive rules in `docs/policy/best-practice-for-this-project.md`
253
223
 
254
- Do not add Superpowers TDD or Directed Development by default.
255
-
256
- Do not add the Compound Engineering main workflow by default. If CE is installed
257
- in the AI host, doc-only projects should use it only for a real reusable
258
- learning that belongs in that workspace.
259
-
260
- Ponytail is also optional. If it is installed, keep its global mode `off` and
261
- activate it only for a bounded task or review after reading
262
- `integrations/ponytail.md`.
224
+ Do not add engineering TDD workflow plugins or Directed Development by default.
225
+ Use `capture-learning` only for a real reusable lesson that belongs in that
226
+ workspace.
263
227
 
264
228
  ## Step 6: Create Current Work
265
229
 
@@ -301,7 +265,7 @@ For the v0.9 structural migration, use
301
265
  Minimum:
302
266
 
303
267
  ```bash
304
- pnpm pro-gov doctor --strict-hooks
268
+ pnpm pro-gov doctor
305
269
  pnpm doc-gov check
306
270
  pnpm doc-gov router-check
307
271
  pnpm doc-gov scan --check
@@ -311,22 +275,6 @@ pnpm doc-gov doctor
311
275
  git diff --check
312
276
  ```
313
277
 
314
- Use `pro-gov doctor --strict-hooks` for engineering-runtime projects. Doc-only
315
- projects may omit strict host hooks unless they intentionally adopt the
316
- engineering runtime profile.
317
-
318
- `pro-gov doctor --strict-hooks` is a wiring check, not a live host simulation.
319
- It proves the project has hook files that call `pro-gov host-hook`; PGS package
320
- tests prove the expected Stop/SubagentStop behavior for `off`, `lite`, and
321
- `strict` modes across the supported host schemas. After installing or changing
322
- hooks, validate from a fresh AI session.
323
- For Antigravity, a real invocation writes diagnostics under
324
- `.git/pro-gov-hook-debug/` because the starter hook command sets
325
- `PGS_HOST_HOOK_DEBUG=1`. Absence of a diagnostic file after a fresh
326
- Antigravity session usually means the host did not load or run
327
- `.agents/hooks.json`. The `.pro-gov/assets.json` `host` field records asset
328
- placement only; it does not control runtime hook dispatch.
329
-
330
278
  Engineering projects should also run their local verification ladder.
331
279
 
332
280
  ## Example: Migrating A Runtime Product
@@ -2,8 +2,8 @@
2
2
  id: REF-AGENT-WORKFLOW-METHODOLOGY-COMPARISON
3
3
  title: Agent Workflow Methodology Comparison
4
4
  type: reference
5
- status: active
6
- canonical: true
5
+ status: superseded
6
+ canonical: false
7
7
  owner: project
8
8
  created: 2026-07-06
9
9
  last_reviewed: 2026-07-06
@@ -18,10 +18,18 @@ pinned: false
18
18
  related:
19
19
  - REF-PUBLIC-RELEASE-CHECKLIST
20
20
  - REF-DOWNSTREAM-PROJECT-REGISTRY
21
+ superseded_by: REF-RECOMMENDED-AGENT-TOOLING
21
22
  ---
22
23
 
23
24
  # Agent Workflow Methodology Comparison
24
25
 
26
+ > Historical snapshot only. The current decision is documented in
27
+ > [Recommended Agent Tooling](recommended-agent-tooling.md): Superpowers,
28
+ > Compound Engineering, and Ponytail are retired from the installed PGS stack;
29
+ > Matt skills remain a trigger-based library, and `capture-learning` preserves
30
+ > the small reusable-learning loop. The older analysis below is retained as
31
+ > decision history, not current guidance.
32
+
25
33
  本文比较 4 套 AI agent 工作方法,观察时间点是 2026-07-06:
26
34
 
27
35
  1. **Superpowers**
@@ -6,14 +6,12 @@ status: stable
6
6
  canonical: true
7
7
  owner: human
8
8
  created: 2026-06-21
9
- last_reviewed: 2026-06-21
9
+ last_reviewed: 2026-07-12
10
10
  domain: adoption
11
11
  tags:
12
12
  - adoption
13
13
  - tooling
14
- - superpowers
15
- - compound-engineering
16
- - ponytail
14
+ - skills
17
15
  pinned: false
18
16
  related:
19
17
  - REF-ADOPTION-PLAYBOOK
@@ -23,130 +21,35 @@ related:
23
21
 
24
22
  # Recommended Agent Tooling
25
23
 
26
- This page separates what a project needs from what may help it.
24
+ PGS keeps the default path small: Codex and the project router execute normal
25
+ work; tools and skills add capabilities only when their narrow trigger matches.
27
26
 
28
- ## The Beginner Version
27
+ | Tool | Default | Purpose |
28
+ | --- | --- | --- |
29
+ | `@pieai/pro-gov` | required | Profiles, assets, learning recall/capture, portfolio checks |
30
+ | `@pieai/doc-gov` | required | Governed-document and router validation |
31
+ | mattpocock/skills | available | Optional specialist toolbox; no bootstrap or workflow owner |
32
+ | `capture-learning` | available | Save a verified reusable lesson after completed work |
33
+ | Superpowers | not installed | Retired mandatory workflow plugin |
34
+ | Compound Engineering | not installed | Retired; native PGS capture keeps the useful learning loop |
35
+ | Ponytail | not installed | Retired global mode/hooks; ordinary engineering judgment stays lean |
29
36
 
30
- Imagine a school workshop:
31
-
32
- - PGS labels the shelves, routes each job, and checks that the record is complete.
33
- - Superpowers gives the class a reliable build-and-test routine.
34
- - Compound Engineering keeps the class notebook of hard-won lessons.
35
- - Ponytail is the adviser who asks, "Can we make this with fewer unnecessary
36
- parts?"
37
-
38
- Installing every tool does not mean every tool should run all the time.
39
-
40
- ## Recommendation Table
41
-
42
- | Tool | Recommendation | Best fit | Default behavior |
43
- | --- | --- | --- | --- |
44
- | `@pieai/pro-gov` | Required for package-based PGS adoption | Projects adopting PGS starter/profile assets | Use its read-only discovery, init, sync, doctor, and Lens commands. |
45
- | `@pieai/doc-gov` | Required for package-based PGS adoption | All governed PGS projects | Run document, router, manifest, link, hook, and CI checks. |
46
- | Superpowers | Recommended for engineering/runtime projects | Apps, games, services, browser products, and other code-heavy work | Use the matching workflow when the selected PGS lane requires it. |
47
- | Compound Engineering | Recommended for knowledge capture | Engineering projects that benefit from reusable learnings | Default to `ce-compound` as the post-work Compound Gate; use full CE workflows only when explicit. |
48
- | Ponytail | Recommended as an installed, optional adviser | Projects that need help resisting unnecessary complexity | Keep the global mode `off`; activate it explicitly for a bounded task or review. |
49
-
50
- ## Superpowers
51
-
52
- Superpowers owns engineering workflow discipline:
53
-
54
- - brainstorming before creative implementation;
55
- - implementation plans;
56
- - test-driven development;
57
- - systematic debugging;
58
- - verification before completion;
59
- - isolated worktree usage.
60
-
61
- PGS routes the task first. Superpowers then runs inside the selected lane.
62
-
63
- Engineering/runtime projects usually benefit from Superpowers. Doc-only
64
- projects should not inherit the full engineering ceremony unless their current
65
- task actually involves runtime or code behavior.
66
-
67
- Read `integrations/superpowers.md` for the exact boundary.
68
-
69
- ## Compound Engineering
70
-
71
- Compound Engineering is useful for preserving lessons that should make future
72
- work easier. In PGS-governed projects, its default role is the post-work
73
- Compound Gate:
74
-
75
- ```text
76
- Superpowers completes verified work
77
- -> decide with CE criteria whether reusable learning exists
78
- -> run ce-compound or report a skip reason
79
- -> if CE is unavailable in this host, run pro-gov learn capture as fallback
80
- ```
81
-
82
- PGS Learning Recall is the matching pre-work step:
37
+ Before non-trivial work:
83
38
 
84
39
  ```bash
85
40
  pro-gov learn recall --query "<task summary>"
86
41
  ```
87
42
 
88
- It searches `docs/solutions/**` and `CONCEPTS.md` so agents can reuse prior
89
- lessons without making Compound Engineering the default execution workflow.
90
-
91
- The fallback path is deliberately smaller than CE:
43
+ After verified work, `capture-learning` first checks for an existing lesson and
44
+ then calls this only when a new reusable lesson exists:
92
45
 
93
46
  ```bash
94
47
  pro-gov learn capture --title "<learning title>" --summary "<reusable lesson>"
95
48
  ```
96
49
 
97
- Use it only when the CE plugin or skill is unavailable in the current host. It
98
- keeps the lesson searchable by Learning Recall without copying CE's full
99
- workflow into PGS.
100
-
101
- Do not make routine tasks choose between Superpowers and Compound Engineering as
102
- competing default engineering processes. Use CE's full `ce-plan`, `ce-work`, or
103
- `lfg` flow only when the user explicitly asks for it.
104
-
105
- Read `integrations/compound-engineering.md` for artifact ownership and Doc Gov
106
- compatibility.
107
-
108
- ## Ponytail
109
-
110
- Ponytail advises the AI to prefer smaller, less speculative solutions. That can
111
- reduce unnecessary code, files, dependencies, and abstractions.
112
-
113
- Keep its global mode `off`. When a low-risk task needs a simplicity comparison,
114
- test `lite` in an isolated session first. Use `full` only as an optional stress
115
- test after checking that requirements, tests, verification, security,
116
- accessibility, and durable evidence remain intact.
117
-
118
- Ponytail is not a replacement for PGS or Superpowers. Shorter work is valuable
119
- only when it is still the complete, proven work the project asked for.
120
-
121
- Read `integrations/ponytail.md` for the mode policy and comparison protocol.
122
-
123
- ## A Practical Default
124
-
125
- For an engineering/runtime project:
126
-
127
- ```text
128
- install PGS packages
129
- -> keep Superpowers available for engineering workflows
130
- -> run pro-gov learn recall before non-trivial work
131
- -> use Compound Engineering's ce-compound as the post-work learning tail
132
- -> install Ponytail but keep global mode off
133
- -> activate Ponytail only when a bounded simplicity review would help
134
- ```
135
-
136
- For a doc-only project:
137
-
138
- ```text
139
- install PGS packages
140
- -> use doc-only routing and evidence rules
141
- -> add engineering workflow tools only for a real engineering task
142
- -> keep Ponytail optional and off by default
143
- ```
144
-
145
- ## What PGS Does Not Do
50
+ Do not add Stop/SubagentStop workflow reminder hooks. Verification belongs in
51
+ the task and the project's real command ladder.
146
52
 
147
- PGS does not automatically install, enable, update, or remove these external
148
- plugins in another person's AI host. It documents the recommended boundary and
149
- lets each project or user adopt tools deliberately. A user-owned portfolio may
150
- declare required Codex or Claude Code plugin ids in `hostTooling`; `portfolio
151
- doctor` then verifies installed/enabled state and reports observed versions.
152
- The host's native plugin manager remains the installation and update authority.
53
+ Host plugins that provide external capabilities—such as GitHub, Vercel,
54
+ Supabase, browsers, documents, or device control—remain independent choices.
55
+ PGS does not require them unless a portfolio manifest explicitly declares one.
@@ -1,164 +1,11 @@
1
- # Compound Engineering Integration
1
+ # Compound Engineering Integration (Retired)
2
2
 
3
- Compound Engineering is an external plugin/system. This repository does not
4
- vendor, rewrite, or require the Compound Engineering plugin.
3
+ PGS no longer requires the Compound Engineering plugin or a Compound Gate.
5
4
 
6
- ## The Beginner Version
5
+ The retained idea is small: verified work sometimes produces a reusable lesson.
6
+ The PGS-owned `capture-learning` skill decides whether a lesson is worth keeping,
7
+ checks for duplicates, and writes it through `pro-gov learn capture`. There are
8
+ no Stop hooks, modes, plugin configuration, or mandatory final-report ceremony.
7
9
 
8
- Think of an AI project as a workshop:
9
-
10
- - PGS is the traffic desk and filing cabinet.
11
- - Superpowers is the default cooking process for engineering work.
12
- - Compound Engineering's `ce-compound` is the recipe notebook written after a
13
- non-trivial dish is proven to work.
14
- - `pro-gov learn recall` is the recipe-card search before the next dish starts.
15
- - Ponytail is the cost and complexity adviser.
16
-
17
- The default path is one main process with one learning tail. Do not make every
18
- task choose between two construction processes.
19
-
20
- ## Default Rule
21
-
22
- For PGS-governed engineering/runtime projects, Superpowers remains the default
23
- engineering workflow. Compound Engineering is installed for its knowledge
24
- capture loop by default, not as a second default execution engine.
25
-
26
- Use this order:
27
-
28
- 1. PGS routes the task and selects the project lane.
29
- 2. For non-trivial engineering work, run Learning Recall against the task
30
- summary and read relevant prior lessons.
31
- 3. Superpowers handles the normal engineering workflow when that lane needs one.
32
- 4. Ponytail may run as an explicit complexity review when useful.
33
- 5. The agent must pass the Compound Gate before final reporting.
34
- 6. Doc Gov validates governed documentation and ignores CE-owned external
35
- artifacts.
36
-
37
- ## Learning Recall
38
-
39
- CE writes the reusable lesson. PGS recalls it.
40
-
41
- Before non-trivial implementation, debugging, release, architecture, or
42
- portfolio-sync work, run:
43
-
44
- ```bash
45
- pro-gov learn recall --query "<task summary>"
46
- ```
47
-
48
- Read the relevant hits before changing files. A no-hit result is acceptable;
49
- do not scan every `docs/solutions/**` file by hand. The recall command is a
50
- small search surface over `docs/solutions/**` and `CONCEPTS.md`, not a second
51
- workflow engine, vector database, or CE replacement.
52
-
53
- ## Compound Gate
54
-
55
- Every completed non-trivial engineering task must pass the Compound Gate:
56
-
57
- ```text
58
- Was there reusable learning?
59
- -> yes: run compound-engineering:ce-compound
60
- -> yes, but CE is unavailable: run pro-gov learn capture
61
- -> no: report "Compound Gate: skipped" and give the reason
62
- ```
63
-
64
- Use Compound Engineering's own capture criteria when CE is available. PGS
65
- fallback capture exists only so hosts without the CE plugin can still preserve a
66
- searchable lesson. It is a minimal backup path, not a copied CE workflow and not
67
- a separate default process.
68
-
69
- Run `ce-compound` when the completed work produced a reusable lesson, such as:
70
-
71
- - a non-obvious bug diagnosis;
72
- - a repeated pattern or root cause;
73
- - a wrong assumption about a shared dependency, framework, convention, or tool;
74
- - a new reusable architecture, workflow, verification, or tooling pattern;
75
- - owner intent that the lesson should be remembered.
76
-
77
- Skip compounding when the work was:
78
-
79
- - unverified or still in progress;
80
- - a trivial typo or obvious one-line fix;
81
- - mechanical formatting, dependency bumping, or bulk sync work;
82
- - already covered by an existing `docs/solutions/**` learning.
83
-
84
- The skip must be explicit in the final report. This prevents agents from
85
- forgetting the gate while avoiding a low-value knowledge dump.
86
-
87
- If `compound-engineering:ce-compound` is unavailable in the current host, write
88
- a minimal fallback record:
89
-
90
- ```bash
91
- pro-gov learn capture \
92
- --title "<learning title>" \
93
- --summary "<the reusable lesson future agents should recall>"
94
- ```
95
-
96
- The fallback record should capture only verified, reusable learning. It should
97
- not document unfinished work, trivial changes, or lessons already covered by an
98
- existing `docs/solutions/**` record. Report it as:
99
-
100
- ```text
101
- Compound Gate: ran fallback capture -> docs/solutions/<category>/<file>.md
102
- ```
103
-
104
- ## When CE May Own The Main Flow
105
-
106
- Use the full Compound Engineering flow only when the user explicitly names it,
107
- for example `ce-plan`, `ce-work`, `lfg`, or "use Compound Engineering full
108
- workflow."
109
-
110
- Do not auto-select between Superpowers and Compound Engineering for routine
111
- work. Automatic choice adds cognitive load and makes sessions harder to reason
112
- about.
113
-
114
- ## CE-Owned Artifacts
115
-
116
- The following paths are Compound Engineering external artifacts:
117
-
118
- | Path | Owner | Rule |
119
- | --- | --- | --- |
120
- | `docs/solutions/**` | CE | Knowledge store written by `ce-compound`; uses CE frontmatter. |
121
- | `docs/brainstorms/**` | CE | CE brainstorm artifacts; explicit CE use only. |
122
- | `docs/pulse-reports/**` | CE | CE product-pulse reports; explicit CE use only. |
123
- | `docs/plans/*` | CE | CE-native root plan artifacts; explicit CE full workflow only. |
124
-
125
- PGS-owned plans remain:
126
-
127
- ```text
128
- docs/plans/active/**
129
- docs/plans/completed/**
130
- ```
131
-
132
- Doc Gov must not require CE-owned artifacts to use PGS frontmatter. The
133
- directory decides which schema applies:
134
-
135
- ```text
136
- docs/solutions/** and other CE-owned paths -> CE schema
137
- PGS governed docs -> Doc Gov schema
138
- ```
139
-
140
- Do not try to make one YAML block satisfy both systems.
141
-
142
- ## Root Files
143
-
144
- Compound Engineering may read project root files when present, but PGS-governed
145
- projects keep these boundaries:
146
-
147
- | File | Rule |
148
- | --- | --- |
149
- | `STRATEGY.md` | CE must not create or overwrite this by default in PGS-governed projects. Product strategy belongs in the project's canon/control plane unless explicitly adopted. |
150
- | `CONCEPTS.md` | Allowed as a CE vocabulary helper, but it does not replace `docs/canon/**` or project runtime truth. |
151
- | `AGENTS.md` / `CLAUDE.md` | CE discoverability edits must stay short and must not replace the PGS router. |
152
- | `.compound-engineering/config.local.yaml` | Machine-local CE config; keep gitignored. |
153
-
154
- ## Completion Report
155
-
156
- When a task finishes, report one of:
157
-
158
- ```text
159
- Compound Gate: ran ce-compound -> docs/solutions/<category>/<file>.md
160
- Compound Gate: ran fallback capture -> docs/solutions/<category>/<file>.md
161
- Compound Gate: skipped -> <reason>
162
- ```
163
-
164
- This is the durable signal that the learning tail was considered.
10
+ Historical `docs/solutions/**` records remain valid inputs to
11
+ `pro-gov learn recall`.
@@ -4,10 +4,8 @@ Directed Development is an optional workflow for mixed, cross-domain, interdepen
4
4
 
5
5
  It is not the default for every task.
6
6
 
7
- It is not a Superpowers startup adapter and not a second engineering plugin. It
8
- is a small PGS routing rule for cases where product work must be split into
9
- ordered dependency-aware Blocks before the selected lane uses its normal
10
- workflow. Superpowers still owns the engineering process inside that lane.
7
+ It is a small PGS routing rule for cases where product work must be split into
8
+ ordered dependency-aware Blocks before execution.
11
9
 
12
10
  ## Boundary
13
11
 
@@ -21,7 +19,7 @@ Directed Development may define:
21
19
  Directed Development must not define:
22
20
 
23
21
  - artifact locations
24
- - Superpowers skill invocation rules
22
+ - optional skill invocation rules
25
23
  - project document paths
26
24
  - project lane names
27
25
  - runtime truth
@@ -33,7 +31,7 @@ not replace the project router.
33
31
 
34
32
  BDD-style scenarios are allowed only as acceptance language for a DD Block. They
35
33
  do not turn Directed Development into a default BDD ceremony and do not replace
36
- Superpowers TDD, debugging, or verification workflows.
34
+ project-specific testing, debugging, or verification.
37
35
 
38
36
  ## Trigger
39
37