Skip to content

Accept archived captain answers during verification - #35

Merged
TastyTom13 merged 1 commit into
mainfrom
fm/fm-captain-hold-verify-archive
Sep 19, 2026
Merged

TastyTom13 merged 1 commit into
mainfrom
fm/fm-captain-hold-verify-archive

Conversation

@TastyTom13

Copy link
Copy Markdown
Owner

Summary

  • read the configured markdown Done archive when a captain-call inventory entry is absent from the live backlog
  • accept archived rows only when they retain a recorded captain answer
  • preserve live, legacy, and markdown-to-Beads lookup behavior

Acceptance criteria

  1. verify accepts an answered captain-held task after Done retention moves it to the configured archive.
    • Proof: test_verify_accepts_an_archived_answer answers the call, runs tasks-axi prune --state done --keep 0, proves the live row is absent and the archive retains the answer, then verifies successfully.
  2. Commands sharing the inventory lookup also resolve archived Done rows.
    • Proof: archive resolution is implemented in resolve_entry, the shared path used by both complete and verify.
  3. An archived row is settled only when it contains a recorded answer.
    • Proof: archived resolution delegates to body_has_resolution_record and rejects archived rows without that record.
  4. The change is shellcheck-clean and regression-tested.
    • Red: before the implementation, bin/fm-test-run.sh tests/fm-captain-hold-lifecycle.test.sh failed at verify rejected the recorded answer after Done retention archived it.
    • Green: the same test command passed all cases after the implementation in 316791 ms.
    • Lint: bin/fm-lint.sh passed with ShellCheck 0.11.0 and actionlint 1.7.12.

Expected check result

The repository check requiring no-mistakes is expected to remain red because this task was explicitly assigned to the direct-PR path.

Built by: pi/openai-codex/gpt-5.6-sol at medium

@TastyTom13
TastyTom13 merged commit 4164252 into main Sep 19, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant