Repository navigation
feat(extraction): coherent multi-span claims with version reuse - #400
Merged
Merged
Conversation
This was referenced Sep 14, 2026
fazpu
added a commit
that referenced
this pull request
Sep 14, 2026
…+schema Participation is not positive evidence of a win. Date correction revises a date-neutral window, not the stored statement. Stale F1 replies fail CAS, not the translator. Size evidence compares old prompt+schema to new prompt+schema on reconstructed small, varied, and best-case fixtures and is labeled as bytes, not billed tokens. D123 adds no context-only producer. Draft: D119 PR #400 is still required before final E2 prompt/schema and protocol pins.
Merged
1 task done
fazpu
force-pushed
the
feat/multi-span-claim-extraction
branch
from
September 14, 2026 10:52
8ae2e2e to
ceaccc9
Compare
Keep claim_occurrences_live column order stable by adding evidence_spans after attached_at, and refresh the checked-in surface hash to match.
fazpu
added a commit
that referenced
this pull request
Sep 14, 2026
…+schema Participation is not positive evidence of a win. Date correction revises a date-neutral window, not the stored statement. Stale F1 replies fail CAS, not the translator. Size evidence compares old prompt+schema to new prompt+schema on reconstructed small, varied, and best-case fixtures and is labeled as bytes, not billed tokens. D123 adds no context-only producer. Draft: D119 PR #400 is still required before final E2 prompt/schema and protocol pins.
fazpu
added a commit
that referenced
this pull request
Sep 14, 2026
…+schema Participation is not positive evidence of a win. Date correction revises a date-neutral window, not the stored statement. Stale F1 replies fail CAS, not the translator. Size evidence compares old prompt+schema to new prompt+schema on reconstructed small, varied, and best-case fixtures and is labeled as bytes, not billed tokens. D123 adds no context-only producer. Draft: D119 PR #400 is still required before final E2 prompt/schema and protocol pins.
fazpu
marked this pull request as ready for review
September 14, 2026 12:09
fazpu
added a commit
that referenced
this pull request
Sep 14, 2026
…+schema Participation is not positive evidence of a win. Date correction revises a date-neutral window, not the stored statement. Stale F1 replies fail CAS, not the translator. Size evidence compares old prompt+schema to new prompt+schema on reconstructed small, varied, and best-case fixtures and is labeled as bytes, not billed tokens. D123 adds no context-only producer. Draft: D119 PR #400 is still required before final E2 prompt/schema and protocol pins.
fazpu
added a commit
that referenced
this pull request
Sep 14, 2026
…#402) * feat(adjudication): project concise evidence and clarify processing prompts D120 restates extractor, normalizer, and fact-adjudicator instructions so a shared person or event is not treated as a shared proposition. D121 projects the prepared snapshot into attempt-local handles, factors repeated wording, and translates a closed handle schema through that attempt into the existing writer. Canonical aliases and unhydrated window witnesses stay visible; they are not extra citation rights. * fix(adjudication): preserve propositions both ways and measure prompt+schema Participation is not positive evidence of a win. Date correction revises a date-neutral window, not the stored statement. Stale F1 replies fail CAS, not the translator. Size evidence compares old prompt+schema to new prompt+schema on reconstructed small, varied, and best-case fixtures and is labeled as bytes, not billed tokens. D123 adds no context-only producer. Draft: D119 PR #400 is still required before final E2 prompt/schema and protocol pins. * docs: record D120/D121 implementation head for review * docs: record Antigravity D120/D121 review of 5273eee Approve with nits. Narrow the optional tiktoken import in the size helper to ImportError/ModuleNotFoundError; no runtime change and no second review. * fix(adjudication): shorten fact prompt without dropping semantic rules Combine repeated adjudicator definitions and examples. Keep bidirectional identity, date-neutral correction, exclusive stored ends, one-microsecond instants, and quarter-aligned calendar bounds. Measure a reconstructed bounded 20-fact snapshot against old prompt+schema. Draft pins only; D119 integration remains pending. * docs: record lean-prompt checkpoint SHA ef17559 * docs: record Antigravity review of lean fact prompt Approve with nits on d84af5a. Nits are not material; no runtime change. * fix(prompts): explain fact decisions in concrete language * fix(processing): combine clear prompts with multi-span extraction * docs: record combined processing protocol and validation * fix(prompts): resolve review ambiguities and update generation docs * test(benchmark): refresh Full-v30 fingerprint after final evidence schema * fix(integration): align combined processing protocol after final multi-span changes * docs(prompts): resolve final multi-span wording nit and record approval
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and change
A coherent claim can depend on several source passages. Claimify now cites engine-provided passage labels; the engine stores every required evidence range on each source occurrence and remaps the entire list when document versions reuse unchanged extraction inputs. Claim IDs and distinct-source evidence counts stay stable.
The immutable claim retains its origin anchor. API evidence ranges identify the same original representation as the source locator;
memory_v1.claim_occurrences_liveexposes current-version coordinates. Summaries are orientation only. Migration 0052 refuses populated claim stores without conversion or deletion. Full-v29 identifies the changed extraction contract; model bindings are unchanged.Sources and important decisions
Binding D119:
plan/designs/multi_span_claim_extraction_design.md; rationale:plan/analysis/multi_span_claim_extraction.md. Reviewed existing extraction, D56 reuse, provenance hydration, query-role privileges, lifecycle counts, forget and migration paths. The bounded list uses the existing occurrence row; there is no new fragment graph, checker model or temporal category.Validation and review
3cdf8746; parent independently reviewed and fixed earlier findings. Full reports and minor observations are committed underplan/implementation_evals/d119_*.No paid model or remote benchmark-store calls. Deterministic tests prove provenance/reuse behavior, not real-model quality or billed-token savings. Separate PRs #402 and #403 implement clearer prompts/compact inputs and document/entity context.
Contributor agreement
Signing on behalf of a legal entity (leave blank if accepting individually):