WIP: Define-build: prototype phase → real anima-agent scratch dispatch → findings Document #282

Closed
toasterson wants to merge 0 commits from claude/wi-019f13ae-define-build-prototype-phase-real-anima into main
Owner

Anima work item 019f13ae-95c1-7693-a88d-248d8c2d15ca.

Split from WI 019f0576-2594 (define-side foundation merged in PR #266, main 7225ac9). AC2 of the original — the core un-wired piece.

What to build

Make the prototype/pretotype Define phase dispatch a REAL build agent (anima-agent) into the scratch space (non-committing), collect its output, and write a findings Document.

Current state (foundation)

run_prototype_phase only: inserts a ScratchSpace row, flips status→Running, creates an EMPTY findings doc, sets worktree_path to /tmp/anima-scratch-<id>, and std::fs::create_dir_all. It does NOT dispatch anima-agent, provision a real worktree, or collect findings. anima-agent/anima-ai/anima-exec are untouched. The response message literally contains a "Dispatch an anima-agent session" TODO.

Acceptance criteria

  • prototype phase provisions a real scratch worktree and dispatches anima-agent into it (non-committing — never merged)
  • agent output/findings are collected into a real findings Document linked to the WI
  • scratch space lifecycle: provisioned on start, cleaned up on finish (ScratchSpaceRepo::mark_cleaned_up wired)

Notes

Foundation merged: ScratchSpace domain + repo + migration 037_scratch_spaces. Needs new anima-agent dispatch path (non-committing mode) — coordinate with the existing implementer/runner dispatch.

Anima work item `019f13ae-95c1-7693-a88d-248d8c2d15ca`. Split from WI 019f0576-2594 (define-side foundation merged in PR #266, main 7225ac9). AC2 of the original — the core un-wired piece. ## What to build Make the prototype/pretotype Define phase dispatch a REAL build agent (anima-agent) into the scratch space (non-committing), collect its output, and write a findings Document. ## Current state (foundation) `run_prototype_phase` only: inserts a ScratchSpace row, flips status→Running, creates an EMPTY findings doc, sets worktree_path to `/tmp/anima-scratch-<id>`, and `std::fs::create_dir_all`. It does NOT dispatch anima-agent, provision a real worktree, or collect findings. `anima-agent`/`anima-ai`/`anima-exec` are untouched. The response message literally contains a "Dispatch an anima-agent session" TODO. ## Acceptance criteria - [ ] prototype phase provisions a real scratch worktree and dispatches anima-agent into it (non-committing — never merged) - [ ] agent output/findings are collected into a real findings Document linked to the WI - [ ] scratch space lifecycle: provisioned on start, cleaned up on finish (ScratchSpaceRepo::mark_cleaned_up wired) ## Notes Foundation merged: ScratchSpace domain + repo + migration 037_scratch_spaces. Needs new anima-agent dispatch path (non-committing mode) — coordinate with the existing implementer/runner dispatch.
toasterson force-pushed claude/wi-019f13ae-define-build-prototype-phase-real-anima from 3af8403a2f to c3b5ae29a5 2026-07-04 22:28:54 +00:00 Compare
toasterson force-pushed claude/wi-019f13ae-define-build-prototype-phase-real-anima from c3b5ae29a5 to 531fb1a234 2026-07-05 19:55:25 +00:00 Compare
toasterson force-pushed claude/wi-019f13ae-define-build-prototype-phase-real-anima from 531fb1a234 to f786248d55 2026-07-05 21:12:19 +00:00 Compare
toasterson force-pushed claude/wi-019f13ae-define-build-prototype-phase-real-anima from f786248d55 to 4fd118d85b 2026-07-05 21:53:31 +00:00 Compare
toasterson force-pushed claude/wi-019f13ae-define-build-prototype-phase-real-anima from 4fd118d85b to 522dfbdae3 2026-07-05 22:46:18 +00:00 Compare
toasterson force-pushed claude/wi-019f13ae-define-build-prototype-phase-real-anima from 522dfbdae3 to 1b57731de5 2026-07-07 20:19:27 +00:00 Compare
Author
Owner

Merged at ae5d72d. Since the reviewer re-dispatched this after #308 (scratch dispatch) landed, its net contribution over main was the prototype-brief tool-name fix (anima_anima_importanima_import, anima_update_documentupdate_document); the competing research-arm block was dropped in favor of #280's canonical define-think implementation. Closing.

Merged at `ae5d72d`. Since the reviewer re-dispatched this after #308 (scratch dispatch) landed, its net contribution over main was the prototype-brief tool-name fix (`anima_anima_import`→`anima_import`, `anima_update_document`→`update_document`); the competing research-arm block was dropped in favor of #280's canonical define-think implementation. Closing.
toasterson closed this pull request 2026-07-09 17:54:40 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
toasterson/Anima!282
No description provided.