Skip to content

Archon v0.15.0

Latest

Choose a tag to compare

@macterra macterra released this 27 Nov 15:12
· 158 commits to main since this release

Release Highlights

Archon v0.15.0 adds Cashu ecash to the wallet and the node, a web app for running a node, and Memeplex with Memepool: a publishing protocol and client where posts are DIDs and the client publishes under a grant the user controls.

🥜 Cashu ecash

  • A Cashu wallet in both Keymasters, with the same commands in the SDKs, the CLIs, MCP, the wallets and the standalone clients. (#1520, #1525, #1531)
  • Send ecash locked to a DID over DIDComm. The sender chooses the mint. (#1526, #1535)
  • An optional node mint behind Drawbridge. (#1517)
  • Drawbridge accepts Cashu as HTTP 402 payment (NUT-24), alongside L402. (#1598)
  • Pay a Cashu payment request from the CLI or the wallet's Cashu view. (#1605, #1606)
  • Animated QR codes for showing and scanning tokens. (#1617)
  • A regtest suite against real Lightning, including an agent paying the node's paywall with ecash. (#1529, #1607)

🖥️ node-runner

  • A web app for managing a node: status, health and logs (#1560), configuration edits with a reviewed apply (#1561), starting and stopping services (#1562), and updating on the release or main channel (#1563).
  • ./setup-node starts it and prints the address and setup code. It creates .env on a node that has none and asks for the node's names. (#1571, #1568, #1578)

📰 Memeplex and Memepool

  • Memeplex is a protocol for publishing on Archon: posts, articles, papers, replies, ratings and tags are DIDs, published by a client under a grant from the author.
    • @didcid/memeplex, the verifier: object and grant validity, attribution, and publication state. (#1678, #1679, #1681)
    • The v1 schemas and signed fixtures. (#1658)
    • An indexer service, behind the memeplex compose profile. (#1688, #1696)
  • Grants in the wallets and Keymaster, for any app: review a grant request from a link or a QR code, then list, change and revoke grants. Also on the CLI and MCP. (#1699, #1716, #1719, #1720, #1777)
  • Memepool is the first Memeplex client, behind the memepool compose profile. (#1702, #1705, #1709)
    • Sign in with a wallet; the user's key never leaves it.
    • Posts, articles and papers, with Markdown, math, images and embeds. (#1724, #1732, #1742, #1744, #1764)
    • Replies, boosts, ratings, likes and tags, each of which can be undone. (#1713, #1763)
    • Papers with coauthors who confirm, reviews with a verdict, and PDF and source files. (#1764, #1765, #1766)
    • Version history for every post. (#1767)
    • Shareable links with previews, readable without signing in. (#1753, #1757, #1762)
  • The schemas are not yet published; v: 1 may still change.

🆔 Gatekeeper

  • A change feed: GET /api/v1/changes lists the DIDs whose histories changed since a sequence. (#1690)
  • Resolve every version of one or more DIDs in one request. (#1692)
  • Reads of a CID's content are bounded by ARCHON_GATEKEEPER_DOWNLOAD_LIMIT, or a lower ?limit=. (#1751)
  • Stricter and more consistent validation across both ports:
    • One rule for an update's components on every path. (#1666)
    • Padded base64url is refused in proofs and keys. (#1667)
    • An unusable resolution option is invalidOptions, and a versionSequence the history does not reach is notFound. (#1670, #1672)
    • A version's upper bound comes only from a receipt on its own registry. (#1695)
  • Rust Gatekeeper memory and startup: jemalloc, fewer copies during replay, and lookup tables for queries. (#1646, #1647, #1648, #1649)

⚡ Lightning and Tor

  • The bundled Lightning node runs on ghcr.io/archetech/cln, built on the official Core Lightning image. (#1512, #1515)
  • The Tor image is built from Alpine, replacing an unmaintained one, and serves a list of onion services. (#1491, #1511)
  • Lightning funds are protected when a wallet or identity is removed. (#1548)
  • Email alerts when a mediator wallet cannot fund anchoring. (#1549)

🌐 Hyperswarm

  • A node holds a set number of peers. (#1657)
  • Connection errors no longer leave a peer connected and unheard. A node that loses every peer rejoins. (#1686, #1637)
  • The outbound queue is sent in bounded parts. (#1650)

🔒 Security hardening

  • HTTP clients encode values placed in a request path, so a crafted DID cannot reach another route. (#1756)
  • IPFS peering dials only public addresses a peer offers. The shared private-address guard is tighter and identical in both ports. (#1674, #1675)
  • A challenge response names its creator as the responder, not whoever controls the asset now. (#1704)
  • Identity names and aliases cannot contain a slash. (#1759)
  • Request metrics have bounded route labels in Drawbridge and both Gatekeepers. (#1698)

🌐 Herald

  • Personal Agent Protocol 0.4, with Session header verification. (#1611, #1612)
  • A name's credential stays on record when revocation fails. (#1488)

🛠 Fixes

  • Drawbridge no longer forwards the client's Accept-Encoding, which broke proxied responses over HTTPS. (#1532)
  • Drawbridge prices and verifies paywalled routes by their full path. (#1601)
  • The Python Keymaster service sends CORS headers like the TypeScript one. (#1555)
  • The Keymaster CLI exits nonzero when the node refuses a write. (#1726)
  • Solana services moved to web3.js v3. (#1618)

📦 Dependencies

  • @noble/curves and @noble/hashes v2, and @scure/bip39. (#1506, #1508)
  • Core Lightning v26.06.10. (#1519)

🚀 CI and release

  • The Android wallet's APK is named archon-wallet.apk, and the browser extensions are attached to each release. (#1775, #1543)
  • CI skips image builds and suites a change cannot affect. (#1493, #1505)
  • A scale-test harness, with its first experiments recorded. (#1630, #1633)

🎬 Documentation

  • An animated walkthrough of Cashu ecash. (#1536)
  • The deployment guide can be followed by an agent. (#1584)

Published packages

Package Version
@didcid/keymaster 0.9.0
@didcid/gatekeeper 0.9.0
@didcid/cipher 0.7.0
@didcid/common 0.6.0
@didcid/ipfs 0.6.0
@didcid/clients 0.4.0
@didcid/mcp-server 0.6.0
archon-keymaster (PyPI) 0.9.0

What's Changed

Routine Dependabot bumps (39) are omitted from this list.

  • chore: Init v0.15.0 by @macterra in #1484
  • test(herald): cover Poppy validation, accounts adapter and route failures by @macterra in #1486
  • test(common): cover malformed addresses, family mismatch, proxy ports and default guards by @macterra in #1489
  • fix(herald): keep a name's credential on record when revocation fails by @macterra in #1488
  • fix(herald): clear the credential check timeout once the check settles by @macterra in #1487
  • ci: measure wallet-ui coverage from the react-wallet render tests by @macterra in #1490
  • fix(tor): replace the unmaintained Tor image with one built from Alpine by @macterra in #1491
  • docs(noderunner): route the bare /didcomm endpoint through Caddy by @macterra in #1492
  • ci: skip image builds and suites a change cannot affect by @macterra in #1493
  • docs(agents): draft release notes after the tag's Android upload finishes by @macterra in #1501
  • ci: skip Python tests and frontend builds for documentation-only changes by @macterra in #1505
  • docs: plan Cashu ecash integration (#1058) by @macterra in #1504
  • deps(cipher): upgrade @noble/curves to v2 by @macterra in #1506
  • docs(cashu): drop the noble upgrade from the Cashu delivery order by @macterra in #1507
  • deps(cipher): upgrade @noble/hashes to v2 and move to @scure/bip39 by @macterra in #1508
  • docs: plan replacing the cl-hive image with plain Core Lightning (#1509) by @macterra in #1510
  • feat(tor): serve a list of onion services by @macterra in #1511
  • feat(cln): add a Core Lightning image built on the official one by @macterra in #1512
  • fix(tor): reload only once Tor handles SIGHUP by @macterra in #1516
  • feat(lightning): run the bundled node on ghcr.io/archetech/cln by @macterra in #1515
  • feat(cashu): add an optional node mint behind Drawbridge by @macterra in #1517
  • deps(cln): bump Core Lightning to v26.06.10 by @macterra in #1519
  • feat(cashu): add the Keymaster wallet and REST API in both ports by @macterra in #1520
  • feat(cashu): add the Cashu commands to the SDKs, CLIs and MCP by @macterra in #1525
  • feat(cashu): send ecash locked to a DID over DIDComm by @macterra in #1526
  • fix(cashu): lock less on a stuck melt, and check a melt quote's amount by @macterra in #1528
  • test(cashu): add a regtest suite against real Lightning by @macterra in #1529
  • feat(cashu): add the Cashu view to the wallets and clients by @macterra in #1531
  • fix(drawbridge): stop forwarding the client's Accept-Encoding by @macterra in #1532
  • fix(cashu): say why a mint cannot be read, and do not save one that cannot by @macterra in #1533
  • refactor(cashu): remove the #cashu service; the sender chooses the mint by @macterra in #1535
  • docs: add an animated walkthrough of Cashu ecash by @macterra in #1536
  • feat(cashu): offer to add a token's mint when receiving it by @macterra in #1537
  • fix(compose): build the CLN image from one service by @macterra in #1541
  • feat(cln): make the Bitcoin RPC timeout configurable by @macterra in #1542
  • feat(release): attach the browser extensions to GitHub releases by @macterra in #1543
  • fix(keymaster): handle a missing body or field on Lightning routes by @macterra in #1545
  • fix(keymaster-client): show the Lightning tab and offer setup over REST by @macterra in #1546
  • feat(observability): alert by email when a mediator wallet cannot fund anchoring by @macterra in #1549
  • fix(keymaster): protect Lightning funds when removing a wallet or identity by @macterra in #1548
  • fix(wallet-ui): bind Lightning views to the reviewed invoice and identity by @macterra in #1547
  • fix(keymaster): retry node capabilities after a failed read by @macterra in #1558
  • fix(drawbridge): leave profile-gated upstream URLs empty by default by @macterra in #1557
  • fix(keymaster): treat a refused Lightning unpublish reply as a failure by @macterra in #1556
  • fix(keymaster-py): send CORS headers like the TypeScript service by @macterra in #1555
  • docs: plan node-runner, a web app for managing a node by @macterra in #1559
  • feat(node-runner): web app for node status, health and logs by @macterra in #1560
  • feat(node-runner): edit the node's configuration with a reviewed apply by @macterra in #1561
  • feat(node-runner): start, stop and restart services and the node by @macterra in #1562
  • feat(node-runner): update the node on the release or main channel by @macterra in #1563
  • fix(node-runner): restart the node in dependency order by @macterra in #1565
  • docs: document node-runner for operators by @macterra in #1564
  • fix(node-runner): apply only the configuration change that was reviewed by @macterra in #1566
  • feat(node-runner): create .env on a node that has none by @macterra in #1568
  • docs(agents): check review claims about valid inputs against Archon's conventions by @macterra in #1576
  • feat(node-runner): add ./setup-node to start it and print the address and setup code by @macterra in #1571
  • feat(node-runner): offer to generate a missing or placeholder admin key by @macterra in #1573
  • fix(drawbridge): offer optional services from the node's profiles by @macterra in #1575
  • fix(keymaster): look up wallet names as own properties by @macterra in #1580
  • feat(node-runner): ask for the node's names when creating .env by @macterra in #1578
  • docs(deployment): make the deployment guide followable by an agent by @macterra in #1584
  • fix(deploy): bring the archon-noderunner skill in line with Archon's settings by @macterra in #1583
  • fix(node-runner): say how to fix a missing or unusable Docker by @macterra in #1587
  • fix(compose): stop warning about unset reorg depth and DIDComm upload limit by @macterra in #1585
  • fix(deploy): quote operator-chosen values in .env; match whole names in the skill test by @macterra in #1589
  • docs(agents): read review bodies when handling PR comments by @macterra in #1599
  • docs: options for extending the Cashu work during Nut November by @macterra in #1590
  • docs: plan Cashu as HTTP 402 payment at Drawbridge (#1596) by @macterra in #1597
  • feat(drawbridge): accept Cashu as HTTP 402 payment (NUT-24) by @macterra in #1598
  • fix(drawbridge): price and verify paywalled routes by their full path by @macterra in #1601
  • fix(drawbridge): serve block reads free behind the paywall by @macterra in #1603
  • docs: replace Cashu autopay with a pay-request command by @macterra in #1604
  • feat(keymaster): pay a Cashu payment request by @macterra in #1605
  • feat(wallet-ui): decode and pay a Cashu payment request from the Cashu view by @macterra in #1606
  • test(cashu-regtest): an agent pays the node's paywall with ecash by @macterra in #1607
  • docs: list the NUTs implemented for Nut November by @macterra in #1608
  • docs: plan moving Herald's Personal Agent Protocol support to 0.4 by @macterra in #1610
  • feat(herald): verify the Personal Agent Protocol Session header by @macterra in #1611
  • feat(herald): serve the Personal Agent Protocol at 0.4 by @macterra in #1612
  • feat(wallet-ui): show and scan animated QR codes for Cashu tokens by @macterra in #1617
  • fix: migrate Solana services to web3.js v3 by @macterra with @Copilot in #1618
  • docs: add the source of the ecash-to-a-DID video by @macterra in #1622
  • docs: give the ecash-to-a-DID video a soundtrack by @macterra in #1623
  • docs: describe the Nut November project for the judges by @macterra in #1624
  • docs: correct factual errors in the Nut November document by @macterra in #1626
  • docs: plan scale testing by @macterra in #1628
  • docs: measure propagation by resolving at the operation's version by @macterra in #1629
  • test: add a scale-test harness and its first experiment by @macterra in #1630
  • test(scale): wait for the generated versions, not for a count of sightings by @macterra in #1632
  • fix(hyperswarm): rejoin the topic as the same peer by @macterra in #1637
  • docs(hyperswarm): describe nodes behind one public address and the workaround by @macterra in #1638
  • docs: record experiment A and plan the path to 1,000 nodes by @macterra in #1640
  • test(scale): add a sweep, record hosts, and record experiment A by @macterra in #1633
  • docs(memeplex): drop settled questions and cases a Gatekeeper no longer accepts by @macterra in #1641
  • test(scale): size a node holding Memeplex objects by @macterra in #1645
  • perf(gatekeeper): use jemalloc in the Rust Gatekeeper by @macterra in #1646
  • perf(gatekeeper): hold fewer copies of the database during startup replay by @macterra in #1647
  • perf(gatekeeper): read candidate journals from the store instead of holding them by @macterra in #1648
  • perf(gatekeeper): answer queries from a lookup table for each queried path by @macterra in #1649
  • fix(hyperswarm): clear and send the outbound queue in bounded parts by @macterra in #1650
  • docs: aim the 1,000-node plan at bounded peers alone by @macterra in #1656
  • feat(hyperswarm): hold a set number of peers by @macterra in #1657
  • feat(memeplex): add the v1 schemas and signed fixtures by @macterra in #1658
  • deps: bump bitcoinjs-lib from 6.1.7 to 6.1.10 in /services/mediators/satoshi-wallet by @macterra in #1659
  • fix(gatekeeper): apply one rule to an update's components on every path by @macterra in #1666
  • docs(memeplex): name archetech/schemas as the home of the published schemas by @macterra in #1660
  • fix(gatekeeper): refuse padded base64url in proofs and keys by @macterra in #1667
  • docs(gatekeeper): show capabilityInvocation in the example documents by @macterra in #1669
  • fix(gatekeeper): refuse a resolution option that cannot be used by @macterra in #1670
  • test(gatekeeper): cover a versionTime before creation in the shared resolution vectors by @macterra in #1671
  • fix(gatekeeper): answer a versionSequence the history does not reach with notFound by @macterra in #1672
  • fix(gatekeeper): report an unreadable proofValue as an invalid operation by @macterra in #1673
  • fix(ipfs): dial only public IP addresses a peer offers, and tighten the address guard by @macterra in #1674
  • fix(keymaster): write the Python address guard's ranges out, as the TypeScript one does by @macterra in #1675
  • deps: raise qs in the chain mediators and override request's dependencies in the satoshi mediator by @macterra in #1676
  • docs(memeplex): an object that names no rules or no kind is invalid by @macterra in #1677
  • feat(memeplex): add the @didcid/memeplex package with object and grant validity by @macterra in #1678
  • feat(memeplex): read a grant from its history and find its authority at a chain position by @macterra in #1679
  • feat(memeplex): attribute an object's versions and derive its publication state by @macterra in #1681
  • feat(memeplex): choose the rating that counts and read coauthor confirmations by @macterra in #1682
  • feat(memeplex): bound a rating and its scale to a hundred either side of zero by @macterra in #1683
  • test(memeplex): publish under a grant with a Keymaster's asset commands and verify the result by @macterra in #1684
  • fix(hyperswarm): listen for connection errors, and rejoin as a new peer after losing every peer by @macterra in #1686
  • feat(memeplex): an index of publications derived from the histories it is handed by @macterra in #1687
  • feat(memeplex): an indexer service that follows a Gatekeeper's feed and serves the index over HTTP by @macterra in #1688
  • feat(gatekeeper): a change feed listing the DIDs whose histories changed since a sequence by @macterra in #1690
  • feat(memeplex): the indexer follows the Gatekeeper's change feed by @macterra in #1691
  • feat(gatekeeper): resolve every version of one or more DIDs in one request by @macterra in #1692
  • fix(gatekeeper): give a version an upper bound only from a receipt on its own registry by @macterra in #1695
  • refactor(memeplex): the verifier reads the versions a Gatekeeper resolves, not its events by @macterra in #1693
  • feat(memeplex): deploy the indexer behind a compose profile and offer it through Drawbridge by @macterra in #1696
  • fix: bound the route labels of Drawbridge's and the Gatekeepers' request metrics by @macterra in #1698
  • feat(wallet): grant a client from a grant link, and list, change and revoke grants by @macterra in #1699
  • feat(memeplex): a client library that asks for a grant, finds it and publishes under it by @macterra in #1701
  • fix(keymaster): name the creator of a challenge response as its responder, not its current controller by @macterra in #1704
  • feat(memepool): a service that holds the client's key, signs users in with a wallet and publishes under their grants by @macterra in #1702
  • feat(memepool): deploy the service behind a compose profile, with its key in a wallet of its own by @macterra in #1705
  • feat(drawbridge): offer the Memepool service at /memepool, with its cookies kept to the mount by @macterra in #1706
  • feat(memepool): let a wallet send its answer to the service, and the browser that asked collect the sign-in by @macterra in #1707
  • fix(keymaster): remember an asset whose deletion awaits anchoring, and show a grant's revocation after a reload by @macterra in #1708
  • feat(memepool): the pages, where a reader signs in, grants the service, reads and publishes by @macterra in #1709
  • fix(memeplex): give the indexer a host port of its own by @macterra in #1711
  • feat(memepool): serve the pages from the service, at /memepool/ through Drawbridge by @macterra in #1712
  • feat(memepool): respond to a post from the pages (boost, rate, like, tag) and edit one's own by @macterra in #1713
  • feat(memepool): refuse an object the grant's scope does not allow, and offer only what it does by @macterra in #1714
  • feat(memepool): a button that copies the grant link by @macterra in #1715
  • feat(memeplex): require a grant request to list the registries its client can publish on by @macterra in #1717
  • feat(memeplex): make a grant request a DID its client creates by @macterra in #1718
  • feat(keymaster): make, list, change and revoke an app's grant from the command line and MCP by @macterra in #1716
  • feat(wallet): put grants in the Auth tab, for any app's client by @macterra in #1719
  • feat(wallet): name a grant request by archon://auth?grant=, and open it in every wallet by @macterra in #1720
  • docs(memeplex): the publishing client pins its content, and bring the grant docs up to date by @macterra in #1721
  • feat(memepool): publish an article, whose body the service stores and pins by @macterra in #1724
  • test(cln): wait for the relays to start before the stub lightningd exits by @macterra in #1725
  • fix(keymaster): exit nonzero when the node refuses a CLI write by @macterra in #1726
  • feat(keymaster-ui): give the standalone clients the wallets' Grants section, under Auth by @macterra in #1727
  • feat(memepool): copy a post's DID from the pages by @macterra in #1731
  • feat(memepool): show text as GitHub Flavored Markdown, with no HTML, unsafe link or loaded image by @macterra in #1732
  • feat(memepool): preview what is written as it will be shown by @macterra in #1733
  • feat(memepool): show each author's avatar, or a figure where there is none by @macterra in #1734
  • feat(memepool): show an author's name, and the address its domain confirms by @macterra in #1735
  • feat(memepool): show a boost as the version of the post it passes on, under who boosted it by @macterra in #1736
  • feat(memepool): go from an author to that author's own posts by @macterra in #1737
  • feat(memepool): show an embed as what its DID is, a quoted post or an image by @macterra in #1739
  • feat(memepool): keep replies out of a reader's timeline, and list an author's apart from their posts by @macterra in #1740
  • feat(memepool): mark what waits to be anchored as the reader's post, and keep it across a reload by @macterra in #1741
  • feat(memepool): render math, between dollars as the protocol says and with KaTeX's trusted commands off by @macterra in #1742
  • feat(memepool): store an image a user chooses, and put its embed where they are writing by @macterra in #1744
  • fix(memepool): lay math out with the stylesheet of the KaTeX that renders it, and paint only the QR codes white by @macterra in #1745
  • fix(memepool): show the Add image button and not the browser's file chooser beside it by @macterra in #1747
  • fix(memepool): read an article's body from the node, so it is read on any instance by @macterra in #1748
  • feat(memepool): ask an article's writer for a subtitle, and not for a summary by @macterra in #1750
  • feat(gatekeeper): bound a read of a CID's content, by the node's limit or a lower one the caller asks for by @macterra in #1751
  • refactor(memepool): ask the node to hold a read to its limit, and count no bytes in the service by @macterra in #1752
  • feat(memepool): let anyone read what a publication is shown with by @macterra in #1754
  • feat(memepool): give every publication and author an address that can be shared by @macterra in #1753
  • ci: report nothing for a cancelled build that has no end-to-end results by @macterra in #1755
  • fix(clients): make a value in a request's path one segment of it, whatever it holds by @macterra in #1756
  • feat(memepool): show a visitor what a link names, without signing in by @macterra in #1757
  • fix(keymaster): give a new identity or alias no slash in its name, and read a vault item's name with one by @macterra in #1759
  • feat(memepool): take an image pasted into the text box by @macterra in #1760
  • fix(memepool): show an author their post as an edit that waits leaves it, marked as waiting by @macterra in #1761
  • feat(memepool): say what a link names to whatever shows the link by @macterra in #1762
  • feat(memepool): let a reader take back a boost, a rating, a like and a tag by @macterra in #1763
  • feat(memepool): write a paper, list who wrote it, and confirm as a coauthor by @macterra in #1764
  • feat(memepool): review a paper with a reply that gives a verdict by @macterra in #1765
  • feat(memepool): give a paper its PDF and its source, stored by the service and downloaded from the node by @macterra in #1766
  • feat(memepool): look at a post's earlier versions, each with what was made of it by @macterra in #1767
  • docs(memeplex): add zaps to the roadmap, for later by @macterra in #1768
  • feat(memepool): list an author's posts, articles, papers and replies each apart by @macterra in #1769
  • feat(memepool): open a post by clicking it, and put what else it offers under one button by @macterra in #1770
  • feat(memepool): show a post's source from the menu of the post that is open by @macterra in #1773
  • feat(memeplex): let a post or a paper say when and where it first appeared by @macterra in #1774
  • ci: name the Android wallet's APK archon-wallet.apk by @macterra in #1775
  • feat(wallet): scan a grant request's code from the Grants section by @macterra in #1777
  • fix(memepool): say that the grant is being checked for, and what was found by @macterra in #1778
  • feat(memepool): show the reader the grant Memepool publishes under by @macterra in #1779
  • fix(memepool): raise the avatar size limit from 1 MB to 10 MB by @macterra in #1784
  • chore: release minor npm package updates by @macterra in #1785

Full Changelog: v0.14.1...v0.15.0