Files
stoneheart_at_home/docs/agent-workflow/tasks/M01-V12.md
T

4.5 KiB
Raw Blame History

Review atomic pickup and the title profile selection

Task ID: M01-V12 Role: astra_reviewer Status: READY

1. Context and baseline

S06-02 at sibling s06 a8cd7bb plus implemented checkout. Targeted quantity tag 14, whole 136 core+9 LAN at isolated branch and two prior corpora. S18-02 at sibling s18 e6a01be in progress. Each had explicit M01-F7 preflight corrections. Root will signal when to inspect S18 implementation and integrated refs.

2. Objective and deliverables

Independently review actual atomic pickup now, title/profile integration when ready, then combined branch evidence before remote publication.

3. Scope and non-goals

S06 subset meal/construction stop only and preserved direct recipe processing; S18 visible title selection, exact compiled acceptance/host gates, old profile compatibility. Durable custody in design F8 is separate.

4. Files to inspect

Read root M01-F7, sibling s06 S06-02, its new inventory_transaction.hpp/.cpp, narrow World integration, actual new quantity_transaction_tests.cpp/CMake/docs, contextual World/WorldSave/Immutable runtime. For later S18-02: actual title_screen_win32/viewer_win32/viewer_session/tests, S19 factory/validator, LAN and GUI/handler smokes.

5. Write ownership and coordination

Write scope: none No mutations/builds/remote posts/other agents or Serena switch. Root publishes and owns merges. Direct scoped worktree source incl untracked files mandatory; shared root graph with range checks only when relevant.

6. Implementation or investigation approach

Pickup verify one storage at the current stop, multiple and nonadjacent duplicate line aggregation, no underflow/overflow or invalid type indexing, exact target count, checked final storage capacity including one first-ingredient output reservation at the correct stop. Late rejection leaves original count/slot inventory, routes/cursor/state from pickup entry. Ensure commit has no allocation/throw, erases correctly and preserves stack order, body14/raw13/LAN11 outputs unchanged. Ensure tests enter real meal/multistop/carpentry and runtime fault behavior and direct finish_production is preserved.

7. Interfaces and data contracts

S18 later validate title-only New choice, accurate simple Miner description/controls, both initial and latest async candidates use accepted compiled profile & 32×32, historical default simple/staged/inactive, malformed latest after superseded prepared candidate, exact-default legacy host both immediate/deferred/after modal and explicit pending-load refusal before listener effects; S18-01 guest rollback/modal epoch and ticking fixes remain.

8. Dependencies and integration

Send independent verdicts as available. Root may request follow-up integrated comparisons via updated refs/log paths. Wait for actual S18 ready marker; no future-code signoff.

9. Edge cases security and performance

Check arithmetic touched only accepted input, multiple erased stack lifetime, max 11 types vs unbounded input lines, true atomic output-slot commit, current state unchanged after failures, actual compiled probes and real Win32 entry. Test data mutations must remain scoped to fixtures. Do not equate Wine with native Windows.

10. Acceptance criteria

  1. Separate READY/CHANGES_REQUIRED per component. 2. Source-grounded findings with concrete triggers/severity. 3. Confirm actual logs and golden files/GUI smoke. 4. Integrated review only when refs supplied.

11. Verification commands and evidence

git -C status/rev-parse/diff --check; read new source and relevant tracked full contexts, /tmp/stoneheart-milestones.xprJ2SVp/quantity-{config,build,rebuild,tag-final,ctest,probe-build,golden}.log and actual checksums. S18 final logs will use client-profile-* in same temp directory.

12. Constraints and stop conditions

No code/Git/remote changes; if a blocking defect appears report promptly, then re-review actual corrected source on request. Do not assume dry approval of new receipt registry or future schema15.

13. Authorization and decisions

User authorizes roadmap/push/MRs/upstream issues; root owns all external actions. Prescreen fixes incorporated before implementation.

14. Return format

Return M01-V12 separate S06/S18 verdicts, real files/paths/tests, exact remains and native caveats, later integrated check as assigned.

The S06 component passed and is committed as 3c997ed. Compare integration 66af7c5 (parents e6a01be and 3c997ed) to each parent. Inspect actual m01-quantity-{build,ctest}.log: Windows x64 under Wine passed 136 core, 9 LAN and 10 viewer tests. S18-02 is still a separate pending review.