60255
Zn
Zoea-Nova / files
Zoea-Nova / documentation / current / TODO.md
6.7 KB
1# TODO 2 3**RULES** 4 5- Keep up to date. 6- Delete completed items. 7- Use blank lines to separate logical sections. 8- Managed by the user, ask before edit 9 10--- 11 12- Example item: example description [KEEP FOR REFERENCE ONLY] 13 14--- 15 16Recommendations 17 184. Increase iteration limit: From 10 to 15-20 to reduce turn overhead for complex tasks 19 205. Refactor OpenCode Zen provider factory: Make endpoint selection intelligent based on model type 21 - Reference: https://opencode.ai/docs/zen/#models 22 - Current: Hardcoded model→endpoint mapping in opencodeModelEndpoints map 23 - Goal: Automatically route to correct endpoint (/chat/completions, /messages, /responses, /models/\*) based on model prefix/type 24 - Benefits: Support new models without code changes, align with official OpenCode Zen API structure 25 - Note: /responses endpoint format is currently undocumented and incompatible with our OpenAI SDK usage 26 27- network activity indicator revision 28 29- Investigate no content from AI messages in coversation log. only happens ocasionally. 30 31``` 32 T0 ⬡ [19:05] AI: ────────────────────────────────────────────────────────────────────────────────────────────────── │ 33 Sold 10 Iron Ore for 🟢40 credits (Skill Level 0, +1 XP). Current credits: 764. │ 34 │ 35 Cargo now contains 12 Iron Ore (was 22). Your mining lasers are still active. Would you like to: │ 36 1. Mine more ore to fill cargo │ 37 2. Sell remaining ore at NPC market │ 38 3. Check current market prices for Iron Ore │ 39 4. Deploy mining drones to increase efficiency │ 40 │ 41 Your goal of 10,000 credits for a hauler is still far off (currently at 3,500). Would you like to │ 42 adjust your strategy? │ 43 │ 44 T0 ⬡ [19:05] REASONING: ─────────────────────────────────────────────────────────────────────────────────────────── │ 45 Okay, let me see what's going on here. The user is playing as Nova Zoea, a voidborn empire │ 46 [17 more] │ 47 credit goal. │ 48 │ 49 │ 50 T0 ⬡ [19:07] AI: ────────────────────────────────────────────────────────────────────────────────────────────────── │ 51 (no response) │ 52 │ 53 T0 ⬡ [19:08] YOU: ───────────────────────────────────────────────────────────────────────────────────────────────── │ 54 What was your last reply? │ 55 │ 56 T0 ⬡ [19:08] AI: ────────────────────────────────────────────────────────────────────────────────────────────────── │ 57 The last reply was selling 10 units of Iron Ore, earning 40 credits and gaining 1 XP. █ 58 █ 59 T0 ⬡ [19:08] REASONING: ─────────────────────────────────────────────────────────────────────────────────────────── █ 60 Okay, the user is asking, "What was your last reply?" Let me think about how to approach █ 61 [58 more] █ 62 last reply was the sale of 10 Iron Ore, earning 40 credits and 1 XP. █ 63``` 64 65> RELEASE CUTOFF ----~ 8< ~---- STOP HERE **DON'T TOUCH** ----~ 8< ~---- 66 67- Refactor Help/controls pannel and error message displays in TUI. 68 - Compact all controls in one help panel, show only [HELP h/H] on the right edge of the line. 69 - Use the rest of the line to say: 70 - A thematic sentence that all systems are ok when there are no errors. 71 - If there are errored mysis, or any error non-game related (connection to game server mcp, app errors like timeouts etc. Dont confuse this with errors in game.) Display a truncated messahge, property formatted with timestamp, error source, type, truncated message. 72 73- when run with -debug, reset the log file for a clean run. 74 75Follow-up (optional): 76 771. Clean up skipped tests (8 tests with documented rationale) 782. Investigate TestStateTransition_Running_To_Idle goroutine hang 793. Fix TUI test environment issues (unrelated to this release)