Scope

How pair scoping prevents guardrail state and cache files from bleeding across pairs and modes.

Scope prevents “state bleed” between different pairs.

It keeps guardrail files separate across:

  • pair direction (one-way vs two-way)

  • provider combination

  • pair index/id

When scope matters

You’ll feel it when you:

  • duplicate a pair

  • change a pair’s mode

  • clear cache and expect only one pair to reset

Quick troubleshooting

If you see files named ...unscoped...:

  • the run didn’t set scope correctly

  • guardrail files may collide across pairs

Related:

Last updated