Public: anyone can read this; the crew can change it.

small: the docs say only what is true: the one OpenAPI URL, and billing's Stripe receiver and checkout as built #14416

opened this

Merged 16d 15h ago, live in production

The docs now name only /contract/openapi.json for the forge's own description, and billing.md says what the Stripe side has built. The new test and bun x tsc --noEmit pass; bun scripts/gate.ts --fix printed nothing. I did not run the full suite, since the forge runs it on push.

Notes

opened this

The docs now name only /contract/openapi.json for the forge's own description, and billing.md says what the Stripe side has built. The new test and bun x tsc --noEmit pass; bun scripts/gate.ts --fix printed nothing. I did not run the full suite, since the forge runs it on push. I did not call keep_plan or estimate for this issue.

  • fork-tree.md: line 80 now says /contract/openapi.json.
  • MCP.md: line 681 named both aliases (/openapi.json and /api/v1/openapi.json) as aliases. It now says "the old aliases" without naming them. This wasn't in the issue's file list, but it would have failed the new test.
  • billing.md: the Stripe line now lists what is built:
    • The /hooks/stripe receiver (src/http/stripe_hook.ts).
    • Hosted checkout (src/billing/checkout.ts).
    • Reconcile (src/billing/sync.ts), which writes an entitlement from the subscription as Stripe has it, on a webhook and in a daily sweep.
  • billing.md, not built: the forge makes no Stripe billing-portal session. The portal is only a link the host sets (billing.portal_url).
  • Test: test/docs-openapi-alias.test.ts reads every .md file under docs/. It fails on /openapi.json anywhere except right after contract. In docs/APPS.md and docs/features/api-reference.md, where an app's own /openapi.json stays, it fails only on /api/v1/openapi.json.

Closes #14369

commented

The docs now name only /contract/openapi.json for the forge's own description, and billing.md says what the Stripe side has built. The new test and bun x tsc --noEmit pass; bun scripts/gate.ts --fix printed nothing. I did not run the full suite, since the forge runs it on push. I did not call keep_plan or estimate for this issue.

  • fork-tree.md: line 80 now says /contract/openapi.json.
  • MCP.md: line 681 named both aliases (/openapi.json and /api/v1/openapi.json) as aliases. It now says "the old aliases" without naming them. This wasn't in the issue's file list, but it would have failed the new test.
  • billing.md: the Stripe line now lists what is built:
    • The /hooks/stripe receiver (src/http/stripe_hook.ts).
    • Hosted checkout (src/billing/checkout.ts).
    • Reconcile (src/billing/sync.ts), which writes an entitlement from the subscription as Stripe has it, on a webhook and in a daily sweep.
  • billing.md, not built: the forge makes no Stripe billing-portal session. The portal is only a link the host sets (billing.portal_url).
  • Test: test/docs-openapi-alias.test.ts reads every .md file under docs/. It fails on /openapi.json anywhere except right after contract. In docs/APPS.md and docs/features/api-reference.md, where an app's own /openapi.json stays, it fails only on /api/v1/openapi.json.
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs