fix(evidence): validate curated runtime corpus

This commit is contained in:
2026-08-25 01:59:27 +02:00
parent 9f0184388d
commit 0caa747914
11 changed files with 107 additions and 14 deletions
+4 -3
View File
@@ -228,9 +228,10 @@
records remain revision-scoped; corpus ACTIVE is revision-qualified. HTTP/S3 Evidence is unchanged.
- **Curated-only runtime contract (Evidence schema v2):** the new authoring layout preserves the
complete commit-addressed `evidence/` tree (`source/`, `curated/`, manifest and evaluation files),
while the rendered filesystem acquisition default is only `curated/**/*.md`. Version 2 rejects
source or mixed source/curated runtime patterns; legacy Evidence version 1 retains its explicit
safe-pattern compatibility. The curator validates before merge and the runtime validates the
while the rendered filesystem acquisition pattern is exactly `curated/**/*.md`. Version 2 rejects
every other pattern, including source, mixed source/curated, broad curated, and non-Markdown
patterns; legacy Evidence version 1 retains its explicit safe-pattern compatibility. The curator
validates before merge and the runtime validates the
pinned curated corpus before indexing. The existing unnamed dense vector remains intact while
Evidence may add `bm25`/`idf` additively; no runtime operation writes the authoring repository.
- **Retention:** materialized roots live inside the commit-addressed snapshot directory, so they are