@pieai/pro-gov 0.4.9 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -148,11 +148,11 @@ pipeline or workflow owner.
148
148
  Before
149
149
  non-trivial implementation, debugging, release, architecture, or portfolio-sync
150
150
  work, run `pro-gov learn recall --query "<task summary>"` and read relevant
151
- `docs/solutions/**` or `CONCEPTS.md` hits before changing files.
151
+ `docs/reference/learnings/**` or `CONCEPTS.md` hits before changing files.
152
152
 
153
153
  After verified work, use the small `capture-learning` skill only when the result
154
154
  will help future work. It calls `pro-gov learn capture` and writes a compact
155
- `docs/solutions/**` record. PGS does not install Stop/SubagentStop reminder
155
+ `docs/reference/learnings/**` record. PGS does not install Stop/SubagentStop reminder
156
156
  hooks or require a completion ceremony.
157
157
 
158
158
  Read the
@@ -167,10 +167,10 @@ Required concepts:
167
167
 
168
168
  - `docs/reference/documentation-map.md`
169
169
  - `docs/governance/boundary.md`
170
- - `docs/governance/ssot-v0.9.md`
170
+ - `docs/governance/ssot-v1.0.md`
171
171
  - `docs/governance/doc-agent-rules.md`
172
172
  - `docs/governance/doc-types.md`
173
- - `docs/governance/agents-routing/<selected-profile>-v0.9.md`
173
+ - `docs/governance/agents-routing/<selected-profile>-v1.0.md`
174
174
  - `docs/governance/templates/*.md`
175
175
  - `docs/policy/best-practice-for-this-project.md`
176
176
  - `docs/reference/execution/current-work.md`
@@ -188,7 +188,7 @@ Required concepts:
188
188
 
189
189
  Add:
190
190
 
191
- - `docs/governance/agents-routing/engineering-runtime-v0.9.md`
191
+ - `docs/governance/agents-routing/engineering-runtime-v1.0.md`
192
192
  - engineering lane summary in `AGENTS.md`
193
193
  - detailed lane profile in `docs/policy/best-practice-for-this-project.md`
194
194
 
@@ -207,7 +207,7 @@ Use PGS Learning Recall before non-trivial work:
207
207
  pro-gov learn recall --query "<task summary>"
