Skip to content

Add lean OKF-style knowledge layer: frontmatter + index for DOCS/adr, trim CLAUDE.md #62

Description

@sankar-ramamoorthy

Retrofit `DOCS/` in place with a consistent, lightweight OKF-style knowledge layer (YAML frontmatter + Markdown/wikilinks, no graph DB/vector store/embeddings), and shrink `CLAUDE.md` back into a router rather than a knowledge dump.

Why: `CLAUDE.md`'s "Core data model" section currently restates ~700 words of ADR-030/031/032/038/039/040/041/042/045/048 content inline instead of citing it — a second, driftable copy of facts the ADRs already own. Meanwhile `DOCS/audit/` already independently reinvented the OKF pattern (frontmatter + `[[wikilink]]`s + a MOC index at `00-Audit-Overview.md`), but `DOCS/adr/` (the most load-bearing directory) has no frontmatter and only unlinked plain-text cross-references, and `CLAUDE.md`'s own "Documentation map" omits 4 of the 6 `DOCS/` subdirectories entirely.

Scope (first pass, conservative):

  1. Fix two malformed ADR filenames (`ADR-034-repo-ingestion-input.m` → `.md`, `ADR-044-graph-models-in-shared` → `.md`) and the one stale reference to the latter.
  2. Add YAML frontmatter to all 19 `DOCS/adr/` files, reusing `DOCS/audit/`'s proven schema (`title`, `date`, `type`, `status`, `tags`, `related`) — copying `date`/`status` only where the ADR body already states them explicitly, never inferring or defaulting a value.
  3. Create `DOCS/index.md` as the repo-wide discovery entry point, routing to `DOCS/audit/00-Audit-Overview.md` and the other `DOCS/` subdirectories rather than duplicating their content.
  4. Trim `CLAUDE.md`'s "Core data model" section to ADR citations instead of restated rules, and expand "Documentation map" to cover all `DOCS/` subdirectories.

Explicitly out of scope this pass: `DOCS/architecture/` (13 files), `DOCS/test_results/`, `DOCS/notes/`, `docs-archive/`, `status/`, and `AGENTS.md` (no second AI tool actively in use yet) — all deferred, not touched.

No production code, service, or schema is touched — this is documentation-metadata only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions