feat(#1866): agent-side self-load of configured agent_skills

Each of the 22 consumer agents now self-loads its configured agent_skills
in its mandatory init step, so .planning/config.json agent_skills.<type>
reaches the agent on every runtime — including Cursor and /gsd-autonomous,
where Skill()-delegated workflow bash init did not reliably execute.

- gsd-core/references/agent-skills-bootstrap.md: shared contract
  (query + Read + dedup guard that skips when <agent_skills> is already
  in the prompt, so Claude's orchestrator-side injection never doubles)
- 22 agents/gsd-*.md: one self-load line naming the agent's own type
- gsd-core/workflows/autonomous.md: note that delegated agents self-load
- tests/agent-skills-bootstrap.test.cjs: regression + parity (CONSUMER_AGENTS
  bijection + fast-check property) — Generative-Fix-Divergence guard
- docs: ADR-1866, CONFIGURATION dual-injection How It Works, INVENTORY
  row, Changed changeset

Closes #1866
This commit is contained in:
Tom Boucher
2026-07-01 12:51:04 -04:00
parent c32698dc9e
commit 3c13903dcd
48 changed files with 736 additions and 417 deletions

View File

@@ -1,40 +1,40 @@
{
".gsd-profile": "0e716a5fef4e6dc1",
".gsd/defaults.json": "560664b045e645cb",
"agents/gsd-advisor-researcher.md": "7dfdadd98ec1cccc",
"agents/gsd-advisor-researcher.md": "e5be2680b690c198",
"agents/gsd-ai-researcher.md": "93ca6e24f4fd3681",
"agents/gsd-assumptions-analyzer.md": "dc5e9973ff0740d7",
"agents/gsd-code-fixer.md": "645c70ed0155f7c4",
"agents/gsd-code-reviewer.md": "372137acc4155b5f",
"agents/gsd-codebase-mapper.md": "7e2293c462389be3",
"agents/gsd-assumptions-analyzer.md": "b3219da6b194fdef",
"agents/gsd-code-fixer.md": "2230fda7f06a3906",
"agents/gsd-code-reviewer.md": "5342fcc0da974696",
"agents/gsd-codebase-mapper.md": "b995bf01af0193d2",
"agents/gsd-debug-session-manager.md": "d7c0e160cbf76c68",
"agents/gsd-debugger.md": "f1936c442c12bf30",
"agents/gsd-debugger.md": "fdf0aee402605636",
"agents/gsd-doc-classifier.md": "095e804a82f4a47f",
"agents/gsd-doc-synthesizer.md": "2a78fe239d00389c",
"agents/gsd-doc-verifier.md": "e74d930905a782ea",
"agents/gsd-doc-writer.md": "9a9e66be3981411a",
"agents/gsd-doc-writer.md": "ed5678dd38c83716",
"agents/gsd-domain-researcher.md": "1c1a800108a2b225",
"agents/gsd-eval-auditor.md": "380ed8b15f07a680",
"agents/gsd-eval-auditor.md": "3d3e9336c01e90fe",
"agents/gsd-eval-planner.md": "4ebdd7fe9cbb0cfe",
"agents/gsd-executor.md": "11e5d8ae52c08196",
"agents/gsd-executor.md": "0ccab15e5ef8f0be",
"agents/gsd-framework-selector.md": "7726fccc86bfeb50",
"agents/gsd-integration-checker.md": "239c6bbd19c6895b",
"agents/gsd-integration-checker.md": "2d8339790bbb2dc3",
"agents/gsd-intel-updater.md": "ec317a56d4abc4d3",
"agents/gsd-mempalace-curator.md": "63676937f8970bf3",
"agents/gsd-nyquist-auditor.md": "50cee88d38c797a3",
"agents/gsd-nyquist-auditor.md": "42676eea063d2ec5",
"agents/gsd-pattern-mapper.md": "92cfa2e6c2a06bf3",
"agents/gsd-phase-researcher.md": "3d1aa51cbea008e7",
"agents/gsd-plan-checker.md": "f747da9c3126c918",
"agents/gsd-planner.md": "04a0281878973985",
"agents/gsd-project-researcher.md": "78294b9bb8bbbd42",
"agents/gsd-research-synthesizer.md": "d75fb540f0e01f08",
"agents/gsd-roadmapper.md": "956125a1f6774aae",
"agents/gsd-security-auditor.md": "6401d8f6f966ac2d",
"agents/gsd-ui-auditor.md": "a2730bb158f93cd4",
"agents/gsd-ui-checker.md": "68ee3eb209c9f0d6",
"agents/gsd-ui-researcher.md": "507ed07fc9ba7d33",
"agents/gsd-phase-researcher.md": "09657cecf0374c21",
"agents/gsd-plan-checker.md": "ad4ff5b285bffd57",
"agents/gsd-planner.md": "7573900da2449268",
"agents/gsd-project-researcher.md": "defda280dac420e7",
"agents/gsd-research-synthesizer.md": "6c3b691dba5395c6",
"agents/gsd-roadmapper.md": "20b69eff61a7a9fa",
"agents/gsd-security-auditor.md": "d3b8f44034a76c9d",
"agents/gsd-ui-auditor.md": "a26bbc733817959b",
"agents/gsd-ui-checker.md": "30aa8e8efa880bd0",
"agents/gsd-ui-researcher.md": "e1faa0ad884633ba",
"agents/gsd-user-profiler.md": "622220df0654b6bf",
"agents/gsd-verifier.md": "b3983159ba46fcbf",
"agents/gsd-verifier.md": "1f0f65332e5fbbf8",
"commands/gsd-add-tests.md": "aa65032141557fb7",
"commands/gsd-ai-integration-phase.md": "373053d7cd887aa9",
"commands/gsd-audit-fix.md": "c21ef925131fade7",
@@ -117,6 +117,7 @@
"gsd-core/contexts/research.md": "b3285d8e7209cc3b",
"gsd-core/contexts/review.md": "dc578fdd74bbea11",
"gsd-core/references/agent-contracts.md": "ff65e633c656c0d2",
"gsd-core/references/agent-skills-bootstrap.md": "5ab875054b1adda9",
"gsd-core/references/ai-evals.md": "b5afa786b938671e",
"gsd-core/references/ai-frameworks.md": "f827de93dde124eb",
"gsd-core/references/artifact-types.md": "a6d2e1f9453ffbf5",
@@ -268,7 +269,7 @@
"gsd-core/workflows/audit-fix.md": "eaead7ea85761e5b",
"gsd-core/workflows/audit-milestone.md": "fe7185bb70eafdb9",
"gsd-core/workflows/audit-uat.md": "ca6f1f0ef174f793",
"gsd-core/workflows/autonomous.md": "6a69708c184ac6a7",
"gsd-core/workflows/autonomous.md": "1184e5864e201889",
"gsd-core/workflows/check-todos.md": "1e3026abe782bd36",
"gsd-core/workflows/cleanup.md": "5cf0772521c192a4",
"gsd-core/workflows/code-review-fix.md": "b442c670f8c1fe93",