pd-name-spans: corpus import mints a public-domain work's cast and labelled name spans #87

Merged
weksa merged 7 commits from weksa-lowering/pd-name-spans into main 2026-11-13 20:17:45 +00:00
Member

Executes weksa-lowering:cut_spec:cut-pd-name-spans.r1.

  • CorpusItem.names_by: Option<Annotator> (key 11, default): who placed the spans. Committed corpus.cc files read None unchanged.
  • weksa corpus import <work> <names>: WorkDraft::into_import (encode.rs) mints PublicDomain entities and items; spans come from [[entity|form]] markup, offsets derived, judged by CorpusStore::add.
  • fn annotator replaces scene put's inline match and is shared.
  • docs/name-span-annotation.md (rubric r1, procedure); map item 6a; corpus_item schema regenerated.

split.rs is in PROMPT_SOURCE_DIGEST: bf16f4cc5b47ae9d -> c1735e5c7b1894d7, which ends any open run's pin, by design.

No fetch, no Gutenberg text, no ja-JP; fixtures are synthetic. cargo test -p weksa: 493 passed; clippy -D warnings clean; weksa schema diff-free after regeneration.

🤖 Generated with Claude Code

Executes `weksa-lowering:cut_spec:cut-pd-name-spans.r1`. - `CorpusItem.names_by: Option<Annotator>` (key 11, default): who placed the spans. Committed corpus.cc files read None unchanged. - `weksa corpus import <work> <names>`: `WorkDraft::into_import` (encode.rs) mints PublicDomain entities and items; spans come from `[[entity|form]]` markup, offsets derived, judged by `CorpusStore::add`. - `fn annotator` replaces scene put's inline match and is shared. - `docs/name-span-annotation.md` (rubric r1, procedure); map item 6a; corpus_item schema regenerated. split.rs is in PROMPT_SOURCE_DIGEST: bf16f4cc5b47ae9d -> c1735e5c7b1894d7, which ends any open run's pin, by design. No fetch, no Gutenberg text, no ja-JP; fixtures are synthetic. cargo test -p weksa: 493 passed; clippy -D warnings clean; weksa schema diff-free after regeneration. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
WorkDraft::into_import mints PublicDomain entities and items from a transcribed
work and a [[entity|form]] name-span answer; scene put's inline annotator match
becomes one fn shared with corpus import.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Member

Fix batch for Soul verdict cut-pd-name-spans.s1 (head below). names_by is judged by check_annotator in CorpusStore::add (store.rs, one judge); corpus import dry-runs every entity and item on scratch copies of the stores before the first write, and a work repeating a line under folding is refused naming both item keys; tests pin --operator and the blank generator through the CLI, a stray ]] and scattered duplicate answers. Doc redraw instruction reconciled. Not built: attestation door (follow-up). Stats now: see shortstat vs b7501a7; cargo test -p weksa 498 passed, clippy clean, schema diff-free. The cut_report h1 stays as admitted (store.rs is now touched, contra spec SCOPE, by ruling of the coordinator).

🤖 Generated with Claude Code

Fix batch for Soul verdict cut-pd-name-spans.s1 (head below). names_by is judged by check_annotator in CorpusStore::add (store.rs, one judge); corpus import dry-runs every entity and item on scratch copies of the stores before the first write, and a work repeating a line under folding is refused naming both item keys; tests pin --operator and the blank generator through the CLI, a stray ]] and scattered duplicate answers. Doc redraw instruction reconciled. Not built: attestation door (follow-up). Stats now: see shortstat vs b7501a7; cargo test -p weksa 498 passed, clippy clean, schema diff-free. The cut_report h1 stays as admitted (store.rs is now touched, contra spec SCOPE, by ruling of the coordinator). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Also pins the annotator flags through the CLI (operator stores Operator, no flag
or a blank generator fails) and reconciles the redraw procedure in the doc.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
weksa merged commit d9187aeec1 into main 2026-11-13 20:17:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Weksa!87
No description provided.