Add specialty clinic evidence demo#12
Merged
Merged
Conversation
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.
Summary
This PR moves the local specialty-clinic evidence work onto its own branch and packages the demo for review. It adds a Blue Magma-style continuous compliance collector demo that wraps agent tool calls with AgentMint receipts, exports an auditor-verifiable evidence bundle, and includes tamper and scale demos for showing how signatures and hash-chain verification behave.
Issue
The specialty-clinic example already demonstrated a small offline receipt flow, but the local working tree also contained broader demo material that was still sitting directly on
main. That made the work hard to review, easy to accidentally mix with unrelated changes, and not yet shareable as a focused PR.Cause And Effect
The new demo code shows the buyer-facing value more directly: an agent can collect SOC 2-style evidence, hit a checkpoint for a privileged IAM change, retry with a narrow pre-approved action, and produce signed receipts that an auditor can verify without a vendor dashboard. The included generated evidence bundle lets reviewers inspect the exported artifact immediately, while the tamper scripts demonstrate the failure mode if a receipt is edited after signing.
Fix
The branch adds the collector wrapper, registered demo tools, Anthropic-driven live demo entrypoint, payment/scale/tamper demo scripts, and specialty-clinic helper scripts. It also adjusts the existing specialty-clinic demo output pacing and suppresses noisy OpenSSL stderr in the verification script so the demo reads cleaner in terminal recordings.
Validation
python3 -m pytestpassed: 324 tests, 5 dependency deprecation warnings.bash verify.shpassed inexamples/specialty_clinic_evidence_artifact.bash VERIFY.shpassed inoutput/evidence, verifying 5/5 signatures, 5/5 chain links, and the plan cross-reference.