aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/claude/phases.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix: scope artifacts to sessionsbndw2026-02-281-26/+35
|
* Move artifacts to ~/.claude-flow/ (outside repo)Clawd2026-02-281-37/+18
| | | | | | | | | - Store session artifacts in ~/.claude-flow/projects/{projectId}/sessions/{sessionId}/ - Artifacts no longer live in project directory - can't be accidentally committed - Remove .claude-flow/ from .gitignore (not needed anymore) - Update all IPC handlers and renderer to use projectId instead of projectPath - Update prompts to remove worktree references - Update README with new storage location
* Update prompts with explicit file paths and git worktree contextClawd2026-02-281-14/+29
| | | | | | | | - Research phase: reference .claude-flow/sessions/{sessionId}/research.md - Plan phase: reference .claude-flow/sessions/{sessionId}/plan.md - Implementation phase: explain worktree isolation and review process - All phases: mention CLAUDE.md at project root for shared context - All phases: mention git worktree location .claude-flow/worktrees/{sessionId}/
* 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