Add pluggable verifier interface for skill promotion#74
Open
nutstrut wants to merge 1 commit into
Open
Conversation
This was referenced May 18, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
verified_skillsoperating mode to gate automatic skill promotion with pluggable verifiers.Mode comparison
skills_onlyverified_skillsrlmadmaxDescription
metaclaw/verificationwith aVerifierInterface,VerificationResult, and implementations:LocalVerifier,NullVerifier,RemoteHTTPVerifier, andSettlementWitnessVerifier, plus afactorywithbuild_verifier/build_verifier_safehelpers.VerificationConfigand wire averificationfield intoMetaClawConfigand_DEFAULTSinconfig_store, and expose config parsing inConfigStore.to_metaclaw_configanddescribe.metaclaw/api_server.py) by building a safe verifier, constructing verification packets for evolved skills, attaching verification metadata, auditing rejected/indeterminate promotions, and skipping promotion unless verifier rules permit it.verified_skillsto the CLI and interactiveSetupWizard, treat it similar toskills_onlyin launcher and environment setup, and updateREADME.mdwith mode docs and config examples.SkillManagerto persist and load optionalmetadata.jsonalongsideSKILL.mdso verifier metadata is stored with skills.tests/test_verification.pycoveringNullVerifier,LocalVerifierbehavior, and factory/fallback selection.Testing
Ran the new unit tests with
pytest -q tests/test_verification.pyand all tests passed.Verified the verification factory fallback by creating a
MetaClawConfigwith a bad verifier and assertingbuild_verifier_safereturns aNullVerifier(test passed).Exercised
LocalVerifiercases in unit tests covering fail/duplicate/indeterminate/pass verdicts (all assertions succeeded).Focused verifier/runtime tests passed:
pytest -q tests/test_verification.py tests/test_memory_system.py tests/test_runtime_state.py
Result: 537 passed
Codex Task