@pieai/pro-gov 0.4.5 → 0.4.6
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.
|
@@ -53,3 +53,41 @@ the task and the project's real command ladder.
|
|
|
53
53
|
Host plugins that provide external capabilities—such as GitHub, Vercel,
|
|
54
54
|
Supabase, browsers, documents, or device control—remain independent choices.
|
|
55
55
|
PGS does not require them unless a portfolio manifest explicitly declares one.
|
|
56
|
+
|
|
57
|
+
## Who Owns Verification
|
|
58
|
+
|
|
59
|
+
The AI agent executing the task owns verification. Tests do not act on their
|
|
60
|
+
own, and no workflow plugin is required to make the agent run them.
|
|
61
|
+
|
|
62
|
+
Use the target project's real command ladder as evidence: unit tests, type
|
|
63
|
+
checks, builds, browser checks, deployment checks, or documentation checks as
|
|
64
|
+
appropriate. A narrow skill may help when its trigger matches—such as `tdd` for
|
|
65
|
+
an explicitly test-first request or `diagnosing-bugs` for a hard failure—but no
|
|
66
|
+
skill owns ordinary implementation.
|
|
67
|
+
|
|
68
|
+
Beginner version: removing the driving instructor does not remove the car's
|
|
69
|
+
brakes or the driver's duty to check them. Superpowers' mandatory ceremony is
|
|
70
|
+
gone; project-specific verification remains because it proves the change works.
|
|
71
|
+
|
|
72
|
+
## Skill Lifecycle Vocabulary
|
|
73
|
+
|
|
74
|
+
These states are different. Do not use “installed” as a shortcut for all of
|
|
75
|
+
them.
|
|
76
|
+
|
|
77
|
+
| State | Meaning | Context/runtime effect |
|
|
78
|
+
| --- | --- | --- |
|
|
79
|
+
| marketplace-listed | The host can offer the plugin for installation. | None until installed. |
|
|
80
|
+
| cached | Source bytes exist locally for reuse or marketplace display. | Not necessarily enabled or discoverable. |
|
|
81
|
+
| registered | PGS knows the asset id, source, scope, and placement. | Inventory only. |
|
|
82
|
+
| bundled | A reviewed PGS bundle names the asset. | Still not installed in a target. |
|
|
83
|
+
| installed | A host plugin record or managed project/user link exists. | May become discoverable, depending on placement and enablement. |
|
|
84
|
+
| enabled | The host is allowed to load an installed plugin. | Plugin components may be exposed to sessions. |
|
|
85
|
+
| discoverable | The host exposes a skill's name and description to the model. | Small catalog/context cost. |
|
|
86
|
+
| model-invoked | The skill description may trigger automatically on a matching task. | Body loads only when selected. |
|
|
87
|
+
| user-invoked | The user or an explicit flow must request the skill. | No automatic skill-body load. |
|
|
88
|
+
| loaded | The host has read the skill body for the current task. | Full skill instructions affect the current turn. |
|
|
89
|
+
|
|
90
|
+
User-scoped skills are linked once under supported user roots. Project-scoped
|
|
91
|
+
skills are installed through a reviewed asset plan and recorded in the target's
|
|
92
|
+
asset lock. Marketplace catalogs and retired-plugin archives are not installed
|
|
93
|
+
skills.
|
|
@@ -11,38 +11,35 @@
|
|
|
11
11
|
1. All Markdown files under `docs/policy/**/*.md`, including files in
|
|
12
12
|
subdirectories and symlinked shared-rule files.
|
|
13
13
|
2. `docs/governance/boundary.md`
|
|
14
|
-
3.
|
|
15
|
-
4. `docs/governance/doc-agent-rules.md`
|
|
16
|
-
5. `docs/governance/doc-types.md`
|
|
17
|
-
6. The selected agents routing file:
|
|
14
|
+
3. The selected agents routing file:
|
|
18
15
|
- `docs/governance/agents-routing/engineering-runtime-v0.9.md`, or
|
|
19
16
|
- `docs/governance/agents-routing/doc-only-v0.9.md`
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
4. `docs/reference/execution/current-work.md`
|
|
18
|
+
5. Before non-trivial implementation, debugging, release, architecture, or
|
|
22
19
|
migration work, run `pro-gov learn recall --query "<task summary>"` and read
|
|
23
20
|
any relevant prior-learning hits before changing files.
|
|
24
21
|
|
|
22
|
+
When the task creates, edits, moves, deletes, or governs documentation, also
|
|
23
|
+
read `docs/governance/ssot-v0.9.md`,
|
|
24
|
+
`docs/governance/doc-agent-rules.md`, and `docs/governance/doc-types.md` before
|
|
25
|
+
changing governed files.
|
|
26
|
+
|
|
25
27
|
## Governance
|
|
26
28
|
|
|
27
29
|
- Use doc-gov for governed Markdown.
|
|
28
30
|
- Governed Markdown lives under `docs/**` by default.
|
|
29
31
|
- Product artifacts outside `docs/**` are not governed docs unless this project explicitly opts them in.
|
|
30
32
|
- Before creating docs: `pnpm doc-gov find <topic>`.
|
|
31
|
-
- Before claiming doc work complete
|
|
32
|
-
- `pnpm doc-gov
|
|
33
|
-
- `pnpm doc-gov
|
|
34
|
-
- `pnpm doc-gov scan --check`
|
|
35
|
-
- `pnpm doc-gov links`
|
|
36
|
-
- `pnpm doc-gov audit`
|
|
37
|
-
- `pnpm doc-gov doctor`
|
|
33
|
+
- Before claiming doc work complete, run `pnpm doc-gov router-check`, `pnpm
|
|
34
|
+
doc-gov check`, `pnpm doc-gov scan --check`, `pnpm doc-gov links`, `pnpm
|
|
35
|
+
doc-gov audit`, and `pnpm doc-gov doctor`.
|
|
38
36
|
|
|
39
37
|
## Routing
|
|
40
38
|
|
|
41
39
|
- Name this project's adopted profile: `engineering-runtime` or `doc-only`.
|
|
42
|
-
-
|
|
43
|
-
- Before non-trivial work, use Learning Recall. After verified work, use `capture-learning` only when a non-obvious reusable lesson exists.
|
|
40
|
+
- After verified work, use `capture-learning` only when a non-obvious reusable lesson exists.
|
|
44
41
|
- Do not install Stop/SubagentStop workflow reminder hooks.
|
|
45
|
-
-
|
|
42
|
+
- PROFILE_WORKFLOW_NOTE
|
|
46
43
|
|
|
47
44
|
<!-- PGS-ROUTER:END -->
|
|
48
45
|
|
|
@@ -6,7 +6,7 @@ status: stable
|
|
|
6
6
|
canonical: true
|
|
7
7
|
owner: human
|
|
8
8
|
created: 2026-05-09
|
|
9
|
-
last_reviewed: 2026-
|
|
9
|
+
last_reviewed: 2026-07-12
|
|
10
10
|
domain: agents-routing
|
|
11
11
|
tags:
|
|
12
12
|
- agents-routing
|
|
@@ -51,7 +51,6 @@ flowchart TD
|
|
|
51
51
|
|
|
52
52
|
## Rules
|
|
53
53
|
|
|
54
|
-
- Do not ask whether the task needs TDD unless the project has actual runtime code.
|
|
55
54
|
- Prefer SSOT, provenance, and approval clarity over engineering ceremonies.
|
|
56
55
|
- Use AI-in-the-Loop for evidence: inspect source, change one thing, verify the target document or asset path.
|
|
57
56
|
|
package/dist/cli.js
CHANGED
|
@@ -1801,13 +1801,14 @@ function applyStarterFiles(files, profile) {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
function renderAgentsTemplate(template, projectName, profile) {
|
|
1803
1803
|
const selectedRoute = `docs/governance/agents-routing/${profile}-v0.9.md`;
|
|
1804
|
+
const profileWorkflowNote = profile === "doc-only" ? "- Engineering test workflows are not enabled by default for this doc-only project." : "";
|
|
1804
1805
|
return template.replace("# PROJECT_NAME AI Router", `# ${projectName} AI Router`).replace(
|
|
1805
|
-
|
|
1806
|
-
`
|
|
1806
|
+
/\d+\. The selected agents routing file:\n - `docs\/governance\/agents-routing\/engineering-runtime-v0\.9\.md`, or\n - `docs\/governance\/agents-routing\/doc-only-v0\.9\.md`/,
|
|
1807
|
+
`3. The selected agents routing file: \`${selectedRoute}\``
|
|
1807
1808
|
).replace(
|
|
1808
1809
|
"- Name this project's adopted profile: `engineering-runtime` or `doc-only`.",
|
|
1809
1810
|
`- This project adopts the \`${profile}\` profile.`
|
|
1810
|
-
);
|
|
1811
|
+
).replace("- PROFILE_WORKFLOW_NOTE", profileWorkflowNote).replace(/\n{3,}/g, "\n\n");
|
|
1811
1812
|
}
|
|
1812
1813
|
function readFlag(args, flag) {
|
|
1813
1814
|
const index = args.indexOf(flag);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pieai/pro-gov",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Project-level distribution kit for Project Governance System.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@pieai/doc-gov": "^0.4.
|
|
38
|
+
"@pieai/doc-gov": "^0.4.6"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "24.13.2",
|