Fountain Coach Gitowner-controlled · read only

Reframe-Refactoring.git · AGENTS.md

Reframe-Refactoring.git / AGENTS.md

revision a0a521d3786cfb0c46912bf7af27ce7ef660f270 · complete file

# Reframe Refactoring — Agent Guide

Scope: the authoritative Grounding-first Reframe refactoring guide and its synchronization with the Reframe integration repository.

## Invariants

- The guide under `docs/` is the publication copy; the integration copy lives at `apps/modernization-studio/docs/reframe-grounding-first-refactor/` in `Fountain-Coach/midi2-gpu-fabric`.
- The publication and integration copies must not drift silently. Every content change names its counterpart commit or pull request.
- Historical behavior, current runtime behavior, and target architecture must remain explicitly distinguished.
- The canonical Reframe source remains factual authority; confirmed Grounding owns writer policy; Storify owns structural reading; Cut Script owns authored output; Continuity owns cross-unit audit.
- Numeric measurements may be telemetry only. They must not select, clamp, truncate, or rank semantic context.
- Repository correctness must not depend on MCP or another optional external capability.
- No secrets, prompts, manuscript content, or semantic artifacts belong in logs or repository telemetry.
- Live-app acceptance must target the configured attached external display: resolve the live display and Reframe window, place the window there, enter full-screen there, and identify/capture it by window ID rather than display number or coordinates. AX is authoritative for interaction and semantic UI state; persisted FountainStore artifacts are authoritative for behaviour; screenshots are visual evidence; logs are telemetry only.

## FCIS routing

- `AGENTS.md` contains invariants and routing only.
- Multi-step or high-risk changes require an entry in `PLANS.md` before edits.
- Synchronization procedures belong in `.codex/skills/docs-sync/SKILL.md` and supporting scripts.
- Runtime implementation work is routed to `Fountain-Coach/midi2-gpu-fabric` and its root and scoped `AGENTS.md` files.

## Authority

This repository is authoritative for refactoring intent and guide publication. It does not override the MIDI backplane IDL, live FountainStore state, or unimplemented runtime truth in the integration repository.