Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
33b62b4
add magicblock ephemeral-rollup build of settlement program
mizuki0x Jun 16, 2026
581566a
wire + verify the ER credit-metering spike on devnet
mizuki0x Jun 16, 2026
93261ed
add verified x402-over-ER pay-per-call demo (phase 2)
mizuki0x Jun 16, 2026
6a010cb
add mixed-account tx experiment (answers Q4 ourselves)
mizuki0x Jun 16, 2026
8776f03
add EphemeralSigner to covenant-x402 (productionize x402-over-ER)
mizuki0x Jun 16, 2026
eae3f26
live-verify EphemeralSigner against the devnet ER
mizuki0x Jun 16, 2026
fc69a82
add covenant-x402-facilitator: verifier side of x402-over-ER
mizuki0x Jun 16, 2026
ecb05cd
wire the daemon to use the ER signer for solana-er providers
mizuki0x Jun 17, 2026
75f54b2
live e2e test for the full daemon x402-over-ER path
mizuki0x Jun 17, 2026
da73a6b
register ER-settled x402 providers as agent tools
mizuki0x Jun 17, 2026
9a6ddf4
deploy: x402 ER facilitator as a Render web service
mizuki0x Jun 17, 2026
1385325
verify the deployed Render facilitator live
mizuki0x Jun 17, 2026
d13519f
harden facilitator nonce store (TTL + bound)
mizuki0x Jun 18, 2026
9382919
add end-to-end operator runbook for the x402-over-ER path
mizuki0x Jun 18, 2026
9f02a7a
facilitator: add a GET / root descriptor
mizuki0x Jun 18, 2026
5937d29
settlement: vault pin, slash to treasury, delegate guards
mizuki0x Jun 23, 2026
899edd2
ci: reproducible amd64 build of the ER settlement program
mizuki0x Jun 23, 2026
5e67592
settlement-ephemeral: self-contained build via vendored _shared.rs fo…
mizuki0x Jun 23, 2026
ff371a7
feat(settlement-publisher): add ER metering mode (gasless consume via…
mizuki0x Jun 29, 2026
8b087ab
feat(settlement-ephemeral): recovery keeper for ER session lifecycle …
mizuki0x Jun 29, 2026
c6603b0
feat(settlement): on-chain provenance hash-chain in the credit accoun…
mizuki0x Jun 29, 2026
4aff7a8
test(settlement): provenance-root chaining across consumes + legacy c…
mizuki0x Jun 29, 2026
de820d4
feat(tee): Covenant TEE attestation — DCAP-verify a Private-ER TDX qu…
mizuki0x Jun 29, 2026
2b7cc97
test(settlement): agent-accountability loop end-to-end (bond -> prove…
mizuki0x Jun 30, 2026
315f887
feat(settlement): slash_for_actions — slash an agent's bond citing it…
mizuki0x Jun 30, 2026
ca70741
test(settlement): accountability loop uses the program-enforced slash…
mizuki0x Jun 30, 2026
e1bd206
feat(tee): covenant-tee module — bind an agent + its provenance root …
mizuki0x Jun 30, 2026
98876a1
feat(settlement): provenance_root fold, slash_for_actions, credit/con…
mizuki0x Jun 30, 2026
7cc35db
perf(settlement-ephemeral): size-optimize release profile (opt-level …
mizuki0x Jul 1, 2026
1f21063
feat(tee): covenant-tee crate + SAS verified-ER registry (attest/reso…
mizuki0x Jul 1, 2026
2077d65
add reference deployment: our demo agent's real work metered on the v…
mizuki0x Jul 1, 2026
20935a6
make commit_credits permissionless
mizuki0x Jul 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Keep Docker build contexts lean (Render builds from a clean git checkout; this
# matters for local `docker build` against a working tree with build artifacts).
**/target/
**/node_modules/
.git/
landing/.next/
**/*.log
47 changes: 47 additions & 0 deletions .github/workflows/verify-er.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: verify-er

# Reproducible build of the MagicBlock ER settlement program on a native amd64
# runner (no qemu/rosetta), producing the verifiable .so to deploy + the
# executable hash. Runs when the program source or _shared.rs copy changes (so
# the drift-guard catches a stale copy), when this file changes, or manually.
on:
workflow_dispatch:
push:
branches: [feat/magicblock-er]
paths:
- '.github/workflows/verify-er.yml'
- 'agent-os/programs/settlement/src/lib.rs'
- 'agent-os/programs/settlement-ephemeral/src/_shared.rs'
- 'agent-os/programs/settlement-ephemeral/Cargo.toml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install solana-verify
run: cargo install solana-verify --version 0.5.0

- name: Check _shared.rs matches settlement/src/lib.rs
run: diff agent-os/programs/settlement/src/lib.rs agent-os/programs/settlement-ephemeral/src/_shared.rs

- name: Reproducible build (settlement-ephemeral, self-contained)
working-directory: agent-os/programs/settlement-ephemeral
run: |
solana-verify build "$PWD" \
--library-name covenant_settlement_program_er \
--base-image solanafoundation/solana-verifiable-build:3.1.14

- name: Executable hash
run: |
SO=agent-os/programs/settlement-ephemeral/target/deploy/covenant_settlement_program_er.so
ls -la "$SO"
solana-verify get-executable-hash "$SO" | tee erhash.txt

- uses: actions/upload-artifact@v4
with:
name: covenant-settlement-program-er
path: |
agent-os/programs/settlement-ephemeral/target/deploy/covenant_settlement_program_er.so
erhash.txt
22 changes: 22 additions & 0 deletions agent-os/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions agent-os/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ members = [
"crates/covenant-peer-auth",
"crates/covenant-budget",
"crates/covenant-x402",
"crates/covenant-x402-facilitator",
"crates/covenant-hyre",
"crates/covenant-zauth",
"crates/covenant-metaplex",
Expand All @@ -32,6 +33,11 @@ members = [
"programs/settlement",
"programs/stake",
]
# settlement-ephemeral is the MagicBlock ER build of the settlement program. It is
# excluded from the workspace so its ephemeral-rollups-sdk graph (which forces the
# solana runtime crates to 2.2.20) resolves in its own lock and never perturbs the
# litesvm 0.6 test dependencies that the rest of the workspace pins to 2.2.1.
exclude = ["programs/settlement-ephemeral"]

[workspace.package]
edition = "2021"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ async fn main() {
scheme: "exact".into(),
extra: Some(PaymentExtra {
fee_payer: Some(PAYAI_FEE_PAYER.into()),
nonce: None,
}),
};
println!("=== input PaymentRequirements ===");
Expand Down
1 change: 1 addition & 0 deletions agent-os/crates/covenant-hyre/src/x402.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ fn to_requirements(accept: &Accept, caip2_network: &str) -> Result<PaymentRequir
scheme: accept.scheme.clone(),
extra: Some(covenant_x402::PaymentExtra {
fee_payer: Some(fee_payer.to_string()),
nonce: None,
}),
})
}
Expand Down
1 change: 1 addition & 0 deletions agent-os/crates/covenant-tee/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading
Loading