MindAttic.Agency
MindAttic.Agency
MindAttic.Agency is the MindAttic Agent Standard: the one canonical copy of the provider-neutral rules, commands (abilities), hooks, subagent roles, runner, deploy library and documentation generators that every MindAttic repo and every agent CLI (Claude Code, OpenAI Codex, Kimi Code, Google Antigravity/agy) uses. A CLI that opens any MindAttic repo gets the same rules and commands with no per-repo setup; project-local AGENTS.md files and .agent/commands are thin pointers back here and never hold another copy of the workflow. It is also the home of org-wide tickets for the workspace root (ticket prefix MAT).
- The whole product, built or not, every epic, feature and story: SPEC.md.
- What it is, what it is not, and the rules that keep it coherent: BIBLE.md.
- The current finish line (the active milestone and its epics): RELEASE.md.
- The rules themselves:
AGENTS.mdat the repo root, read by every CLI.
Top-level scripts
All are PowerShell, run from the workspace's mindattic-agent-standard/ mirror or this checkout.
| Script | What it does |
|---|---|
install.ps1
|
Writes the thin AGENTS.md and .agent/commands/*.md pointers into every sibling repo of the workspace, mirroring the global command folder.
|
install-hooks.ps1
|
Points Claude's settings.json, Codex's hooks.json, Kimi's config.toml and agy's hooks.json at the one copy of the gate hooks in shared/hooks/.
|
install-commit-hooks.ps1
|
Installs commit-msg (ticket-ID check plus the commit gate), pre-commit and post-commit shims in every repo; the latter two take and release a per-repo commit lock (MAT-T135) so two agents committing at once never share .git/COMMIT_EDITMSG.
|
share-scripts.ps1
|
Points the machine's global Claude settings at the shared statusline and quickload hook, removes identical per-repo copies, installs the rendered commands into ~/.claude/commands/, and runs the mirror -Check.
|
render-abilities.ps1
|
Renders shared/abilities/*.md into each CLI's native form: shared/commands/ for Claude, skills for Codex, Kimi and agy, and shared/codex-command-catalog.md.
|
export-catalog.ps1
|
Writes command-catalog.json, the inventory of every global and per-project command, skill and pointer across the workspace and CLIs.
|
sync-workspace-copy.ps1
|
Copies this repo onto the workspace-root mindattic-agent-standard/ mirror; -Check only reports files that differ or are missing.
|
clone-repo.ps1
|
The one way a repo joins the workspace: creates the folder, clones it, tags it wip on GitHub, records it in the workspace's docs/workspace-repos.json and restarts the Launcher so it appears.
|
prose-agent.ps1
|
The portable runner: bootstrap, save, load, do, progress, show, queue, quicksaves and alias, behind /quicksave, /quickload, /quicksaves, /alias and /do.
|
agent-progress.ps1
|
Behind /progress: every recent subagent, its ticket, what it is doing now and an estimated percent done.
|
schedule-wakeup.ps1
|
The portable ScheduleWakeup: a one-shot Windows scheduled task that runs a prompt in claude, codex, kimi or agy after a delay or at a time.
|
broadcast-ticket-done.ps1
|
Tells every other running CLI that a ticket just closed, through the nudge files shared/hooks/context-gate.py folds into their next turn.
|
genericize-instructions.ps1
|
Archives provider-specific instruction files (CLAUDE.md, CODEX.md, GEMINI.md and the like) to legacy-instructions/ and replaces them with forwarders to MINDATTIC_AGENT.md.
|
kickstart.ps1 (Azure app wake-up) is still on disk but is outside the product: Azure is decommissioned (MAT-T297).
The shared/ folders
| Folder | What it holds |
|---|---|
shared/abilities/
|
The source of every portable command, one Markdown file each; edit here, then run render-abilities.ps1.
|
shared/commands/
|
Claude's rendered commands (a render target, never hand-edited), plus member/ templates for the per-member commands.
|
shared/hooks/
|
The gate hooks every CLI runs: test gate, commit gate, commit-msg, the pre-commit/post-commit commit lock, pace, context and rate-limit gates, prompt logging and the quickload-on-do hook.
|
shared/roles/
|
Subagent role definitions (implementer, planner, reviewer, architect and the rest). |
shared/templates/
|
run.ps1, the per-repo launcher template that calls Invoke-AppRun in deploy-lib.ps1.
|
shared/config/
|
Global settings read by the agents, such as idle-status.json (the idle status interval).
|
shared/brochure/
|
The GitHub Pages brochure generator, its schema, the "Skylight" theme and adopt-brochure.ps1.
|
shared/readme-pointer/
|
The README pointer template and convert-readme.ps1, which moves a README into docs/overview.md.
|
shared/docs-site/
|
The older DocFX docs-site pipeline, kept only for repos that are documentation by design. |
shared/buildup/
|
Build-up tools (MAT-T484): the build order, the code ledger (comb) and membranes, each forwarding to the tickets CLI.
|
shared/waterfall/
|
The workspace waterfall generator, its page, and the epic and feature hierarchy linter (MAT-T462). |
shared/flush/
|
The /flush RAM and disk cleanup scripts and the list of disk cruft sources.
|
shared/handoff-words/
|
The adjective and animal word lists that make quicksave handoff codes such as lively-oxen.
|
shared/unity/
|
MindAtticPublish.cs, the Unity editor build hook used by /publish.
|
shared/vendor/
|
Vendored third-party code, such as the Nexus Mods upload action. |
Loose files in shared/ include deploy-lib.ps1 (the shared app deploy and run menu), publish-app.ps1, member-commands.ps1, statusline.ps1 and the Nexus and Thunderstore publishing helpers.
Handoffs
Every save picks a shareable handoff code from shared/handoff-words/ and records the handoff in the machine-wide registry %LOCALAPPDATA%\MindAttic\handoffs\<code>.json (override: -RegistryRoot or MINDATTIC_HANDOFF_REGISTRY), so load <code> restores it from any login's CLI in any folder. Loading consumes the code (archived under consumed\). Each repo's .agent/ folder holds its local handoff (agent-session.json) and bookmark queue (agent-queue.json), both git-ignored.
This repo is the one canonical copy (MAT-T50)
D:\Projects\MindAttic\mindattic-agent-standard\ is a mirror of this repo, and some global settings run the copies there. Change files here, then run sync-workspace-copy.ps1; share-scripts.ps1 runs its -Check pass on every install and reports any drift.
Further reading
- hook-contract-matrix.md: what each hook does on each CLI, confirmed or not.
- claude-only-abilities.md: the abilities that depend on Claude-only mechanisms.
- ops/hetzner-deploy-pipeline.md: the shared Hetzner host for public web apps.
Pages in this repository
- MindAttic.Agency — Project Bible — MindAttic.Agency is the one canonical copy of the MindAttic Agent Standard: the provider-neutral rules, abilities, hooks, roles and…
- Build up: from the lowest leaves to the finished product (MAT-T484) — The owner, 2026-11-30: start building by organising the work into units, "pick one project and test it to make sure it works and refine it…
- Claude-only abilities: precise verdicts (MAT-T103) — MAT-T93/MAT-T98's Stop-hook feedback reopened scrutiny of every ability marked permanently Claude-only: checking only whether…
- Hook contract matrix — Per-CLI confirmed/unverified behavior for the shared lifecycle hooks (shared/hooks/pace-gate.py, shared/hooks/context-gate.py,…
- ops/azure-migration/DB-INVENTORY — Read-only inventory taken 2026-11-26 with az sql db list/show and az monitor metrics list, plus each repo's configs. Nothing was dropped,…
- ops/hetzner-bootstrap-chrome-prompt — Reusable prompt: paste it into Claude for Chrome, pointed at console.hetzner.cloud, already logged into the Hetzner account. Covers one…
- ops/hetzner-deploy-pipeline — Everything done, in order, to take a brand-new Hetzner account to a live, database-backed .NET app on mindattic-01. Written after standing…
- MindAttic.Agency — Release charter — The MindAttic Agent Standard: the provider-neutral rules (AGENTS.md), abilities, hooks, roles, runner and shared scripts that every…
- research/sql-express-2025-fit — Date: 2026-11-26
- Single source: nested-hierarchy abstraction and reverse traversal (MAT-T462) — The owner, 2026-11-30: each feature as abstract as it can be, each epic made of the most abstract features, everything in line with…
- MindAttic.Agency — Product specification — In the ecosystem (docs/ECOSYSTEM.md at the workspace root): Platform: owns the agent standard (shared rules, hooks, commands, the run…
- Unity vs Unreal: building the same Manalith twice — On 2026-11-22 the same Meshy "Midnight Geode" FBX became the Manalith in two engines: GridGame (Unity 6000.4, built-in pipeline,…