@pieai/pro-gov 0.4.8 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/assets/docs/reference/adoption/adoption-playbook.md +8 -8
- package/assets/docs/reference/adoption/migration-v1.0.md +73 -0
- package/assets/integrations/mattpocock-skills.md +4 -2
- package/assets/portfolio-dashboard/app.css +1 -1
- package/assets/portfolio-dashboard/app.js +6 -6
- package/assets/profiles/doc-only/manifest.yml +1 -1
- package/assets/profiles/doc-only/profile.md +2 -2
- package/assets/profiles/engineering-runtime/manifest.yml +1 -1
- package/assets/profiles/engineering-runtime/profile.md +3 -3
- package/assets/starter/AGENTS.template.md +2 -2
- package/assets/starter/docs/governance/agents-routing/{doc-only-v0.9.md → doc-only-v1.0.md} +4 -4
- package/assets/starter/docs/governance/agents-routing/{engineering-runtime-v0.9.md → engineering-runtime-v1.0.md} +4 -4
- package/assets/starter/docs/governance/boundary.md +6 -4
- package/assets/starter/docs/governance/doc-agent-rules.md +3 -7
- package/assets/starter/docs/governance/doc-types.md +2 -6
- package/assets/starter/docs/governance/{ssot-v0.9.md → ssot-v1.0.md} +12 -9
- package/assets/starter/docs/governance/templates/adr.md +2 -22
- package/assets/starter/docs/reference/documentation-map.md +7 -7
- package/cli-guide.md +2 -2
- package/dist/cli.js +274 -41
- package/package.json +2 -2
- package/assets/starter/docs/decisions/.gitkeep +0 -1
|
@@ -6,7 +6,7 @@ required:
|
|
|
6
6
|
ai_in_the_loop:
|
|
7
7
|
target: docs/policy/shared-rules/ai-in-the-loop.md
|
|
8
8
|
source: external shared-rule SSOT
|
|
9
|
-
agents_routing: docs/governance/agents-routing/doc-only-
|
|
9
|
+
agents_routing: docs/governance/agents-routing/doc-only-v1.0.md
|
|
10
10
|
current_work: docs/reference/execution/current-work.md
|
|
11
11
|
project_local_required:
|
|
12
12
|
- docs/policy/best-practice-for-this-project.md
|
|
@@ -6,9 +6,9 @@ Use for non-runtime projects: IP development, AI media production, research vaul
|
|
|
6
6
|
|
|
7
7
|
- `packages/doc-gov`
|
|
8
8
|
- `packages/pro-gov`
|
|
9
|
-
- `docs/governance/ssot-
|
|
9
|
+
- `docs/governance/ssot-v1.0.md`
|
|
10
10
|
- external AI-in-the-Loop policy linked by target projects under `docs/policy/shared-rules/ai-in-the-loop.md`
|
|
11
|
-
- `docs/governance/agents-routing/doc-only-
|
|
11
|
+
- `docs/governance/agents-routing/doc-only-v1.0.md`
|
|
12
12
|
- starter `docs/governance/` and `docs/policy/` templates
|
|
13
13
|
|
|
14
14
|
## Does Not Include By Default
|
|
@@ -6,7 +6,7 @@ required:
|
|
|
6
6
|
ai_in_the_loop:
|
|
7
7
|
target: docs/policy/shared-rules/ai-in-the-loop.md
|
|
8
8
|
source: external shared-rule SSOT
|
|
9
|
-
agents_routing: docs/governance/agents-routing/engineering-runtime-
|
|
9
|
+
agents_routing: docs/governance/agents-routing/engineering-runtime-v1.0.md
|
|
10
10
|
current_work: docs/reference/execution/current-work.md
|
|
11
11
|
optional:
|
|
12
12
|
mattpocock_skills: integrations/mattpocock-skills.md
|
|
@@ -6,9 +6,9 @@ Use for code-heavy projects: apps, games, runtimes, services, browser products,
|
|
|
6
6
|
|
|
7
7
|
- `packages/doc-gov`
|
|
8
8
|
- `packages/pro-gov`
|
|
9
|
-
- `docs/governance/ssot-
|
|
9
|
+
- `docs/governance/ssot-v1.0.md`
|
|
10
10
|
- external AI-in-the-Loop policy linked by target projects under `docs/policy/shared-rules/ai-in-the-loop.md`
|
|
11
|
-
- `docs/governance/agents-routing/engineering-runtime-
|
|
11
|
+
- `docs/governance/agents-routing/engineering-runtime-v1.0.md`
|
|
12
12
|
- `integrations/mattpocock-skills.md`
|
|
13
13
|
- starter `docs/governance/` and `docs/policy/` templates
|
|
14
14
|
|
|
@@ -41,6 +41,6 @@ guardrails are also consumer-owned when installed; `doc-gov doctor` checks that
|
|
|
41
41
|
their required governance commands remain present.
|
|
42
42
|
|
|
43
43
|
For non-trivial engineering work, run `pro-gov learn recall --query "<task
|
|
44
|
-
summary>"` before changing files so existing `docs/
|
|
44
|
+
summary>"` before changing files so existing `docs/reference/learnings/**` and
|
|
45
45
|
`CONCEPTS.md` lessons can shape the work. After verified work, use the
|
|
46
46
|
`capture-learning` skill only when a reusable lesson exists.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## PGS Router Block
|
|
4
4
|
|
|
5
|
-
<!-- PGS-ROUTER:BEGIN
|
|
5
|
+
<!-- PGS-ROUTER:BEGIN v1.0 -->
|
|
6
6
|
|
|
7
7
|
## Boundary
|
|
8
8
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
## Documentation Tasks
|
|
20
20
|
|
|
21
21
|
When the task creates, edits, moves, deletes, or governs documentation, read
|
|
22
|
-
`docs/governance/boundary.md`, `docs/governance/ssot-
|
|
22
|
+
`docs/governance/boundary.md`, `docs/governance/ssot-v1.0.md`,
|
|
23
23
|
`docs/governance/doc-agent-rules.md`, `docs/governance/doc-types.md`, the
|
|
24
24
|
selected agents routing file, and all Markdown under `docs/policy/**/*.md`.
|
|
25
25
|
That policy set includes subdirectories and symlinked shared-rule files; keep
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
id: GOV-AGENTS-ROUTING-DOC-ONLY-
|
|
3
|
-
title: Doc-Only Agents Routing
|
|
2
|
+
id: GOV-AGENTS-ROUTING-DOC-ONLY-V1-0
|
|
3
|
+
title: Doc-Only Agents Routing v1.0
|
|
4
4
|
type: policy
|
|
5
5
|
status: stable
|
|
6
6
|
canonical: true
|
|
@@ -14,13 +14,13 @@ tags:
|
|
|
14
14
|
- workflow
|
|
15
15
|
pinned: true
|
|
16
16
|
related:
|
|
17
|
-
- GOV-SSOT-
|
|
17
|
+
- GOV-SSOT-V1-0
|
|
18
18
|
- REF-DOC-GOVERNANCE-BOUNDARY
|
|
19
19
|
supersedes: []
|
|
20
20
|
superseded_by: null
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
# Doc-Only Agents Routing
|
|
23
|
+
# Doc-Only Agents Routing v1.0
|
|
24
24
|
|
|
25
25
|
Shared routing algorithm for non-runtime projects such as AI media, IP development, research, and asset governance workspaces.
|
|
26
26
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
id: GOV-AGENTS-ROUTING-ENGINEERING-RUNTIME-
|
|
3
|
-
title: Engineering Runtime Agents Routing
|
|
2
|
+
id: GOV-AGENTS-ROUTING-ENGINEERING-RUNTIME-V1-0
|
|
3
|
+
title: Engineering Runtime Agents Routing v1.0
|
|
4
4
|
type: policy
|
|
5
5
|
status: stable
|
|
6
6
|
canonical: true
|
|
@@ -14,13 +14,13 @@ tags:
|
|
|
14
14
|
- workflow
|
|
15
15
|
pinned: true
|
|
16
16
|
related:
|
|
17
|
-
- GOV-SSOT-
|
|
17
|
+
- GOV-SSOT-V1-0
|
|
18
18
|
- REF-DOC-GOVERNANCE-BOUNDARY
|
|
19
19
|
supersedes: []
|
|
20
20
|
superseded_by: null
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
# Engineering Runtime Agents Routing
|
|
23
|
+
# Engineering Runtime Agents Routing v1.0
|
|
24
24
|
|
|
25
25
|
Shared routing algorithm for app, game, runtime, and code-heavy projects.
|
|
26
26
|
|
|
@@ -53,13 +53,14 @@ project-specific AI development habits live.
|
|
|
53
53
|
| --- | --- |
|
|
54
54
|
| AI startup entry | `AGENTS.md` |
|
|
55
55
|
| Agent routing algorithm | `docs/governance/agents-routing/` |
|
|
56
|
-
| Governed SSOT rules | `docs/governance/ssot-
|
|
56
|
+
| Governed SSOT rules | `docs/governance/ssot-v1.0.md` |
|
|
57
57
|
| Project AI development practices | `docs/policy/best-practice-for-this-project.md` |
|
|
58
58
|
| Current work index | `docs/reference/execution/current-work.md` |
|
|
59
59
|
| Product or world truth | `docs/canon/` |
|
|
60
|
+
| Durable decisions | `docs/adr/`, the single Matt-compatible decision surface |
|
|
60
61
|
| Active implementation work | `docs/plans/active/` |
|
|
61
62
|
| Completed proof records | `docs/plans/completed/` |
|
|
62
|
-
| Reusable project learnings | `docs/
|
|
63
|
+
| Reusable project learnings | `docs/reference/learnings/**` as governed reference documents |
|
|
63
64
|
| Product artifacts outside governed docs | Project package, workbench, assets, runtime config, or source tree |
|
|
64
65
|
|
|
65
66
|
When unsure, ask this question: is this rule about how the document system works,
|
|
@@ -76,5 +77,6 @@ product packages, workbenches, prompt libraries, source folders, or asset
|
|
|
76
77
|
folders can be product artifacts. Keep those files where the product package
|
|
77
78
|
expects them unless a project explicitly opts them into doc-gov.
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
Matt-native files under `docs/adr/**` and `docs/agents/**` are not governed docs
|
|
81
|
+
by default. `docs/adr/**` is nevertheless the only durable decision surface;
|
|
82
|
+
do not copy ADRs into a second PGS decision directory.
|
|
@@ -42,7 +42,6 @@ If a canonical document exists, update it instead of creating a parallel documen
|
|
|
42
42
|
Use only:
|
|
43
43
|
|
|
44
44
|
- `policy`
|
|
45
|
-
- `decision`
|
|
46
45
|
- `spec`
|
|
47
46
|
- `plan`
|
|
48
47
|
- `canon`
|
|
@@ -57,14 +56,11 @@ Normal documents:
|
|
|
57
56
|
draft -> active -> completed -> stable -> superseded -> archived
|
|
58
57
|
```
|
|
59
58
|
|
|
60
|
-
Decision documents:
|
|
61
|
-
|
|
62
|
-
```text
|
|
63
|
-
proposed -> accepted -> rejected | superseded
|
|
64
|
-
```
|
|
65
|
-
|
|
66
59
|
`completed` is for finished execution records or specs that should no longer appear in active folders.
|
|
67
60
|
|
|
61
|
+
Durable decisions belong only in `docs/adr/**`. They use Matt's concise ADR
|
|
62
|
+
format and remain outside the Doc Gov status machine.
|
|
63
|
+
|
|
68
64
|
## Upstream Rule
|
|
69
65
|
|
|
70
66
|
Do not locally invent doc-gov core changes. Propose core changes upstream in
|
|
@@ -28,7 +28,6 @@ Allowed types:
|
|
|
28
28
|
| Type | Default path |
|
|
29
29
|
| --- | --- |
|
|
30
30
|
| `policy` | `docs/policy/` for project policy; `docs/governance/` for doc-system policy |
|
|
31
|
-
| `decision` | `docs/decisions/` |
|
|
32
31
|
| `spec` | `docs/specs/active/` or `docs/specs/completed/` |
|
|
33
32
|
| `plan` | `docs/plans/active/` or `docs/plans/completed/` |
|
|
34
33
|
| `canon` | `docs/canon/` |
|
|
@@ -43,8 +42,5 @@ Normal documents use:
|
|
|
43
42
|
draft -> active -> completed -> stable -> superseded -> archived
|
|
44
43
|
```
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
```text
|
|
49
|
-
proposed -> accepted -> rejected | superseded
|
|
50
|
-
```
|
|
45
|
+
Durable decisions use the Matt-compatible `docs/adr/**` surface and stay
|
|
46
|
+
outside the Doc Gov schema. Do not duplicate them in another decision folder.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
id: GOV-SSOT-
|
|
3
|
-
title: SSOT Documentation Governance Rules
|
|
2
|
+
id: GOV-SSOT-V1-0
|
|
3
|
+
title: SSOT Documentation Governance Rules v1.0
|
|
4
4
|
type: policy
|
|
5
5
|
status: stable
|
|
6
6
|
canonical: true
|
|
@@ -19,7 +19,7 @@ supersedes: []
|
|
|
19
19
|
superseded_by: null
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
-
# SSOT Documentation Governance Rules
|
|
22
|
+
# SSOT Documentation Governance Rules v1.0
|
|
23
23
|
|
|
24
24
|
This rule defines how projects using Project Governance System handle
|
|
25
25
|
**SSOT (Single Source of Truth)** for governed documentation.
|
|
@@ -37,7 +37,7 @@ Project Governance System governs:
|
|
|
37
37
|
- `AGENTS.md` and equivalent AI entry files.
|
|
38
38
|
- Governed Markdown under `docs/**`.
|
|
39
39
|
- Documentation governance rules, agent routing rules, templates, manifests,
|
|
40
|
-
plans, specs,
|
|
40
|
+
plans, specs, references, canon, and archives that live under
|
|
41
41
|
`docs/**`.
|
|
42
42
|
|
|
43
43
|
Project Governance System does **not** automatically govern every Markdown file
|
|
@@ -50,10 +50,12 @@ Markdown.
|
|
|
50
50
|
|
|
51
51
|
Extra governed roots are allowed only when a project explicitly opts in.
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
schema:
|
|
53
|
+
Matt-native and optional-tool artifacts are explicitly outside the default Doc
|
|
54
|
+
Gov schema:
|
|
55
55
|
|
|
56
|
-
- `
|
|
56
|
+
- `CONTEXT.md` and `CONTEXT-MAP.md`
|
|
57
|
+
- `docs/adr/**`
|
|
58
|
+
- `docs/agents/**`
|
|
57
59
|
- `docs/brainstorms/**`
|
|
58
60
|
- `docs/pulse-reports/**`
|
|
59
61
|
|
|
@@ -83,7 +85,7 @@ Before changing docs, look for project-local guidance in this order:
|
|
|
83
85
|
|
|
84
86
|
1. `AGENTS.md`, `CLAUDE.md`, or equivalent AI router/config adapter.
|
|
85
87
|
2. `docs/governance/boundary.md`.
|
|
86
|
-
3. `docs/governance/ssot-
|
|
88
|
+
3. `docs/governance/ssot-v1.0.md`.
|
|
87
89
|
4. `docs/governance/agents-routing/` and the project's selected agents-routing file.
|
|
88
90
|
5. `docs/reference/documentation-map.md`, root `README.md` for human-facing
|
|
89
91
|
orientation, or another project-defined documentation index.
|
|
@@ -114,9 +116,10 @@ works for governed docs:
|
|
|
114
116
|
| Agents-routing rules | `docs/governance/agents-routing/` |
|
|
115
117
|
| Doc-system rules, templates, and manifest | `docs/governance/` |
|
|
116
118
|
| Project AI/development policy | `docs/policy/` |
|
|
119
|
+
| Durable decisions | `docs/adr/`, the single Matt-compatible decision surface outside Doc Gov schema |
|
|
117
120
|
| Product or feature requirement | `docs/specs/` |
|
|
118
121
|
| Step-by-step implementation work | `docs/plans/` |
|
|
119
|
-
| Reusable learning records | `docs/
|
|
122
|
+
| Reusable learning records | `docs/reference/learnings/**`, governed as `reference` documents and recalled on demand |
|
|
120
123
|
| Durable workspace/system truth | `docs/canon/` |
|
|
121
124
|
| How-to guides, architecture maps, tool notes | `docs/reference/` |
|
|
122
125
|
| Retired governed history | `docs/archive/` |
|
|
@@ -1,23 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
id: REPLACE-ME
|
|
3
|
-
title: Replace Me
|
|
4
|
-
type: decision
|
|
5
|
-
status: proposed
|
|
6
|
-
canonical: true
|
|
7
|
-
owner: human
|
|
8
|
-
created: YYYY-MM-DD
|
|
9
|
-
last_reviewed: YYYY-MM-DD
|
|
10
|
-
domain: meta
|
|
11
|
-
tags:
|
|
12
|
-
- replace-me
|
|
13
|
-
pinned: false
|
|
14
|
-
related: []
|
|
15
|
-
---
|
|
1
|
+
# Replace Me
|
|
16
2
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Context
|
|
20
|
-
|
|
21
|
-
## Decision
|
|
22
|
-
|
|
23
|
-
## Consequences
|
|
3
|
+
Record the context, decision, and why in one to three sentences.
|
|
@@ -24,10 +24,10 @@ Use `AGENTS.md` for startup reading. It should point agents to:
|
|
|
24
24
|
|
|
25
25
|
- `docs/policy/*.md`
|
|
26
26
|
- `docs/governance/boundary.md`
|
|
27
|
-
- `docs/governance/ssot-
|
|
27
|
+
- `docs/governance/ssot-v1.0.md`
|
|
28
28
|
- `docs/governance/doc-agent-rules.md`
|
|
29
29
|
- `docs/governance/doc-types.md`
|
|
30
|
-
- `docs/governance/agents-routing/<selected-profile>-
|
|
30
|
+
- `docs/governance/agents-routing/<selected-profile>-v1.0.md`
|
|
31
31
|
- `docs/reference/execution/current-work.md`
|
|
32
32
|
|
|
33
33
|
## Areas
|
|
@@ -35,12 +35,12 @@ Use `AGENTS.md` for startup reading. It should point agents to:
|
|
|
35
35
|
| Area | Purpose |
|
|
36
36
|
| --- | --- |
|
|
37
37
|
| `docs/policy/` | Project policy and AI development rules |
|
|
38
|
-
| `docs/
|
|
38
|
+
| `docs/adr/` | The single Matt-compatible durable decision surface, outside Doc Gov schema |
|
|
39
39
|
| `docs/specs/active/` | Active requirements |
|
|
40
40
|
| `docs/specs/completed/` | Completed specs |
|
|
41
41
|
| `docs/plans/active/` | Active implementation plans |
|
|
42
42
|
| `docs/plans/completed/` | Completed execution records |
|
|
43
|
-
| `docs/
|
|
43
|
+
| `docs/reference/learnings/` | Governed reusable learning references, recalled only when relevant |
|
|
44
44
|
| `docs/canon/` | Durable project truth |
|
|
45
45
|
| `docs/reference/` | Guides and references |
|
|
46
46
|
| `docs/archive/` | Retired history |
|
|
@@ -51,6 +51,6 @@ project-package canon, generated media notes, and source-package files stay in
|
|
|
51
51
|
their product/workbench structure unless this project explicitly opts them into
|
|
52
52
|
doc-gov.
|
|
53
53
|
|
|
54
|
-
Optional skills may create `docs/
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
Optional skills may create `docs/brainstorms/**` or `docs/pulse-reports/**` as
|
|
55
|
+
external artifacts. Capture Learning writes governed references under
|
|
56
|
+
`docs/reference/learnings/**`.
|
package/cli-guide.md
CHANGED
|
@@ -48,7 +48,7 @@ commands without requiring byte-for-byte template equality. It infers the
|
|
|
48
48
|
installed profile when exactly one route exists; `--profile` resolves an empty
|
|
49
49
|
or temporarily ambiguous target. PGS does not install or modify AI-host hooks.
|
|
50
50
|
|
|
51
|
-
`learn recall` searches `docs/
|
|
51
|
+
`learn recall` searches `docs/reference/learnings/**` and
|
|
52
52
|
`CONCEPTS.md` in the target repository and returns the most relevant prior
|
|
53
53
|
lessons for the current task. Use it before non-trivial implementation,
|
|
54
54
|
debugging, release, architecture, or portfolio-sync work. It is read-only and
|
|
@@ -56,7 +56,7 @@ does not require a full local PGS checkout.
|
|
|
56
56
|
|
|
57
57
|
`learn capture` is the small native capture path. Use it only after verified
|
|
58
58
|
work produced a reusable lesson that is not already covered by an existing
|
|
59
|
-
`docs/
|
|
59
|
+
`docs/reference/learnings/**` record:
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
62
|
pro-gov learn capture \
|