Commit 0b4e594
fix: phantom ledger paths, SQL errors, deterministic case refs (#60)
* fix: align evidence client types with actual ChittyEvidence API shapes
Schema Overlord audit findings (6 fixes):
- EvidenceFact: entity_type not type, amount_value not value, nullable
fields from LEFT JOINs (confidence, verification_status, fact_type)
- EvidenceDocument: file_name not filename, created_at not uploaded_at
- searchDocuments: GET→POST (ChittyEvidence /search is POST)
- getContradictions: pointed to facts?conflicts_only=true (no dedicated
contradictions endpoint exists)
- timeline.ts: map entity_type→type and amount_value→value for consumers
- mcp.ts + litigation.ts: fix a.value→a.amount_value references
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: update MCP tool count in test (43→48) and CLAUDE.md
Added 5 evidence tools: get_case_timeline, get_case_facts,
get_case_contradictions, get_pending_facts, synthesize_case_facts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: cardinal audit — @canon annotations, JSDoc, MCP/REST parity
- Add @canon governance annotations to entity_type fields in integrations.ts
- Fix MCP JSDoc: "38 tools across 9 domains" → "48 tools across 12 domains"
- Add date filtering to deadlines query in MCP get_case_timeline
- Add ChittyLedger document fetching to MCP get_case_timeline for REST parity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: update compliance triad with evidence/timeline/litigation/jobs endpoints
- CHARTER.md: add ChittyEvidence dependency, timeline/litigation/jobs endpoints,
update MCP tool count (28→48), add case timeline and litigation scope items
- CHITTY.md: add same endpoints, update MCP tool count (32→48), add ChittyEvidence
to direct API data sources
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: reconcile Drizzle schema with live Neon DB (11 cols + 2 tables)
Adds missing columns from migrations 0008/0009 to schema.ts:
- ccObligations: escalation tracking (5 cols)
- ccRecommendations: planner-aware fields (6 cols)
- ccEmailConnections + ccUserNamespaces: 2 new tables
Also adds drizzle.config.ts and updates drizzle-orm to match drizzle-kit.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 23cecc0 commit 0b4e594
0 file changed
0 commit comments