Round 2 responses — Twilio adapter¶
- Fix-round item 4 / Gronktayvius red team display High: Replaced agent summary plus chunked canonical fields with one verifier-built
Details.Message. It contains kind, exact effect binding, canonical target, ticket, command SHA-256, then the short human label. There are no supplementary fields to concatenate. The adapter refuses an oversized message before transport.MessageCharacterLimitdefaults to a conservative 256; this is needs live-doc verification, not a claimed provider limit. The label has an independent 80-character ceiling. An echoed summary alone cannot authorize. - Fix-round item 5 / Gronktayvius general credentials High / red team credentials Medium / Jenny B3: Removed
AuthToken,ApiKeySid,ApiKeySecretand agent configuration binding from the adapter options. Executor-only configuration takesChallengeCredential:KeySidandChallengeCredential:Secret; legacy account/key settings are explicitly rejected. There is no account-token fallback. This is an executor configuration contract, not evidence of actual Twilio permissions. Provision a restricted key permitting only challenge creation/read as needed, never entity/factor enrollment or mutation. Twilio restricted-key scope names and actual enforcement need live-doc verification plus a negative permission check before enablement. No credentials were provisioned or used. - Jenny A1.1: Executor factory requires a trusted registry and independently supplied service pin, resolves the configured person ID, and rejects unregistered factors/service mismatch. Validates VA/YF/SK SID shapes. Account SID configuration is removed, so AC validation is unnecessary. Partial challenge credentials never complete. Null configuration delegate/registry are rejected.
- Jenny B4: Caller challenge IDs must be
YCplus exactly 32 hexadecimal characters before any transport call. Service/entity/factor response pins cannot be blank. Invalid labels and hashes fail before transport. HTTP 400/404 map toInvalid; auth/rate-limit/server/transport failures map toProviderUnavailable. Responses use headers-first transport and a 64-KiB read ceiling, including unknown-length streams. Public parsing also imposes the ceiling. - Jenny B5 (Twilio portion): Explicit bounded request deadline; caller cancellation propagates; internal timeout remains
ProviderUnavailable. Caller cancellation is checked before transport, even on configuration/validation paths. - Jenny D1: Added traversal/query/fragment/dot/empty ID cases asserting zero handler calls; POST and GET both assert exact target URI and per-request Basic auth. Tests assert
HttpClient.DefaultRequestHeaders.Authorizationstays unset. Fake credentials are literal offline placeholders. - Jenny D4: Added 400/404/401/403/408/429/500/503, malformed/empty/HTML responses, response limit, transport exception, internal timeout, pre-cancelled caller and mid-flight cancellation coverage. All HTTP tests use an in-memory
HttpMessageHandler; no network is contacted. - Jenny D5: Chunk splitting is eliminated with the single-message design; action labels remain printable ASCII, so non-BMP labels cannot enter an approval. Added exact configured message-limit and limit-minus-one tests, extra echoed fields rejection, future expiration mismatch and nested duplicate
actionHashrejection. Existing verbatim producer fixture remains unchanged and explicitly cannot authorize Forge. Derived positive fixtures are labeled as such; no live payload is invented or claimed.
Verification¶
Initial targeted test attempt stopped on another lane's in-progress Core ledger API compile error; this was not a Twilio result. Final targeted results are recorded in twilio-test-final.log and .err; see final handoff for actual output. Live Twilio/device display, provider permissions, scope names, service limits and end-to-end integration remain unverified. Keep approvals disabled until the runbook's captured device payload proves the full effect is visible.