Skip to content

Add a reference external signer and guides for signing and agents - #6

Merged
patschmittdev merged 1 commit into
mainfrom
external-signer-and-agents-guide
Nov 20, 2026
Merged

patschmittdev merged 1 commit into
mainfrom
external-signer-and-agents-guide

Conversation

@patschmittdev

Copy link
Copy Markdown
Owner

Readers could not see a page reach Gold: the runtime verifies receipts but nothing produced one.

Reference signer (examples/external-signer/)

  • Standalone Node 22+ module, independent of src/ (one pinned dependency, yaml 2.9.0, with a lockfile). Meant to run outside the vault under the key holder's control.
  • keygen writes a PKCS#8 key with exclusive create and prints only the public trust entry.
  • sign --vault --page shows every signed field (with null/[] defaults), the target path, key ID, full digest and the numbered body, with control, bidi and zero-width characters shown as visible tokens. It asks for the first 12 digest characters on an interactive terminal and refuses keys inside or hard-linked into a vault. These checks guard against mistakes; they are not a security boundary.

Guides

  • Sign a page and reach Gold: bash walkthrough from a fresh checkout to a Gold query result, then the content-mismatch and untrusted-key failures.
  • Run Ziggurat with models and agents: what a proposing model, a reading agent and an operating agent may reach; the trust root and private key are the line. Includes "Receipts or signed commits?" and the rollback risk.

Claims

  • "Ships no signer" statements are scoped to the Ziggurat runtime (CLI, MCP server and src/), which still has no signing, approval, apply or promotion command. Tests sign only with disposable keys they generate.
  • Walkthrough text no longer says admission is "human-only"; the threat model says "External signing capability required for Gold" and records rollback to an earlier signed page.
  • SECURITY.md: defects in the reference signer are in scope.

Verification

  • npm run check: 762 pass, 4 skipped (Windows-only skips of POSIX mode and symlink cases); site check validates 24 pages.
  • An adversarial review's surviving mutations (display removed, digest comparison removed, --out clobber, key leak, lone CR, resolved_proposals default, location checks, TTY check) now fail the tests.
  • The walkthrough was run end to end from a fresh copy: Gold admission, authorization.content-mismatch, authorization.key-untrusted. The terminal prompt itself was answered through runSign because the harness has no TTY.

Readers could not see a page reach Gold: the runtime verifies receipts
but nothing produced one. examples/external-signer is a standalone Node
signer, independent of src/, meant to run outside the vault. It shows
every signed field and the numbered body with controls made visible,
asks for the digest prefix on a terminal, and refuses keys inside a vault.

The two new guides walk from a fresh checkout to a Gold query result
and its failure cases, and set out what a proposing model, a reading
agent and an operating agent may reach. Claims that the project ships
no signer are scoped to the runtime (CLI, MCP server and src/), the
walkthrough strings no longer say admission is human-only, and the
threat model records rollback to an earlier signed page.
@patschmittdev
patschmittdev merged commit e35cf32 into main Nov 20, 2026
7 checks passed
@patschmittdev
patschmittdev deleted the external-signer-and-agents-guide branch November 20, 2026 16:16

This branch was successfully deployed

1 active deployment
github-pages — e35cf325 Deployed Nov 20, 2026 by patschmittdev via deploy to github pages #9
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.

1 participant