Skip to content

Preserve verification evidence and prerequisite retry budgets - #13

Merged
nsticco merged 6 commits into
mainfrom
codex/verification-evidence-ledger
Sep 12, 2026
Merged

nsticco merged 6 commits into
mainfrom
codex/verification-evidence-ledger

Conversation

@nsticco

@nsticco nsticco commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Verification continuations can lose the requirement inventory and repeat prerequisite setup without retaining the earlier attempt budget. Require the portable verifier to persist its requirement map against the exact candidate, retain at most two setup attempts per owning service and candidate, and distinguish evidence retry from code remediation and missing authority.

This places the behavior in the owning MoonSpec bundle so every consumer receives the same instructions. It supplies the canonical source for the matching MoonMind reliability change in MoonLadderStudios/MoonMind#4281.

Validation:

  • python tools/validate_bundle.py passed.
  • The complete MoonSpec test suite passed: 17 tests.
  • tools/project_bundle.py --projection moonmind --write and --check passed against a disposable Linux target.
  • MoonMind's exact CI command, python tools/sync_moonspec.py --check, passed in Linux with this source and its byte-identical projection.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T07:30:19.019038Z 9270df2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9270df2250

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bundle/skills/moonspec-verify/SKILL.md
Comment thread bundle/skills/moonspec-verify/SKILL.md Outdated
Comment on lines +294 to +295
unavailable. A verification infrastructure failure preserves the same saved
candidate and requests evidence retry. A demonstrated code defect requests

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Stop retries after the setup budget is exhausted

When an infrastructure failure occurs on the second authorized setup attempt, this unconditionally requests another evidence retry even though the preserved budget is now exhausted. That conflicts with the later Continuation Decision rules, which require an unchanged unavailable prerequisite to terminate with needs_human or blocked rather than repeat the check, so an orchestrator can keep re-entering verification with no permitted recovery action; make evidence retry conditional on remaining budget or a concrete environment change.

Useful? React with 👍 / 👎.

@nsticco
nsticco merged commit 8660c8a into main Sep 12, 2026
2 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