A way to help Claude Code follow rules during a session

This is an advanced workflow for reducing cases where s ignore set rules or behave in unexpected ways. It uses a tool called to show the agent’s operating record inside the Claude Code session.

That record can include policy violations, intent that was not clearly declared, and advisory flags. The operator can bring this record into view with specific .

Once the governance information is visible in the session, the agent may use it to correct its own behavior. The workflow is presented as useful for quality control, token saving, context and memory work, debugging, shipping, skills, and MCP-related setups.

Key points

  • The workflow aims to help s follow defined policies more consistently.
  • shows policy violations, undeclared intent, and advisory flags inside the session.
  • Specific are used to bring the governance record into the .
  • Making that record visible may help the agent correct its own behavior.
  • The workflow is aimed at advanced use cases such as quality control, token saving, debugging, and MCP setups.

Sources covering this story (2)

Read original