chihlasm
3309b6d1ce
docs: fix 12 review issues in branching design spec
Critical fixes:
- _call_ai signature: return keys now match params (system_base, rag_context)
- Cross-branch context goes in rag_context (not system_base) to preserve caching
- HandoffManager builds own branch-aware snapshot (not reusing non-branch-aware fn)
- Added Integration Surface section: unified_chat_service + flowpilot_engine
must check is_branching to avoid data divergence
Major fixes:
- active_branch_id: plain UUID, no FK (avoids circular FK)
- Resolution outputs: upsert on regeneration, not unique violation
- AI description pipeline: error handling + cost safeguards documented
- create_fork: pre-generates branch UUIDs for single-transaction insert
Minor fixes:
- status_changed_by FK target specified (users.id)
- Token budget: attachment descriptions inside cross-branch cap (4K combined)
- BranchAwarePromptBuilder: caller responsibility documented
- Removability: dual-write escalation_package shape divergence noted
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 07:46:39 +00:00
..
2026-03-14 20:18:59 -04:00
2026-03-14 20:18:59 -04:00
2026-03-14 20:31:03 -04:00
2026-03-16 01:35:16 -04:00
2026-03-16 22:59:04 -04:00
2026-03-21 16:46:26 -04:00
2026-03-21 23:50:59 -04:00
2026-03-24 07:46:39 +00:00