Skip to content

docs: copy polish across CLAUDE, examples, and docstrings#2

Merged
vvillait88 merged 7 commits intomainfrom
misc-cleanup
May 1, 2026
Merged

docs: copy polish across CLAUDE, examples, and docstrings#2
vvillait88 merged 7 commits intomainfrom
misc-cleanup

Conversation

@vvillait88
Copy link
Copy Markdown
Contributor

Summary

  • Reword CLAUDE.md, two examples, and a couple of source docstrings.
  • Integration tests now require AGENTSCORE_BASE_URL to be set explicitly (no implicit default).

Test plan

  • CI green (lint, typecheck, vitest).

🤖 Generated with Claude Code

vvillait88 and others added 7 commits April 30, 2026 03:30
…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>
@vvillait88 vvillait88 merged commit d2f9fb7 into main May 1, 2026
6 checks passed
@vvillait88 vvillait88 deleted the misc-cleanup branch May 1, 2026 04:25
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.

1 participant