Skip to content

Add a no-account demo command and rewrite the README around it - #16

Merged
hedge-waleed merged 1 commit into
mainfrom
claude/project-thread-f1j0sm
Nov 18, 2026
Merged

hedge-waleed merged 1 commit into
mainfrom
claude/project-thread-f1j0sm

Conversation

@hedge-waleed

Copy link
Copy Markdown
Contributor

Requested by Waleed · project thread

Summary

Step 5 of the README upgrade plan, the Python sibling of halvorAI/ingest-js#14.

New command: halvorai-ingest demo (also python -m halvorai_ingest demo)

  1. Signs one event with a fresh local Ed25519 key and verifies the signature. The instruction is shown only as its hash.
  2. Changes the amount from 41200 to 41290 and verifies again: FAILED.

The Python SDK has no evidence-pack verifier, so unlike the Node.js demo this one shows signing and tamper detection on a single event, not a pack.

  • scripts/render_demo.py renders the demo's real output to assets/demo.svg, an animated terminal that respects reduced motion.

README

  • Badges (CI, PyPI, Python versions, license, APE v0.1), an audience line, the shared hero figure from README kit and a new README: hero figure, field map, no-clone validation ape-schema#10 and the standard positioning sentence.
  • "Try it" leads with a pinned uvx one-liner, the animated output and the expected text, plus a pip alternative.
  • Delivery details and the Stripe setup fold into <details> blocks, each with a one-line lead left open. The x402 code block stays visible. An "I want to" table closes it out.
  • Copy fixes from the audit: the Stripe mapping now says it matches "the Node.js SDK" (Go is frozen), and the schema link is the full schema.halvorai.com/ape/v0.1.json.

Version bumped to 0.6.0, with a CHANGELOG entry. The README pins ==0.6.0, so publish the release soon after merging. Depends on ape-schema#10 for the hero figure.

Tests and verification

  • uv run mypy: no issues in 22 source files.
  • uv run pytest -q: 196 passed on Python 3.12 and 3.10, including the new tests/test_demo.py (the event verifies, the changed copy fails, the instruction text never appears, and main(["demo"]) exits 0).
  • uv build: the wheel and sdist build as 0.6.0.

Brain update

  • What changed: halvorai-ingest gains a demo CLI command; README rewritten; version 0.6.0.
  • Why: lets developers see signing and tamper detection in one command, as part of the public README upgrade.
  • Affected APIs, schemas, SDKs, integrations, or behavior: new CLI subcommand demo only. No change to the client, adapters or event format.
  • Verification performed: mypy, pytest on 3.12 and 3.10, package build.
  • Deployment status (merged code is not necessarily deployed): not merged. 0.6.0 is not published to PyPI.
  • Known limitations and follow-up: no evidence-pack verification in Python, so the README points to the Node.js SDK for that.

Generated by Claude Code

halvorai-ingest demo signs one event with a fresh local key, verifies it,
then changes the amount and shows the check fail. The README leads with it,
an animated render of its real output, the shared hero figure and badges;
delivery, x402 and Stripe details fold into <details> blocks. Bumps the
version to 0.6.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CpycUYrrvgPy5tidGiiTW7
@hedge-waleed hedge-waleed self-assigned this Nov 18, 2026
@hedge-waleed
hedge-waleed merged commit 83df316 into main Nov 18, 2026
1 check passed
@hedge-waleed
hedge-waleed deleted the claude/project-thread-f1j0sm branch November 18, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants