Skip to content

docs(spec): correct Familiar-retirement plan (v2 — real entanglement map)#217

Merged
BunsDev merged 1 commit into
mainfrom
docs/correct-familiar-retirement-plan
Jul 18, 2026
Merged

docs(spec): correct Familiar-retirement plan (v2 — real entanglement map)#217
BunsDev merged 1 commit into
mainfrom
docs/correct-familiar-retirement-plan

Conversation

@BunsDev

@BunsDev BunsDev commented Jul 18, 2026

Copy link
Copy Markdown
Member

Description

Docs-only. Corrects PLAN-2d-task4-familiar-retirement.md (v1 → v2) after a real execution attempt revealed the plan's delete-set was wrong.

Finding: the Familiar panel is not a cleanly-separable cluster. panel.rs ↔ transcript.rs ↔ utils.rs are mutually circularly dependent, and that UI knot is fused to the AI server-API data layer (server_api/ai.rs uses utils::TranscriptPart + requests::GenerateDialogueResult; auth uses requests::REQUEST_LIMIT_INFO_CACHE_KEY). So retirement is a data-vs-UI extraction refactor that touches the server_api compile, not a deletion of a "dead backend."

v2 rewrites the plan with: the true dependency map (keep-set vs delete-set), an extraction-first task order (pull the AI-dialogue data types into a UI-free module before deleting the UI knot), the scope decision (panel-only vs full hosted-AI retirement), and explicit risks. It also records that this is not release-blocking — the unified panel is already the default surface (#216) and the Familiar coven-stream is hidden by default (#213), so physical deletion is cosmetic and should be its own dogfood-backed effort.

No code changed; main is untouched.

Linked Issue

Corrects the plan added in #215. Roadmap: design #204; 2a #205, 2b #209, 2c #210, 2d stage-1 #213, retire-cli_chat #214, default-unified #216.

Testing

  • Docs-only. ./script/check_ai_attribution + ./script/check_rebrand pass.

Agent Mode

Copilot AI review requested due to automatic review settings July 18, 2026 14:47
@BunsDev
BunsDev merged commit 7e104bd into main Jul 18, 2026
11 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Familiar-panel retirement implementation plan to reflect the real dependency entanglement between ai_assistant UI code and the server-API/auth data types, reframing the work as an extraction-first refactor rather than a straight deletion.

Changes:

  • Rewrites the plan as “v2” with an explicit UI-vs-data dependency map and corrected keep/delete sets.
  • Introduces an extraction-first task order (move server-API-needed dialogue types into a UI-free module before unwiring/deleting UI).
  • Clarifies scope options (panel-only retirement vs full hosted-AI server_api dialogue retirement) and calls out key risks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +15 to +17
> 2. **The UI knot is fused to the AI server-API data layer (must survive):**
> - `app/src/server/server_api/ai.rs` imports `ai_assistant::utils::TranscriptPart` (6 sites) and `ai_assistant::requests::GenerateDialogueResult`
> - `app/src/auth/mod.rs` imports `ai_assistant::requests::REQUEST_LIMIT_INFO_CACHE_KEY`
@BunsDev
BunsDev deleted the docs/correct-familiar-retirement-plan branch July 18, 2026 21: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.

2 participants