Address PR 24 review findings

Merged
HB
4mo ago
+47-46

Summary

Fixes the three findings from the PR #24 review, which merged before this commit landed on the branch.

  • Symbol-spelling correction: part-07 ref 02 described clearCache(at:)'s internals with the bare spelling AIModelCache.deleteEntries(for:); the source calls the instance method AIModelCache.default.deleteEntries(for:) (ModelStructure.swift:179, and the captured interface declares it final public func, i.e. not static). Both mentions corrected with line-count-preserving rewraps, so no TSV re-keying was needed.
  • Index cleanup (regenerated): the bare spelling had crossed the symbol extractor's two-mention noise floor and minted a near-duplicate API-INDEX row. Regeneration drops it (1206 → 1205 symbols, CoreAI 74 → 73) and AIModelCache.default.deleteEntries(for:) now correctly lists 7.2 in its coverage.
  • Stale sentence: the fm CLI harvest note said "the four undocumented ones" under a table that now counts three new-to-corpus subcommands with serve reclassified as verified; reworded to "the four Apple-undocumented subcommands — the three new ones plus serve".
  • Verbatim caveat: the two archival harvest notes (wwdc2026-253, adjacent-sessions) now state that trailing whitespace in "verbatim" code blocks is normalized for Markdown lint and content is otherwise byte-verbatim.

Validation

  • scripts/build-indexes.sh and scripts/build-skills.sh regenerated with SOURCE_DATE_EPOCH pinned to 2026-08-02
  • python3 scripts/verify-skills.py --skills skills — 10 skills, 142 files, 8399 links
  • python3 scripts/mdlinks.py
  • git diff --check
  • all 148 unit tests (includes the regen-must-match-committed-bytes checks for both index copies and the manifest)

🤖 Generated with Claude Code


Summary by cubic

Fixes three docs issues by correcting AIModelCache method references, cleaning up the API index, and clarifying wording and provenance in harvest notes. Regenerated indexes and skills; no behavior changes.

  • Bug Fixes
    • Corrected references in part-07 to AIModelCache.default.deleteEntries(for:) (was AIModelCache.deleteEntries(for:)).
    • Regenerated API index and skill slices to remove the duplicate symbol (1206 → 1205; CoreAI 74 → 73 / 72 → 71 in skill), and added 7.2 coverage for AIModelCache.default.deleteEntries(for:).
    • Updated fm CLI harvest note to say “four Apple-undocumented subcommands — the three new ones plus serve”.
    • Added provenance notes to wwdc2026-253 and adjacent-sessions harvests: “verbatim” code blocks normalize trailing whitespace for Markdown lint; otherwise byte-verbatim.