@pieai/pro-gov 0.4.3 → 0.4.5

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
 
@@ -73,7 +72,6 @@ What these commands do:
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
74
  | `sync --check` | Strictly compares shared core files, checks project-local seeds for presence, and leaves optional guardrail contents consumer-owned. | 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 |
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 test workflow plugins 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
@@ -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 | do not install | Retired mandatory workflow plugin |
34
+ | Compound Engineering | do not install | Retired; native PGS capture keeps the useful learning loop |
35
+ | Ponytail | do not install | 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,143 +1,40 @@
1
1
  # mattpocock/skills Integration
2
2
 
3
- mattpocock/skills is an external npx skill pack. This repository may install
4
- the pack unchanged, but it does not vendor, rewrite, or fork the skill bodies.
3
+ mattpocock/skills is the optional shared engineering skill library for
4
+ PGS-governed projects. PGS does not vendor or rewrite their bodies; it installs
5
+ the upstream skills unchanged through managed symlinks.
5
6
 
6
- ## The Beginner Version
7
+ ## Trigger Rule
7
8
 
8
- Think of the project as a workshop:
9
+ There is no bootstrap skill and no default workflow owner. Let each skill's own
10
+ narrow description decide when it applies. User-named skills always take
11
+ priority; otherwise invoke a skill only when its documented trigger directly
12
+ matches the task.
9
13
 
10
- - PGS is the traffic desk and filing cabinet.
11
- - Superpowers is the default construction process for engineering work.
12
- - mattpocock/skills is a set of sharp workshop tools for grilling ideas,
13
- modeling domain language, turning decisions into PRDs/issues, and running
14
- specific implementation flows.
15
- - Compound Engineering is the verified-learning notebook written after the work.
14
+ Examples:
16
15
 
17
- Installing a box of tools does not mean every tool runs by itself. PGS decides
18
- the lane first. Superpowers remains the default engineering workflow. Matt
19
- skills may add useful artifacts and focused flows when their trigger fits.
16
+ - a reported hard bug may trigger `diagnosing-bugs`;
17
+ - an explicit branch review may trigger `code-review`;
18
+ - a request for a PRD may trigger `to-prd`;
19
+ - ordinary implementation does not automatically trigger `implement`, `tdd`,
20
+ `grill-me`, or a multi-agent flow.
20
21
 
21
- ## Default Rule
22
+ Skills that require subagents must respect the user's current delegation rule.
22
23
 
23
- For PGS-governed engineering/runtime projects, mattpocock/skills is optional
24
- capability inside the selected lane. It is not the default workflow owner.
24
+ ## Artifact Boundary
25
25
 
26
- Use this order:
26
+ Matt-native artifacts remain external to Doc Gov by default:
27
27
 
28
- 1. PGS routes the task and selects the project lane.
29
- 2. For non-trivial engineering work, run Learning Recall.
30
- 3. Superpowers owns the normal engineering workflow when that lane needs one.
31
- 4. Matt skills may run when the user explicitly invokes a Matt flow or when an
32
- active Matt flow calls one of its helper skills.
33
- 5. The Compound Gate still runs before final reporting.
28
+ - `CONTEXT.md` and `CONTEXT-MAP.md`;
29
+ - `docs/agents/**` and `docs/adr/**`;
30
+ - `.scratch/**`;
31
+ - GitHub/GitLab issues.
34
32
 
35
- Do not make routine work choose between Superpowers and Matt. The useful split
36
- is simpler:
33
+ Promote durable truth intentionally into `docs/decisions/**`, `docs/specs/**`,
34
+ `docs/plans/**`, `docs/canon/**`, or `docs/reference/**`.
37
35
 
38
- - Superpowers owns default engineering discipline.
39
- - Matt owns demand shaping, domain modeling, PRD/issues generation, triage, and
40
- explicitly requested Matt implementation flows.
41
- - CE owns post-work reusable learning.
36
+ ## Distribution
42
37
 
