a22d497591
The user explicitly stated 2026-06-11: 'I need a naming convention enforce for separate files you keep introducing that are technically part of a system or parent module.' Per AGENTS.md 'File Size and Naming Convention' HARD RULE: new src/<thing>.py files may only be created on the user's explicit request. All AI-client code lives IN src/ai_client.py. Sweep through all follow-up track files to remove the stale references to the no-longer-planned new src/ files: - TODO.md: t1.4 'Implement helper in src/tool_loop.py' -> '...in src/ai_client.py' - plan.md: 5 stale references updated (Task 4.3 title, Step 1 'Files:', Step 5 'git add', Phase 4 git note, the function summary in Phase 1 verification) - plan.md: 'src/llama_ollama_native.py' removed (ollama_chat and _send_llama_native both in src/ai_client.py) - spec.md: Phase Plan section T1.2 and T4.2/T4.3 updated to reference src/ai_client.py - state.toml: t1.4, t4_2, t4_3 descriptions updated - metadata.json: new_files list shrunk (3 new src/ files removed); verification_criteria updated to reference src/ai_client.py functions; follow_up_audit_report reference updated to point to the actual file (docs/reports/qwen_llama_grok_followup_audit_20260611.md) Spec additions from the same turn (not in the previous plan version): - Naming Convention section explicitly references AGENTS.md HARD RULE; 'If you find yourself about to create one, ASK FIRST' - 'Non-Goals' section now lists 8 explicit non-goals (vs the previous 4) including history management lift, reasoning extraction lift, error classification lift - 'Deferred Work' section documents 3 separate follow-up tracks (namespace_cleanup_20260611, ai_client_codepath_consolidation_20260611, mcp_architecture_refactor_20260606 [already specced]) - 'Open Questions' has 1 RESOLVED (PROVIDERS location) and 2 still open (Meta URL verification; local model UI mode) - 'Goals' table: 'local-backend' field added separately from 'cost_tracking' (per user feedback: distinct concept) - 'B.1 Local-First' section: native Ollama DEFAULT for localhost (not fallback), Meta Llama API prerequisite (verify URL first) - 'B.2 Matrix Expansion' section: full list of 12 v2 fields + UI adaptations for each This is docs-only. The plan is now complete and aligned with the HARD RULE. The next agent can pick up at Phase 1, Task 1.1 and execute straight through.