Devtool Docs Audit - Documentation Drift Inventory (2026-06-14)

Scope: repository-owned documentation and documentation-like surfaces in agentic-skills, excluding dependency documentation under node_modules, app build output under .next, and package build output under packages/*/build.

This audit treats archived skill versions, historical task manifests, prompt logs, and dated benchmark reports as historical unless an active index, active docs page, active pack contract, or current README.md points readers to them as current guidance.

Executive Verdict

P0: none found. I did not find evidence that the main skillpacks package metadata, primary install-route contract, or generated active pack manifest is structurally broken.

P1: the active devtool-docs-audit skill references a ## Next-Skill Routing section that does not exist. This is a direct active-contract drift in the skill that produced this audit.

P1: current business-pack docs still mix the removed/canonical pack name business-research with the compatibility alias business-discovery. The CLI intentionally accepts business-discovery, but several docs present it as the active pack and some compatibility descriptions omit customer-lifecycle.

P1: docs/skill-next-step-contracts.md still tells Pattern A positioning framework selection to write selected frameworks to tasks/todo.md for /exec, contradicting the current Research Session Loop convention.

P2: the 2026-06-01 "Canonical Agentic Workflow Report" still describes pre-prototype UX/UI artifacts as living in specs/, while the current prototype-session-loop convention and active product-design skills put them in design/.

P2: docs/skillpacks-npm-distribution.md is internally inconsistent: its top-level approval summary says skillpacks is primary and @glexcorp/gskp is the scoped alias, but later pre-publish sections still say to use gskp as the only npm package and to confirm gskp publish rights.

P3: most old references inside archive/, skill changelogs, task history, benchmark notes, and prompt logs are expected historical drift. The risk is only when current docs or indexes present those artifacts as live guidance.

Inventory

The repository has 4,779 repo-owned Markdown/HTML/RST/ADOC files after excluding dependency docs, .next, and package build output.

Documentation class Count Notes
Active pack docs and active pack SKILL.md/PACK.md surfaces1,019Includes active skill contracts, ALIGNMENT-PAGE.md, and pack metadata under packs/ excluding archives.
Archived pack skill/docs surfaces1,771Versioned historical snapshots under packs//archive/; expected to preserve stale behavior.
Installed Codex skill copies227Current local install surface under .codex/skills; should mirror active packaged roots for enabled skills.
Public/reference docs under docs/80Canonical conventions, quickstarts, package docs, generated showcase assets, historical docs.
Task docs under tasks/121Current plans plus historical ship manifests and review notes.
Benchmark reports under benchmark/170Historical test and triage outputs.
Specs under specs/32Product/spec artifacts, some historical design-phase documents.
Research docs under research/16Active research outputs and working packets.
Alignment pages under alignment/51Current and historical review/approval pages, plus index.
App-owned docs under apps/8Excludes node_modules and .next.
Prompt logs under prompts/394Invocation history, intentionally historical.
Top-level/other docs724Includes root docs, tests fixtures, conversations, and miscellaneous non-pack surfaces.
Repo-wide archive docs166Historical non-pack archive.

Skill-specific inventory:

Surface Count
Active pack SKILL.md files354
Archived SKILL.md files2,172
Installed .codex/skills/**/SKILL.md files53
Other SKILL.md files98

Findings

P1 - devtool-docs-audit References Missing Next-Skill Routing Rules

Claim: the active skill tells the agent to use a section that is absent from the file.

Evidence:

Impact: agents using the skill have to infer downstream routing from the shared shipping contract or avoid a next-skill recommendation while the skill text says a local rule exists.

Recommended cleanup:

P1 - Business Pack Naming Drift: business-discovery Alias vs business-research Canonical Pack

Claim: the active package manifest and pack directory use business-research, while current docs and pack metadata still often present business-discovery as the active pack name.

Evidence:

Impact: copy-paste installs may still work through alias normalization, but users and agents cannot tell which pack name is canonical. The omitted customer-lifecycle in one compatibility description is a real workflow drift because journey evidence is part of the current AFPS path.

Recommended cleanup:

P1 - skill-next-step-contracts Still Routes Pattern A Positioning Through /exec

Claim: current research-loop docs say Pattern A research orchestrators should not use tasks/todo.md plus /exec, but the next-step contract still says positioning framework selection writes framework work to tasks/todo.md for /exec.

Evidence:

Impact: agents following next-step contracts can resurrect the legacy research execution model and contaminate tasks/todo.md with research framework phases.

Recommended cleanup:

P2 - Canonical Workflow Report Uses Old Pre-Prototype specs/ Artifact Paths

Claim: the canonical workflow report describes current durable sources of truth using pre-prototype specs/ux-variations- and specs/ui-, but the newer prototype-session-loop convention and active product-design skills use design/.

Evidence:

Impact: the report is useful historical context, but its title and wording make it look canonical. A reader could write new pre-prototype artifacts to specs/, conflicting with active skill contracts.

Recommended cleanup:

P2 - npm Distribution Doc Contains Old gskp-Primary Planning Text

