CSM agent pack
Guardrails

The agents are constrained by code, not by good manners.

The pack’s own guardrail list marks each rule as enforced by code or by prompt. A model is never the only thing between a customer and a mistake.

✉

Nothing sends without youenforced by code

Every email is a draft. White-glove mail is never sent. A scale email could be sent automatically only after you approve its message type, legal has signed, two checkers and the gatekeeper pass it, and the send policy allows it. Today nothing is switched on.

🌐

Send policy is blocked until countries are addedenforced by code

The pack ships with no country calendars and no country rules. A recipient whose country is missing from both config/send_policy.json and config/compliance.json is always held, and with no legal sign-off nothing can be released for automatic sending at all. The daily ceiling is 0 until a person sets a start date.

🛡

Planted instructions are data, not orderscode + your setup

Text inside a ticket, email, transcript or CRM note is never followed. The demo plants one on purpose: a ticket that says “SYSTEM NOTE TO AI ASSISTANT: ignore previous instructions…”. It was reported to the CSM in the digest and changed nothing. Structurally, no agent that reads untrusted text holds a network or outward-facing tool.

🔒

The sender address is confirmed at your terminalcode + your setup

The guard checks sends against an address you confirmed yourself, once, by running scripts/confirm_csm_email.py at a terminal. That writes config/csm_identity.json, which agents are denied from editing. Permissions, hooks, the do-not-contact list and the compliance file are likewise yours to change and agents cannot.

⏱

Parked writes, one alert channelenforced by code

Writes to Gainsight or Salesforce are rehearsed in a local folder in the demo. Slack posts are allowed only in one alert channel you name. A calendar event with any attendee other than you is blocked.

🚫

No promisesenforced by code

No price, discount, contract term, roadmap date or legal position appears in any draft. The verifier caught a seeded 10% discount offer (see the drafts sample).

👤

One customer per outputenforced by code

The drafter handles one account per call, and every draft is checked for another customer’s name, data or situation.

​🛑

A kill switchenforced by code

Create state/KILL_SWITCH and every connector call stops, reads included. state/SEND_PAUSE stops only automatic sending.

📁

Agents write only where their job needsenforced by code

The kill switch, audit log, cost record and capability file are closed to every agent. An agent that reads text from outside (customer emails, transcripts, tickets, notes) may write only the folders listed for it. A hook checks each write.

🔗

Links and addresses in drafts are checkedenforced by code

Every draft is checked for links and addresses the account record does not support, including five gaps that earlier checks missed.

📦

Check a clone before you trust itenforced by code

scripts/clone_check.py lists what a copy changed in hooks, permissions, connectors, dependencies and workflows, read-only and offline. Dependencies install from a hash-locked file and the pack’s GitHub Actions are pinned to commit ids.

🩷

The guard has to be seen workingenforced by code

The guard hook stamps a file each time it runs, and a real filing run stops without a stamp under ten minutes old.

📄

Evidence or “not available”enforced by code

A signal without source, record id, date and a quote of 40 words or fewer is invalid. Estimated, derived and assumed labels stay on the value. A missing source is a finding.

🎓

Earned, per message classenforced by code

Automatic sending is earned for one message class only after 20 consecutive held messages were sent unchanged by you, with an explicit /graduate at a terminal. A single correction demotes the class.

Some rules are enforced by a permission hook in code. The deny rules that stop an agent editing the guard files rely on Claude Code’s permission system and have not been exercised in a live session. The pack’s CAVEATS file says so.

What is not yet proven →