oficina / equipo Public

Server-managed Claude settings can override Equipo's policy open

Problem. Claude Code 2.1.312 fetches server-managed settings from api.anthropic.com/api/claude_code/settings for org-managed accounts and can apply them to the running session without persisting them (the deferred_non_interactive path). Managed settings outrank the --settings policy Equipo mounts, and ValidateInit does not attest effective hooks, env, sandbox or permission rules. So for an org-managed Claude account, Equipo cannot prove its own policy governs the coordinator, on any turn including the first (cold start). Found by Astra reviewing claude-policy-stamp (2026-11-22, review r1 finding 1).

Ruling (Paul, 2026-11-22). Ship the narrow every-other-turn fix (claude-policy-stamp: accept policy-limits.json.stamp.json; accept remote-settings.json only when exactly {} plus its .synced-at) now, since it is no weaker than today's cold start. Close this gap as the next piece of work.

Directions to evaluate.

  • Stop delivery: a 2.1.312 switch or env that disables remote managed settings; or an egress rule that refuses that path for coordinator and specialist launches (the proxy may only see hosts under TLS).
  • Attest: read effective policy from the CLI after init (if 2.1.312 exposes it) and refuse when it differs from Equipo's.
  • Refuse: treat org-managed accounts (policy-limits present) as unsupported for agent work until one of the above exists, and say so on the Connections page.

Needs a pinned-CLI regression that delivers policy after validation and checks it doesn't take effect, per the review.