Skip to content

feat: select the strongest qualified effect verifier - #323

Open
abrichr wants to merge 1 commit into
mainfrom
agent/effect-verifier-candidates
Open

feat: select the strongest qualified effect verifier#323
abrichr wants to merge 1 commit into
mainfrom
agent/effect-verifier-candidates

Conversation

@abrichr

@abrichr abrichr commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

Selects the strongest reviewed effect verifier for each resolved effect before actuation. The selected verifier and its pre-action state remain pinned through verification. The runtime never changes to a weaker verifier after input.

Safety contract

  • effects.candidates is mutually exclusive with the existing single effects.kind configuration.
  • The lowest VerificationTier wins. Declaration order breaks a tie.
  • Candidate configuration, credentials, and plugin lifecycle fail before actuation.
  • GUI and API actuation capture the selected pre-state before input.
  • Durable resume and attended completion read the state for the same resolved effect.
  • Uncertain API delivery uses the pinned verifier. It never retries the action or uses a weaker verifier.
  • If the selected verifier cannot confirm after input, the run requires reconciliation.

The legacy single-verifier configuration remains unchanged.

Validation

  • uv run pytest -q tests/test_effect_verifier_candidates.py tests/test_effect_kit_config.py tests/test_replayer_api_actuator.py — 69 passed
  • uv run ruff check on all changed Python files
  • uv run ruff format --check on all changed Python files
  • strict safety-path mypy on the changed runtime modules
  • python scripts/check_consistency.py
  • python scripts/check_release_consistency.py
  • git diff --check

Hosted required checks are running against exact head 3b3de571399077b12cf84d28a412f77e461e49e7.

@abrichr
abrichr force-pushed the agent/effect-verifier-candidates branch from de3ded9 to f1b1873 Compare July 31, 2026 14:01
@abrichr
abrichr marked this pull request as ready for review August 2, 2026 09:42
@abrichr
abrichr force-pushed the agent/effect-verifier-candidates branch 2 times, most recently from 8951002 to 3b3de57 Compare August 6, 2026 15:08
@abrichr
abrichr force-pushed the agent/effect-verifier-candidates branch from 3b3de57 to ce35ebd Compare August 6, 2026 16:45
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