Solution: LP-0008 — Autonomous AI Module with Wallet, Storage, and Messaging - #142
Open
aegonmyy wants to merge 1 commit into
Open
Solution: LP-0008 — Autonomous AI Module with Wallet, Storage, and Messaging#142aegonmyy wants to merge 1 commit into
aegonmyy wants to merge 1 commit into
Conversation
✅ Validation passedA reviewer will assess against the prize criteria. Automated check. See solution template and TERMS. |
aegonmyy
marked this pull request as draft
September 8, 2026 17:38
aegonmyy
marked this pull request as ready for review
September 9, 2026 06:46
aegonmyy
marked this pull request as draft
September 9, 2026 07:41
aegonmyy
marked this pull request as ready for review
September 9, 2026 10:33
aegonmyy
marked this pull request as draft
September 9, 2026 10:59
…nces, single-sha pins, fresh evidence)
aegonmyy
force-pushed
the
solution/lp-0008
branch
from
September 9, 2026 13:35
53a702f to
c3428ed
Compare
aegonmyy
marked this pull request as ready for review
September 9, 2026 16:59
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.
Solution for LP-0008, Autonomous AI Module with Wallet, Storage, and Messaging: an agent with its own shielded LEZ wallet, Logos Storage access, and Logos Messaging.
Reviewed version, pinned
The implementation is https://github.com/aegonmyy/logos-agent at head commit
2d2cb0a; thesolutions/LP-0008.mdon this branch is byte-identical tosubmission/LP-0008.mdat that commit. The file pins its evidence generation at22e9cee(green runs cited inline there) and states that every commit from22e9ceeto the head changes documentation only; both CI lanes are green at both commits (links in the CI section below). Every on-chain hash in the file was verified against the public RPC on 2026-09-09, and each success criterion carries an inline verification path (a command to run, a link to open, or a named test).What it is
The agent is packaged as a Logos Core module with a documented, third-party-extensible skill interface. It holds its own shielded account and keys, spends autonomously under per-transaction and per-period limits, escalates over-limit spends to its owner over an end-to-end encrypted Logos Messaging channel, and coordinates with peer agents through an A2A-compatible binding that settles payment in LEZ.
Evidence, on the official public LEZ testnet with real Groth16 proofs (
RISC0_DEV_MODE=0)Proof-bearing shielded transactions, agent-driven (
tests/testnet_agent_spend.rs, re-landed 2026-09-08): the agent's own shielded account receives a 100-token mint and spends 10 autonomously below its limit, and every transaction in the flow lands as aPrivacyPreservingtransaction (type byte0x01, real Groth16 proof serialized in the on-chain body):a178944818bc67ee776bcc9ca4e8bf5a798b4d1cf1aab8ce5a84650c079799c6(mint)a3eaeb3a773f35a48935944ca1b15bed683265dbded90633c094e4ef56aa4f4b(spend)2a283d3c8887ef552bf56f415bbd6b534a4424e0765b590f3b44f6f6215a0aaa(spend)eab567f88e164945769c342d35540c7e7ae610c267c4247d877868ae51af8b93(spend)The block explorer does not index
PrivacyPreservingtransactions, so verify against the public RPC directly:Piping the response through
| jq -r '.result[0]' | base64 -d | wc -creproduces the sizes in the table: aPrivacyPreservingtransaction atDEV_MODE=0is hundreds of kilobytes because the proof is serialized in the body, while aPublictransaction is a few hundred bytes. Committed RPC snapshots for all four:docs/testnet-evidence/v0.2.0/. Full account ids, the balance semantics of shielded accounts, and reproduction steps:docs/SHIELDED_TESTNET_PROOF.md.Program-mediated settlements, one per category agent (
docs/THREE_TESTNET_SETTLEMENTS.md): the agent deploys a program with itsprogram.deployskill (id937554f71c96d8ace11298d2d3342e0b4ffa7d61fb394c1706a78c088f4ea471, deployment tx810ac460c5bb2b46a3868fb699635be5059496478db48c98809c107a04ee3d67, block 144, a 343,397-byteProgramDeployment), then each agent settles through it with an included, state-changing transaction whose effect (the claimed account's ownership flipping to the program) is read back from chain state:155731c68cce04f856ad501f568bfb618cc18793705230d7ffcff548f74416cf, block 148adf2ae7455e40315f2b5e31f1dc1b66b2c137f5bd88df483189202a704f94d9c, block 149f589abe4dac0fc0ba40e00614a43ae67b2045cfc24e00884c1574de0be15bd54, block 150These are
Publictransactions by design; they are the settlement evidence, and the proof evidence is the shielded set above.Demo videos:
RISC0_DEV_MODE=0capture of the single test run that executes all three: https://youtu.be/dg6RuNw44a8CI: two workflows, and where the
RISC0_DEV_MODE=0e2e lives. The real-proof lane is a separate workflow file,real-proof.yml, outsideci.yml(a proving lane bound to every push would hold the branch hostage for about 120 minutes per push), and both lanes are green on this submission's exact head commit2d2cb0a:Fast lane (
ci.yml, runs on every push): clean-room build + unit tests + ane2ejob against a standalone LEZ sequencer atRISC0_DEV_MODE=1. Green on2d2cb0a: run 34357162499; also green at22e9cee, the commit the solutions file pins: run 34326620286.Real-proof lane (
real-proof.yml, dispatched on demand on the exact commit under review, its own concurrency group so pushes can never cancel a proving run):RISC0_DEV_MODE=0throughout, both steps required, nocontinue-on-erroranywhere in the file. Green on2d2cb0a: run 34358611324. Step 1: the agent spending flow on a local sequencer, 114 minutes of real Groth16 proving. Step 2: the shielded-send probe against the public testnet, which landed a fresh proof-bearing transaction from CI: txb59af9a93ae9ad33d3de6a6b6f1bdfab4061a67edcbd4e6bc64286cee88e29d1, block 1603, 271,076 bytes, type byte0x01, holder balance 100 -> 90 (mint block 1564). Verify it live:The same lane is also green at
22e9cee, the commit the solutions file pins: run 34326632248, whose probe landed tx6c5aa75e...in block 1225 with the identical shape (271,076 bytes, type0x01); both transactions are live on the public chain today.Correction of this PR's own earlier report: a previous real-proof run (34313591594, commit
ca578f8) showed a green conclusion with an error annotation inside it. The probe step wascontinue-on-errorthen, so the failure was swallowed. The failure itself was never the testnet: that run's send landed in block 1032, included 14 seconds after submission, 271,076 bytes, type0x01. What failed was the test's own hash extraction, which scraped the return value's Debug text and could not parse any hash (a derived-Debug space makes the parse return an empty string). Fixed inab3ca0eby matching the executed-transaction variant directly, and22e9ceeremoved thecontinue-on-errorso a probe failure now reds the run; the pinned green run above is green with nothing swallowed.All runs: https://github.com/aegonmyy/logos-agent/actions
Basecamp
.lgxbundles: https://github.com/aegonmyy/logos-agent/releases/tag/v0.2.0-basecamp-bundlesCriterion to evidence map
Every success criterion in the prize is mapped to a specific test or artifact in
solutions/LP-0008.md. Headline coverage: shielded wallet identity and autonomous spend with real proofs, storage skills with client-side-encrypted uploads to a real node, messaging skills with an approval channel over live Waku, escalation above limits to the owner, A2A coordination with LEZ settlement, the Basecamp owner mini-app, and the third-party skill interface.Honest limitations
docs/limitations.mdstates plainly what does not work: self-certifying Agent Card keys, the module's offline session, a known indexer stall in the recorded real-proof run, and no key-loss recovery. Two limitations from the first submission are resolved in this one:docs/SHIELDED_TESTNET_PROOF.md).By submitting this solution I confirm that I have read and agree to the Terms and Conditions.