Source page 7 · section 7/18 · approximately 1 minutes
Key derivation. derive_keys(phase_root, ctx) computes salt
Key derivation. derive_keys(phase_root, ctx) computes salt
= SHA256(phase_root), PRK = HMAC(salt, digest‖ctx), then
k_sign = HMAC(PRK, "AIPI-SIGN-v1"), k_wrap = HMAC(PRK,
"AIPI-WRAP-v1") — an HKDF-extract/expand pattern (Krawczyk,
2010).
Capability contract (AIPIC). Binds a subject_chk, holders, a
list of Capability(function, scope, limits), a
tribute_vector, and compliance flags. matches() implements
glob-prefix scoping; calculate_tribute() splits an amount by a
default 11/11/11/66/1 vector.
Handshake. HELLO (caller announces CHK + contract ref) →
CHALLENGE (responder returns a 24-byte nonce + phase) →
PROVE (caller returns an HMAC signature over the nonce, a
"tautology" digest, and a quota request) → ALLOW/DENY
(responder verifies and issues a capability ticket). Nonces are
tracked per request-id.
5. Implementation and Validation
We exercise the author's actual classes (aipi_interface.py)
with a deterministic harness (code/aipi_validation.py).
Functional results (Table 1) are machine-generated (results/
aipi_results.json).
Check Result Tier
F1 CHK URI
round-trip 0 errors; collision-free (20,000
[T2]
(20,000 distinct distinct digests)
inputs)
F2 key deterministic; avalanche mean
[T2]
derivation 128.2 / 256 bits (ideal 128)
F3 capability 5/5 cases correct (*, prefix:*,
[T2]
matching exact)
Editorial commentary and evidence checks for this source
Check definitions, measurements and the difference between a model, a reported simulation and independently reproduced evidence. Spiritual or speculative interpretations do not become physical or clinical findings through notation.
Content-addressed capabilities and authentication
A proposed permission protocol combining content identifiers, capability policies and freshness checks.
A content hash identifies bytes; it does not by itself authenticate a person or authorize an action.
Full commentary and investigation questionsThe source text is preserved as attributed material; commentary does not rewrite an allegation into a verified finding.