Confirm the write baseline: map stories 1 to 13 of #187 to tests and fill any gap #189
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of epic #187.
What to build
The write tools
mail_draft,mail_flag,mail_move,mail_undoandmail_actionsexist since 0.2.0 (ADR 0004). This issue proves that they meet user stories 1 to 13 of the epic. It changes no behaviour.applyinterface with the fake IMAP session or the fake JMAP server. Add no new test seam.bugissue, link it in the table, and mark the test as an expected failure with the issue number.Acceptance criteria
src/changes.make checkpasses.make test-integrationpasses, or the comment states which targets were not available and were not run.Blocked by
None. This issue does not depend on ADR 0013.
⏸ SVD architect gate: dev/mail-mind-mcp#189 confirm-the-write-baseline-map-stories-1-to-13-of-187-to-tes
Status: CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity
standard· dispatch effortmediumRun:
20261112T025545Z-477a14c5Held because: CLEAN but 4 open risk(s) (2 verification · 2 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
tea commentandtea issues createon dev/mail-mind-mcp? Or should dispatch put the table and draft bug texts in the PR body for the architect to post? [decision]make test-integrationon the host post-merge and confirms the new test_greenmail_writes.py test passes and leaves GreenMail clean. [verification]make checkon the pristine99b976cworktree before its first edit and records the failure set. The PR shows the post-change failure set is identical apart from new passing or strict-xfail tests. [verification]Change: Test-only change. Step 0: fetch the epic #187 story text with tea and re-measure make check on the pristine base. Step 1: map each of stories 1-13 onto the spec's ADR 0004 guarantee inventory (R1-R21, existing node ids per seam). Step 2: add tests only for stories with a gap, at existing seams. The gaps found at spec time:
Step 3: a story the code misses gets a filed bug issue and a strict xfail naming it. Step 4: one mapping comment on #189 (story | test node id | seam | note), mirrored in the PR body. No src/ edits and no new seam.
Files:
tests/test_actions.py·tests/test_write_tools.py·tests/integration/test_greenmail_writes.py·tests/test_jmap.py·tests/test_colors.py·tests/integration/test_stalwart.pyDecision: accept the 4 open risk(s) above and dispatch this spec (
svd:go), or park (svd:skip) / re-spec (svd:respec)?Your call (when this issue is held at the gate via
svd:hold):svd:go— approve; Half-B dispatch accepts exactly this spec (open risks accepted)svd:firebesidesvd:go— approve AND authorise the Half-B fire from the phone; never on its ownsvd:skip— park it; dispatch refuses it and the issue stays for a humansvd:respec— discard this spec; the next Half-A run re-produces it with this record as prior-attempt contextSpec:
/Users/piers/.local/state/exhaust/groupthink/specs/2026-11-12-confirm-the-write-baseline-map-stories-1-to-13-of-187-to-tes.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-12-confirm-the-write-baseline-map-stories-1-to-13-of-187-to-tes.md✅ SVD architect gate: dev/mail-mind-mcp#189 confirm-the-write-baseline-map-stories-1-to-13-of-187-to-tes
Status: CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity
unclassified· dispatch effortunclassifiedRun:
20261112T025545Z-477a14c5Files:
tests/test_actions.py·tests/test_write_tools.py·tests/integration/test_greenmail_writes.py·tests/test_jmap.py·tests/test_colors.py·tests/integration/test_stalwart.pyWrite-set divergence: present table wins. 0 sourceHashes vs 14-row table.
Decision: dispatch this spec (
svd:go)?Your call (when this issue is held at the gate via
svd:hold):svd:go— approve; Half-B dispatch accepts exactly this spec (open risks accepted)svd:firebesidesvd:go— approve AND authorise the Half-B fire from the phone; never on its ownsvd:skip— park it; dispatch refuses it and the issue stays for a humansvd:respec— discard this spec; the next Half-A run re-produces it with this record as prior-attempt contextSpec:
/Users/piers/.local/state/exhaust/groupthink/specs/2026-11-12-confirm-the-write-baseline-map-stories-1-to-13-of-187-to-tes.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-12-confirm-the-write-baseline-map-stories-1-to-13-of-187-to-tes.mdspec-verify-dispatch Half B for dev/mail-mind-mcp#189 confirm-the-write-baseline-map-stories-1-to-13-of-187-to-tes completed integration verify.
12df020c7bcodex-svd ship --run-id 20261112T041854Z-8398a167 --confirm-merge)Story-to-test map (stories 1 to 13 of #187)
From PR #191, commit
12df020. Three tests are new:tests/test_write_tools.py::test_draft_and_flag_input_schema,tests/test_actions.py::test_runner_refuses[flag-params1-unsupported]andtests/integration/test_greenmail_writes.py::test_flag_undo_preserves_owner_read_change.Not run
make test-integrationdid not run in dispatch or on the architect host: no container daemon was reachable. The new GreenMail test for story 8 is therefore unproven. Runmake test-integrationon a host with Podman or Docker before or after merge.Findings
bugissue was filed and no test is marked as an expected failure.\Draftstill set cannot be reached on a fixed UID at an existing seam. The changed-draft tests cover the guard by other means.make checkat the PR head: 1,477 passed, 8 skipped, 23 deselected.