diff --git a/docs/DESIGN-FAQ.md b/docs/DESIGN-FAQ.md index 874039b3..0eae23d1 100644 --- a/docs/DESIGN-FAQ.md +++ b/docs/DESIGN-FAQ.md @@ -56,8 +56,9 @@ to get paid. ## What exactly gets stored? A SHA-256 hash of your record, a tag, and an optional signature, pinned to -IPFS. We ask integrators to send a hash, not the record itself: IPFS content -can't be deleted, so raw personal data would outlive any erasure request. +IPFS. We ask integrators to send a hash, not the record itself: nobody can +guarantee that something is deleted from IPFS (anyone with the CID may have kept +a copy), so raw personal data could outlive any erasure request. A receipt is an integrity seal: it shows the record hasn't changed since it was anchored and, if signed, who declared it. It does not prove the record is diff --git a/docs/serverless-audit-waituntil.md b/docs/serverless-audit-waituntil.md index ca5b68e6..600709b1 100644 --- a/docs/serverless-audit-waituntil.md +++ b/docs/serverless-audit-waituntil.md @@ -25,7 +25,7 @@ Confirmed against `GET /api/audit/info` on the public nodes: string field, so pass `process.env.NIRIUM_API_KEY ?? ''` (or omit the header and call `POST /api/audit/log` yourself). -Anchor a **hash**, not personal data: IPFS content cannot be deleted. +Anchor a **hash**, not personal data: nobody can guarantee that something is deleted from IPFS, since anyone with the CID may have kept a copy. ## Why fire-and-forget fails on serverless diff --git a/examples/sdp-audit-bridge/README.md b/examples/sdp-audit-bridge/README.md index 0ff6ff96..25b7c4d3 100644 --- a/examples/sdp-audit-bridge/README.md +++ b/examples/sdp-audit-bridge/README.md @@ -207,7 +207,7 @@ evidence that a previously verified transaction changed. or printed. Transaction hashes are public references and allow an auditor to recover public on-chain destinations from Horizon; this bridge does not promise recipient anonymity. -- IPFS content cannot be deleted. Do not add personal data to the record schema. +- Nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy). Do not add personal data to the record schema. ## Development diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index eb0c8c7a..bcec7bf8 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the `nirium-mcp` package are documented here. ## Unreleased +## 0.6.11 - 2026-11-22 + +README: the Audit Trail note said IPFS content "cannot be deleted". Corrected: nobody can guarantee deletion from IPFS, because anyone with the CID may have kept a copy; the advice is unchanged (anchor a hash, not personal data). No code change. + ## 0.6.10 - 2026-11-21 From #388 (thanks to @sparkysolutions10-pixel): diff --git a/packages/mcp/README.md b/packages/mcp/README.md index 865c4e09..d316ba43 100644 --- a/packages/mcp/README.md +++ b/packages/mcp/README.md @@ -87,7 +87,7 @@ Reading a DeFindex vault is free. Changing one needs the key, and ten of these e `anchor_audit_record` is tamper-evident, not tamper-proof: anyone can check later whether the data still matches its CID, but nothing stops someone from changing a copy. The `anchoredAt` time comes from the Nirium node's clock, not from a trusted timestamp. It is not notarization and carries no legal presumption of authenticity. -Anchor a **hash** of your data rather than the data itself. IPFS content cannot be deleted, so raw personal data would outlive any erasure request. +Anchor a **hash** of your data rather than the data itself. Nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy), so raw personal data could outlive any erasure request. ## Run from source diff --git a/packages/mcp/package.json b/packages/mcp/package.json index a9dc591b..a43030e1 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "nirium-mcp", - "version": "0.6.10", + "version": "0.6.11", "description": "MCP server that lets an AI assistant (Claude, Cursor, VS Code Copilot) use Nirium on Stellar: paid x402 endpoints in USDC, receipts anyone can verify and treasury vault tools. MPP tools are experimental.", "main": "dist/index.js", "bin": { diff --git a/packages/sdk-python/CHANGELOG.md b/packages/sdk-python/CHANGELOG.md index 8aeec279..21f04290 100644 --- a/packages/sdk-python/CHANGELOG.md +++ b/packages/sdk-python/CHANGELOG.md @@ -4,9 +4,12 @@ All notable changes to the `nirium` (PyPI) package are documented here. ## Unreleased +## 0.12.9 - 2026-11-22 + - Pre-sign policy hook (`init_x402(policy=...)`): parity with TypeScript SDK pre-sign policy hook (#355). Evaluates policy before signing; DENY and WAIT never call the signer; fail closed on exceptions; stale ALLOW invalidation via `current_version`. - Raised `stellar-sdk` dependency floor to `>=15.0.0` for Soroban authorization preimage and payload hash support (`build_authorization_preimage`, `authorization_payload_hash`, and address envelope constants). - Aligned `contextHash` wire formatting with the TypeScript SDK (`{"v":1,"url":"...","method":"...","payloadHash":"..."}` with exact key ordering and no whitespace separators). +- README: the Audit Trail note said IPFS content "cannot be deleted". Corrected: nobody can guarantee deletion from IPFS, because anyone with the CID may have kept a copy; the advice is unchanged (anchor a hash, not personal data). ## 0.12.8 - 2026-11-21 diff --git a/packages/sdk-python/README.md b/packages/sdk-python/README.md index 63864636..f79b590b 100644 --- a/packages/sdk-python/README.md +++ b/packages/sdk-python/README.md @@ -57,7 +57,7 @@ anchor = await agent.anchor_audit_record( print(anchor["cid"]) ``` -Anchor a **hash** rather than the data itself: IPFS content cannot be deleted, so raw personal data would outlive any erasure request. +Anchor a **hash** rather than the data itself: nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy), so raw personal data could outlive any erasure request. ### Signed receipts: prove who declared it diff --git a/packages/sdk-python/pyproject.toml b/packages/sdk-python/pyproject.toml index 3bd04393..3864bf2f 100644 --- a/packages/sdk-python/pyproject.toml +++ b/packages/sdk-python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "nirium" -version = "0.12.8" +version = "0.12.9" description = "Pay per request in USDC on Stellar (x402) from Python and AI agents, with a spending cap and receipts anyone can verify. Non-custodial." readme = "README.md" requires-python = ">=3.10" diff --git a/packages/sdk-python/setup.py b/packages/sdk-python/setup.py index 823b2421..e863be9f 100644 --- a/packages/sdk-python/setup.py +++ b/packages/sdk-python/setup.py @@ -2,7 +2,7 @@ setup( name="nirium", - version="0.12.8", + version="0.12.9", package_dir={"": "src"}, packages=find_packages(where="src"), install_requires=[ diff --git a/packages/sdk-python/src/nirium/__init__.py b/packages/sdk-python/src/nirium/__init__.py index 14249d97..54cf86b1 100644 --- a/packages/sdk-python/src/nirium/__init__.py +++ b/packages/sdk-python/src/nirium/__init__.py @@ -17,7 +17,7 @@ if TYPE_CHECKING: from .langchain_tools import NiriumX402Tool, create_nirium_x402_tool -__version__ = "0.12.8" +__version__ = "0.12.9" __all__ = [ "Agent", "WebSocketMaxRetriesExceeded", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 718242e8..3e6229ae 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the `nirium` package are documented here. ## Unreleased +## 0.19.8 - 2026-11-22 + +README: the Audit Trail note said IPFS content "cannot be deleted". Corrected: nobody can guarantee deletion from IPFS, because anyone with the CID may have kept a copy; the advice is unchanged (anchor a hash, not personal data). No code change. + ## 0.19.7 - 2026-11-21 New `receiptCid(document)`: recomputes a receipt's IPFS CID (CIDv0) locally, with no IPFS node and no new dependency, so a copy you kept can be shown to be the original. Accepts the saved bytes, a string, or the `document` object. diff --git a/packages/sdk/README.md b/packages/sdk/README.md index 1eace4ee..5611ed7e 100644 --- a/packages/sdk/README.md +++ b/packages/sdk/README.md @@ -56,7 +56,7 @@ const anchor = await agent.anchorAuditRecord({ console.log(anchor.cid); ``` -Anchor a **hash** rather than the data itself: IPFS content cannot be deleted, so raw personal data would outlive any erasure request. +Anchor a **hash** rather than the data itself: nobody can guarantee that something is deleted from IPFS (anyone with the CID may have kept a copy), so raw personal data could outlive any erasure request. ### Signed receipts: prove who declared it diff --git a/packages/sdk/package.json b/packages/sdk/package.json index ca491f86..be4e963d 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "nirium", - "version": "0.19.7", + "version": "0.19.8", "description": "Charge or pay per request in USDC on Stellar (x402), with receipts anyone can verify. For apps, backends and AI agents. Non-custodial.", "main": "dist/index.js", "types": "dist/index.d.ts",