ReinaMacCredy/maestro
À propos
Local-first coordination for human and agent work: durable work, decisions, dispatches, evidence, and prompt-first methods, powered by TypeScript and Bun.
Outils de développementProgression mesurée des étoiles
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalmaestro
Maestro is a local record of work for people and coding agents. It keeps work
items, decisions, and proof in a SQLite store under .maestro/ in
each repository's shared Git root. It is written in TypeScript, runs on Bun,
and needs no background service.
Documentation: maestro.maccredyreina.me
Three layers
- The kernel owns the store, the event log, command routing, and plugin loading. It holds mechanism only, not workflow rules.
- Plugins add verbs and optional gates. A repository turns gates on or off
in
.maestro/config. - Recipes and skills are working methods written in Markdown. Read one with
maestro recipe show <name>; nothing is copied into your repository.
Install, update, and remove
Install from source with one command. It needs git and Bun:
curl -fsSL https://raw.githubusercontent.com/ReinaMacCredy/maestro/main/scripts/install.sh | sh
The script clones the repository into ~/.maestro/source and runs the
installer from there. MAESTRO_SOURCE_DIR changes the directory and
MAESTRO_REF changes the branch (default main). From your own checkout, run
the installer directly:
bun bin/maestro.ts install
maestro version
Install copies the runtime to ~/.maestro/runtime, writes the shim at
~/.local/bin/maestro, records the source checkout in ~/.maestro/source.json,
and wires the current repository. It also creates the Hub at ~/maestro:
a folder that holds the shared method ~/maestro/WORKFLOW.md, the list of
registered repositories, and seven skills under ~/maestro/skills
(maestro-topic, maestro-design, maestro-work, maestro-verify,
maestro-council, maestro-coach, and maestro-questionnaire). The skills
are linked for Claude and Codex without overwriting skills Maestro does not
manage.
maestro updatefetches the recorded source, accepts only a fast-forward, and resyncs the runtime. It refuses a dirty, diverged, missing, or unreachable source and changes nothing in that case.maestro uninstallremoves Maestro's hooks, settings keys, and managed blocks from the current repository. It keeps repository data, the runtime, the shim, and the Hub.maestro doctorchecks the shim, runtime, source, repository wiring, permissions, and store access without changing them. When a repair is mechanical, it names the command to run.
Track one piece of work
A work item is one bounded task with an id such as w1. This is the
whole loop:
maestro work add "Fix the CSV parser"
maestro work done w1 --check "bun test tests/csv.test.ts"
maestro work list
work add "<title>"creates open work, which is worked on directly; there is no start step.work done <id> --check "<command>"runs the command in the repository root and records its exit code, duration, commit, and whether the tree was clean. A failing check leaves the work open and records a failed note.--proof "<text>"records plain text instead when no command can show it.work listprints open work items with the gate that holds each parent, then one line that counts done and cancelled work items.--alllists every work item;--parent <id>lists one work item's children.
A decision records a choice and why it was made:
maestro decision add "Keep LF line endings" --rationale "one format for every fixture" --work w1
decision add records and locks the choice in one command. When a choice
must wait for the owner, write it with decision draft; it waits on the owner
until decision lock locks it.
A topic's SPEC.md and VERIFY.md are for high-risk scope, coordinated
writers, or a user's request, never for a session change alone: they sit in a
folder under .maestro/topic/<slug>. Open it with
maestro topic open <slug> --work <work-id>, which never writes over a file.
When work done closes the last open work item linked to an open topic, the
topic closes itself and reports any VERIFY row that has no result.
topic close <slug> closes one by hand, and topic check <slug> fails when
a SPEC unit has no VERIFY row.
Claims about a change name the layer they were proven at: source,
artifact, installed, live, or journey. A claim stops at the last layer
that was actually checked.
A failed command writes a JSON error envelope to stderr and exits nonzero. Empty required arguments are refused.
Verb tour
maestro work add|note|done|show|list|cancel|verdict|reviewruns the work lifecycle; blockers are retired, so order work with--parentor with the next line of a checkpoint.maestro decision add|draft|lock|withdraw|show|listrecords choices.maestro topic open|close|list|show|checkruns topics that carry a SPEC.md and a VERIFY.md; the resume source is the checkpoint on work, and NOTES.md in a topic folder is a free file.- Attention signals are printed where they apply, in the session brief and in
maestro work done, andmaestro brieflists the decisions that wait on the owner in every registered repository. maestro searchfinds work, work notes, decisions, and active memory facts here and in the Hub.- A correction to maestro is a finding in the session report; the owner decides whether it becomes work in the maestro repository.
- The glossary is retired, so define a word where it is used, and
maestro memory ingest|list|show|retract|renderruns the global memory in the Hub. maestro topic path|listkeeps files an agent makes while researching in.maestro/topic, outside Git.maestro recipe list|showserves methods, andmaestro plugin list|enable|disableturns built-in plugins on or off.- Imported legacy records stay in the older store file
.maestro/maestro.db. maestro install,maestro update,maestro uninstall,maestro doctor, andmaestro versionmanage the installed runtime.
Run maestro help for every verb and maestro <verb> --help for its flags.
Attention and brief
Attention signals are printed where they apply. The session brief names each
decision that waits on the owner, and maestro work done tells you to stop
and report to the owner from the third failed attempt recorded on one work
item. No daemon runs for them.
maestro brief opens each repository listed in ~/maestro/registry without
changing it and lists the decisions that wait on the owner. When none does, it
says so in one line.
Read-only mode
Set MAESTRO_READ_ONLY=1 to inspect a store without changing it. Read
commands such as work list, search, and recipe show still run. Commands
that write fail with READ_ONLY. maestro help marks each verb that runs in
this mode with *.
Harness integration
maestro install writes hooks for Claude Code and Codex and merges only
Maestro's own entries. On SessionStart the hook prints a short brief that
names how to add, resume, and close tracked work, the next step of the open
work items checkpointed most recently, the decisions that wait on the owner,
and where the rules are. On UserPromptSubmit it prints only an [update]
line when the runtime differs from its source, and the Hub line in the Hub's
own store. Install adds nothing to CLAUDE.md or AGENTS.md.
maestro mcp serve delivers the same brief through MCP and offers no tools.
Recipes, skills, and plugins
maestro recipe list names every shipped recipe. Most give the steps for
one kind of task, such as bug-fix, feature, or review.
~/maestro/WORKFLOW.md says which recipe fits which task.
maestro plugin list shows the built-in plugins. Two policy gates are on by
default: policy-proof (work done needs --check "<command>",
--proof "<text>" or a check stated at add) and policy-breakdown (every open child holds its
parent; the parent closes when every child is done or cancelled and no
closed child carries FAIL).
policy-work-budget and policy-auto-pr are off until you enable them.
Rust-era data
The last Rust stores are kept under legacy/rust/; see
legacy/rust/README.md. Imported Rust-era records
stay in the older store file .maestro/maestro.db, which this build never
writes; its own store is .maestro/store.db.
Contributing, security, and license
Contributions follow the toolchain, layout, and checks in
CONTRIBUTING.md. Report a suspected vulnerability through
the private channel in SECURITY.md, never a public issue.
Maestro is released under the MIT license; see LICENSE.
Explorer des projets similaires
Chargement…