Skip to content

feat(convert): AI summaries, hierarchical index, approval-gated publish, example (3/4) - #58

Merged
richfrem merged 1 commit into
mainfrom
feat/enrichment-index
Nov 4, 2026
Merged

richfrem merged 1 commit into
mainfrom
feat/enrichment-index

Conversation

@richfrem

@richfrem richfrem commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Step 3 of 4 for the optional AI enrichment layer. No model calls in code.

  • Per-topic summaries (keywords, synonyms, no long source quotes)
  • Chapter/document roll-up and relations from summaries only (cheap)
  • index.md, chapters/, navigation.json with AI notice + discovery-only metadata
  • publish requires human approval and clean validation (notice, trust, pages, links, staleness)
  • Worked example package + builder
  • DEBT-20261104-08; 108 tests pass

Next: evaluation mode + docs.

…cation, example

Step 3 of 4 for the optional AI enrichment layer. Code makes no model calls.

- enrichment/navigation.py: per-topic summaries (keywords, synonyms, no long
  source quotes), roll-up of chapters/document summary/relations from summaries
  only, index.md, chapters/, navigation.json, approval and validation-gated publish
- enrichment/build_example.py and assets/examples/enrichment-example/
- mode doc updated, DEBT-20261104-08, tests in test_enrichment_navigation.py

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@richfrem
richfrem merged commit 7092be4 into main Nov 4, 2026
4 checks passed
@richfrem
richfrem deleted the feat/enrichment-index branch November 4, 2026 18:42
rockyltwong added a commit that referenced this pull request Nov 6, 2026
fix(publish): keep image assets out of link mapping, refuse empty-shell recovery, decode &#58; styles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant