@pieai/doc-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 +3 -3
- package/cli-guide.md +2 -2
- package/dist/cli.js +6 -59
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,9 +52,9 @@ It does not try to swallow product artifacts, prompts, generated media,
|
|
|
52
52
|
runtime notes, or source assets outside `docs/**` unless a project explicitly
|
|
53
53
|
opts them into doc-gov.
|
|
54
54
|
|
|
55
|
-
It also recognizes
|
|
56
|
-
outside the Doc Gov schema.
|
|
57
|
-
|
|
55
|
+
It also recognizes reusable learning artifacts under `docs/solutions/**` as
|
|
56
|
+
outside the Doc Gov schema. They use the compact learning-record frontmatter,
|
|
57
|
+
not Doc Gov frontmatter.
|
|
58
58
|
|
|
59
59
|
## Status
|
|
60
60
|
|
package/cli-guide.md
CHANGED
|
@@ -53,8 +53,8 @@ pnpm doc-gov migrate --profile doc-only --check
|
|
|
53
53
|
`router-check` is intentionally thin:
|
|
54
54
|
|
|
55
55
|
- In this upstream repo, it verifies that `AGENTS.md`,
|
|
56
|
-
`docs/governance/agents-routing/`, `profiles
|
|
57
|
-
|
|
56
|
+
`docs/governance/agents-routing/`, and `profiles/` stay connected in the
|
|
57
|
+
expected order.
|
|
58
58
|
- In a downstream project, it verifies the project router block,
|
|
59
59
|
`docs/governance/ssot-v0.9.md`, the selected agents-routing file, and old
|
|
60
60
|
shared SSOT/task-routing leftovers.
|
package/dist/cli.js
CHANGED
|
@@ -912,8 +912,6 @@ var CENTRAL_REQUIRED_FILES = [
|
|
|
912
912
|
"docs/governance/templates/archive.md",
|
|
913
913
|
"docs/governance/agents-routing/engineering-runtime-v0.9.md",
|
|
914
914
|
"docs/governance/agents-routing/doc-only-v0.9.md",
|
|
915
|
-
"integrations/superpowers.md",
|
|
916
|
-
"integrations/directed-development.md",
|
|
917
915
|
"integrations/mattpocock-skills.md",
|
|
918
916
|
"profiles/engineering-runtime/profile.md",
|
|
919
917
|
"profiles/engineering-runtime/manifest.yml",
|
|
@@ -970,8 +968,7 @@ var ROUTER_BLOCK_END = "<!-- PGS-ROUTER:END -->";
|
|
|
970
968
|
var EXTERNAL_ROUTER_MARKERS = [
|
|
971
969
|
"## gstack",
|
|
972
970
|
"## GStack",
|
|
973
|
-
"## Skill routing"
|
|
974
|
-
"## Superpowers"
|
|
971
|
+
"## Skill routing"
|
|
975
972
|
];
|
|
976
973
|
var CENTRAL_REQUIRED_NEEDLES = [
|
|
977
974
|
{
|
|
@@ -1019,21 +1016,6 @@ var CENTRAL_REQUIRED_NEEDLES = [
|
|
|
1019
1016
|
needle: "docs/governance/agents-routing/doc-only-v0.9.md",
|
|
1020
1017
|
message: "AGENTS.md must mention docs/governance/agents-routing/doc-only-v0.9.md."
|
|
1021
1018
|
},
|
|
1022
|
-
{
|
|
1023
|
-
file: "AGENTS.md",
|
|
1024
|
-
needle: "integrations/superpowers.md",
|
|
1025
|
-
message: "AGENTS.md must mention integrations/superpowers.md."
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
file: "AGENTS.md",
|
|
1029
|
-
needle: "integrations/directed-development.md",
|
|
1030
|
-
message: "AGENTS.md must mention integrations/directed-development.md."
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
file: "AGENTS.md",
|
|
1034
|
-
needle: "integrations/mattpocock-skills.md",
|
|
1035
|
-
message: "AGENTS.md must mention integrations/mattpocock-skills.md."
|
|
1036
|
-
},
|
|
1037
1019
|
{
|
|
1038
1020
|
file: "AGENTS.md",
|
|
1039
1021
|
needle: "profiles/engineering-runtime/",
|
|
@@ -1049,11 +1031,6 @@ var CENTRAL_REQUIRED_NEEDLES = [
|
|
|
1049
1031
|
needle: "docs/governance/agents-routing/",
|
|
1050
1032
|
message: "README.md must point readers to agents-routing under docs/governance/."
|
|
1051
1033
|
},
|
|
1052
|
-
{
|
|
1053
|
-
file: "docs/governance/agents-routing/engineering-runtime-v0.9.md",
|
|
1054
|
-
needle: "Use matching Superpowers workflow if applicable",
|
|
1055
|
-
message: "Engineering routing must delegate Superpowers only inside the selected lane."
|
|
1056
|
-
},
|
|
1057
1034
|
{
|
|
1058
1035
|
file: "docs/governance/agents-routing/engineering-runtime-v0.9.md",
|
|
1059
1036
|
needle: "current-work.md",
|
|
@@ -1061,28 +1038,8 @@ var CENTRAL_REQUIRED_NEEDLES = [
|
|
|
1061
1038
|
},
|
|
1062
1039
|
{
|
|
1063
1040
|
file: "docs/governance/agents-routing/doc-only-v0.9.md",
|
|
1064
|
-
needle: "does not use
|
|
1065
|
-
message: "Doc-only routing must exclude engineering
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
file: "integrations/superpowers.md",
|
|
1069
|
-
needle: "Agents routing classifies first",
|
|
1070
|
-
message: "Superpowers integration must state that agents routing classifies first."
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
file: "integrations/superpowers.md",
|
|
1074
|
-
needle: "Superpowers executes inside the selected lane",
|
|
1075
|
-
message: "Superpowers integration must state that Superpowers executes inside the lane."
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
file: "integrations/superpowers.md",
|
|
1079
|
-
needle: "does not vendor",
|
|
1080
|
-
message: "Superpowers integration must preserve the external-plugin boundary."
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
file: "integrations/directed-development.md",
|
|
1084
|
-
needle: "optional workflow",
|
|
1085
|
-
message: "Directed Development integration must stay optional."
|
|
1041
|
+
needle: "does not use engineering test workflows by default",
|
|
1042
|
+
message: "Doc-only routing must exclude engineering test workflows by default."
|
|
1086
1043
|
},
|
|
1087
1044
|
{
|
|
1088
1045
|
file: "integrations/mattpocock-skills.md",
|
|
@@ -1091,8 +1048,8 @@ var CENTRAL_REQUIRED_NEEDLES = [
|
|
|
1091
1048
|
},
|
|
1092
1049
|
{
|
|
1093
1050
|
file: "integrations/mattpocock-skills.md",
|
|
1094
|
-
needle: "
|
|
1095
|
-
message: "mattpocock/skills integration must
|
|
1051
|
+
needle: "no default workflow owner",
|
|
1052
|
+
message: "mattpocock/skills integration must not create a mandatory workflow owner."
|
|
1096
1053
|
},
|
|
1097
1054
|
{
|
|
1098
1055
|
file: "integrations/mattpocock-skills.md",
|
|
@@ -1104,11 +1061,6 @@ var CENTRAL_REQUIRED_NEEDLES = [
|
|
|
1104
1061
|
needle: "docs/governance/agents-routing/engineering-runtime-v0.9.md",
|
|
1105
1062
|
message: "Engineering profile manifest must point to engineering routing."
|
|
1106
1063
|
},
|
|
1107
|
-
{
|
|
1108
|
-
file: "profiles/engineering-runtime/manifest.yml",
|
|
1109
|
-
needle: "integrations/superpowers.md",
|
|
1110
|
-
message: "Engineering profile manifest must include the Superpowers integration."
|
|
1111
|
-
},
|
|
1112
1064
|
{
|
|
1113
1065
|
file: "profiles/engineering-runtime/manifest.yml",
|
|
1114
1066
|
needle: "integrations/mattpocock-skills.md",
|
|
@@ -1119,11 +1071,6 @@ var CENTRAL_REQUIRED_NEEDLES = [
|
|
|
1119
1071
|
needle: "docs/governance/agents-routing/doc-only-v0.9.md",
|
|
1120
1072
|
message: "Doc-only profile manifest must point to doc-only routing."
|
|
1121
1073
|
},
|
|
1122
|
-
{
|
|
1123
|
-
file: "profiles/doc-only/manifest.yml",
|
|
1124
|
-
needle: "superpowers: false",
|
|
1125
|
-
message: "Doc-only profile manifest must keep Superpowers disabled by default."
|
|
1126
|
-
},
|
|
1127
1074
|
{
|
|
1128
1075
|
file: "starter/AGENTS.template.md",
|
|
1129
1076
|
needle: ROUTER_BLOCK_BEGIN,
|
|
@@ -2472,7 +2419,7 @@ function printHelp() {
|
|
|
2472
2419
|
console.log(" scan [--check] Regenerate (or verify) docs/governance/MANIFEST.yml");
|
|
2473
2420
|
console.log(" audit Advisory health report");
|
|
2474
2421
|
console.log(" links Validate current-layer local Markdown links");
|
|
2475
|
-
console.log(" router-check Validate router/profile/
|
|
2422
|
+
console.log(" router-check Validate router/profile/skill wiring");
|
|
2476
2423
|
console.log(" doctor Run the full governance health and guardrail check");
|
|
2477
2424
|
console.log(" migrate --profile X --check Check project readiness for a selected profile");
|
|
2478
2425
|
console.log(" find <topic> Search canonical docs by id/title/tag/path");
|