MindAttic.Agency: Difference between revisions
md2wiki: sync from MindAttic.Docs |
md2wiki: sync from MindAttic.Docs |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= MindAttic | = 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/<code>agy</code>) uses. A CLI that opens any MindAttic repo gets the same rules and commands with no per-repo setup; project-local <code>AGENTS.md</code> files and <code>.agent/commands</code> 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 <code>MAT</code>). | |||
* <strong>The whole product</strong>, built or not, every epic, feature and story: [[MindAttic.Agency/SPEC|SPEC.md]]. | |||
* <strong>What it is, what it is not, and the rules that keep it coherent</strong>: [[MindAttic.Agency/BIBLE|BIBLE.md]]. | |||
* <strong>The current finish line</strong> (the active milestone and its epics): [[MindAttic.Agency/RELEASE|RELEASE.md]]. | |||
* <strong>The rules themselves</strong>: <code>AGENTS.md</code> at the repo root, read by every CLI. | |||
== Top-level scripts == | |||
All are PowerShell, run from the workspace's <code>mindattic-agent-standard/</code> mirror or this checkout. | |||
<code>/ | {| class="wikitable" | ||
! Script | |||
! What it does | |||
|- | |||
| <code>install.ps1</code> | |||
| Writes the thin <code>AGENTS.md</code> and <code>.agent/commands/*.md</code> pointers into every sibling repo of the workspace, mirroring the global command folder. | |||
|- | |||
| <code>install-hooks.ps1</code> | |||
| Points Claude's <code>settings.json</code>, Codex's <code>hooks.json</code>, Kimi's <code>config.toml</code> and agy's <code>hooks.json</code> at the one copy of the gate hooks in <code>shared/hooks/</code>. | |||
|- | |||
| <code>install-commit-hooks.ps1</code> | |||
| Installs <code>commit-msg</code> (ticket-ID check plus the commit gate), <code>pre-commit</code> and <code>post-commit</code> 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 <code>.git/COMMIT_EDITMSG</code>. | |||
|- | |||
| <code>share-scripts.ps1</code> | |||
| Points the machine's global Claude settings at the shared statusline and quickload hook, removes identical per-repo copies, installs the rendered commands into <code>~/.claude/commands/</code>, and runs the mirror <code>-Check</code>. | |||
|- | |||
| <code>render-abilities.ps1</code> | |||
| Renders <code>shared/abilities/*.md</code> into each CLI's native form: <code>shared/commands/</code> for Claude, skills for Codex, Kimi and agy, and <code>shared/codex-command-catalog.md</code>. | |||
|- | |||
| <code>export-catalog.ps1</code> | |||
| Writes <code>command-catalog.json</code>, the inventory of every global and per-project command, skill and pointer across the workspace and CLIs. | |||
|- | |||
| <code>sync-workspace-copy.ps1</code> | |||
| Copies this repo onto the workspace-root <code>mindattic-agent-standard/</code> mirror; <code>-Check</code> only reports files that differ or are missing. | |||
|- | |||
| <code>clone-repo.ps1</code> | |||
| The one way a repo joins the workspace: creates the folder, clones it, tags it <code>wip</code> on GitHub, records it in the workspace's <code>docs/workspace-repos.json</code> and restarts the Launcher so it appears. | |||
|- | |||
| <code>prose-agent.ps1</code> | |||
| The portable runner: <code>bootstrap</code>, <code>save</code>, <code>load</code>, <code>do</code>, <code>progress</code>, <code>show</code>, <code>queue</code>, <code>quicksaves</code> and <code>alias</code>, behind <code>/quicksave</code>, <code>/quickload</code>, <code>/quicksaves</code>, <code>/alias</code> and <code>/do</code>. | |||
|- | |||
| <code>agent-progress.ps1</code> | |||
| Behind <code>/progress</code>: every recent subagent, its ticket, what it is doing now and an estimated percent done. | |||
|- | |||
| <code>schedule-wakeup.ps1</code> | |||
| The portable <code>ScheduleWakeup</code>: a one-shot Windows scheduled task that runs a prompt in <code>claude</code>, <code>codex</code>, <code>kimi</code> or <code>agy</code> after a delay or at a time. | |||
|- | |||
| <code>broadcast-ticket-done.ps1</code> | |||
| Tells every other running CLI that a ticket just closed, through the nudge files <code>shared/hooks/context-gate.py</code> folds into their next turn. | |||
|- | |||
| <code>genericize-instructions.ps1</code> | |||
| Archives provider-specific instruction files (<code>CLAUDE.md</code>, <code>CODEX.md</code>, <code>GEMINI.md</code> and the like) to <code>legacy-instructions/</code> and replaces them with forwarders to <code>MINDATTIC_AGENT.md</code>. | |||
|} | |||
<code>kickstart.ps1</code> (Azure app wake-up) is still on disk but is outside the product: Azure is decommissioned (MAT-T297). | |||
== The <code>shared/</code> folders == | |||
= | {| class="wikitable" | ||
! Folder | |||
! What it holds | |||
|- | |||
| <code>shared/abilities/</code> | |||
| The source of every portable command, one Markdown file each; edit here, then run <code>render-abilities.ps1</code>. | |||
|- | |||
| <code>shared/commands/</code> | |||
| Claude's rendered commands (a render target, never hand-edited), plus <code>member/</code> templates for the per-member commands. | |||
|- | |||
| <code>shared/hooks/</code> | |||
| The gate hooks every CLI runs: test gate, commit gate, <code>commit-msg</code>, the <code>pre-commit</code>/<code>post-commit</code> commit lock, pace, context and rate-limit gates, prompt logging and the quickload-on-do hook. | |||
|- | |||
| <code>shared/roles/</code> | |||
| Subagent role definitions (implementer, planner, reviewer, architect and the rest). | |||
|- | |||
| <code>shared/templates/</code> | |||
| <code>run.ps1</code>, the per-repo launcher template that calls <code>Invoke-AppRun</code> in <code>deploy-lib.ps1</code>. | |||
|- | |||
| <code>shared/config/</code> | |||
| Global settings read by the agents, such as <code>idle-status.json</code> (the idle status interval). | |||
|- | |||
| <code>shared/brochure/</code> | |||
| The GitHub Pages brochure generator, its schema, the "Skylight" theme and <code>adopt-brochure.ps1</code>. | |||
|- | |||
| <code>shared/readme-pointer/</code> | |||
| The README pointer template and <code>convert-readme.ps1</code>, which moves a README into <code>docs/overview.md</code>. | |||
|- | |||
| <code>shared/docs-site/</code> | |||
| The older DocFX docs-site pipeline, kept only for repos that are documentation by design. | |||
|- | |||
| <code>shared/buildup/</code> | |||
| Build-up tools (MAT-T484): the build order, the code ledger (comb) and membranes, each forwarding to the <code>tickets</code> CLI. | |||
|- | |||
| <code>shared/waterfall/</code> | |||
| The workspace waterfall generator, its page, and the epic and feature hierarchy linter (MAT-T462). | |||
|- | |||
| <code>shared/flush/</code> | |||
| The <code>/flush</code> RAM and disk cleanup scripts and the list of disk cruft sources. | |||
|- | |||
| <code>shared/handoff-words/</code> | |||
| The adjective and animal word lists that make quicksave handoff codes such as <code>lively-oxen</code>. | |||
|- | |||
| <code>shared/unity/</code> | |||
| <code>MindAtticPublish.cs</code>, the Unity editor build hook used by <code>/publish</code>. | |||
|- | |||
| <code>shared/vendor/</code> | |||
| Vendored third-party code, such as the Nexus Mods upload action. | |||
|} | |||
Loose files in <code>shared/</code> include <code>deploy-lib.ps1</code> (the shared app deploy and run menu), <code>publish-app.ps1</code>, <code>member-commands.ps1</code>, <code>statusline.ps1</code> and the Nexus and Thunderstore publishing helpers. | |||
== Handoffs == | |||
Every <code>save</code> picks a shareable handoff code from <code>shared/handoff-words/</code> and records the handoff in the machine-wide registry <code>%LOCALAPPDATA%\MindAttic\handoffs\<code>.json</code> (override: <code>-RegistryRoot</code> or <code>MINDATTIC_HANDOFF_REGISTRY</code>), so <code>load <code></code> restores it from any login's CLI in any folder. Loading consumes the code (archived under <code>consumed\</code>). Each repo's <code>.agent/</code> folder holds its local handoff (<code>agent-session.json</code>) and bookmark queue (<code>agent-queue.json</code>), both git-ignored. | |||
== This repo is the one canonical copy (MAT-T50) == | == This repo is the one canonical copy (MAT-T50) == | ||
<code>D:\Projects\MindAttic\mindattic-agent-standard\</code> is a | <code>D:\Projects\MindAttic\mindattic-agent-standard\</code> is a mirror of this repo, and some global settings run the copies there. Change files here, then run <code>sync-workspace-copy.ps1</code>; <code>share-scripts.ps1</code> runs its <code>-Check</code> pass on every install and reports any drift. | ||
== Further reading == | |||
* [[MindAttic.Agency/hook-contract-matrix|hook-contract-matrix.md]]: what each hook does on each CLI, confirmed or not. | |||
* [[MindAttic.Agency/claude-only-abilities|claude-only-abilities.md]]: the abilities that depend on Claude-only mechanisms. | |||
* [[MindAttic.Agency/ops/hetzner-deploy-pipeline|ops/hetzner-deploy-pipeline.md]]: the shared Hetzner host for public web apps. | |||
== Pages in this repository == | == Pages in this repository == | ||
* [[MindAttic.Agency/BIBLE|MindAttic.Agency — Project Bible]] — MindAttic.Agency is the one canonical copy of the MindAttic Agent Standard: the provider-neutral rules, abilities, hooks, roles and… | * [[MindAttic.Agency/BIBLE|MindAttic.Agency — Project Bible]] — MindAttic.Agency is the one canonical copy of the MindAttic Agent Standard: the provider-neutral rules, abilities, hooks, roles and… | ||
* [[MindAttic.Agency/build-up|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… | |||
* [[MindAttic.Agency/claude-only-abilities|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… | * [[MindAttic.Agency/claude-only-abilities|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… | ||
* [[MindAttic.Agency/hook-contract-matrix|Hook contract matrix]] — Per-CLI confirmed/unverified behavior for the shared lifecycle hooks (shared/hooks/pace-gate.py, shared/hooks/context-gate.py,… | * [[MindAttic.Agency/hook-contract-matrix|Hook contract matrix]] — Per-CLI confirmed/unverified behavior for the shared lifecycle hooks (shared/hooks/pace-gate.py, shared/hooks/context-gate.py,… | ||
| Line 37: | Line 136: | ||
* [[MindAttic.Agency/RELEASE|MindAttic.Agency — Release charter]] — The MindAttic Agent Standard: the provider-neutral rules (AGENTS.md), abilities, hooks, roles, runner and shared scripts that every… | * [[MindAttic.Agency/RELEASE|MindAttic.Agency — Release charter]] — The MindAttic Agent Standard: the provider-neutral rules (AGENTS.md), abilities, hooks, roles, runner and shared scripts that every… | ||
* [[MindAttic.Agency/research/sql-express-2025-fit|research/sql-express-2025-fit]] — Date: 2026-11-26 | * [[MindAttic.Agency/research/sql-express-2025-fit|research/sql-express-2025-fit]] — Date: 2026-11-26 | ||
* [[MindAttic.Agency/single-source|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/SPEC|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… | |||
* [[MindAttic.Agency/unity-vs-unreal-manalith|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,… | * [[MindAttic.Agency/unity-vs-unreal-manalith|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,… | ||
<div class="md2wiki-source">From [https://github.com/mindattic/MindAttic.Agency/blob/main/ | <div class="md2wiki-source">From [https://github.com/mindattic/MindAttic.Agency/blob/main/docs/overview.md MindAttic.Agency/docs/overview.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.</div> | ||
[[Category:MindAttic.Agency]] | [[Category:MindAttic.Agency]] | ||
Latest revision as of 02:01, 2 December 2026
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,…