3.0 KiB
3.0 KiB
Agent Handoff 2026-03-18
Summary
This handoff covers two related pieces of work:
- The Whetstone planning pipeline for
whimpwmwas debugged and improved so thesprint_001_execution_spec_whetstone.mdrun now produces a usable queue. - A project-scoped taskitem pool was added so external agents can claim/release/complete generated taskitems directly from the target project without relying on an always-running orchestrator.
Key Outcomes
- Fixed the spec-to-taskitem path so prose sections are preserved and mapped into better normalized requirements.
- Fixed workspace-aware target inference so generated taskitems no longer drift into Whetstone internals when planning for another project.
- Added a project-side taskitem pool persisted under
.whetstone/<project>.taskitem_pool.json. - Added MCP tools:
whetstone_import_taskitem_poolwhetstone_list_taskitem_poolwhetstone_claim_taskitemwhetstone_release_taskitemwhetstone_complete_pooled_taskitem
- Added lock-based contention safety for the pool using a
.locksidecar plus atomic temp-file writes. - Fixed MCP error shaping so failed claims now surface as proper tool errors with
isError: true.
Files Changed
editor/src/ArchitectIntakeProcessor.heditor/src/RequirementsParser.heditor/src/ScopeMilestoneDecomposer.heditor/src/SelfContainmentScorer.heditor/src/mcp/RegisterArchitectIntakeTools.heditor/src/mcp/RegisterValidationTools.htools/mcp/run_sprint_taskitem_pipeline.sheditor/src/TaskitemPoolPersistence.heditor/src/mcp/RegisterTaskitemPoolTools.heditor/src/AgentPermissionPolicy.heditor/src/HeadlessAgentRPCHandler.heditor/src/headless_rpc/DispatchPart5.heditor/src/MCPServer.heditor/src/mcp/RegisterOnboardingAndAllTools.h
Verified Behavior
whetstone_mcprebuild succeeds.whimpwmqueue import succeeds from:logs/taskitem_runs/sprint_001_execution_spec_whetstone_20260317_214642/02_generate_taskitems.json
- Project pool persists at:
/home/bill/Documents/whimpwm/.whetstone/whimpwm.taskitem_pool.json
- Concurrency test succeeded:
- two workers racing to claim the same task resulted in exactly one claim winner
- loser returned
Taskitem not readywithisError: true
Current whimpwm State
- The
whimpwmpool was reset to a clean imported state before handoff. - Current counts:
ready: 6blocked: 1total: 7
- No task is currently claimed.
Recommended Next Steps
- Add a lightweight MCP/import bridge from planner runs into workflow items if you still want parity between the legacy workflow system and the project-scoped pool.
- Decide whether
.whetstone/*.taskitem_pool.jsonshould remain runtime-only or become a versioned artifact for some projects. - Add explicit tests for:
- import/claim/release/complete lifecycle
- concurrent claim contention
- error-shaping contract on failed pool mutations
- Start real worker execution against the
whimpwmqueue now that the pool path is usable.