Skip to content

feat(corpus): ask for cross-article relationships + wire the scope question (27 S.1/S.2)#176

Closed
bryanmatthewsimonson wants to merge 1 commit into
claude/phase-26-cf2-trace-expanderfrom
claude/phase-27-s1-corpus-relationships
Closed

feat(corpus): ask for cross-article relationships + wire the scope question (27 S.1/S.2)#176
bryanmatthewsimonson wants to merge 1 commit into
claude/phase-26-cf2-trace-expanderfrom
claude/phase-27-s1-corpus-relationships

Conversation

@bryanmatthewsimonson

Copy link
Copy Markdown
Owner

Summary

Phase-27 slices S.1/S.2 — the first of the fixes from today's investigation into "corpus analysis never suggests cross-article claim relationships." Stacked on #175 (the Phase-26 chain); merge in order.

Diagnosis (verified, in JOURNAL)

  1. The reduce prompt never asked for proposals. The deliverables list omitted them; the only relationship mention was 20.6's restriction. An optional schema slot whose sole prompt mention is a prohibition predictably returns empty — the Phase-26 hypothesis prompt proved the affirmative form works.
  2. The scope question never reached the LLM. synthesis-block reads dossier.scope.question; buildCaseDossier never emitted scope. Every synthesis ran unsteered.

Fix

  • Affirmative cross-article directive in the reduce prompt ("scan the claims index for pairs from DIFFERENT articles… propose EVERY such pair"), with the human-accept gate stated in-prompt and knot pairs excluded. The 20.6 never-guess rule stays verbatim.
  • Digest claims now carry short per-article keys (art: "A1") + an articles map — pairs identifiable at a glance, digest smaller.
  • buildCaseDossier emits scope.question from authored_fields.scope_question.
  • CORPUS_PROMPT_VERSIONcorpus-v2 with the institutionalized bump discipline — all stored briefs correctly go stale (decision D2); recompute stays human-triggered.

Tests: 1,790 green (3 new) · build clean · lint 0 errors.

Next

S.3/S.4 (visible zero-proposals + durable triage + local link chips) follows; the forensic F ladder after that.

🤖 Generated with Claude Code

…estion (27 S.1/S.2)

Phase 27 slices S.1/S.2, from the maintainer report that corpus
analysis never suggests cross-article claim relationships.

Root cause (JOURNAL 2026-07-16): the reduce deliverables list omitted
proposals entirely — the only prompt mention of relationships was the
20.6 restriction ("OMIT rather than guessing"), so the optional slot
predictably came back empty. And the case scope question NEVER reached
any LLM call: synthesis-block reads dossier.scope.question, which
buildCaseDossier never emitted.

- Reduce prompt: proposals join the deliverables list with an
  affirmative cross-article directive ("scan the claims index for
  pairs from DIFFERENT articles… propose EVERY such pair"), the
  human-gate stated in-prompt, knots excluded from re-proposal. The
  20.6 never-guess rule and the no-verdict rule stay verbatim.
- Digest: claims carry a short per-article key (art: A1/A2…) plus an
  articles key→hash map, replacing the 64-hex hash on every entry —
  cross-article pairs become identifiable at a glance and the digest
  shrinks.
- buildCaseDossier now emits scope.question from the case entity's
  authored_fields.scope_question — synthesis map/reduce (and the
  Phase-26 hypothesis-edge pass via its case-view read) actually
  receive the author's framing.
- CORPUS_PROMPT_VERSION → corpus-v2 with the institutionalized
  discipline note (20.6 changed the prompt without bumping it, so
  broken-era briefs never showed the stale chip). All stored briefs
  correctly go stale; recompute stays human-triggered.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@bryanmatthewsimonson
bryanmatthewsimonson deleted the branch claude/phase-26-cf2-trace-expander July 18, 2026 05:10
bryanmatthewsimonson added a commit that referenced this pull request Jul 18, 2026
…counterfactual, corpus v2, forensic fixes, capture skill, PDF links)

Consolidation merge of the full 26/27 chain after the stacked-merge cascade closed the intermediates. Contains, in original commit order: 26 H.0-H.4 + CF.1/CF.2 (#169-#175) and 27 S.1-S.4, F.1-F.6, K.1-K.4, PDF links (#176-#183).
@bryanmatthewsimonson

Copy link
Copy Markdown
Owner Author

Landed on main via the #183 consolidation merge — this PR was auto-closed by the base-branch deletion cascade, but its commits are all in main.

@bryanmatthewsimonson
bryanmatthewsimonson deleted the claude/phase-27-s1-corpus-relationships branch July 18, 2026 05:19
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