• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

archetech / archon / 45043704507
95%

Build:
DEFAULT BRANCH: main
Ran 22 Nov 2026 04:32PM UTC
Jobs 1
Files 210
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Nov 2026 04:24PM UTC coverage: 76.8% (+0.2%) from 76.552%
45043704507

push

github

web-flow
feat(keymaster): make, list, change and revoke an app's grant from the command line and MCP (#1716)

* feat(keymaster): make, list, change and revoke a Memeplex grant from the command line

An agent acts through the CLI and the MCP tools and cannot paste a grant link into a wallet. Both Keymasters gain createGrant, listGrants, updateGrant and revokeGrant, which make the checks the wallet's Grants tab makes: the link decodes and carries a valid request, the registry is permitted and the node supports it, the granting identity is not on local and is not the client, a narrower scope is a subset of what was asked for, and a change keeps every field of the grant but actions and expiresAt.

The commands are create-grant, list-grants, update-grant and revoke-grant in scripts/archon-cli.js and the TypeScript and Python Keymaster CLIs, with the same MCP tools. The Keymaster service offers them at /grants in both flavors, with KeymasterClient and the Python SDK.

Keymaster is published and @didcid/memeplex is not, so each Keymaster states the link and grant rules itself. tests/keymaster/grant.test.ts holds the TypeScript one to the verifier's answers, and both ports run tests/fixtures/memeplex-v1-vectors.json and the new memeplex-grant-link-vectors.json.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168qihPEAixRXFC88BShBFd

* fix(keymaster): bind a grant to the identity checked, keep null data through a scope update, and honour a request's registries

createGrant names the identity it checked as the asset's controller, so that identity owns and signs the grant whatever the current ID is by then. updateGrant states the asset's whole data with memeplexGrant replaced: mergeData drops a member whose value is null, and a change outside the grant's scope ends the grant.

A grant request may list the registries its client can publish on. Both Keymasters validate the list, create the grant only on a registry i... (continued)

7861 of 11116 branches covered (70.72%)

Branch coverage included in aggregate %.

200 of 201 new or added lines in 5 files covered. (99.5%)

16166 of 20169 relevant lines covered (80.15%)

12009.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.3
0.16% packages/keymaster/src/keymaster.ts
Jobs
ID Job ID Ran Files Coverage
1 45043704507.1 22 Nov 2026 04:32PM UTC 210
76.8
GitHub Action Run
Source Files on build 45043704507
  • Tree
  • List 210
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45043704507
  • 0199e716 on github
  • Prev Build on main (#45041977492)
  • Next Build on main (#45056400203)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc