Skip to content

feat(convert): agent-mediated AI decomposition, consent gate, validation (2/4) - #57

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

richfrem merged 1 commit into
mainfrom
feat/enrichment-decomposition

Conversation

@richfrem

@richfrem richfrem commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Step 2 of 4 for the optional AI enrichment layer. Code makes no model calls; the host agent answers request files.

  • Consent gate (nothing is written without user approval)
  • Windowed requests; boundaries snapped to block edges (tables never split)
  • Response validation, retries (3), partial completion
  • Verbatim topic files under ai-navigation/ with notice + trust metadata
  • generation.json hashes and staleness detection
  • DEBT-20261104-07; 98 tests pass

Next: summaries/index/example package, then evaluation + docs.

…validation

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

- enrichment/decompose.py: consent gate, windowed request files, response
  validation (boundaries snap to block edges so tables are never split),
  retries and partial completion, verbatim topic files under ai-navigation/,
  generation.json with hashes, staleness detection
- provenance.validate_ai_artifact accepts link_roots for verbatim media links
- mode doc updated, DEBT-20261104-07, tests in test_enrichment_decompose.py

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@richfrem
richfrem merged commit 05d95e1 into main Nov 4, 2026
3 checks passed
@richfrem
richfrem deleted the feat/enrichment-decomposition branch November 4, 2026 17:31
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