mirror of
https://github.com/thedotmack/claude-mem
synced 2026-04-25 17:15:04 +02:00
* fix: eliminate Windows console popups during daemon spawn and Chroma operations Two changes to fix Windows Terminal popup issues: 1. Worker daemon spawn (ProcessManager.spawnDaemon): - Windows: Use WMIC to spawn truly independent process without console - WMIC creates processes that survive parent exit and have no console association - Properly handles paths with spaces via double-quoting - Unix: Unchanged behavior with standard detached spawn 2. PID file handling (worker-service.ts): - Worker now writes its own PID after listen() succeeds (all platforms) - Removes race condition where spawner wrote PID before worker was ready - On Windows, spawner PID was useless anyway 3. Chroma vector search (ChromaSync.ts): - Temporarily disabled on Windows to prevent MCP SDK subprocess popups - Will be re-enabled when we migrate to persistent HTTP server architecture - Windows users still get full observation storage, just no semantic search Tested on Windows 11 via SSH - worker spawns without console popups, survives parent process exit, and all lifecycle commands (start/stop/restart) work correctly. Fixes #748, #708, #681, #676, #675 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: add YAML frontmatter to slash commands for discoverability Commands /do and /make-plan were not appearing in Claude Code because they lacked the required YAML frontmatter metadata. Added description and argument-hint fields to both commands. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: bigphoot <bigphoot@gmail.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
2.2 KiB
Markdown
44 lines
2.2 KiB
Markdown
---
|
|
description: "Execute a plan using subagents for implementation"
|
|
argument-hint: "[task or plan reference]"
|
|
---
|
|
|
|
You are an ORCHESTRATOR.
|
|
|
|
Primary instruction: deploy subagents to execute *all* work for #$ARGUMENTS.
|
|
Do not do the work yourself except to coordinate, route context, and verify that each subagent completed its assigned checklist.
|
|
|
|
Deploy subagents to execute each phase of #$ARGUMENTS independently and consecutively. For every checklist item below, explicitly deploy (or reuse) a subagent responsible for that item and record its outcome before proceeding.
|
|
|
|
## Execution Protocol (Orchestrator-Driven)
|
|
|
|
Orchestrator rules:
|
|
- Each phase uses fresh subagents where noted (or when context is large/unclear).
|
|
- The orchestrator assigns one clear objective per subagent and requires evidence (commands run, outputs, files changed).
|
|
- Do not advance to the next step until the assigned subagent reports completion and the orchestrator confirms it matches the plan.
|
|
|
|
### During Each Phase:
|
|
Deploy an "Implementation" subagent to:
|
|
1. Execute the implementation as specified
|
|
2. COPY patterns from documentation, don't invent
|
|
3. Cite documentation sources in code comments when using unfamiliar APIs
|
|
4. If an API seems missing, STOP and verify - don't assume it exists
|
|
|
|
### After Each Phase:
|
|
Deploy subagents for each post-phase responsibility:
|
|
1. **Run verification checklist** - Deploy a "Verification" subagent to prove the phase worked
|
|
2. **Anti-pattern check** - Deploy an "Anti-pattern" subagent to grep for known bad patterns from the plan
|
|
3. **Code quality review** - Deploy a "Code Quality" subagent to review changes
|
|
4. **Commit only if verified** - Deploy a "Commit" subagent *only after* verification passes; otherwise, do not commit
|
|
|
|
### Between Phases:
|
|
Deploy a "Branch/Sync" subagent to:
|
|
- Push to working branch after each verified phase
|
|
- Prepare the next phase handoff so the next phase's subagents start fresh but have plan context
|
|
|
|
## Failure Modes to Prevent
|
|
- Don't invent APIs that "should" exist - verify against docs
|
|
- Don't add undocumented parameters - copy exact signatures
|
|
- Don't skip verification - deploy a verification subagent and run the checklist
|
|
- Don't commit before verification passes (or without explicit orchestrator approval)
|