{"full_name":"devaccuracy/ledgerforge","owner":"devaccuracy","name":"ledgerforge","shard":"1","url":"https://github.com/devaccuracy/ledgerforge","description":"The ledger for AI-native money movement. An open-source double-entry ledger for wallets, payouts, marketplaces and billing, with exact integer money, a verifiable audit chain, server-enforced spending limits and approvals for AI agents, and an MCP server. Apache 2.0.","homepage":"https://ledgerforge.io","topics":["ai-tools","fintech","ledger","billing","double-entry-accounting","payout","wallet"],"tag_pages":["ai-tools","billing","fintech","wallet"],"language":"Go","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/227702729?u=d66849b3e70f1aa45dd780a838e1467048175f3f&v=4","created_at":"2026-05-10T09:41:41Z","pushed_at":"2026-10-16T14:24:54Z","metrics":{"stars":311,"forks":32,"watchers":7,"issues":1,"prs":20,"releases":1,"issues_open":1,"issues_closed":0,"prs_open":10,"prs_closed":0,"prs_merged":10,"discussions":0},"growth":{"day":{"stars":1,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[218,223,223,294,310,311],"forks":[29,29,29,32,32,32],"watchers":[3,3,3,4,7,7],"issues_open":[1,1,1,1,1,1],"prs_open":[10,10,10,10,10,10]},"boards":{"weekly_rate":28,"monthly_rate":82},"same_owner":[],"issues":[{"number":21,"title":"Interop question: standardized handoff for externally retained audit checkpoints","comments":0,"created_at":"2026-10-22T18:45:12Z"}],"discussions":[],"latest_release":{"name":"LedgerForge v1.0.0","tag":"v1.0.0","published_at":"2026-10-10T06:34:03Z","body":"\nThe first LedgerForge release: a double-entry ledger with exact integer money\nhandling, durable transaction lifecycles, read-only replay verification and a\nversioned audit chain, server-enforced spending policies and approval holds for\nAPI keys and AI agents, and a hardened HTTP API. Upgrades are supported from\nfresh installs and from the previous `main` schema; see the upgrade notes.\n\n### Added\n\n- `ledgerforge version` and `--version` report the release version, commit and\n  build date stamped into release binaries and container images.\n\n- `model.ParseAmount` and checked exact amount conversion, raw decimal-token\n  preservation for HTTP transaction/inflight requests, and amount/distribution\n  fuzz tests with independent arithmetic oracles.\n- Read-only `ledgerforge verify` accounting replay with JSON issue reports and\n  repeatable-read PostgreSQL snapshots of balances and lifecycle evidence.\n- Canonical v3 hash chains, persistent checkpoint roots, `ledgerforge audit verify`,\n  `audit export`, external\n  `--anchor` comparison, and separate pending-coverage/tampering reports.\n- Generated PostgreSQL operation-sequence tests, concurrent snapshot/chainer\n  tests, and property tests for mutation, deletion, truncation and retained roots.\n- Seeded historical-main migration fixtures and no-op rerun checks, with lifecycle\n  rollback tests targeting the intended migration by ID.\n- Per-key currency/precision spending rules, aggregate transaction caps, ledger\n  and balance allowlists, UTC daily capacity, durable admissions and reservations.\n- Policy approval holds, independent approval/rejection endpoints, effective\n  policy/capacity inspection and persistence checks for queued execution.\n- Immutable API-key delegation ancestry, intersected inherited policies, shared\n  ancestor budgets, per-budget capacity reports and approval-family checks.\n- Immutable transaction execution controls, economic schema and grouping evidence;\n  v3 audit commitments include those controls, overdraft caps, queue actions,\n  scheduling and original historical rate evidence.\n- MCP API-key identity binding through `--api-key` / `LEDGERFORGE_MCP_API_KEY`,\n  policy/capacity/approval tools and resources, and identity-bound submission.\n- Import-graph architecture tests; private reconciliation and search services\n  with consumer-defined dependencies and instance-owned background jobs.\n- CI vulnerability scanning, full-suite coverage artifacts, short fuzz smoke,\n  Dependabot updates, and test-gated main/release image publication.\n- Tag releases with both CLIs for Linux/macOS/Windows on amd64/arm64, checksums,\n  multi-platform images, SPDX source/container SBOMs and image attestations.\n- Isolated `make test-integration`, `make vuln` and `make cover`; authenticated\n  local transfer and agent-policy examples; accounting, verification, security,\n  deployment and contribution guides.\n\n### Changed\n\n- Monetary posting arithmetic uses the same exact integer amount for source and\n  destination; retained `rate` and `currency_multiplier` do not apply FX conversion.\n- Inflight decimal conversion resolves stored precision through the injected\n  datasource instead of global configuration/cache state, including bulk paths.\n- Reconciliation orchestration moved into `internal/reconciliation`; reindex\n  admission, progress and cancellation moved into an instance-owned search service.\n- `LedgerForge.Close` cancels/waits for owned jobs and closes owned resources;\n  callers retain ownership of injected datasource connections.\n- Audit migrations and lifecycle immutability protection share a compatible\n  transaction-update policy; sealed commitments and deletes remain protected.\n- Audit/control migrations avoid transaction-table backfills, use a concurrent\n  journal index and validate constraints separately; upgrade maintenance is\n  documented for fresh installs and upgrades from main (`feda9b1`) or earlier\n  published releases. This release introduces v3 directly; intermediate v1/v2\n  migrat","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}