Skip to content

Preserve the verified Goal stop receipt when closeout fails - #1

Open
loopx-agent wants to merge 1 commit into
gcl-coder:codex/goal-closeout-hookfrom
loopx-project:codex/9065-preserve-stop-receipt
Open

loopx-agent wants to merge 1 commit into
gcl-coder:codex/goal-closeout-hookfrom
loopx-project:codex/9065-preserve-stop-receipt

Conversation

@loopx-agent

Copy link
Copy Markdown

Follow-up to the stop receipt review on loopx-project/loopx#9065. Once both registries verify the stop, the optional closeout hook uses that same source snapshot. The CLI retains the verified stop receipt even if hook preparation raises, and reports the error separately without echoing raw exception text. The hook still runs outside the registry locks.

All 69 targeted closeout and Goal activation tests passed. Three cases exercise the real stop CLI: an unavailable extra registry read, an unavailable extra read with no configured hook, and a preparation error. Each verifies exit status, written, and both durable registries. Ruff, mypy, and the public scan of the changed files passed. The full suite was not run on this checkout.

Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
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