feat: bidirectional reference scanner script #59

Closed
opened 2026-06-28 19:27:31 +00:00 by Claude · 0 comments
Collaborator

Context

The bidirectional reference principle (CONTEXT.md) says the reverse map ("what files point to X?") is derived by a scanner, not maintained manually.

Scope

Write a scanner script in scripts/ that:

  • Reads references: frontmatter across instruction files and skills
  • Builds a reverse map: for each file, list all files that reference it
  • Reports broken references (referenced files that don't exist)
  • Reports orphan files (no inbound references)
## Context The bidirectional reference principle (CONTEXT.md) says the reverse map ("what files point to X?") is derived by a scanner, not maintained manually. ## Scope Write a scanner script in `scripts/` that: - Reads `references:` frontmatter across instruction files and skills - Builds a reverse map: for each file, list all files that reference it - Reports broken references (referenced files that don't exist) - Reports orphan files (no inbound references)
Claude added this to the Tooling milestone 2026-06-28 19:27:31 +00:00
Claude added the Kind/Feature
Priority
Low
4
labels 2026-06-28 19:27:31 +00:00
Sign in to join this conversation.