Repository navigation
Add a reference external signer and guides for signing and agents - #6
Merged
Merged
Conversation
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.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Readers could not see a page reach Gold: the runtime verifies receipts but nothing produced one.
Reference signer (
examples/external-signer/)src/(one pinned dependency,yaml2.9.0, with a lockfile). Meant to run outside the vault under the key holder's control.keygenwrites a PKCS#8 key with exclusive create and prints only the public trust entry.sign --vault --pageshows every signed field (withnull/[]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
Claims
src/), which still has no signing, approval, apply or promotion command. Tests sign only with disposable keys they generate.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.--outclobber, key leak, lone CR,resolved_proposalsdefault, location checks, TTY check) now fail the tests.authorization.content-mismatch,authorization.key-untrusted. The terminal prompt itself was answered throughrunSignbecause the harness has no TTY.