208
208
  ```
209
209
 
210
- This reads the project's existing `docs/solutions/**` and `CONCEPTS.md` records.
210
+ This reads the project's existing `docs/reference/learnings/**` and `CONCEPTS.md` records.
211
211
  After verified work, use `capture-learning` only when the result is genuinely
212
212
  reusable. The skill calls `pro-gov learn capture`; no exit hook or completion
213
213
  ceremony is required.
@@ -216,8 +216,8 @@ ceremony is required.
216
216
 
217
217
  Add:
218
218
 
219
- - `docs/governance/agents-routing/doc-only-v0.9.md`
220
- - `docs/governance/ssot-v0.9.md`
219
+ - `docs/governance/agents-routing/doc-only-v1.0.md`
220
+ - `docs/governance/ssot-v1.0.md`
221
221
  - AI-in-the-Loop rules linked from the project's external shared-rule source
222
222
  - canon/provenance/archive rules in `docs/policy/best-practice-for-this-project.md`
223
223
 
@@ -257,8 +257,8 @@ Prompts, generated media notes, project-package canon, source assets, and
257
257
  workbench files stay in their product package unless the project explicitly opts
258
258
  them into doc-gov.
259
259
 
260
- For the v0.9 structural migration, use
261
- `docs/reference/adoption/migration-v0.9.md` as the checklist.
260
+ For the v1.0 structural migration, use
261
+ `docs/reference/adoption/migration-v1.0.md` as the checklist.
262
262
 
263
263
  ## Step 8: Validate
264
264
 
@@ -0,0 +1,77 @@
1
+ ---
2
+ id: REF-MIGRATION-V1-0
3
+ title: Project Governance System v1.0 Migration Checklist
4
+ type: reference
5
+ status: stable
6
+ canonical: true
7
+ owner: human
8
+ created: 2026-07-12
9
+ last_reviewed: 2026-07-12
10
+ domain: adoption
11
+ tags:
12
+ - migration
13
+ - v1.0
14
+ - adr
15
+ - learning-recall
16
+ pinned: false
17
+ related:
18
+ - POLICY-VERSIONING
19
+ - REF-ADOPTION-PLAYBOOK
20
+ ---
21
+
22
+ # v1.0 Migration Checklist
23
+
24
+ Use this checklist when upgrading a v0.9 project. v1.0 removes two parallel
25
+ document systems instead of adding another layer.
26
+
27
+ ## Decision Surface
28
+
29
+ 1. Move every durable decision from `docs/decisions/**` to `docs/adr/**`.
30
+ 2. Rename numbered files to Matt's `NNNN-slug.md` form where practical.
31
+ 3. Preserve useful existing frontmatter; Matt can read richer ADRs, but new ADRs
32
+ may stay as short as a heading plus one decision paragraph.
33
+ 4. Remove external ADR ids from governed documents' `related` arrays. Keep a
34
+ normal Markdown path to the ADR in the body when the relationship matters;
35
+ Doc Gov validates only ids in its governed document graph.
36
+ 5. Remove the empty `docs/decisions/` directory.
37
+ 6. Do not copy or promote ADRs into a second decision directory.
38
+
39
+ ## Learning Surface
40
+
41
+ 1. Review every record under `docs/solutions/**`.
42
+ 2. Delete mechanical, duplicated, unfinished, or CE-only process records.
43
+ 3. Move reusable records to `docs/reference/learnings/<category>/**`.
44
+ 4. Give each retained record normal Doc Gov `reference` frontmatter, including
45
+ a unique id and block-list `tags` rather than CE-era inline tags.
46
+ 5. Remove stale instructions that prefer Compound Engineering or require a
47
+ completion hook.
48
+ 6. Remove the empty `docs/solutions/` directory.
49
+
50
+ `pro-gov learn recall` reads the new governed path. During the v1.0 migration
51
+ window it can still find legacy `docs/solutions/**`, but `learn capture` writes
52
+ only the new path.
53
+
54
+ ## Router Contract
55
+
56
+ Update the project to:
57
+
58
+ - `<!-- PGS-ROUTER:BEGIN v1.0 -->`
59
+ - `docs/governance/ssot-v1.0.md`
60
+ - `docs/governance/agents-routing/<selected-profile>-v1.0.md`
61
+
62
+ Replace the v0.9 files rather than keeping two current router contracts.
63
+
64
+ ## Verification
65
+
66
+ ```bash
67
+ pnpm pro-gov sync --check --profile <engineering-runtime|doc-only>
68
+ pnpm doc-gov check
69
+ pnpm doc-gov router-check
70
+ pnpm doc-gov scan --check
71
+ pnpm doc-gov links
72
+ pnpm doc-gov doctor
73
+ git diff --check
74
+ ```
75
+
76
+ Run the target project's normal typecheck, tests, and build when the migration
77
+ touches an engineering repository.
@@ -30,8 +30,10 @@ Matt-native artifacts remain external to Doc Gov by default:
30
30
  - `.scratch/**`;
31
31
  - GitHub/GitLab issues.
32
32
 
33
- Promote durable truth intentionally into `docs/decisions/**`, `docs/specs/**`,
34
- `docs/plans/**`, `docs/canon/**`, or `docs/reference/**`.
33
+ `docs/adr/**` is the only durable decision surface. Do not copy or promote an
34
+ ADR into a second PGS decision directory. Product truth, requirements,
35
+ implementation plans, and reusable references still belong in
36
+ `docs/canon/**`, `docs/specs/**`, `docs/plans/**`, and `docs/reference/**`.
35
37
 
36
38
  ## Distribution
37
39