/align¶
/align checks that the design, the decision log, the task queue, the assistant's rules file, the settings and the code still agree with each other. It is the routine pass that catches drift while it is still small. The concept behind it is on Align and drift reset.
How to use it: The records and the code don't agree
What it does¶
- Check the placeholders and entry files. No template value is left unfilled, the rules file points to the right place, and no install file is left unmerged.
- Check the items. IDs are unique and below the next ID, every dependency exists, no finished item depends on an unfinished one, and each agent item has a size, the files it touches, tagged outcomes and a link to the design text. A claim on an item from an earlier day is reported.
- Check coverage and architecture. Every design rule is either built, planned or reported as a gap. Every row of the architecture table points at something that exists.
- Check the design text against reality. The skill reads the whole design document, from its first line to its last, not section by section. Every statement of state is checked against the built product, the done items and the latest releases: a section marked later or planned, a count, a list of what exists, a line saying work waits on something, and "once X exists". Every decision recorded since the last
docs: aligncommit is checked one by one, not a sample, to see that the design text reflects it and nothing older contradicts it. - Check the setup. The check passes, and the git lines that the installer added are still there.
- Report. The skill fixes mechanical drift on the spot, such as a statement whose fact is settled because the item is done. It lists what needs the director, with one recommendation for each item, and names each stale statement so the next pass can tell a repeat. It never changes the design. The fixes are committed as
docs: alignonce the director approves.
When a conflict comes back that was already settled, or one conflict spans several design principles, the skill recommends a drift reset. It never starts one itself.
Unique per repo¶
Godot-Director¶
The procedure is at framework/.godot-director/procedures/align.md in the Godot-Director repository.
- It checks the GDD,
design/decisions.md,playtesting/TEMPLATE.mdandproject.godotagainstAGENTS.md. The whole-document read is ofdesign/gdd.md, and the latest releases are the game's exports and their UAT or production uploads. Every autoload and every rule folder needs an Architecture row. - Every file listed under
[screens] knownintools/check.cfgneeds an open item that removes it from the list. - It counts the balance placeholders in the scripts and writes the number into the Content and balance milestone row.
- The check must pass with no notes about typing or hooks.
- During onboarding, the fixes go into the install commit instead of a separate one.
AGENTS.mdpoints to.godot-director/rules.md, andCLAUDE.mdcontains@AGENTS.md.- Items follow
.godot-director/tasks.md. bash tools/check.shpasses with nonote:about typing or hooks.- The
.gitignoreand.gitattributeslines thatinstall.shadds are still there. If any are missing, rerun the installer.
App-Director¶
The procedure is at framework/.app-director/procedures/align.md in the App-Director repository.
- It checks the brief,
product/decisions.md,validation/TEMPLATE.mdand the check config. The whole-document read is ofproduct/brief.md, and the latest releases are the app's deploys. The[ui] dirsand[data] dirsintools/check.cfgmust match the folder layout. - Every item's
Brief:value must be an existing heading, or-for items that aren't about the product design. - The
docs: aligncommit body names the conflicts that need the director, so the next pass can tell a repeat. AGENTS.mdpoints to.app-director/rules.md, andCLAUDE.mdcontains@AGENTS.md.- Items follow
.app-director/tasks.md. bash tools/check.shpasses.- The
.gitignoreand.gitattributeslines thatinstall.shadds are still there.
SaaSAllTheThings¶
The procedure is at framework/.satt/procedures/align.md in the SaaSAllTheThings repository.
- It checks the PRD,
product/decisions.md, the ADRs and the integration contracts. The whole-document read covers the PRD and every ADR, and an ADR's status is a statement of state too: an accepted ADR's decision is in the code or infrastructure or has an open item, and a proposed ADR that the code already follows is stale. The latest releases are the deploys todevandprod. EveryADR:an item names must exist, and every accepted ADR with a temporary deviation needs its removal item. - It runs
bash tools/check.sh --architectureand reports any stale ADR exceptions, any proposed ADR waiting longer than a week and the count of source files outside any layer. - It checks that
AGENTS.md› Layout matches the layers intools/check.cfg, and reports workshop notes underassessment/workshops/that have noProcessed:line. - It never changes the product or the architecture.
AGENTS.mdpoints to.satt/rules.md, andCLAUDE.mdcontains@AGENTS.md.- Items follow
.satt/tasks.md. bash tools/check.shpasses and prints nonote:about the hook or the toolchain.- The
.gitignoreand.gitattributeslines thatinstall.shadds are still there. If any are missing, rerun the installer.