mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-02 06:22:42 -08:00
refactor(main): modularize runtime and harden anilist setup flow
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Agent Log
|
||||
|
||||
- agent_id: `codex-config-validation-20260219T172015Z-iiyf`
|
||||
- alias: `codex-config-validation`
|
||||
- mission: `Find root cause of config validation error for ~/.config/SubMiner/config.jsonc`
|
||||
- status: `completed`
|
||||
- last_update_utc: `2026-02-19T17:26:17Z`
|
||||
|
||||
## Intent
|
||||
|
||||
- inspect validation code path + expected schema
|
||||
- inspect user config values
|
||||
- map failing field/type; report exact issue
|
||||
|
||||
## Planned Files
|
||||
|
||||
- `~/.config/SubMiner/config.jsonc`
|
||||
- `src/**` (validation/schema)
|
||||
|
||||
## Assumptions
|
||||
|
||||
- config error produced by current repo binary/schema
|
||||
- user wants diagnosis only; no edits unless asked
|
||||
|
||||
## Run Notes
|
||||
|
||||
- phase: `inspect -> reproduce -> handoff`
|
||||
- strict parse: ok (`reloadConfigStrict` succeeded)
|
||||
- warnings:
|
||||
- `ankiConnect.openRouter` deprecated; use `ankiConnect.ai`
|
||||
- `ankiConnect.isLapis.sentenceCardSentenceField` deprecated; fixed internal value
|
||||
- `ankiConnect.isLapis.sentenceCardAudioField` deprecated; fixed internal value
|
||||
|
||||
## Handoff
|
||||
|
||||
- touched files: `docs/subagents/INDEX.md`, `docs/subagents/agents/codex-config-validation-20260219T172015Z-iiyf.md`, `src/main/config-validation.ts`, `src/main/runtime/startup-config.ts`, `src/core/services/config-hot-reload.ts`, `src/main.ts`, `src/main/config-validation.test.ts`, `src/main/runtime/startup-config.test.ts`, `src/core/services/config-hot-reload.test.ts`
|
||||
- key decision: report warnings as likely user-visible "config validation issue(s)" root cause; then implement detailed warning bodies for startup + hot-reload notifications
|
||||
- blocker: none
|
||||
- next step: optional tune max-lines/format for notification bodies
|
||||
Reference in New Issue
Block a user