43
- ## Trigger Boundary
44
-
45
- User-invoked Matt skills, such as `/grill-with-docs`, `/to-prd`,
46
- `/to-issues`, `/implement`, `/triage`, and `/ask-matt`, require an explicit
47
- user request or an already active Matt flow that named them.
48
-
49
- Model-invoked Matt helper skills, such as `domain-modeling`, `tdd`,
50
- `code-review`, `research`, and `prototype`, may run only when they support the
51
- current selected lane and do not replace the current workflow owner.
52
-
53
- If a Matt helper and a Superpowers skill both fit, keep the current workflow
54
- owner unless the user explicitly switches. For example:
55
-
56
- - normal feature implementation -> Superpowers remains the default;
57
- - user says `/implement issue 123` -> Matt `/implement` owns that flow;
58
- - user says "grill this idea and make docs" -> Matt `/grill-with-docs` owns
59
- that shaping flow;
60
- - user says "use CE full workflow" -> CE owns the explicitly requested flow.
61
-
62
- ## PGS Central Setup
63
-
64
- The PGS central repository uses these Matt setup choices:
65
-
66
- | Setup item | PGS central value |
67
- | --- | --- |
68
- | Issue tracker | GitHub Issues for `PieAIStudio/ProjectGovernanceSystem` |
69
- | External PRs as request surface | No by default |
70
- | Triage labels | Default Matt labels: `needs-triage`, `needs-info`, `ready-for-agent`, `ready-for-human`, `wontfix` |
71
- | Domain docs layout | Single-context: root `CONTEXT.md` and `docs/adr/**` when Matt creates them |
72
-
73
- The setup files live under `docs/agents/**`. They are Matt-owned external
74
- configuration files, not PGS canonical product truth.
75
-
76
- ## Matt-Owned Artifacts
77
-
78
- The following outputs are Matt-owned external artifacts:
79
-
80
- | Path or surface | Owner | Rule |
81
- | --- | --- | --- |
82
- | `CONTEXT.md` | Matt | Domain glossary/context. Helpful input, not a replacement for `docs/canon/**`. |
83
- | `CONTEXT-MAP.md` | Matt | Multi-context map when a project opts into that layout. |
84
- | `docs/agents/**` | Matt | Per-repo Matt setup: issue tracker, triage labels, domain docs. |
85
- | `docs/adr/**` | Matt | Matt-generated ADRs. Promote manually to `docs/decisions/**` if they become PGS-governed decisions. |
86
- | `.scratch/**` | Matt | Local issue tracker or temporary work surface. Keep project-specific. |
87
- | GitHub/GitLab issues | Matt/project | PRDs, issue breakdowns, triage state. They are work-tracking artifacts, not doc-gov records by themselves. |
88
-
89
- Doc Gov must ignore `docs/agents/**` and `docs/adr/**` as external artifacts.
90
- When a Matt artifact becomes durable PGS truth, promote it into the normal
91
- governed layer:
92
-
93
- - decisions -> `docs/decisions/**`
94
- - specs -> `docs/specs/**`
95
- - plans -> `docs/plans/**`
96
- - canon -> `docs/canon/**`
97
- - references -> `docs/reference/**`
98
-
99
- Do not try to make one file satisfy both Matt's native artifact contract and a
100
- PGS governed document contract.
101
-
102
- ## Downstream Install Rule
103
-
104
- Install or update Matt skills in downstream repositories through the PGS asset
105
- workflow. Do not run `npx skills add mattpocock/skills` inside every downstream
106
- project as an unmanaged one-off.
107
-
108
- The central intake flow is:
109
-
110
- ```bash
111
- pro-gov assets npx add mattpocock/skills --plan --root agent-assets/skills/npx-skills
112
- ```
113
-
114
- Review the plan, then install into the PGS central npx skill root. Downstream
115
- projects receive managed symlinks through the private PGS asset bundle
116
- `mattpocock-skills` and project-local Matt setup files according to their
117
- selected profile and host support.
118
-
119
- ## Verification
120
-
121
- Central verification:
122
-
123
- ```bash
124
- node packages/doc-gov/dist/cli.js router-check
125
- node packages/doc-gov/dist/cli.js check
126
- node packages/doc-gov/dist/cli.js scan --check
127
- git diff --check
128
- ```
129
-
130
- Matt install verification:
131
-
132
- ```bash
133
- test -f agent-assets/skills/npx-skills/skills-lock.json
134
- find agent-assets/skills/npx-skills/.agents/skills -maxdepth 2 -name SKILL.md
135
- ```
136
-
137
- Downstream verification must prove:
138
-
139
- - the target's project router points to its selected profile;
140
- - Matt skills are linked from the managed PGS asset source;
141
- - `docs/agents/**` exists when Matt engineering skills are enabled;
142
- - Doc Gov ignores Matt-owned external artifacts;
143
- - Superpowers, Matt, and CE each keep their documented ownership.
38
+ Maintain the canonical third-party source under
39
+ `agent-assets/skills/npx-skills` and distribute managed symlinks through the
40
+ `mattpocock-skills` asset bundle. Do not install project-local copies.
@@ -8,10 +8,6 @@ required:
8
8
  source: external shared-rule SSOT
9
9
  agents_routing: docs/governance/agents-routing/doc-only-v0.9.md
10
10
  current_work: docs/reference/execution/current-work.md
11
- optional:
12
- compound_engineering: false
13
- directed_development: false
14
- superpowers: false
15
11
  project_local_required:
16
12
  - docs/policy/best-practice-for-this-project.md
17
13
  - canon/provenance/approval boundaries
@@ -19,5 +15,4 @@ project_local_required:
19
15
  not_included:
20
16
  - engineering-runtime agents routing
21
17
  - behavior-critical code lanes
22
- - Superpowers TDD workflow
23
- - Compound Engineering main workflow
18
+ - engineering workflow plugins
@@ -14,8 +14,7 @@ Use for non-runtime projects: IP development, AI media production, research vaul
14
14
  ## Does Not Include By Default
15
15
 
16
16
  - engineering-runtime agents routing
17
- - Directed Development
18
- - Superpowers TDD
17
+ - engineering TDD workflow plugins
19
18
  - behavior-critical code lanes
20
19
 
21
20
  ## Requires Project-Local Rules
@@ -9,10 +9,7 @@ required:
9
9
  agents_routing: docs/governance/agents-routing/engineering-runtime-v0.9.md
10
10
  current_work: docs/reference/execution/current-work.md
11
11
  optional:
12
- compound_engineering: integrations/compound-engineering.md
13
- directed_development: integrations/directed-development.md
14
12
  mattpocock_skills: integrations/mattpocock-skills.md
15
- superpowers: integrations/superpowers.md
16
13
  project_local_required:
17
14
  - docs/policy/best-practice-for-this-project.md
18
15
  - AGENTS.md lane summary
@@ -21,5 +18,4 @@ project_local_required:
21
18
  not_included:
22
19
  - product canon
23
20
  - project-specific runtime rules
24
- - Superpowers plugin body
25
- - Compound Engineering plugin body
21
+ - external workflow plugin bodies