diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df254b3..6819e9e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ name: Release # # PyPI uses Trusted Publishing (OIDC) — no stored token. One-time setup: # pypi.org → your project → Publishing → add a GitHub publisher: -# owner=Perseus-Computing-LLC repo=plutus workflow=release.yml env=pypi +# owner=Perseus-Computing-LLC repo=ledger workflow=release.yml env=pypi # The Docker image publishes to GHCR using the built-in GITHUB_TOKEN (no setup). on: @@ -59,7 +59,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ghcr.io/perseus-computing-llc/plutus + images: ghcr.io/perseus-computing-llc/ledger tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} diff --git a/Dockerfile b/Dockerfile index de25566..cb44d2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ # Perseus Ledger — verifiable provenance for autonomous systems. -# One-command self-hosted deploy: docker run -p 8420:8420 plutus-agent +# One-command self-hosted deploy: docker run -p 8420:8420 ledger FROM python:3.12-slim LABEL org.opencontainers.image.title="Perseus Ledger" LABEL org.opencontainers.image.description="Runtime-neutral, self-hosted, hash-chained event provenance for autonomous systems." -LABEL org.opencontainers.image.source="https://github.com/Perseus-Computing-LLC/plutus" +LABEL org.opencontainers.image.source="https://github.com/Perseus-Computing-LLC/ledger" LABEL org.opencontainers.image.licenses="MIT" ENV PYTHONUNBUFFERED=1 \ diff --git a/README.md b/README.md index c0d7275..001eea2 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,18 @@ plutus demo # → opens the local Ledger console on http://localhost:8420 ``` +### Container image + +The canonical GHCR image is `ghcr.io/perseus-computing-llc/ledger`: + +```bash +docker pull ghcr.io/perseus-computing-llc/ledger:latest +docker run --rm -p 8420:8420 ghcr.io/perseus-computing-llc/ledger:latest +``` + +The `plutus-agent` package, `plutus` CLI, and `PLUTUS_*` environment variables +remain compatibility interfaces for existing integrations. + ```python from plutus_agent import Meter diff --git a/docker-compose.yaml b/docker-compose.yaml index b00cd1d..cbf4122 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,14 +1,14 @@ # Perseus Ledger — self-hosted, verifiable event provenance. # docker compose up → dashboard at http://localhost:8420 (demo data) -# docker compose run plutus init → set up a real org +# docker compose run ledger init → set up a real org # # For real (non-demo) use, set `command: serve --host 0.0.0.0` and provide # Stripe keys via the environment (a .env file is read automatically). services: - plutus: # legacy service name retained for deployment compatibility + ledger: build: . - image: ghcr.io/perseus-computing-llc/plutus:latest - container_name: plutus + image: ghcr.io/perseus-computing-llc/ledger:latest + container_name: ledger ports: - "8420:8420" volumes: diff --git a/docs/authorized-action-receipts.md b/docs/authorized-action-receipts.md index e51c7ff..4a3df69 100644 --- a/docs/authorized-action-receipts.md +++ b/docs/authorized-action-receipts.md @@ -2,7 +2,7 @@ Status: implementation slice Date: 2026-07-25 -Tracks: [perseus-vault#768](https://github.com/Perseus-Computing-LLC/perseus-vault/issues/768) · [plutus#183](https://github.com/Perseus-Computing-LLC/plutus/issues/183) · [hermes-plugin-perseus-vault#4](https://github.com/Perseus-Computing-LLC/hermes-plugin-perseus-vault/issues/4) +Tracks: [perseus-vault#768](https://github.com/Perseus-Computing-LLC/perseus-vault/issues/768) · [ledger#183](https://github.com/Perseus-Computing-LLC/ledger/issues/183) · [hermes-plugin-perseus-vault#4](https://github.com/Perseus-Computing-LLC/hermes-plugin-perseus-vault/issues/4) ## Overview @@ -34,7 +34,7 @@ projection: { "agent_id": "hermes-prod", "authority_manifest_ref": "auth-42@3", - "scope_anchor": "github:Perseus-Computing-LLC/plutus", + "scope_anchor": "github:Perseus-Computing-LLC/ledger", "action_intent_hash": "sha256 hex digest", "status": "executed", "approval_ref": null diff --git a/pyproject.toml b/pyproject.toml index 48d7774..0110d02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,9 +52,9 @@ all = ["stripe>=7.0,<14", "reportlab>=4.0,<5", "boto3>=1.28", "invarium>=0.3; py dev = ["stripe>=7.0,<14", "reportlab>=4.0,<5", "boto3>=1.28", "pytest>=7.0,<10", "invarium>=0.3"] [project.urls] -Homepage = "https://perseus.observer/plutus/" -Repository = "https://github.com/Perseus-Computing-LLC/plutus" -Issues = "https://github.com/Perseus-Computing-LLC/plutus/issues" +Homepage = "https://perseus.observer/ledger/" +Repository = "https://github.com/Perseus-Computing-LLC/ledger" +Issues = "https://github.com/Perseus-Computing-LLC/ledger/issues" [project.scripts] plutus = "plutus_agent.cli:main"