Skip to main content
CORE:C:0011 mechanical high coherence core

Security Requirements

The instruction file must contain a section with a heading matching security-related terms (Security, Boundaries, Sensitive, or Access). Without documented security requirements, the agent has no guidance on sensitive files, access restrictions, or security patterns.

Antipatterns

  • Embedding security constraints inline without a dedicated heading. The check looks for a heading containing terms like "Security" or "Boundaries" -- scattered constraints without a heading section are not detected.
  • Using a heading like "Important Notes" that contains security content but does not match any of the expected terms. The heading must include Security, Boundaries, Sensitive, or Access.
  • Documenting security requirements only in external files (e.g., a SECURITY.md) that are not instruction files. The check applies to instruction files the agent reads at session start.

Pass / Fail

Pass

# Project

## Boundaries

NEVER modify `.env` or `credentials.json`.
Ask the user to handle sensitive file changes manually.

Fail

# Project

## Commands

Run `uv run poe qa` before committing.
Be careful with environment files.

Limitations

Checks for a heading containing "Security", "Boundaries", "Sensitive", or "Access". Does not verify the section defines actionable security constraints.