Skip to content

BLU4 promotion ladder v1: contract note, vectors, both verifier shells (Lane 47) - #93

Merged
AetherAi4 merged 4 commits into
mainfrom
feat/blu4-promotion-ladder-lane47
Dec 5, 2026
Merged

AetherAi4 merged 4 commits into
mainfrom
feat/blu4-promotion-ladder-lane47

Conversation

@AetherAi4

Copy link
Copy Markdown
Owner

Reader problem and change

Lane 47 needs a rule to move observe → would-hold → hold only on evidence and a human signature, and to fall back by itself when it is wrong. This adds the wire format for that and teaches predator-verify to check it.

  • BLU4 promotion ladder v1: three records beside the six in contract v1, which stay byte for byte unchanged.
    • blu4.promotion-policy/v1, owner, Ed25519 + ML-DSA-65: the thresholds, signed before any promotion.
    • blu4.promotion/v1, owner, Ed25519 + ML-DSA-65: one rung up, citing the policy, the replay report, days at would-hold and the operator agree/disagree counts.
    • blu4.demotion/v1, receiver, Ed25519: hold → would-hold after one false hold, naming that hold and the operator verdict.
  • predator-verify blu4 checks them in both shells with the v1 trust file. The policy must predate the promotion. Claimed days must fit the time since the rule entered would-hold. The signed numbers must meet the signed thresholds. A demotion's hold must be this receiver's, for this rule, made while the rule was at hold.
  • Vectors in tools/blu4-promotion-vectors/: one full ladder plus 14 refusals, reusing the v1 hold byte for byte. There is a new CI step on both Node legs.
  • End-to-end rehearsal: seven records written by the PREDATOR-M ledger, Python PASS.
  • The Python package core is re-vendored, so vendor.json points at 9d284ca.

Receiver side: AetherAi4/AETHER-PREDATOR-M, branch feat/blu4-promotion-ladder-lane47.

Evidence and validation

Hosted CI was not run for this branch. Everything below ran in the lane sandbox on Linux.

Check Result Label
node tools/blu4-promotion-vectors/crosscheck.mjs --python python3 (Python 3.13, cryptography 50.0.1) all 15 runs as expected in the Python shell measured
Same 15 runs through the Node shell on Node 22, with only verifyMlDsa stubbed (Node 22 has no ML-DSA-65) byte-identical to Python measured, with stub
Node shell with real ML-DSA-65 (Node 24.18+) not available here; the new CI step covers it built-not-run
v1 BLU4 vectors, Python shell against cases.json all as before measured
node tools/blu4-vectors/crosscheck.mjs on Node 22 the same 10 ML-DSA "not available" diffs as main measured
node --test tools/verify-core/predator-verify.test.mjs 10 pass measured
python -m unittest … test_verify_core.py 14 OK measured
node --test tools/verify-release/check-packages.test.mjs 4 pass measured
node tools/verify-fixtures/generate.mjs --check match measured
predator-verify repo . --legacy-ed25519 PASS measured

The browser page does not know the new kinds yet and refuses them as unknown.

AI assistance: Claude (Anthropic) drafted the note, vectors and verifier changes. Commits are DCO signed off.


Generated by Claude Code

Brandon Barrante and others added 4 commits December 4, 2026 20:46
…s (Lane 47)

Adds three records beside the six in contract v1, which stay byte for byte
unchanged: an owner-signed promotion policy (thresholds written before any
promotion), an owner-signed promotion (observe -> would-hold -> hold, one
rung at a time, both Ed25519 and ML-DSA-65), and a receiver-signed demotion
that drops a rule from hold to would-hold after one false hold and names
that hold and the operator verdict.

predator-verify blu4 checks them in both shells with the v1 trust file:
the policy predates the promotion, claimed would-hold days fit the time
since the rule entered would-hold, the signed numbers meet the signed
thresholds, and a demotion's hold was made while the rule was at hold.

Vectors: one full ladder plus 14 refusals, reusing the v1 hold.
Where it ran: Python shell on Linux (Python 3.13, cryptography 50.0.1),
all 15 runs as expected. Node 22 shell matched Python on all 15 with only
the ML-DSA-65 check stubbed; the real Node 24 comparison runs in CI.

AI assistance: Claude (Anthropic) drafted the note, vectors and code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BxCvVMG4UHex76ezVuxiB6
Signed-off-by: Brandon Barrante <aetherai@aethersystems.net>
The packaged verify_core/core.py now matches tools/verify_core at 9d284ca.

AI assistance: Claude (Anthropic).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BxCvVMG4UHex76ezVuxiB6
Signed-off-by: Brandon Barrante <aetherai@aethersystems.net>
Seven records written by the AETHER-PREDATOR-M promotion ledger
(e59f93a): policy, would-hold and hold promotions, two observations, the
hold, and the receiver's demotion after the hold was marked false.
Python shell PASS; Node 22 byte-identical with only ML-DSA-65 stubbed.
Fixture would-hold records, throwaway keys; trust.json is public keys.

AI assistance: Claude (Anthropic).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BxCvVMG4UHex76ezVuxiB6
Signed-off-by: Brandon Barrante <aetherai@aethersystems.net>
@AetherAi4
AetherAi4 marked this pull request as ready for review December 5, 2026 06:02
@AetherAi4
AetherAi4 merged commit ba560f1 into main Dec 5, 2026
0 of 8 checks passed
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