Closes #251: feat(smart-contract): Add Agent Capability Attestation and Verification #251 - #311
Open
Promise278 wants to merge 6 commits into
Open
Closes #251: feat(smart-contract): Add Agent Capability Attestation and Verification #251#311Promise278 wants to merge 6 commits into
Promise278 wants to merge 6 commits into
Conversation
…eight - Add framer-motion drag gesture for swipe-to-close (threshold: 100px / 500px velocity) - Implement keyboard focus trap cycling Tab/Shift+Tab within drawer - Auto-close drawer on route navigation and backdrop tap - Adaptive height: 70vh on short screens, 85vh on tall screens - Export NAV_ITEMS from MobileDrawer for drawer/sidebar parity - Add useMediaQuery hook for responsive breakpoint detection - Add MobileDrawer.test.tsx: 15 unit tests covering gestures, close-on-navigate, focus trap - Fix framer-motion ESM resolution in vitest config - Add window.matchMedia mock to vitest.setup.ts for jsdom - All 140 tests passing
…9 verification Implement attest_capability, verify_attestation, revoke_attestation, and get_attestation functions with signature verification, expiry, and revocation. Include 22 unit tests covering creation, verification, revocation, expiry, and error cases. Fix test compilation issues with OsRng, Signer trait import, Ledger trait import, pubkey_bytes env mismatch, and expiry test TTL handling
|
@Promise278 is attempting to deploy a commit to the Jaja's projects Team on Vercel. A member of the Team first needs to authorize it. |
devJaja
self-requested a review
August 24, 2026 14:51
Contributor
|
Well done @Promise278 Kindly fix the CI checks failing |
Contributor
|
CI / frontend is failing |
- Update MobileDrawer role queries from dialog to navigation - Add focus trap to MobileDrawer component - Add window.matchMedia polyfill to vitest setup - Fix AppShell mobile drawer test to mock matchMedia for viewport
Author
CHECK CI CHECKS BOSS |
Contributor
|
CI checks still failing |
Contributor
|
CI checks are failing, also kindly resolve the conflicts |
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.
Closes #251
Summary
Adds cryptographically verified capability attestation to the agent registry.
Agents can now prove their capabilities through ed25519 signatures verified
on-chain, replacing self-reported claims with verified proofs.
Changes
attest_capability(agent_id, capability, signer, signer_pubkey, signature)— verifies ed25519 signature against agent's public key and stores attestation with 30-day expiryverify_attestation(agent_id)— checks attestation exists, is not revoked, and has not expired; emitsAttestationExpiredEventon expiryrevoke_attestation(agent_id)— allows signer to revoke their own attestation; requires authget_attestation(agent_id)— returns attestation data for off-chain indexingEvents
AttestationCreated— emitted on successful attestationAttestationRevoked— emitted on revocationAttestationExpired— emitted whenverify_attestationdetects expiryTests
22 new unit tests covering: