Repository navigation
fix(#223): Twilio SMS surface inert BY CONSTRUCTION — labelled disable, not credential-absence - #98
Conversation
… CONSTRUCTION — [PRINCIPAL-RULED 2026-08-21] labeled at the gate; RED-ARM: full credentials provisioned, surface still refuses Executes the CTO's orphan disposition (openclaw#7057): 'inert on staging only because no channel credentials exist' was inert BY ACCIDENT — provisioning Twilio creds for any unrelated reason would have activated an unowned SMS transport. Now register() refuses BEFORE any wiring unless pluginConfig.enableDespiteSmsOutOfScopeRuling === true (strict; truthy strings/1 stay disabled — fail-closed on sloppy config). The flag NAME is the acknowledgement: enabling requires writing the ruling into config. The basis lives AT the gate, auditable: the ruling verbatim; the structural death (SMS pairing binds channel="sms" via A7_CHANNELS, which the principal declined to fund — an enabled transport still could not authenticate anyone), so the question cannot reopen on taste; and the keep-don't-delete reasoning (labeled disable is reversible and honest). Refusal is LOUD with the ruling label — a silent disable reads as nothing-to-report. RED ARM per the issue spec, observed firing: full valid Twilio env provisioned, register() driven → zero channels, zero routes, the labeled refusal logged. Gate-removal mutant → 2 tests red. Override arm proves the disable is the flag, not breakage (channel+route register, with a this-is-against-the-ruling WARN). rails.test.ts's wiring contract preserved UNDER the flag, retitled to say so. 93/93 twilio tests, full suite 914 files / 8628 green, tsgo 0, oxfmt clean. Generated-With: Claude Code Co-Authored-By: openclaw <[email protected]> Co-Authored-By: Claude <[email protected]>
|
Warning Review limit reachedNext included review available in 50 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The formal models extracted constants ( This check is informational (not blocking merges yet). If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there. |
Inert by construction, not by absence
The SMS ruling took a capability out of scope. It did not remove the code: B-Twilio-1 is landed (
PR #68,extensions/twilioin-tree). So the ruling orphaned a shipped transport surface — and that surface was "inert on staging only because no channel credentials exist."Inert-by-accident activates the moment anyone provisions credentials for an unrelated reason. That is the dormant-branch pattern: safe only because its input is currently impossible.
The ruling, executed literally
register()refuses before ANY wiring unlesspluginConfig.enableDespiteSmsOutOfScopeRulingis set. Not a runtime check after setup — a refusal ahead of it.channel="sms"via an allowlist the principal declined to fund, so an SMS onboarding path cannot authenticate regardless of preference. Structural death outranks preference and stops the question reopening on taste.DespiteSmsOutOfScopeRulinginto config. You cannot turn this on without stating what you are overriding.The red arm — the guard observed refusing a real credential
Full valid Twilio credentials provisioned in the test environment,
register()driven: zero channels, zero routes, the labelled refusal.That is the arm that matters, and it is the one a labelled disable normally never gets. A disable that has never refused a live credential is a claim; one that has is a control. It exercises exactly the accident it exists to prevent — a credential landing for an unrelated reason.
Not deleted, deliberately
Retirement is a larger call than a disable, and the code may be worth something if the ruling ever reverses. An explicit, labelled disable is reversible and honest; deletion is neither.
Gate evidence
Receipt
…qgr-pr-prep-20260824-0650-c17375bverified. 93/93 twilio, full suite green,tsgo0, formatting clean. Branched offorigin/main, stacking on everything landed.