## Phase 2 of #32 — Upstream unblocked Upstream fusion-artifacts-engine v0.3.0 now provides: - `artifact.patch` RPC (AE-1): replace_section/append/prepend/delete_section with anchor matching - `artifact.get_content` RPC: load artifact content + token count ### Tasks - [x] **FC-2**: LoadArtifactTool — call `artifact.get_content` RPC - Input: artifact_id, optional version - Output: content, token_count, version - Preview truncation at 2000 chars in tool result - [x] **FC-3**: PatchArtifactTool — call `artifact.patch` RPC - 4 operations: replace_section, append, prepend, delete_section - Anchor matching (markdown headings, code function names) - Optimistic lock via expected_version - [x] **Bug fix**: ArtifactCreateTool field mapping (`result.id` → `result.artifact.id`) - [x] **Bug fix**: ArtifactUpdateTool field mapping (`result.version` → `result.version.version_num`) - [x] Extract shared `artifactsRPC` helper - [x] Register new tools in `tools.ts` + `FULL_TOOLS` - [x] Update prompts to reference new tools ### Remaining blocked (Phase 3) - FC-4 (artifact injection budget check): blocked by dahai80/fusion-mlx#327 - FC-7 (context budget indicator): blocked by dahai80/fusion-mlx#327
Activity
refactor(screens): extract safeYoloMessage effect (audit 1.1.1 slice #35
refactor(screens): extract streaming-thinking auto-hide timer (audit …
refactor(screens): extract worktree sparsePaths-tip effect body (audi…
refactor(screens): extract sandbox-unavailable mount effect body (aud…
refactor(screens): extract promptQueueUseCount analytics effect body …
refactor(screens): extract swarm turn-duration effect body (audit 1.1…
refactor(screens): extract cost-threshold dialog effect body (audit 1…