Repository navigation
Document the MCP Compliance Map in the 10DLC Skill - #23
Conversation
There was a problem hiding this comment.
Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.
Additional findings (outside the current diff — GitHub can't attach inline comments there):
-
🟡
adapter-sources/claude/overlay.yaml— In the Claude plugin, the 10DLC skill now has agents fill an MCPcompliancemap for a create that Claude cannot run. Step 7 then asks for confirmation "before a real create". The overlay rewrites only line 16 of sms-10dlc-registration for Claude. The new "MCP compliance map" section and the MCP branch of step 5 reach claude-plugins/sent unchanged. Fix: in the Claude overlay, rewrite those passages so Claude collects the published requirements for the Dashboard and never prepares or confirms an MCP create.Why this was flagged
generate_adapters.py applies adapter-sources/claude/overlay.yaml only to claude-plugins/sent. For sms-10dlc-registration it replaces only the sentence at line 16. The new text at claude-plugins/sent/skills/sms-10dlc-registration/SKILL.md:52 tells a Claude agent that "Through Sent MCP, the registration uses exactly the keys..." for the setup plan's
compliancevalue. The same file at :114 says "Through MCP, fill thecompliancemap". At :116 it says "Show the payload and obtain confirmation before a real create". From Claude,sender_profiles.createis withheld (overlay.yaml:13). The sent-compliance overlay (lines 51, 59) sends provisioning to the Dashboard. So Claude users get a filled map and a create confirmation that nothing can use, and the instructions contradict line 16 of the same file. The base had no MCP-path text to conflict with. The server enforces the restriction, so the cost is misleading guidance, not an unauthorized create.Verification: Trigger: a Claude-connection agent loads the Claude adapter's sms-10dlc-registration skill for a US 10DLC setup.
adapter-sources/claude/overlay.yamlhas only one edit forskills/sms-10dlc-registration/SKILL.md, the sentence now at line 16. Line 114 says "5. Through MCP, fill thecompliancemap as described above." The overlay also withholdssender_profiles.create. -
🟡
packages/sent/skills/sms-10dlc-registration/SKILL.md— Agents whose MCPcompliancemap is refused get sent to a remediation guide that tells them to use REST camelCase names again. Line 120 routes every failure to references/10dlc-rejection-remediation.md. That file was not updated: line 18 says to serializeuseCases,messagingUseCaseUsandsampleMessages, and lines 32-33 say to rebuild the API request withsandbox: true. Fix: label the remediation guidance as REST-only, as was done for the checklist and tcr-use-cases. Add an MCP path: re-readcompliance.requirements, fix the keys and options, and re-confirm, with no sandbox step.Why this was flagged
The PR exists because Sent refused an MCP
compliancemap filled with camelCase fields,TWO_FAandMIXED. In this skill, the only routing for that refusal is SKILL.md:120: "[references/10dlc-rejection-remediation.md] for failures". The remediation file is unchanged and its guidance is unqualified. Its fix at line 18, "Wrong field casing: serializeuseCases,messagingUseCaseUs, andsampleMessagesexactly", brings back the REST names that the new MCP section (SKILL.md:52) forbids. Its Resubmission steps (lines 32-33) say "Rebuild and validate the API request" and "Usesandbox: true". The PR added REST-only notes to 10dlc-evidence-checklist.md:46 and tcr-use-cases.md:21 but skipped this third reference. So an agent that recovers from a refused MCP map by following the skill's own failure pointer is steered back to the shape the PR says Sent refuses. The same text ships in all four copies (packages/, skills/, plugins/sent, claude-plugins/sent).Verification: Trigger: Sent refuses an agent's MCP
compliancemap and the agent follows the skill's failure routing. packages/sent/skills/sms-10dlc-registration/SKILL.md:120 still sends every failure to[references/10dlc-rejection-remediation.md] ... for failures. This is graded nit, not normal, because it does not make the base worse.
|
Both additional findings from the review are fixed in feba4dd:
|
|
@claude review |
Changes / Fixes / Features included
This PR includes changes / features as below:
compliancemap with camelCase fields,TWO_FAandMIXED, and Sent refused it.compliancemap and the REST campaign request (field names, how 2FA is spelled, whetherMIXED/LOW_VOLUMEare allowed). The REST sections and the workflow step are labelled REST.compliance.requirementspublishes, never REST names or values:TWO_FAis published as2FA, andMIXED/LOW_VOLUMEare refused because volume decides them, so each kind of traffic is its own entry. It points at the live requirements rather than copying the field list, so it cannot drift from the server.sent-compliancestep 1 says the setup plan'scompliancevalue takes the published keys and options, for every market.tcr-use-cases.mdand the evidence checklist say their values and names are the REST ones.How to test?
In order to test changes included in the PR follow steps as below:
python3 scripts/generate_adapters.py --check,scripts/validate.py,scripts/test_validation_gates.py,scripts/test_fixtures.py,scripts/test_contracts.py, andclaude plugin validate . --strictplusclaude plugin validate ./claude-plugins/sent --strict.compliance.requirementsfor US /TEN_DLCand compare its keys anduse_caseoptions (2FA, noMIXEDorLOW_VOLUME) with the skill.