Skip to content

fix: holistic review round 2 — TreeNodeResponse, CLI ingest, citation validation - #46

Merged
egerev merged 1 commit into
mainfrom
feat/run4-holistic-fixes-2
Apr 8, 2026
Merged

fix: holistic review round 2 — TreeNodeResponse, CLI ingest, citation validation#46
egerev merged 1 commit into
mainfrom
feat/run4-holistic-fixes-2

Conversation

@egerev

@egerev egerev commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes from holistic product review — second round.

CRITICAL

  • TreeNodeResponse — added from_attributes=True (was returning 500 on all tree endpoints because ORM→Pydantic failed)
  • CLI ingest — fixed endpoint path (/ingest/text, not /ingest) and field name (text, not content)

HIGH

  • Citation validation — now includes entity_id/claim_id from chunk-sourced evidence, preventing valid citations from being incorrectly filtered as hallucinated

Test plan

  • 677 tests pass
  • Go build OK
  • Lint clean

🤖 Generated with Claude Code

… validation

CRITICAL: Add from_attributes=True to TreeNodeResponse (ORM→Pydantic conversion)
CRITICAL: Fix CLI ingest — /ingest/text path, 'text' field (was /ingest + content)
HIGH: Citation validation now includes entity_id/claim_id from chunk-sourced evidence

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the core label Apr 8, 2026
@egerev
egerev merged commit 1b11df7 into main Apr 8, 2026
14 checks passed
@egerev
egerev deleted the feat/run4-holistic-fixes-2 branch April 8, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant