diff options
| author | Clawd <ai@clawd.bot> | 2026-02-27 21:51:02 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-27 21:51:02 -0800 |
| commit | 399b03824c9970a7072f9632945282ff85ada1a0 (patch) | |
| tree | 7c51580ecc75e765ed71e9052c779d5c70c5e148 /research.md | |
| parent | 34ba41851752da108fbede66997cda0f814eb714 (diff) | |
Address review comments: clarify decisions, add context indicator
Diffstat (limited to 'research.md')
| -rw-r--r-- | research.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/research.md b/research.md index 0496f29..b7d0897 100644 --- a/research.md +++ b/research.md | |||
| @@ -111,7 +111,7 @@ for await (const message of query({ | |||
| 111 | 111 | ||
| 112 | **Critical for our workflow:** | 112 | **Critical for our workflow:** |
| 113 | - **Research/Plan/Annotate phases**: Use `plan` mode or restrict `allowedTools` to read-only | 113 | - **Research/Plan/Annotate phases**: Use `plan` mode or restrict `allowedTools` to read-only |
| 114 | - **Implement phase**: Use `acceptEdits` or `bypassPermissions` | 114 | - **Implement phase**: Use `acceptEdits` or `bypassPermissions` // REVIEW: make a user toggle |
| 115 | 115 | ||
| 116 | ### System Prompts | 116 | ### System Prompts |
| 117 | 117 | ||
| @@ -307,6 +307,7 @@ const enforcePhaseHook: HookCallback = async (input, toolUseID, { signal }) => { | |||
| 307 | - Con: More complex, may lose SDK internal state | 307 | - Con: More complex, may lose SDK internal state |
| 308 | 308 | ||
| 309 | **Recommendation:** Use **Option A** (SDK persistence) with session ID in SQLite. We can still store messages for display/search, but rely on SDK for actual context. | 309 | **Recommendation:** Use **Option A** (SDK persistence) with session ID in SQLite. We can still store messages for display/search, but rely on SDK for actual context. |
| 310 | // REVIEW: option a | ||
| 310 | 311 | ||
| 311 | ### Artifact Management | 312 | ### Artifact Management |
| 312 | 313 | ||
| @@ -318,6 +319,7 @@ The blog workflow uses `research.md` and `plan.md` as persistent artifacts. | |||
| 318 | 3. **Both** — Files as source of truth, sync to SQLite for search | 319 | 3. **Both** — Files as source of truth, sync to SQLite for search |
| 319 | 320 | ||
| 320 | **Recommendation:** Store as **files in the project directory** (e.g., `.claude-flow/research.md`, `.claude-flow/plan.md`). This matches the blog workflow where the human edits the plan.md directly. | 321 | **Recommendation:** Store as **files in the project directory** (e.g., `.claude-flow/research.md`, `.claude-flow/plan.md`). This matches the blog workflow where the human edits the plan.md directly. |
| 322 | // REVIEW: recommendation is great | ||
| 321 | 323 | ||
| 322 | ### IPC Architecture | 324 | ### IPC Architecture |
| 323 | 325 | ||