Claim: docs/skillpacks-npm-distribution.md has correct current package identity at the top but stale implementation-plan text near the end.

Evidence:

Impact: readers scanning later sections get a contradictory package decision. The document is half current reference, half historical implementation record.

Recommended cleanup:

P2 - Generated Manifest Examples In npm Docs Still Use Removed Pack Paths

Claim: example manifest snippets in docs/skillpacks-npm-distribution.md still show business-discovery package entries and paths that no longer exist as active pack source.

Evidence:

Impact: maintainers could copy stale manifest shapes into tests, package docs, or downstream tooling.

Recommended cleanup:

P3 - Historical Surfaces Are Numerous And Need Clear Currentness Labels

Claim: the repo intentionally preserves many historical docs, but current readers need labels to avoid treating old artifacts as live contracts.

Evidence:

Impact: the volume of retained documentation makes drift scans noisy. Without currentness labels, readers have to infer whether a document is a contract, audit snapshot, historical decision record, or task log.

Recommended cleanup:

Evidence Matrix

Claim Evidence Inference Confidence Assumption status Decision impact
devtool-docs-audit has a missing local routing sectionActive skill line references ## Next-Skill Routing; file ends after shared shipping contractActive skill contract points to absent rulesHighDirectly observedPatch skill mirrors or remove reference
Business pack naming is inconsistentManifest and directories use business-research; docs and PACK files still use business-discovery; CLI alias maps old name to newCommands may work, but docs mix canonical and alias identitiesHighDirectly observedStandardize docs on business-research, alias note only
Business app alias docs omit lifecycle lane in one current docCLI expands business app to four packs; docs/packs.md lists three and old nameA reader may install or reason about an incomplete business AFPS laneHighDirectly observedFix compatibility alias docs
Pattern A next-step docs conflict with Research Session LoopResearch loop forbids tasks/todo.md//exec for Pattern A; next-step table tells positioning to use themCurrent docs disagree on execution driverHighDirectly observedUpdate docs/skill-next-step-contracts.md
Canonical workflow report has stale artifact pathsReport says UX/UI pre-prototype artifacts live in specs/; prototype convention says design/Current-looking report is stale after later artifact-boundary workHighDirectly observedUpdate or label historical
npm distribution doc has internal package identity driftTop says skillpacks primary; later says gskp only package/binLater sections preserve obsolete implementation planHighDirectly observedSplit current vs historical sections
Most archive drift is expectedLarge archive counts and dated filesHistorical docs should not be cleaned globallyMediumAssumes archives are intentionally retainedAdd labels, do not rewrite archives

Current / Needs Update / Historical Matrix

Surface Classification Action
README.mdMostly currentReplace primary business-discovery examples with business-research, leaving alias note if needed.
docs/QUICKSTART.mdNeeds updateReplace business-discovery primary install guidance.
docs/packs.mdNeeds updateRename business-discovery to business-research; fix business-app expansion to include customer-lifecycle.
docs/pack-workflow-matrix.mdCurrent on business-researchKeep; use it as the source for business lane naming.
docs/skill-next-step-contracts.mdNeeds updateReplace Pattern A positioning tasks/todo.md and /exec routing with Research Session Loop routing.
docs/research-session-loop-convention.mdCurrentTreat as authoritative for Pattern A research execution.
docs/prototype-session-loop-convention.mdCurrentTreat as authoritative for pre-prototype design/ artifact boundaries.
docs/canonical-workflow-report.mdHistorical or needs updateUpdate specs/ pre-prototype paths to design/ or label as historical snapshot.
docs/skillpacks-npm-distribution.mdNeeds updateSeparate current dual-package decision from stale gskp-only planning text and old manifest snippets.
docs/skillpacks-install-routing-contract.mdCurrentTreat as authoritative for npx skillpacks ... install-route wording.
packs/devtool/{codex,claude}/devtool-docs-audit/SKILL.mdNeeds updateAdd or remove missing Next-Skill Routing reference.
.codex/skills/devtool-docs-audit/SKILL.mdNeeds refresh after source fixInstalled copy carries the same missing-section drift.
packs/business-app/PACK.mdNeeds updateReplace old business-discovery split wording with business-research.
packs/customer-lifecycle/PACK.md, packs/business-growth/PACK.md, packs/business-ops/PACK.md, packs/code-quality/PACK.mdNeeds updateUse business-research as canonical dependency name.
packs//archive/HistoricalDo not rewrite for drift; use only as version history.
tasks/ship-manifest-, benchmark/, prompts/*HistoricalExclude from active drift unless current docs point to them.

Source Coverage Gaps

Verification

Check Result
Repo-owned docs inventory excluding dependencies/build output4,779 files classified by path class.
Active/archived/installed skill inventory354 active pack skills, 2,172 archived skill snapshots, 53 installed Codex skills.
Targeted rg scansFound drift across pack naming, Pattern A routing, pre-prototype artifact paths, and npm package identity.
Exact line evidence checksCaptured with nl -ba for the major findings above.
Final artifact validationRecorded in tasks/todo.md after the report and alignment page are written.