# 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.

- Skill: `miguel-carrera/gaf-runtime-boundary-guard` (Agent Skill)
- Install (CLI): `npx skillmds@latest add miguel-carrera/gaf-runtime-boundary-guard`
- Raw SKILL.md: https://api.skillmd.com/api/skills/miguel-carrera/gaf-runtime-boundary-guard/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: miguel-carrera (https://skillmd.com/u/miguel-carrera)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/miguel-carrera/gaf-runtime-boundary-guard

---


# 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.

