docs: copy polish across CLAUDE, examples, and docstrings#2
Merged
vvillait88 merged 7 commits intomainfrom May 1, 2026
Merged
Conversation
…che docstring Generalize to "multi-instance deployments" so the comment describes the constraint (shared cache needed) rather than the AgentScore deployment topology.
- src/identity/policy.ts: drop the "extracted from <internal merchant>" attribution paragraph; the helpers stand on their own - examples/per-product-policy-merchant.ts: drop the same attribution - examples/multi-rail-merchant.ts: drop "Martin Estate runs in production, stripped of wine-specific business logic" from the header docstring - CLAUDE.md: drop the "<merchant> runs this pattern in production" trailing sentence in the gate-mount-posture section - tests/integration.test.ts: integration tests now require both AGENTSCORE_API_KEY and AGENTSCORE_BASE_URL to be set; no default to a private (`*.internal`) endpoint
The "Every helper lifts directly from working production code (agentscore/martin-estate)" line in this public repo's CLAUDE.md frames a specific reference customer as our internal extraction source. The underlying invariant — extract from real consumers — is what matters.
- hono 4.12.15 → 4.12.16 - mppx 0.6.7 → 0.6.8 (Linux keychain error-handling improvement; no payment-library code change) All 540 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Picks up the latest published sdk patch. All 540 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
AGENTSCORE_BASE_URLto be set explicitly (no implicit default).Test plan
🤖 Generated with Claude Code