docs: add Windows continuous learning v2 fixes to ECC setup guide
Three silent-failure bugs: python3 Store stub, claude-vscode entrypoint rejected, observer disabled by default. All must be fixed for observations to flow.
This commit is contained in:
@@ -162,6 +162,16 @@ Run these commands inside Claude Code to verify:
|
|||||||
|
|
||||||
5. **Agent model selection** — Each agent `.md` file in `~/.claude/agents/` supports a `model` field in frontmatter. Options: `haiku` (fast/cheap), `sonnet` (balanced), `opus` (deep reasoning). Choose based on agent complexity needs.
|
5. **Agent model selection** — Each agent `.md` file in `~/.claude/agents/` supports a `model` field in frontmatter. Options: `haiku` (fast/cheap), `sonnet` (balanced), `opus` (deep reasoning). Choose based on agent complexity needs.
|
||||||
|
|
||||||
|
### Continuous Learning v2 — Windows fixes (critical)
|
||||||
|
|
||||||
|
The observe hook ships with three bugs that silently prevent all observations on Windows:
|
||||||
|
|
||||||
|
6. **`python3` is the Windows Store stub** — On Windows, `python3` resolves to the Microsoft Store redirect (`AppData/Local/Microsoft/WindowsApps/python3`) which returns exit code 49 instead of running Python. The hook's `resolve_python_cmd()` uses `command -v` which finds the stub. **Fix:** In both `~/.claude/skills/continuous-learning-v2/hooks/observe.sh` and `~/.claude/skills/continuous-learning-v2/scripts/detect-project.sh`, change `resolve_python_cmd()` to test execution (`"$candidate" -c "1"`) instead of just checking presence (`command -v`).
|
||||||
|
|
||||||
|
7. **`claude-vscode` entrypoint rejected** — The hook's Layer 1 filter only allows `cli` and `sdk-ts` entrypoints. VS Code extension sets `CLAUDE_CODE_ENTRYPOINT=claude-vscode`, so every observation is silently skipped. **Fix:** Add `claude-vscode` to the allowed entrypoints case pattern in `observe.sh`.
|
||||||
|
|
||||||
|
8. **Observer disabled by default** — `~/.claude/skills/continuous-learning-v2/config.json` ships with `"enabled": false`. **Fix:** Set `"enabled": true`.
|
||||||
|
|
||||||
## Step 6 — Configure agent model tiers
|
## Step 6 — Configure agent model tiers
|
||||||
|
|
||||||
ECC agents ship with `sonnet` as default. For better results, set thinking-heavy agents to `opus` and keep mechanical agents on cheaper models.
|
ECC agents ship with `sonnet` as default. For better results, set thinking-heavy agents to `opus` and keep mechanical agents on cheaper models.
|
||||||
|
|||||||
Reference in New Issue
Block a user