Skip to content

Remove remaining commercial payment leftovers from public repo#332

Merged
GsCommand merged 1 commit into
mainfrom
codex/remove-commercial-payment-leftovers
May 24, 2026
Merged

Remove remaining commercial payment leftovers from public repo#332
GsCommand merged 1 commit into
mainfrom
codex/remove-commercial-payment-leftovers

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Motivation

  • Remove private commercial/payment implementation and operational DB migrations from the public commandlayer-org repo so it surfaces only public protocol, docs, and verifier code.
  • Replace executable monetization examples with public-safe documentation and remove any secrets/checkout/session wiring that belonged to commandlayer/commercial.
  • Preserve public-facing schemas, verifier flows, and read-only lookup routes while eliminating payment-specific runtime behavior and tests.

Description

  • Deleted runtime/payment code and examples: removed lib/stripe-client.js, lib/x402ProviderVerification.js, api/examples/x402-paid-action.js, the examples/x402-paid-action-receipt example folder, and related tests tests/api-x402-paid-action.test.js and tests/x402-paid-action-receipt.test.js.
  • Removed operational DB migrations related to claims/payments/cards: deleted db/migrations/002_claim_status_machine.sql, db/migrations/003_agent_cards.sql, and db/migrations/004_payments.sql, keeping only the minimal intake migration db/migrations/001_claim_requests.sql.
  • Public-safe doc and UI cleanup: removed X402_PROVIDER_* env docs from docs/ops/environment.md, removed x402 endpoint links from public/integrations.html and public/proof-flow-composer.html, and updated scripts/check-local-links.mjs to drop the removed route from the allowlist.
  • Dependency/prune: removed stripe from package.json dependencies and committed the changes.
  • Kept public, read-only verifier and registry behavior such as api/agent-cards/card.js and the public schemas and manifests intact.

Testing

  • Ran npm test which executed the test suite and reports 65 tests passed, 0 failed, and all suites completed successfully.
  • Executed repo-wide search for private/commercial markers with the supplied regex and confirmed no matches remain for the targeted tokens.
  • npm install --package-lock-only was attempted but failed due to an external registry 403 Forbidden in this environment; this is an environment/network restriction and did not affect the test run or repository edits.

Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
commandlayer-commandlayer-org Ready Ready Preview, Comment May 24, 2026 8:15pm
commandlayer-org Ready Ready Preview, Comment May 24, 2026 8:15pm
commandlayer-org111 Ready Ready Preview, Comment May 24, 2026 8:15pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant