feat(power): typed adversarial engineering verification - #58
Open
Kitahl wants to merge 10 commits into
Open
Conversation
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.
Scope
Power-only vNext upgrade, security hardening, and frozen old-vs-new Power benchmark stacked on exact validated Space head
01c07faf1848284bda3c13d1c1eec972629be9c4.Reality is not included or started.
Power implementation
Power vNext adds content-bound failure hypotheses; typed direct/regression/real-entrypoint/negative-control/mutation/property/metamorphic/differential/environment checks; substantial-change minimum verification; residual failure coverage; mutation-survival blocking; artifact/harness/environment/oracle diagnosis; neutral dual-verifier repair admission; and historical receipt compatibility.
Final security review also hardened the new
python-scriptverifier: a script must resolve inside the supplied repository root. Absolute or symlink-resolved escapes areUNAVAILABLEand are not executed.shell=False, active-interpreter binding, trusted executable resolution, per-check timeout handling, disabled custom commands by default, and hashed stdout/stderr remain preserved.Final published revision
upgrade/challenge-vnext-powerupgrade/challenge-vnext-space01c07faf1848284bda3c13d1c1eec972629be9c409b6746e68df0669ba08161917467d3f916f2a9300ea98d5e23c58f91997a528d8082d03508ab47a99f5b955b782b61ccaa5fa481ecd347963c3a35aThe benchmark commits do not modify
tools/power_runtime.py; the runtime blob remains the same hardened Power implementation previously validated before benchmark instrumentation.Final changed paths
tools/power_runtime.pytests/test_power_challenge_runtime.pytests/test_power_entrypoint_security.pydocs/specs/POWER_ENGINEERING_SPEC.mdskills/codebot/SKILL.mdbenchmarks/POWER_VNEXT_AB_PROTOCOL.mdbenchmarks/fixtures/power_runtime_space_base.pybenchmarks/harness/bench_power_vnext_ab.pytests/test_power_vnext_ab_benchmark.pyFrozen old-vs-new benchmark
Benchmark type: deterministic mechanism-conformance and adversarial-discrimination. It is not a benchmark of general software correctness, repair efficacy, or production reliability.
Pinned implementations:
01c07faf1848284bda3c13d1c1eec972629be9c45b2c0e6f06df99bac77973f70485cd3c465729e4b8e6557253a642ccc85d27a22c79241256eb3f9b99f5b955b782b61ccaa5fa481ecd347963c3a35aThe benchmark fixture points directly to the historical OLD Git blob. The harness recomputes both Git blob identities and aborts on drift.
Score
Exact CI summary:
POWER_AB_SUMMARY={"delta_passes": 13, "new_shared": {"passed": 10, "total": 10}, "new_total": {"passed": 22, "total": 22}, "new_vnext": {"passed": 12, "total": 12}, "old_shared": {"passed": 9, "total": 10}, "old_total": {"passed": 9, "total": 22}, "old_vnext": {"passed": 0, "total": 12}}Shared behavior defect found by A/B
The OLD implementation failed
shared.unavailable_dominates_unknown: with one mandatory timeout and one mandatory unavailable verifier, OLD returnedUNKNOWN. NEW returnsUNAVAILABLE, so missing mandatory verifier capability is no longer masked by an inconclusive timeout.vNext discriminators NEW passed 12/12
execution_authorized=falseand host commit remains required.OLD receives no synthetic passes for mechanisms it does not implement.
Final benchmark-head validation
Exact final benchmark head
09b6746e68df0669ba08161917467d3f916f2a93/ tree00ea98d5e23c58f91997a528d8082d03508ab47a:33238871207: PASSAll checks passed!)Ran 632 tests in 33.488s,OK)33238871178: PASS33238871177: PASS33238871183: PASS33238871192: PASSAuthority and claim boundary
Power emits claim-scoped ENGINEERING evidence only.
execution_authorized=false; no repair self-promotion, host write, or merge authority is added. Soul retains automatic routing/release authority and the neutral repair gate remains host-controlled.The A/B result establishes only performance on the 22 frozen mechanical cases. It does not establish test-suite completeness, semantic correctness of every oracle, mutation score as a production-reliability proxy, cross-repository repair efficacy, exhaustive correctness from passing metamorphic relations, or general real-world software correctness.
Completion state
Power is implemented, security-hardened, benchmarked old-vs-new, fully validated at the final published head/tree, and remains open as PR #58 stacked on Space.
mainwas not merged. Reality was not started.