Gaf Runtime Boundary Guard

Detects and prevents runtime coupling to GAF core-knowledge files, enforcing build-time-only use of the Brain and runtime self-containment. Use during implementation review and predeploy checks.

miguel-carrera Updated

File contents

GAF Runtime Boundary Guard

Goal

Ensure automations do not depend on gaf-core-knowledge at runtime.

Use This Skill When

  • Reviewing runtime code before validation/deploy.
  • Refactoring task implementation or shared clients.
  • User asks to check architecture boundary compliance.

Boundary Rules

  • Build time may read core-knowledge docs for planning and implementation.
  • Runtime code must use env vars, manifests, and runtime resources only.
  • No direct runtime file reads from gaf-core-knowledge.

Checks

  • Search task runtime and shared client code for file path references to gaf-core-knowledge.
  • Identify implicit coupling (hardcoded schema docs, registry file reads, template reads).
  • Propose replacements using runtime config or manifest fields.

Output

  • Compliant or Non-compliant.
  • list of boundary violations with file paths and fixes.
  • residual risk notes for ambiguous cases.

Guardrails

  • Prefer minimal, explicit config changes over broad rewrites.
  • Escalate unclear cases instead of assuming allowed runtime access.

miguel-carrera/gaf-cursor-skills/tree/main/skills/gaf-runtime-boundary-guard commit dd9304129b

Frequently asked questions

npx skillmds@latest add miguel-carrera/gaf-runtime-boundary-guard