<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-flow.git/src/main/claude/phases.ts, branch claude-flow-v1</title>
<subtitle>A document-centric coding assistant</subtitle>
<id>https://code.northwest.io/claude-flow.git/atom?h=claude-flow-v1</id>
<link rel='self' href='https://code.northwest.io/claude-flow.git/atom?h=claude-flow-v1'/>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/'/>
<updated>2026-03-05T05:36:32+00:00</updated>
<entry>
<title>feat: Thread optional `phase` param into `db/sessions.ts::cre… (+7 more)</title>
<updated>2026-03-05T05:36:32+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2026-03-05T05:36:32+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=73d2680b83ccbdbd8dfec2d319533e98b379b830'/>
<id>urn:sha1:73d2680b83ccbdbd8dfec2d319533e98b379b830</id>
<content type='text'>
- ✅ Thread optional `phase` param into `db/sessions.ts::createSession()`
- ✅ Thread optional `phase` param into `ipc/handlers.ts` sessions:create handler
- ✅ Thread optional `phase` param into `preload.ts` createSession API
- ✅ Update Plan phase system prompt to gracefully handle missing research.md
- ✅ Update Implement phase system prompt to gracefully handle missing plan.md
- ✅ Create `renderer/src/components/NewSessionModal.tsx`
- ✅ Update `App.tsx`: add modal state, split handler, add modal JSX
- ✅ Add modal CSS to `globals.css`
</content>
</entry>
<entry>
<title>feat: **1. `src/main/db/schema.ts`** — add `settings` table … (+10 more)</title>
<updated>2026-03-01T05:08:40+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2026-03-01T05:08:40+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=04c63d4ef601876186e5d7fab980d76575c494ec'/>
<id>urn:sha1:04c63d4ef601876186e5d7fab980d76575c494ec</id>
<content type='text'>
- ✅ **1. `src/main/db/schema.ts`** — add `settings` table to `initSchema`
- ✅ **2. `src/main/db/settings.ts`** — create file with `getSetting`, `getSettings`, `setSetting`, `deleteSetting`
- ✅ **3. `src/main/claude/phases.ts`** — add `customSystemPrompt?` param to `getPhaseConfig`; add `getDefaultSystemPromptTemplate` export
- ✅ **4. `src/main/claude/index.ts`** — import `getSetting`; load custom prompt in `sendMessage`; pass to `getPhaseConfig`
- ✅ **5. `src/main/ipc/handlers.ts`** — import `settingsDb` + `getDefaultSystemPromptTemplate`; register `settings:get`, `settings:set`, `settings:delete`, `settings:getDefaultPrompts`
- ✅ **6. `src/main/preload.ts`** — add `getSettings`, `setSetting`, `deleteSetting`, `getDefaultSystemPrompts` to interface + api object
- ✅ **7. `renderer/src/styles/globals.css`** — append all new CSS rules
- ✅ **8. `renderer/src/components/settings/SystemPromptsSettings.tsx`** — create file (new directory)
- ✅ **9. `renderer/src/components/SettingsPage.tsx`** — create file
- ✅ **10. `renderer/src/components/Header.tsx`** — add `onOpenSettings` prop + ⚙ button
- ✅ **11. `renderer/src/App.tsx`** — add `showSettings` state; import + render `&lt;SettingsPage&gt;`; pass `onOpenSettings` to Header
</content>
</entry>
<entry>
<title>fix: scope artifacts to sessions</title>
<updated>2026-03-01T03:14:01+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2026-03-01T03:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=9a636af9090b122db2e55737fca3e78550aab9df'/>
<id>urn:sha1:9a636af9090b122db2e55737fca3e78550aab9df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move artifacts to ~/.claude-flow/ (outside repo)</title>
<updated>2026-03-01T02:46:11+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-03-01T02:46:11+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=3ac34530578b9a6f59bcea6b5aeefd97eb03d588'/>
<id>urn:sha1:3ac34530578b9a6f59bcea6b5aeefd97eb03d588</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Update prompts with explicit file paths and git worktree context</title>
<updated>2026-02-28T23:38:35+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-02-28T23:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=eee3164e682d3ed141a7369795ae89d166d176fe'/>
<id>urn:sha1:eee3164e682d3ed141a7369795ae89d166d176fe</id>
<content type='text'>
- 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}/
</content>
</entry>
<entry>
<title>Add session-specific artifacts, CLAUDE.md, and git worktree support</title>
<updated>2026-02-28T23:35:00+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-02-28T23:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=0edd7235cd861ef77d4ceb37a594ae65df52624b'/>
<id>urn:sha1:0edd7235cd861ef77d4ceb37a594ae65df52624b</id>
<content type='text'>
- 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)
</content>
</entry>
<entry>
<title>Fix: system prompt passing and strengthen phase enforcement</title>
<updated>2026-02-28T15:53:12+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-02-28T15:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=95a141f79104a350f09ce0fc1ba5dac015e3be16'/>
<id>urn:sha1:95a141f79104a350f09ce0fc1ba5dac015e3be16</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Phase 2: Claude integration layer</title>
<updated>2026-02-28T15:26:43+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-02-28T15:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/claude-flow.git/commit/?id=332e5cec2992fefb302251962a3ceca38437a110'/>
<id>urn:sha1:332e5cec2992fefb302251962a3ceca38437a110</id>
<content type='text'>
- 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
</content>
</entry>
</feed>
