aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/claude/phases.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add session-specific artifacts, CLAUDE.md, and git worktree supportClawd2026-02-281-19/+43
| | | | | | | | | | | - Store artifacts in .claude-flow/sessions/{sessionId}/ - Each session now has isolated research.md and plan.md - Concurrent sessions no longer conflict - Add CLAUDE.md support for shared codebase documentation - Add git worktree creation on session start - Add git commit/status IPC handlers - Update all artifact APIs to be session-specific - Remove artifact clearing on new session (no longer needed)
* Fix: system prompt passing and strengthen phase enforcementClawd2026-02-281-44/+104
| | | | | | | | | | | | | | | - Fix systemPrompt option (was incorrectly using extraArgs) - Rewrite research phase prompt: - Emphasize writing to research.md as PRIMARY output - Explicitly forbid asking about phase transitions - Add document format template - Clarify that chat is for questions only - Rewrite plan phase prompt: - Same emphasis on plan.md as primary output - Include code snippet format examples - Forbid implementation attempts - Change research/plan permissionMode to acceptEdits (was 'plan') - 'plan' mode may have been blocking file writes
* Phase 2: Claude integration layerClawd2026-02-281-0/+104
- Add @anthropic-ai/claude-agent-sdk dependency - Implement src/main/claude/phases.ts with phase configs (research/plan/implement) - Implement src/main/claude/index.ts with SDK wrapper - query() integration with session management - Session resume support - Artifact read/write utilities - Phase advancement logic