Skip to content

test(evidence): add private witness end-to-end demo - #12

Merged
everest-an merged 1 commit into
mainfrom
evidence/private-witness-demo
Aug 3, 2026
Merged

everest-an merged 1 commit into
mainfrom
evidence/private-witness-demo

Conversation

@XiaoHai67890

Copy link
Copy Markdown
Collaborator

Change

  • Adds a deterministic TOOL_TRACE private-witness demonstration from private input through commitment and an authorized ERC-8350 transition.
  • Separates the public/on-chain record, private witness bundle, and auditor disclosure bundle.
  • Adds a Foundry integration test that reproduces the same commitments and transition.
  • Documents exactly what the auditor can verify and what remains outside the claim.

Acceptance evidence

  • Public transition material: test-vectors/private-witness/tool-trace-v1.public.json
  • Private witness boundary: test-vectors/private-witness/tool-trace-v1.private.json
  • Selective audit disclosure: test-vectors/private-witness/tool-trace-v1.auditor.json
  • Reproduction guide: evidence/private-witness/README.md

Verification

  • pnpm demo:private-witness
  • pnpm check
  • 51 Foundry tests, 0 failed
  • Clean-checkout conformance passed at 0f687913b9cfab44d141390c3a169ca505c049b9
  • Raw tool arguments, salts, locator, and witness material never enter calldata

Scope

This is evidence and an optional audit workflow. It does not change the seven-field ExperienceDelta, transition hashing, Registry state machine, or ERC draft.

Stacked on #10 so this PR contains only the private-witness task.

@everest-an
everest-an force-pushed the security/g4-security-ready-rc branch from 31f4fbb to 463155c Compare August 2, 2026 22:46
@everest-an
everest-an changed the base branch from security/g4-security-ready-rc to main August 2, 2026 23:11
@everest-an
everest-an force-pushed the evidence/private-witness-demo branch from 0f68791 to dff86bd Compare August 3, 2026 02:06
@everest-an
everest-an merged commit 8bfccf2 into main Aug 3, 2026
8 checks passed
@everest-an
everest-an deleted the evidence/private-witness-demo branch August 3, 2026 02:31
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