System Brief

Context For The Change — Not The Whole Monolith.

Create System Brief
01 · Affected flow

Cancel enterprise subscription · pending_cancel → revoke

02 · Services

billing-api · entitlement-worker · audit-writer

03 · Tables

subscriptions · access_grants · audit_log

04 · Events

billing.subscription.cancelled.v2

05 · Hidden deps

nightly export string match on status

06 · Constraints

No auto payment-term edits · compliance archive for enterprise

07 · Tests

billing/cancel_test.go · entitlement/revoke_spec.py

08 · Open unknowns

legacy.account.changed consumers

09 · Source refs

code · api/cancel.ts · trace · ent-07 · schema · subscriptions.status