feat(test-vectors): ArkForge execution attestation + constraint evaluation (CTEF v0.3.1)#14
Open
desiorac wants to merge 2 commits intocorpollc:mainfrom
Open
Conversation
…valuation vectors (CTEF v0.3.1) Four JCS-canonicalized test vectors from ArkForge Trust Layer: - execution_attestation_minimal: chain hash composed into CTEF authority claim - constraint_evaluation_within_limit: facet/limit/actual/delta (25% headroom) - constraint_evaluation_near_miss: delta=5 (0.5% headroom, boundary detection) - constraint_evaluation_exceeded: delta=-150 (enforcement trigger) Cross-validation: 4/4 AgentGraph cte-test-vectors.json reproduced byte-exact. Self-verification script included (verify_execution_attestation_arkforge.py). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… 0.1.1) 3 test vectors exercising the tier_upgrade_proof schema converged in A2A #1734 (kenneives × desiorac × pmyers-abundance): - tier_upgrade_granted: T1→T2 with requester_did + policy_ref - tier_upgrade_denied: constraint already saturated - tier_upgrade_replay_vulnerable: missing requester_did (must reject) Schema incorporates desiorac's requester_did correction and pmyers-abundance's policy_ref adoption per ArkForge suggestion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Context
Follow-up to the cross-implementation convergence on CTEF v0.3.1 (#7 comment). AgentGraph published
cte-test-vectors.jsonat69ad94dwith 4 vectors covering identity/transport/authority/continuity. ArkForge reproduced all 4 byte-exact (canonical + SHA-256).What this adds
Four JCS-canonicalized test vectors from ArkForge Trust Layer (
did:web:trust.arkforge.tech, proof-spec v2.1.3):execution_attestation_minimalchain_hashfrom proof-specconstraint_evaluation_within_limitconstraint_evaluationshape from #6delta=250(25% headroom)constraint_evaluation_near_missdelta=5(0.5% headroom)constraint_evaluation_exceededdelta=-150(15% over)The
constraint_evaluationobject uses thefacet/limit/actual/deltashape proposed in #6.deltaenables near-miss detection: positive-but-small values are leading indicators of future constraint violations.Cross-validation
cte-test-vectors.json: 4/4 pass byte-exact canonical + SHA-256python3 specs/test-vectors/verify_execution_attestation_arkforge.py— 4/4 passFiles
specs/test-vectors/execution-attestation-arkforge.json— 4 vectors + metadataspecs/test-vectors/verify_execution_attestation_arkforge.py— zero-dependency verifier