Git hosting on Arkiv where each repo's own on-chain rules decide merges, CI, bounties and releases.
Charter is decentralized git hosting on Arkiv. A stock git push arkiv::<rid> and git clone arkiv::<rid> work end to end on the Arkiv Rabdi testnet with no server of ours in between. It is a redesign of the Radicle protocol in which Arkiv replaces gossip and seed nodes: every ref, patch, review and release is a signed entity on Arkiv, and every client verifies every signature and fails closed on rollback, expiry or missing data.
What makes it more than "git on a chain" is repo programs. A repo's identity document pins a small deterministic Rhai program by hash, and every client enforces it on every push and fetch. A program can require a 2-of-3 delegate quorum on main, protect branches, require a passing CI attestation before a merge, pay an escrow bounty when a patch lands, or demand a zero-knowledge proof that a sealed patch meets a spec. The rules travel with the repo and nobody can quietly change them: re-pinning is itself a signed identity revision.
Also live on Rabdi:
Charter hosts its own source on Arkiv. Every change to main since the CI system landed went through an Arkiv patch, a CI attestation and the pinned program. GitHub is only a read-only mirror and the host of the release tarballs.
Rust workspace, about a dozen crates. git-remote-arkiv is a git remote helper, so plain git talks to Arkiv. It packs objects, splits them into chunks under Arkiv's op body cap, writes them as entities with indexed ag.* attributes (repo id, kind, sequence, hash), and anchors each push with a signed, hash-linked head. Clones read entities back by attribute query and verify every signature and chain link. A local high-water mark plus Arkiv's entityNonce gives rollback and stale-view protection, because Rabdi has no historical reads.
Arkiv access: the published Rust SDK targets the retired GolemDB ABI, so we wrote our own JSON-RPC client on alloy plus arkiv-bindings from the Arkiv node repo, pinned by commit. Rate limits, the 100-row query cap, the lack of NOT and no queryable $createdAt all shaped the schema (append-only signed chains, our own ag.at, key-ordered paging). The full friction log is in arkiv/friction.md.
Crypto: composite ML-DSA-65 + Ed25519 signatures (both halves must verify), OpenMLS with X-Wing for private repos, RISC Zero receipts for ZK sealed patches, drand quicknet timelock. Repo programs run in Rhai, which is deterministic and sandboxed, with an op and time budget. The escrow agent pays program obligations on-chain and publishes an audit trail.
Agents: chart-mcp is an MCP server (rmcp) exposing clone, patch, review, push and bounty tools, scoped by an on-chain agent grant that the repo can revoke. We tested it with a real Codex CLI agent, live.
Hacky bits worth mentioning: Charter develops itself on Arkiv. Shell CI scripts run patch, runner, attestation, merge, then fast-forward a GitHub mirror. Release records are validated by the same pinned program as merges. The rename from arkiv-git to Charter shipped through that pipeline as v0.2.0 without touching the wire format.

