Skip to content

7.1 Team Tooling Configuration: Guidance Versus Enforcement

Team tooling configuration is every file and setting that shapes Claude’s work on shared code. Guidance, such as an instruction file, is context. Enforcement, such as a settings rule or a lifecycle handler (a hook that makes certain actions always happen), applies no matter what Claude decides. Each element is in a layer, also called a scope. The layer sets who the element applies to.

This lesson uses one made-up example throughout: a craft shop. Its three developers each have their own Claude setup. One developer keeps naming conventions in a personal file. Another developer told Claude never to delete order records. A newcomer inherits none of this configuration.

Does an element shape output that the team owns collectively? If yes, the element is shared and version-controlled. If no, the element is personal. These elements pass the test:

  • project context
  • conventions
  • standard procedures
  • delegated roles
  • the tool connections everyone needs
  • permitted operations

Editor choice, keybindings and local paths fail the test. Anthropic’s guidance names each shared element and commits it to version control. The craft shop’s conventions move into the repository. Keybindings stay personal.

Skipping the question brings gradual divergence rather than chaos. Everyone configures their own, and outputs diverge. Nothing can be improved because nothing is shared. Onboarding a new engineer is the test of the configuration. Whatever a new engineer inherits by cloning, without being told, is the standard. Everything else is a gap.

The configuration is designed in layers. There are four scopes, each for a different job.

  • Organisation-managed : policy that individuals must not override. This layer is at the top of the precedence order (the order that decides which layer’s setting wins). So it is the right place for a control that the organisation cannot allow a developer to disable.
  • Project-committed : the team’s shared standard. The team reviews it in pull requests like any other code, and everyone who clones the repository inherits it.
  • Personal : preference that applies to one developer in all their work.
  • Local and uncommitted : machine-specific values that must never enter shared history.

The precedence order is reference material. One property decides questions: restrictive rules combine rather than compete. Permission rules merge across scopes instead of overriding each other. So a denial at any layer cannot be undone in another layer. A managed list can be extended but not reduced. A managed control is a minimum that lower layers cannot remove, not a default. If the craft shop denies order deletion in the managed layer, no lower layer removes the denial.

Written instructions have influence and are worth writing well. They are right for conventions and architectural decisions. They are not an enforced limit. As documented: “Settings rules are enforced by the client regardless of what Claude decides to do. CLAUDE.md instructions shape Claude’s behavior but are not a hard enforcement layer.” The permissions guidance says the same thing independently. The hooks guidance supplies the mechanism. Lifecycle handlers give “deterministic control: certain actions always happen rather than relying on the LLM to choose to run them”. If an action must never happen, the action needs enforcement, not instruction. The craft shop’s note is guidance. A permission rule that denies deletion stops the deletion.

Secrets stay out. Anything that is committed is visible to everyone with repository access. It stays in the history after deletion. A credential in a shared layer, such as the craft shop’s database password, is distributed to the whole organisation. Machine paths and sandbox endpoints belong in the local uncommitted layer. Better still, automation that needs authenticated access should not hold the credential at all. Anthropic’s secure-deployment guidance puts a proxy outside the agent’s boundary. The proxy injects the credential.

Bloat, which is unnecessary content, stays out too. Instruction files are context. They add to the cost of every request, whether they are relevant or not. Keep them short and free of contradictions, because two conflicting rules make behaviour arbitrary. Limit narrow instructions to the code that they govern. When a section grows from a fact into a procedure, like the craft shop’s stock-take routine, package it as a reusable workflow (objective 7.2).

Domain 7 has the lightest weighting in the exam guide and is the most predictable on the exam. Every right answer makes proven practice shared and inheritable. It also keeps real enforcement in a place where nobody can override it. The guide publishes no sample here. The objective text names a product, so candidates study product details too much and reasoning too little. No answer depends on a filename. The central idea of the domain is a swap that wrong options make: guidance in place of enforcement. It applies Domain 3’s “an instruction is not an access control” and Domain 5’s guardrail hierarchy in the developer’s own environment.

Four engineers form a new team in a payments monorepo where two other teams already use AI-assisted tooling daily. They inherited nothing. Each wrote a private description of the codebase, and no two agree. One can publish to the internal registry with no review. What should the architect put in place?

  • A. Commit the shared context and standards so everyone receives them automatically on clone, keep machine values uncommitted, and put the publish path behind an enforced rule
  • B. Route the new team work through an experienced engineer from an existing team until they are established
  • C. Leave configuration to each engineer, since tooling preferences are personal
  • D. Publish an onboarding page describing the codebase, the conventions and the review expectations, then ask each engineer to align their own configuration with it and re-read it after changes
Answer & explanation

Correct: A

  • A — Each element is placed in the layer that fits it: the standard becomes inheritable and reviewable like code, machine values stay out of shared history, and the operation that must not happen sits behind an enforced control.
  • B — Substitutes a person for a control. It creates a bottleneck, stops working as soon as that engineer is unavailable, and leaves the publish path enforced by nobody.
  • C — The current approach that produced four disagreeing descriptions. Context and conventions shape output the team collectively owns, so they are not preferences.
  • D — A page is not inherited. It depends on four people reproducing it correctly, it becomes out of date as the codebase changes, and it leaves the publish path untouched.