The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
fix(docs): clarify Pi router prerequisites
Seekers20019909e9e05e94
diff --git a/.agents/skills/docs-governance/SKILL.md b/.agents/skills/docs-governance/SKILL.mdindex df3bf8c04..ae00cf8b3 100644--- a/.agents/skills/docs-governance/SKILL.md+++ b/.agents/skills/docs-governance/SKILL.md@@ -35,8 +35,8 @@ truth and never create a second document merely to satisfy a default role.|---|---|| Adopt or maintain a constitution, map, status, and history spine | `living-docs-governance` || Record a hard-to-reverse architecture decision | `architecture-decision-records` |-| Preserve an executable regression for an important defect | `ai-regression-testing` |-| Define a verifiable goal and feedback loop | `loop-design-check` |+| Preserve an executable regression for an important defect | `ai-regression-testing` (install separately in standalone Pi core) |+| Define a verifiable goal and feedback loop | `loop-design-check` (install separately in standalone Pi core) || Check mapped roles, local links, ADR indexes, TEST-IDs, or possible orphan docs | Run the bundled read-only audit |If no row fits, explain the ownership ambiguity instead of combining severaldiff --git a/pi/core/skills/docs-governance/SKILL.md b/pi/core/skills/docs-governance/SKILL.mdindex df3bf8c04..ae00cf8b3 100644--- a/pi/core/skills/docs-governance/SKILL.md+++ b/pi/core/skills/docs-governance/SKILL.md@@ -35,8 +35,8 @@ truth and never create a second document merely to satisfy a default role.|---|---|| Adopt or maintain a constitution, map, status, and history spine | `living-docs-governance` || Record a hard-to-reverse architecture decision | `architecture-decision-records` |-| Preserve an executable regression for an important defect | `ai-regression-testing` |-| Define a verifiable goal and feedback loop | `loop-design-check` |+| Preserve an executable regression for an important defect | `ai-regression-testing` (install separately in standalone Pi core) |+| Define a verifiable goal and feedback loop | `loop-design-check` (install separately in standalone Pi core) || Check mapped roles, local links, ADR indexes, TEST-IDs, or possible orphan docs | Run the bundled read-only audit |If no row fits, explain the ownership ambiguity instead of combining severaldiff --git a/skills/docs-governance/SKILL.md b/skills/docs-governance/SKILL.mdindex df3bf8c04..ae00cf8b3 100644--- a/skills/docs-governance/SKILL.md+++ b/skills/docs-governance/SKILL.md@@ -35,8 +35,8 @@ truth and never create a second document merely to satisfy a default role.|---|---|| Adopt or maintain a constitution, map, status, and history spine | `living-docs-governance` || Record a hard-to-reverse architecture decision | `architecture-decision-records` |-| Preserve an executable regression for an important defect | `ai-regression-testing` |-| Define a verifiable goal and feedback loop | `loop-design-check` |+| Preserve an executable regression for an important defect | `ai-regression-testing` (install separately in standalone Pi core) |+| Define a verifiable goal and feedback loop | `loop-design-check` (install separately in standalone Pi core) || Check mapped roles, local links, ADR indexes, TEST-IDs, or possible orphan docs | Run the bundled read-only audit |If no row fits, explain the ownership ambiguity instead of combining severaldiff --git a/tests/skills/docs-governance.test.js b/tests/skills/docs-governance.test.jsindex ed867a0d0..67222e577 100644--- a/tests/skills/docs-governance.test.js+++ b/tests/skills/docs-governance.test.js@@ -11,6 +11,7 @@ const { resolveInstallPlan } = require('../../scripts/lib/install-manifests');const ROOT = path.resolve(__dirname, '../..');const CANONICAL = path.join(ROOT, 'skills', 'docs-governance');const CODEX_MIRROR = path.join(ROOT, '.agents', 'skills', 'docs-governance');+const PI_CORE = path.join(ROOT, 'pi', 'core', 'skills', 'docs-governance', 'SKILL.md');const MIRRORED_FILES = ['SKILL.md','references/artifact-role-contract.md',@@ -58,6 +59,12 @@ test('router destinations exist on current main', () => {}});+test('Pi router labels destinations excluded from standalone Pi core', () => {+ const piSkill = fs.readFileSync(PI_CORE, 'utf8');+ assert.match(piSkill, /ai-regression-testing` \(install separately in standalone Pi core\)/);+ assert.match(piSkill, /loop-design-check` \(install separately in standalone Pi core\)/);+});+test('focused surface excludes mutating archive and pre-commit tools', () => {assert.ok(!fs.existsSync(path.join(CANONICAL, 'scripts', 'project-log-index.py')));assert.ok(!fs.existsSync(path.join(CANONICAL, 'templates', 'pre-commit.example')));