Skip to content

test(openproof): compare five TRACE fixtures with pinned native Go checks - #1

Closed
dinakarjs wants to merge 1 commit into
antagoninc:openproof-approval-outcomefrom
dinakarjs:test/openproof-native-comparison
Closed

dinakarjs wants to merge 1 commit into
antagoninc:openproof-approval-outcomefrom
dinakarjs:test/openproof-native-comparison

Conversation

@dinakarjs

@dinakarjs dinakarjs commented Nov 19, 2026 •

Copy link
Copy Markdown

TRACE agentrust-io#660 currently compares five committed fixtures with a Python assessment. This adds an optional comparison against the separately implemented Go verifier at OpenProof d85c24a1ec9228de7c4876904f260a0093312b70, based on TRACE afc6e9a. It targets your openproof-approval-outcome branch for adoption into agentrust-io#660.

The Go adapter composes native trust-signature, approval-signature, authority and passkey checks and produces matching outcomes for all five fixtures. Case 04 reaches reference lookup only. Case 03 follows the documented stricter approval-only passkey profile, calling native verifyAssertion directly without inventing a receipt sequence. Reference lookup, digest comparison and verdict ordering are adapter code. The original full-history CLI also agrees on the two cases with receipts. The adapter asserts the ASCII/safe-integer domain where Go JSON serialization agrees with JCS, rather than claiming general JCS support.

Validation on Linux/Python 3.12.14 and Go 1.23.12 with hash-locked TRACE dependencies and readonly Go modules:

  • Five fixture outcomes agree. Three negative controls reject at their intended stages. Disabling each corresponding adapter call causes its own control to fail.
  • Upstream Go package tests pass with caching disabled. The 107 Python fixture tests pass.
  • Full TRACE suite passes 5,380 tests with 98 skipped on both this follow-up and unchanged afc6e9a.
  • Repository Ruff, mypy, dash check and diff checks pass.

The runner records source pins, input/source/binary hashes, explicit historical evaluation times and raw results. Measurements are committed with reproduction instructions in scripts/openproof-comparison.md. Go execution remains optional and requires a separately supplied pinned upstream checkout. Hosted validation and your adoption decision remain pending.

Self-review narrowed the claim to adapter-mediated implementation comparison, made unexpected native panics fatal, asserted the authority rejection stage for case 05, and added controls that expose bypasses of trust, approval and passkey verification. No independent fresh-session review was performed for this follow-up. Go and Python share upstream project authorship. The synthetic trust/checkpoint inputs establish no external custody or current freshness.

Prepared with OpenAI Codex. DCO sign-off included.

Changelog entry

  • Add an optional, pinned OpenProof Go comparison for the five committed approval-outcome fixtures, with adapter boundaries, raw results and signature-check bypass controls recorded.

Add an optional comparison runner and scoped Go adapter for all five committed fixtures, retaining the original full-history CLI comparison for the two cases with receipts. Pin source revisions and record hashes, results and three negative-control mutation trials.

Prepared with OpenAI Codex.

Signed-off-by: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential LOW
Overall MEDIUM

Automated check by AgenTrust Contributor Check.

@github-actions github-actions Bot added the needs-review:MEDIUM Contributor check flagged MEDIUM risk label Nov 19, 2026
@dinakarjs
dinakarjs marked this pull request as ready for review November 19, 2026 15:55

Copy link
Copy Markdown
Author

@antagoninc This follow-up is ready for review at ce39edc, targeting your agentrust-io#660 branch. Please review the adapter boundaries and approve the queued CI/changelog runs when you have inspected the diff. Local validation and reproduction instructions are in the description and scripts/openproof-comparison.md. The formal reviewer request was rejected by the integration's permissions, so I am recording the request here. Prepared with OpenAI Codex.

@antagoninc

Copy link
Copy Markdown
Owner

Thank you for this. I read the diff: five new files under scripts/, with no workflow or dependency changes. A run of OpenProof’s Go verifier on the five fixtures is useful, and it speaks to review point 5 on agentrust-io#660.

I will not merge it into this branch. agentrust-io#660 is waiting for a maintainer on its third commit, and I do not want to change what is under review or add code there that I have not written and tested myself. For the same reason I am not approving the workflow runs here, and I have not run the comparison, so I cannot confirm the recorded results.

The better place is a separate pull request to agentrust-io/trace-spec after agentrust-io#660 merges, so that the maintainers can judge it on its own. I am closing this one for now.

@antagoninc antagoninc closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants