|
| 1 | +# Docs fact-check residuals — 2026-05-24 |
| 2 | + |
| 3 | +**Status:** Open — low-priority items deferred after the May 2026 full `.md` audit. |
| 4 | + |
| 5 | +**Scope:** ~129 markdown files under `docs/`, `.agents/`, `templates/`, root, and `.github/`. Parent verification on `main` through `0f7e6fc`. |
| 6 | + |
| 7 | +**Method:** Five parallel fact-check passes against `src/`, `package.json`, CI workflows, and `templates/recipes/`; manual diff review for information loss. |
| 8 | + |
| 9 | +**Shipped in audit commits:** `e6ab158`, `3c65a65`, `0f7e6fc` — glob/batchInsert corrections, `--base` git-archive wording, MCP vs HTTP resource split, plan status headers, agent-content path fixes, recipe example SQL, rule frontmatter, synthesis Step 1 closure. |
| 10 | + |
| 11 | +This audit follows [docs/README.md Rule 6](../README.md) and [docs/README.md Rule 7](../README.md). |
| 12 | + |
| 13 | +--- |
| 14 | + |
| 15 | +## TL;DR |
| 16 | + |
| 17 | +The audit corrected stale/wrong prose without dropping load-bearing design. **11 residual items** remain — mostly code/doc drift and STYLE nits. None block releases; three want code changes when touched next. |
| 18 | + |
| 19 | +--- |
| 20 | + |
| 21 | +## Residual findings |
| 22 | + |
| 23 | +### Code fixes (docs partially or fully updated) |
| 24 | + |
| 25 | +| ID | Finding | Evidence | Suggested fix | Effort | |
| 26 | +| ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | |
| 27 | +| **R.1** | **Project recipes ignore custom `--state-dir`.** Docs now say `<projectRoot>/.codemap/recipes/`; loader hardcodes that path. | `resolveProjectRecipesDir()` in `src/application/query-recipes.ts` — `join(projectRoot, ".codemap", "recipes")` only. | Honor `resolveStateDir()` when resolving project recipe dir, or document permanently that recipes are `.codemap`-scoped only. | S | |
| 28 | +| **R.2** | **`function_params.owner_kind` never varies.** Recipe doc updated; extractor always passes `"function"`. | `pushParams()` default in `src/extractors/params.ts`; all call sites omit `ownerKind`. | Populate distinct values (`method`, `arrow`, `constructor`, …) at extraction sites, then restore filter docs on `find-by-param-type`. | M | |
| 29 | +| **R.3** | **MCP stdio does not register `codemap://files/{path}` / `codemap://symbols/{name}`.** README and glossary correctly scope these to HTTP `GET /resources/{uri}`; `readResource()` supports them but `registerResources()` does not. | `src/application/mcp-server.ts` vs `src/application/resource-handlers.ts`. | Either register as MCP resource templates (parity with HTTP) or keep HTTP-only and ensure agent-content skill states the split (done in README). | S (if registering) | |
| 30 | + |
| 31 | +### Doc-only (STYLE / accuracy nits) |
| 32 | + |
| 33 | +| ID | Finding | Location | Suggested fix | |
| 34 | +| ------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------- | |
| 35 | +| **R.4** | Example timing tables will drift. | `docs/benchmark.md` Results section | Optional callout: regenerate via `bun src/benchmark.ts`; numbers are snapshots, not CI-gated. | |
| 36 | +| **R.5** | "Main tables" copy counts five tables; index has more. | `templates/recipes/index-summary.md` description | Say "core tables" or list which five; or point at `index-summary.sql`. | |
| 37 | +| **R.6** | Relative `./unimported-exports.md` link may not resolve in MCP/`--recipes-json` body consumers. | `templates/recipes/unused-type-members.md` | Use recipe id prose only, or absolute path in bundled context if a consumer breaks. | |
| 38 | +| **R.7** | Root README env block omits `CODEMAP_STATE_DIR`, `CODEMAP_WATCH`. | `README.md` Configuration inline block | One-line mention if users hit custom state-dir or watch opt-out often. | |
| 39 | +| **R.8** | Substrate plan ship dates mix 2026-05-14 / 15 / 19. | `docs/plans/substrate-extraction.md` tier headers | Normalize to wave date where one SCHEMA bump covers multiple tiers. | |
| 40 | +| **R.9** | Research note jumps §3 → §5 → §7 (§4/§6 lifted). | `docs/research/non-goals-reassessment-2026-05.md` | Optional one-line TOC note: "§4/§6 lifted to roadmap/plans." | |
| 41 | + |
| 42 | +### Already tracked elsewhere (no new work) |
| 43 | + |
| 44 | +| ID | Item | Canonical home | |
| 45 | +| -------- | --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | |
| 46 | +| **R.10** | GitHub Marketplace Slice 5 (tags, `MARKETPLACE.md`) | [`roadmap.md` Backlog](../roadmap.md#backlog) · [`plans/github-marketplace-action.md`](../plans/github-marketplace-action.md) | |
| 47 | +| **R.11** | C.9 `files.is_entry`, plugin loader, reachability recipes | [`plans/c9-plugin-layer.md`](../plans/c9-plugin-layer.md) | |
| 48 | +| **R.12** | Apply-engine synthesis Steps 2–12 | [`research/codemap-richer-index-synthesis-2026-05.md`](../research/codemap-richer-index-synthesis-2026-05.md) §6 | |
| 49 | + |
| 50 | +--- |
| 51 | + |
| 52 | +## Closing criteria |
| 53 | + |
| 54 | +Delete this file when **R.1–R.3** are resolved or explicitly rejected with a one-line decision in `roadmap.md`, and **R.4–R.9** are either fixed or accepted as intentional. Index closure in [`roadmap.md` § Closed audits (pointers)](../roadmap.md#closed-audits-pointers). |
| 55 | + |
| 56 | +Recover the full May 2026 audit agent reports via conversation / commit diffs at `f25f8a6..0f7e6fc` if needed. |
0 commit comments