Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
fix(proof): stamp the native local runner identity [C7,H16]
Corey Olson55a1817f0cf7
diff --git a/docs/formats.md b/docs/formats.mdindex 27eeaea5..285129d3 100644--- a/docs/formats.md+++ b/docs/formats.md@@ -539,9 +539,9 @@ Engine 54 replaces the automatic strong-to-strong ceiling escalation with one co## Native proof provenance-Engine 92 adds `recordProofRun` and the append-only `proof-run` item event. The gate writes a version-two receipt in the existing gate receipt store after execution. The ordered move reads that file itself and binds its recorded seat to the authenticated actor; caller-written provenance is refused. Replay carries the canonical receipt rather than reading the originating machine's filesystem. Like the existing gate-run protocol, this trusts authenticated ordered replay and trusted recovery inputs; it is not independent cryptographic attestation of a machine owner or an imported history. The existing `gate-receipts.jsonl` timing receipt links its executed phases through `proofReceiptIds`; there is no agent-written provenance log. Version-one gate receipts retain their separate flake and quarantine meaning.+`PROOF_RUN_ENGINE` adds `recordProofRun` and the append-only `proof-run` item event; its unassigned leaf receives its permanent number at landing. The gate writes a version-two receipt in the existing gate receipt store after execution. The ordered move reads that file itself and binds its recorded seat to the authenticated actor; caller-written provenance is refused. Replay carries the canonical receipt rather than reading the originating machine's filesystem. Like the existing gate-run protocol, this trusts authenticated ordered replay and trusted recovery inputs; it is not independent cryptographic attestation of a machine owner or an imported history. The existing `gate-receipts.jsonl` timing receipt links its executed phases through `proofReceiptIds`; there is no agent-written provenance log. Version-one gate receipts retain their separate flake and quarantine meaning.-`pullboard show <id> --json` adds `proofReceipts`, in event order. Each entry identifies its native receipt, command kind, item, commit, tree, frozen digest, actual executor environment (`node`, `platform`, `arch`), runner, seat, recorded parent session, exit code, explicit pass/fail/skip counts, duration in milliseconds and source cleanliness. Unavailable identities or counters stay `null`; a legacy seat's identity is not recorded-parent assurance. This records the single runtime actually used, without adding runtime configuration or requiring execution on multiple versions. Plain `show` prints the same receipt chain. A missing receipt prevents publication of an executed command's outcome. At engine 92, shouts longer than 400 Unicode code points are refused with `SHOUT_TOO_LONG`, pointing callers to receipts and `show`; older moves replay under their original limit.+`pullboard show <id> --json` adds `proofReceipts`, in event order. Each entry identifies its native receipt, command kind, item, commit, tree, frozen digest, actual executor environment (`node`, `platform`, `arch`), runner, seat, recorded parent session, exit code, explicit pass/fail/skip counts, duration in milliseconds and source cleanliness. The runner identifies the executor from its native receipt, including the local runner's identity. Unavailable identities or counters stay `null`; a legacy seat's identity is not recorded-parent assurance. This records the single runtime actually used, without adding runtime configuration or requiring execution on multiple versions. Plain `show` prints the same receipt chain. A missing receipt prevents publication of an executed command's outcome. At `PROOF_RUN_ENGINE` and above, shouts longer than 400 Unicode code points are refused with `SHOUT_TOO_LONG`, pointing callers to receipts and `show`; older moves replay under their original limit.## Approval provenancediff --git a/src/gate.js b/src/gate.jsindex b5eae572..a704d7c8 100644--- a/src/gate.js+++ b/src/gate.js@@ -297,7 +297,8 @@ function leaveProofReceipt(root, command, run, before, context, lease) {green: run.isGreen ?? run.state === 'pass', failures: [],load: run.executionLoad ?? (remote || lease?.runner ? null : localLoad), at: new Date().toISOString(),proof: { item: context.item, frozenDigest: context.frozenDigest ?? null, seat: context.seat,- environment, runner: remote ?? (lease?.runner ? null : 'local'), exitCode: run.exitCode,+ environment, runner: remote ?? (lease?.runner ? null+ : run.profile?.receipt?.runner?.id ?? lease?.receipt?.runner?.id ?? lease?.localDescriptor?.id ?? null), exitCode: run.exitCode,counts: run.proofCounts ?? proofCounts(run.outputPath ? logLines(run.outputPath) : run.output ?? ''),durationMs: Math.max(0, Math.round(run.remoteWallMs ?? run.profile?.wallMs ?? run.seconds * 1000)), sourceClean } });if (!receipt) return null;