Skip to content

manage

Managing Arthur itself: roadmap entry 60, health: arthur health and /health, one line per thing that should have happened by now and has not, and, while arthur run runs, the same checks every health.everyMinutes with their new lines sent as a notice; entry 62, the audit: a read-only job on the commits since the last audit, with up to 5 proposals for tickets, filed in spec/quality/, and with audit.at its schedule entry; entry 63, the retro: a read-only job on the FAIL reviews, findings and outcomes of the merges since the last retro, with up to 5 proposals for the roles and criteria, filed in spec/retro/ with a page for the phone, arthur retro-due, /retro, and with retro.day and retro.at its weekly schedule entry; entry 64, the daily prune of prune.keepJobsDays: old ended jobs and Arthur’s old temporary folders; entry 107, the release notice: once a day, a notice for each newer release of Arthur; AR0562, repeats: arthur repeats and /repeats, what the owner decides again and again and what the agents keep hitting, without the model, and the decisions retro (arthur repeats --help); AR0563, the pyramid audit: arthur pyramid and /pyramid, a read-only job on a project’s corrections, prose and checks, with proposals that move each correction up, filed in spec/pyramid/ with a before and after page, one planning ticket for all of them. Entry 61’s arthur stats, how a project’s merged tickets went, moved to the stats plugin in entry 110 and is arthur stats tickets since 111 (packages/stats/docs/stats.md); the audit’s and the retro’s ### Stats section asks it.

plugins: [
orchestration({}),
projects({ folders: ["projects/arthur"] }), // projects/arthur/project.config.ts: projects.project({ prefix: "AR", path: "../.." })
schedule({}),
manage({ health: { everyMinutes: 30 }, prune: { keepJobsDays: 14 }, audit: { at: "02:00", days: ["tue", "fri"] }, retro: { day: "fri", at: "22:30" } }),
],
  • health.everyMinutes: a whole number of minutes, 1 or more, between two rounds of the checks under arthur run. Left out: no round; arthur health and /health still answer.
  • prune.keepJobsDays: a whole number of days, 0 or more: an ended job is kept that long before the daily prune frees it; 0 frees every ended job at the next prune. Left out: no daily prune, and no temporary folder removed.
  • audit.at: "HH:MM", 00:00 to 23:59 in core.timeZone: when the schedule plugin starts the audit. Left out with the rest of audit: no scheduled audit; an audit by hand still runs (below).
  • audit.days: the days it runs on, a non-empty list of mon, tue, wed, thu, fri, sat, sun, each once. Left out: every day.
  • audit.budgetUsd: an audit’s budget in USD, 0 or more (0 is no limit), by hand too; default 10. Once it runs out, the audit is resumed once with it doubled.
  • audit.model: the scheduled audit’s model, a name or an ordered list as arthur spawn --model takes it. Left out: the auditor role’s, orchestration’s roles.auditor, else the agent’s own.
  • retro.day: the day of the week the schedule plugin looks whether a retro is due, one of mon to sun, and retro.at, "HH:MM" in core.timeZone, when that day; both required. Left out with the rest of retro: no scheduled retro; arthur retro-due and a retro by hand still run (below).
  • retro.budgetUsd: a retro’s budget in USD, 0 or more (0 is no limit), by hand too. Left out: the core’s jobs.budgetUsd.
  • pyramid.budgetUsd: a pyramid audit’s budget in USD, 0 or more (0 is no limit). Left out: the core’s jobs.budgetUsd.

Refused at load, with the option’s path: an unknown option or key, health, prune, audit, retro or pyramid not an object, audit without at, audit.at not "HH:MM", audit.days empty, with another word or a day twice, audit.budgetUsd below 0 or not a number, audit.model empty or a list with an empty name, retro without day or at, retro.day not one day’s word, retro.at not "HH:MM", retro.budgetUsd or pyramid.budgetUsd below 0 or not a number, health.everyMinutes below 1 or not whole, prune without keepJobsDays, prune.keepJobsDays below 0 or not whole. prune with the schedule plugin not loaded (left out of plugins, or enabled: false) refuses the load too: plugin manage: setup failed: prune.keepJobsDays needs the schedule plugin, which runs the daily prune; add schedule() to the config's plugins, or leave prune out; so does audit without it: plugin manage: setup failed: audit.at needs the schedule plugin, which starts the audit; add schedule() to the config's plugins, or leave audit out, and retro: plugin manage: setup failed: retro.at needs the schedule plugin, which starts the retro; add schedule() to the config's plugins, or leave retro out.

Manage answers health (docs/plugin-api.md, “Provided names”) with its own checks: a stalled ticket, main not pushed, a board uncommitted for an hour, a finished audit or retro not filed for an hour, a temporary folder full, low inodes. What each one looks at, and the words of each line: arthur health --help. Every other plugin that answers health adds its lines; session’s Restarted. notice lists the same lines (arthur restart --help).

With health.everyMinutes, arthur run runs the checks at its start and then once that many minutes have passed by the host’s clock. A round sends only its new lines, all in one notice:

Health:
- AR0012 is in-progress with no job in a run for 3 h: Health checks
- github: health failed: no answer from the API

A line is new unless the round before saw the same problem: the same line with its numbers left out, so a ticket an hour more stalled, a count that grew or a share that changed is not sent again. A problem gone for one round and back is sent again. A round with no new line sends nothing.

What the last round saw is kept in .arthur/manage/health.json, written to a temporary name and renamed after the notice went out, so a problem is never lost to a failed write, and the first round after a restart sends none the last round before it saw. A file that is not what the plugin writes (broken, edited by hand) is taken as nothing seen, so the next round sends every line once. A round that fails prints manage: the health round failed: <reason> on stderr, and the next one runs on time.

With prune.keepJobsDays, manage registers one entry with the schedule plugin, manage.prune, every day at 03:00 in core.timeZone, running manage’s own code (arthur schedule list shows it). The schedule runs each slot once; a day whose 03:00 passed while arthur run was down runs once at its next start, late, never once per missed day (arthur schedule --help, “The sweep”). Each run does two things, the second even when the first fails:

  1. Every job that ended keepJobsDays days ago or longer, by the time of its last state change, is freed as arthur prune <id>... frees it: its worktree, its branch and its record, as far as Git finds it safe and no plugin’s jobs.keep keeps the record (arthur prune --help). A job in a run, held, or blocked is never one of them, nor one whose record’s time does not read. Each job’s line is printed as manage: prune: <id>: <what was done>.
  2. Every folder right in the system’s temporary folder (TMPDIR, else /tmp) whose name starts with arthur-, such as the arthur-test-* folders the test kit leaves when a test run is killed, is removed with everything inside when it was last changed more than a day ago. A file or a link of that name is left, and a link is never followed. A folder made since a job’s run began, while that run goes on, is kept, however old: the cut moves back by the time each job in a run has spent in its runs, a continued job’s earlier runs counted too, which puts it before the start of every run in progress. A folder that another user owns is kept, manage: kept <path>: user <uid> owns it, not Arthur's user <uid>; one that cannot be removed whole is kept with the reason, manage: kept <path>: <reason>. A run that removed any prints manage: removed <n> temporary folders of Arthur's from <folder> first.

A run with nothing to free prints nothing. A part that fails, the jobs unreadable or the temporary folder gone, does not stop the other; the run then fails naming each, the prune of old jobs: <reason> or the temporary folders: <reason>, which the schedule prints and sends as one notice (schedule: manage.prune: its run failed: ...), and the next try is the next day.

With the schedule plugin, manage registers one entry with it, manage.release, every day at 09:00 in core.timeZone, running manage’s own code (arthur schedule list shows it as plugin manage, option enabled: there is no option of its own, and enabled: false on manage removes it with the rest). Without the schedule plugin nothing is checked, and the load goes on. Each run:

  1. Looks at the Git checkout of the core’s folder (packages/core, the first of host.code): the newest release tag v<x.y.z> that git tag --points-at HEAD lists there is the version this one runs. A checkout at no such tag, such as a development checkout of main or a tag like v0.4.0-rc1, and a core outside a Git checkout, are not checked: the run ends there, asking nothing of origin.
  2. Lists origin’s release tags with git ls-remote --tags --refs origin 'v*' there, cut after 30 s; a tag not named v<x.y.z> is left out.
  3. Sends one notice per release newer than the one this runs and than the newest already told, oldest first by version: Arthur 0.3.0 is out; this one runs 0.2.0: arthur update (arthur update --help).

The newest release told is kept in .arthur/manage/releases.json, { "told": "0.3.0" }, written to a temporary name and renamed after its notices went out, so a release is told once, after a restart too; an install updated to it is told only of a release newer still. A file that is not what the plugin writes (broken, edited by hand) is taken as nothing told, so the next run tells each newer release once more. A listing that fails, origin out of reach or cut after 30 s, fails the run naming it, git ls-remote --tags --refs origin v* in <core folder>: <git's line> or ...: cut after 30 s, which the schedule prints and sends as one notice (schedule: manage.release: its run failed: ...); nothing is told, and the next try is the next day.

Manage registers the kind audit: read-only, a detached checkout of HEAD with no branch, the role auditor (packages/manage/roles/auditor.md, which arthur roles lists) and the project’s criteria files audit, styleguide and report (how a page for the owner looks and is checked before it is sent). packages/manage/criteria/audit.md is the audit criteria to start from: arthur init writes it to a new project’s <criteriaDir>/audit.md (arthur init --help); copy it there for a project given earlier, and change it to fit. Its budget is audit.budgetUsd, and it asks the core for one resume at its budget, with the budget doubled (arthur spawn --help); stopped again, it is not resumed twice.

Every audit’s prompt, after the role and the project’s sections, gets ## This audit, read from the project’s checkout when the job starts:

  • The commit it audits, its worktree’s.
  • ### Commits since the last audit, <commit> (<report>): one line each, <short hash> <subject>, newest first, from the last audit’s commit to the one audited, leaving out a commit that changes only the reports and the board, files under spec/quality/, spec/pyramid/ or spec/features/ and spec/build.json; a commit with any other file counts. The last audit is the newest report in spec/quality/ by its name’s date and number with a - Commit audited: line. With no such report, or one whose commit Git does not find in the repository, it is ### Commits of the last 24 hours (<why>).
  • ### Board: the board digest (arthur ticket --help).
  • ### Stats: the stats plugin’s answer to stats.tickets, arthur stats tickets of the tickets merged since the last audited commit was made, every merged ticket when there is none (arthur stats tickets --help); none: the stats plugin is not loaded without it.
  • ### Open findings: every entry with - Status: open in the findings.md of a ticket on the project’s board, - <id> F<n>: <title>. Where: <where>.
  • ### Deferred findings: every entry with - Status: deferred (client summary) in the findings.md of a ticket merged since the last audited commit was made (the window of ### Stats), - <id> F<n> (<kind>): <title>. Where: <where>; none when there is none. In a project whose findings mode is summary, where the merge defers every open entry (packages/findings/docs/findings.md), this is where its findings reach the audit.
  • ### Vision: the project’s vision’s path, to read first (arthur roles --help).

The auditor ends with at most 5 proposals, each in the form its role gives (## <n>. <title>, Takes F<n> of <id> when it takes up a finding, Kind:, Budget: when above the autopilot default, Evidence:, Why it matters:, Scope:), or the whole final message NO PROPOSALS.

With audit.at, manage registers one entry with the schedule plugin, manage.audit, at that time on audit.days, running manage’s own code (arthur schedule list shows it). Each run audits the main project, the first in the list, and starts no job, printing why, in two cases:

  • A day not in audit.days, the schedule’s late run of a missed slot included: manage: audit: no job, <day> is not in audit.days (<days>).
  • No commit since the last audit’s, as above, so the commit of an audit’s report, tickets and board starts none: manage: audit: no job, no commit since the last audit's <commit>.

Otherwise it spawns the audit with audit.model and prints manage: audit: started job <id>. A spawn that is refused, maxAgents reached for one, fails the run, which the schedule prints and sends as one notice (schedule: manage.audit: its run failed: ...); the next try is the next slot. An audit by hand, arthur spawn --kind audit '<focus>', runs whatever the commits, its task the focus note under the same prompt.

arthur ticket file <audit job>, with no ticket (arthur ticket --help), files an audit that finished as spec/quality/<date>.md in the project’s folder and prints that path: <date> the day its job started in core.timeZone, its id’s first part; a second audit that day is <date>-2.md, a third -3.md. The file holds # Audit <date>, - Job: <job>, - Commit audited: <commit>, then ## Final message and the final message as it is. It never replaces a file and never files a job twice: <job> is already filed as spec/quality/<name>; a second filer that took the name first: spec/quality/<name> was written meanwhile; file <job> again. An audit that did not finish, one stopped at its budget after its one resume among them, is refused by the core and never filed. Filing commits nothing.

When an audit ends, the coordinator’s wake carries the procedure packages/manage/roles/coordinator/audit-ended.md: file it, a planning ticket per proposal with Source: audit spec/quality/<file>.md under its Decisions (the source orchestration’s autopilot accepts), the findings it takes up settled, autopilot for a bug or cleanup its criteria let through, one commit of the report, the tickets and the board, then arthur prune <job>.

Manage registers the kind retro: read-only, a detached checkout of HEAD with no branch, the role retro (packages/manage/roles/retro.md, which arthur roles lists) and the project’s criteria files retro and report (how a page for the owner looks and is checked before it is sent). packages/manage/criteria/retro.md is the retro criteria to start from: arthur init writes it to a new project’s <criteriaDir>/retro.md; copy it there for a project given earlier, and change it to fit. Its budget is retro.budgetUsd, else the core’s jobs.budgetUsd.

Every retro’s prompt, after the role and the project’s sections, gets ## This retro, read from the project’s checkout when the job starts:

  • The commit it looks back from, its worktree’s.
  • ### Merges since the last retro, <commit> (<report>), or since the start (no retro yet): the arthur retro-due line of that period (arthur retro-due --help, which says what a merge is and where the last retro’s commit comes from), then each merged ticket, oldest first, - <id> <title> (<folder>/): outcome.md, review-1.md (FAIL), findings.md (3), the files in its folder to read: its outcome.md, each FAIL review, and its findings.md with the findings it holds; a merge whose ticket is not on the board is - <id>: not on the board, nothing to read.
  • ### Stats: the stats plugin’s answer to stats.tickets, arthur stats tickets of the tickets merged since the last retro’s commit was made, every merged ticket when there is none (arthur stats tickets --help); none: the stats plugin is not loaded without it.
  • ### Repeats of <project>: the digest of arthur repeats (arthur repeats --help) from the day the last retro’s commit was made, the whole decision log when there is none, its headings two levels down: the decisions by kind and by who answered, the repeated shapes with the class that covers each or a ready arthur decision class propose line, the standing grants, the owner’s overrides, the loose class matches and the recurring issues of the ticket history. A decision log that cannot be read (broken by hand, orchestration not loaded) costs this section only: ### Repeats and not read: <why>.
  • ### Corrections: each steer and continue a job of the project got since the last retro’s commit was made (the core’s job-steered events in <home>/events.jsonl, a job’s project the one its job-started named), every one in the log when there is none, grouped by its first sentence (up to its first ., ! or ? before a space, or its first line, cut at 200 characters), one line each, - <count>: <sentence>, the most frequent first; none when there is none.
  • ### Board: the board digest, so a proposal does not repeat a ticket.
  • ### Roles and criteria: the role files, coordinator procedures and criteria files the plugins of this load ship (roles/*.md, roles/coordinator/*.md and criteria/*.md of each package folder), from the project’s folder when they are inside it, else as absolute paths; then the names of the criteria files the registered roles read in the project’s criteria folder, the folder of the retro criteria above it in the prompt.

The retro ends with ## Period, at most 10 lines on what happened, at most 5 proposals, each in the form its role gives (## <n>. <title>, Kind: chore or Kind: class, Evidence:, Why it matters:, Scope: naming one file and one paragraph or function, Before: and After: quoting it; a class instead names its ready arthur decision class propose line and its agreement rate), or NO PROPOSALS, then ## Dead sentences. Each proposal takes the highest layer that holds: code that makes the mistake impossible, then a check, then a sentence. A decision shape the owner or a grant answered the same way 3 or more times may become a class, or, when no class fits, a code default as a Kind: chore ticket whose Scope is the file.

arthur retro-due says whether a retro is due: 10 merges or more since the last retro, with 2 FAIL reviews or more, or 5 findings or more, in them (arthur retro-due --help). The coordinator’s context carries its line for the main project on every turn, under ## manage.

With retro.day and retro.at, manage registers one entry with the schedule plugin, manage.retro, at that time on that day, running manage’s own code (arthur schedule list shows it). Each run looks back on the main project, the first in the list, and starts no job, printing why, in two cases:

  • A day that is not retro.day, the schedule’s late run of a missed slot included: manage: retro: no job, <day> is not in retro.day (<day>).
  • No retro due: manage: retro: no job, no retro due: ..., the arthur retro-due line.

Otherwise it spawns the retro and prints manage: retro: started job <id>. A spawn that is refused fails the run, which the schedule prints and sends as one notice (schedule: manage.retro: its run failed: ...); the next try is the next week. A retro by hand, arthur spawn --kind retro '<focus>', runs whether or not one is due, its task the focus note under the same prompt. A decisions retro, arthur repeats --retro '<focus>' or /repeats retro <focus>, is the same retro with Focus: decisions: <focus> under its task (arthur repeats --help); /retro never starts one.

arthur ticket file <retro job>, with no ticket (arthur ticket --help), files a retro that finished as spec/retro/<date>.md in the project’s folder and prints that path, named as an audit’s report is (<date>-2.md for a second that day), and writes its phone page beside it, spec/retro/<date>.html. A name either file already has is taken, so a page made by hand moves both to the next -<n>. The report holds # Retro <date>, - Job: <job>, - Merges up to: <commit>, the commit the retro looked back from and where the next period starts, then ## Final message and the final message as it is. The page is the same text as one self-contained HTML file for a phone in the report style of .agents/arthur/criteria/report.md, as the pyramid’s page is: a viewport line, its style inline, no outside asset, the title and the job’s lines in the black header, each ## or ### line a heading in main, each - line a list item (an indented one a level in), each ** span around a word run bold (its opening mark after the line’s start, a space, (, [ or a quote, its closing one before the line’s end, a space, a closing bracket, a quote or a stop, and neither touching a space, / or * inside, so src/**/*.ts, **/*.ts and 2 ** 3 stay as typed; a bold span holds no ** outside its code spans, so in f(**kw) and **b** only b is bold) and each backticked span code. The page goes in first and the report beside it, each linked under its name so neither replaces a file; a report that cannot go in takes its page out again. The refusals are the audit’s: <job> is already filed as spec/retro/<name>, spec/retro/<name> was written meanwhile; file <job> again, and a retro that did not finish is never filed.

/retro on a channel sends the newest page as a file, and arthur retro prints its path (arthur retro --help); with no page yet both say so.

When a retro ends, the coordinator’s wake carries the procedure packages/manage/roles/coordinator/retro-ended.md: file it, a planning ticket per proposal with Source: retro spec/retro/<file>.md under its Decisions and no autopilot, a Kind: class proposal recorded with arthur decision class propose and asked of the owner instead of a ticket, one commit of the report, its page, the tickets and the board, then arthur prune <job>, and a reply that ends with /retro for the owner to tap.

Manage registers the kind pyramid: read-only, a detached checkout of HEAD with no branch, the role pyramid (packages/manage/roles/pyramid.md, which arthur roles lists) and the project’s criteria files pyramid (the four layers: the codebase, static analysis, prose, human review; a correction caught twice at a lower layer moves up; a prose line the code now enforces is dead) and styleguide. arthur init writes pyramid.md with the other criteria files. Its budget is pyramid.budgetUsd, else the core’s jobs.budgetUsd. arthur pyramid [--project <name>] ['<focus>'] and /pyramid [<project>] [<focus>] start it (arthur pyramid --help); there is no schedule entry. A spawn of the kind, by either or by arthur spawn --kind pyramid, is refused for a project without a board (spec/build.json) and while a pyramid audit of that project is in a run.

Every pyramid’s prompt, after the role and the project’s sections, gets ## This pyramid audit, read without a model from the job’s checkout (the project’s folder for a job on another machine) when the job starts:

  • The commit it audits, its worktree’s; for a project with no FAIL review, finding, blocked question or steer, a line saying it has no Arthur history and its corrections are in its git log.
  • ### FAIL reviews: each ticket on the board with a review-N.md holding - Verdict: FAIL, - <id> (<folder>/): review-1.md, review-3.md.
  • ### Open and deferred findings: every entry with - Status: open or - Status: deferred (client summary) in the findings.md of a ticket on the board, as the audit lists them, with its Kind.
  • ### Repeats of <project>: the digest of arthur repeats over the whole decision log, its headings two levels down; ### Repeats with not read: <reason> without one.
  • ### Blocked on the owner: each job of the project blocked on user: <question>, - <id> (<kind>): <question>.
  • ### Corrections: every steer and continue the project’s jobs got that the event log holds, by first sentence, as the retro lists them.
  • ### Prose: the role, procedure and criteria files the plugins ship, then the project’s own tracked AGENTS.md, CLAUDE.md, CONTRIBUTING.md, .agents/, .claude/ and .cursor/ files, .cursorrules, .github/copilot-instructions.md and styleguides, each with its line count.
  • ### Checks: the scripts of each tracked package.json, the CI workflows and type and lint configs with their line counts, and the test files and the tests in them counted.
  • ### Board: the board digest, so no proposal repeats a ticket.

The job ends with ## Layers, at most 10 proposals in the form its role gives (## <n>. <title>, Corrections:, Now at:, Move to:, Change:, Dead prose:, Kind:, Scope:, Before: and After: quoted with > ), and ## Dead prose; or NO PROPOSALS.

arthur ticket file <pyramid job> files it as spec/pyramid/<date>.md, named as an audit’s report is, holding # Pyramid <date>, - Job: <job>, - Commit audited: <commit>, then ## Final message and the final message as it is, and writes its before and after page beside it, spec/pyramid/<date>.html: the report style of .agents/arthur/criteria/report.md, the title and the job’s lines in the header, each ## a section, the quoted lines after Before: and After: side by side (one column on a phone; a block fenced in them with backticks or tildes as typed, its backticks and ** too, without its fence lines), and the layer of Now at: and Move to: as its tag. Its own folder keeps it out of the next audit’s range and the next retro’s period, and the commit of its report, ticket and board is no commit for the next audit.

When it ends, the coordinator’s wake carries the procedure packages/manage/roles/coordinator/pyramid-ended.md: file it, one planning ticket with every proposal and Source: pyramid spec/pyramid/<file>.md under its Decisions, none pre-approved, one commit, the page checked and sent, the job pruned.

arthur repeats prints, without the model and without a job, what the owner decides again and again and what the agents keep hitting in one project: the decisions of its log by kind and by who answered (a class by policy, a standing grant, the owner), the shapes that repeat 3 or more times with the class that covers each or the ready line that would propose one, the standing grants and the answers under each, his overrides of the recommendation, the class matches to check by hand, and the recurring issues of its ticket history. /repeats sends the same as a page in the report style; arthur repeats --retro and /repeats retro start the decisions retro above. The decision log comes from orchestration (decision.entries, docs/plugin-api.md, “Provided names”). What each line says and how it is counted: arthur repeats --help.

Usage: arthur health; on a channel /health. Comes with the manage plugin (roadmap entry 60). Answered without the model, for every project at once (--project changes nothing).

One line per thing that should have happened by now and has not, from every plugin that answers health, in setup order, manage’s own checks among them:

AR0012 is in-progress with no job in a run for 3 h: Health checks
arthur: main has 2 commits not pushed to origin/main, the oldest made 5 h ago
arthur: the board has changes not committed for 2 h: spec/build.json and 1 more
arthur: the audit 2026-10-21-audit-7f8971f2 finished 3 h ago and is not filed in spec/quality/: arthur ticket file 2026-10-21-audit-7f8971f2
the temporary folder /tmp has 6% of its space free: 7.5 GB
/home: 4% of its filesystem's inodes free, 330112 of 8323072
github: health failed: no answer from the API

With nothing wrong, one line says so: All well: nothing that should have happened by now is missing.

Manage’s own checks, each for every project of the project list:

  • A stalled ticket: in-progress or review, no job in a run (working, idle or held) names it on a Ticket: line, and an hour has passed since its last move and since the newest of its jobs took its state (a job that ended 20 minutes ago counts from then).
  • Main not pushed: the checkout’s branch is ahead of its upstream, and the oldest of its own commits (its first-parent line, so a merged branch’s older commits count as the merge) was made an hour ago or more. The upstream is the one Git fetched last; nothing is asked of the remote. A detached HEAD, or a branch with no upstream, has nothing to push to and no line.
  • A board uncommitted for an hour: spec/build.json or a file under spec/features/ changed, or new and untracked, and the oldest such file was written an hour ago or more. A deletion alone has no time and no line.
  • A report not filed: an audit or retro job ended finished an hour ago or more, and no - Job: line of a report in its kind’s folder (spec/quality/ or spec/retro/, a file named <date>.md or <date>-<n>.md, as arthur ticket file writes it) names its id. Until it is filed, the next one starts from the report before it, and a prune loses its result. A job with a broken time has no line.
  • A temporary folder full: the system’s temporary folder (TMPDIR, else /tmp) has under 10% of its space free.
  • Low inodes: the filesystem of the temporary folder, of Arthur’s home or of a project’s folder, each filesystem once, has under 10% of its inodes free; a filesystem that counts none has none to run out of.

A line of another plugin is its answer as given: a line, or a list of lines, each trimmed, blank ones and anything that is not text left out. A plugin whose answer throws costs its own line only: <plugin>: health failed: <the error's first line>. One of manage’s own checks that throws does the same, naming what it could not check: manage: the board of <project> could not be checked: git status failed in <folder>; the other checks still answer. The checks of main and of the board run Git in the project’s checkout with no hook, no core.fsmonitor and no replacement (refs/replace) its Git folder names, and run none while the checkout’s own Git config sets a key that may name another program (a clean filter, which git status runs): manage: the commits of <project> could not be checked: <file> sets <key>, which a job can write and which may name a program Arthur's git would run; remove it, or set it in your ~/.gitconfig, and the same for the board (docs/deploy.md, “Threat model”). The project list missing costs every project’s line: manage: the projects could not be checked: <why>.

It reads only: nothing is fixed, moved, committed or written, not even the record of what health.everyMinutes sent. More than nothing after the command prints usage: arthur health and exits 2; /health with any text answers usage: /health.

The rounds under arthur run (health.everyMinutes): docs/manage.md of the manage plugin.

Usage: arthur pyramid [--project <name>] ['<focus>'], and /pyramid [<project>] [<focus>] on a channel. Comes with the manage plugin (AR0563).

Starts one pyramid audit of the project, the main one unless --project names another: a read-only job of the kind pyramid, and prints pyramid: started job <id>. The job reads the project’s corrections (FAIL reviews, open and deferred findings, the arthur repeats digest, the questions jobs are blocked on for the owner, the steers its jobs got), the prose its agents read and its checks, and ends with proposals that move each correction as high up the pyramid as it goes: the codebase, static analysis, prose, human review (docs/manage.md, “The pyramid audit”). The focus, when given, goes under its task as Focus: <focus>.

  • /pyramid does the same from a channel and answers the same line. Its first word is the project when it names one on the list, else the focus starts there: /pyramid web-shop flaky tests audits web-shop with the focus flaky tests, /pyramid flaky tests the main project.
  • When it ends, the coordinator’s wake brings the procedure: the report filed as spec/pyramid/<date>.md with its before and after page spec/pyramid/<date>.html, one planning ticket with every proposal, the page sent to the owner. Nothing is pre-approved.
  • Its budget is pyramid.budgetUsd, else the core’s jobs.budgetUsd.

Refused, exit 1, with nothing started, printing arthur pyramid: <reason>:

  • A project without a board: refused by manage: project <name> has no board, <path>/spec/build.json: arthur init <name> first.
  • A pyramid audit of that project in a run: refused by manage: a pyramid audit of <name> runs already: job <id>; wait for its end, or arthur stop <id>. Both refusals hold arthur spawn --kind pyramid too.
  • An unknown project, with the board’s refusal; any other refusal of arthur spawn, such as maxAgents reached.

More than one focus argument, or an unknown flag, prints usage: arthur pyramid [--project <name>] ['<focus>'] and exits 2. On a channel a refusal answers /pyramid failed: <reason>.

Usage: arthur repeats [--project <name>] [--since <date|decision id>], arthur repeats [--project <name>] --retro ['<focus>'], and /repeats [retro [<focus>]] on a channel. Comes with the manage plugin (AR0562). The digest is answered without the model, for one project, the main one unless --project names another, and reads only: nothing is written but the phone page in manage’s own folder.

What the owner decides again and again, and what the agents keep hitting, as Markdown. The decisions come from the project’s decision log (arthur decision --help) as the orchestration plugin parses it (decision.entries); the issues from the board and the files in each ticket’s folder.

--since starts the digest at a date, YYYY-MM-DD, the asks of that day or later by their own date and the tickets whose JSON block’s date is that day or later; or at a decision id, AR-D12, the asks from that one on in the log’s order and the tickets made on its day or later. Left out: the whole log and every ticket.

# Repeats of <project>, Since <date|id>. or Since the start., then:

  • ## Decisions by kind and by who answered: the first and last id and day, the asks, answered, closed and open; one line per kind, most asked first, - <kind>: <n> asks; policy <n>, standing grant <n>, owner <n>, closed <n>; agreement <a> of <b> (<%>); a line over every kind but class, each source as a share; and the classes as they stand now (proposed, approved, refused, revoked, closed). Who answered is read from the answer the coordinator recorded, its latest one:
    • policy: its words are by policy: <class id>;
    • standing grant: its words quote one of the owner’s blanket grants (do not ask, don't ask, not ask me, always go with, just merge, by yourself, go with your recommendation, go with all recommendation, nie pytaj) and do not name the question’s own id;
    • owner: any other answer: a fresh reply, or one message answering a list of questions;
    • closed: closed with no answer; open, shown only when one is, neither.
    • The agreement counts the answers by the owner or a grant on a question with a numeric recommendation and a pick: the pick is the recommended option.
  • ## Repeated shapes: the questions (classes left out) grouped by their kind and the first 2 words of each option, parentheses, ids (AR0441, AR-D12) and numbers left out, each number one # (budget: accept # / ask the), or by the question’s first 4 words when it offers no option. Each shape with 3 or more asks, most first, ### <n>. \`: asks`:
    • First asked: its first id and question; Answered: the sources; Picks: the options picked by the owner or a grant, by the same first 2 words; Agreement with the recommendation:; Examples: up to 6 ids, the first 4 and the last of a longer list.
    • Class: each class of the shape’s kind that names one of its asks as a class matches (every word of its match in the question, and the ticket’s - Kind: when the class has a ticket kind), with its state and how many of the asks it names; none.
    • Candidate: the first that holds: covered by <class id>, an approved class naming every ask; picks split: a code default, the owner’s picks went to two options or more, so no class decides it; a ready line, `arthur decision class propose --project <p> --kind <k> --match '<the words every question of the shape names>' --decided '<decision>' --backed-by <ids>`, when 3 or more answers by the owner or a grant decided the same (in any case and spacing), run as it stands (arthur decision class propose --help); decided texts differ: one fresh owner answer backs a class; no answer by the owner or a grant to back a class; no word common to every question: no class matches them all.
  • ## Standing grants: the standing-grant answers grouped by the grant they quote: an answer naming another decision goes under it (under AR-D271), joining the group that decision began; any other under the first answer whose words begin as its words do, or begin its words (first AR-D61). Each with the grant’s words, the answers and their kinds, and the ids.
  • ## The owner's overrides of the recommendation: the scored answers whose pick is not the recommended option, each with both options and the question.
  • ## Loose class matches: the answers by policy whose question names the class’s words apart, not as one phrase, such as passed review in no review ran; checks passed: the matches to check by hand.
  • ## Recurring issues, from the tickets of the period:
    • the share of tickets with a Source: F<n> of <ticket> line, and the longest chain of them, AR0304 ← AR0298 ← … ← AR0256;
    • the tickets with 2 or more review-N.md files saying - Verdict: FAIL, the 5 with most;
    • the questions of jobs blocked on the owner (kind job, with a job) by cause: line budget (the question names a budget), file size (a <n>-line limit), other;
    • per package (each folder in the project’s packages/), the tickets whose Decisions name its line budget: a line with budget naming the package before a number, core 100 to 110, core line budget 110 -> 120; no packages/ folder without one;
    • the dropped tickets, from a finding or other.

With no decision in the period the decisions are None in the log., the issues still read.

/repeats writes the main project’s digest as one self-contained page, .arthur/manage/repeats-<date>.html (<date> today in core.timeZone, written to a temporary name and renamed), and sends it as a file through the channel the command came from, to its place, as /retro sends a page (arthur retro --help): repeats-<date>.html: <channel>: <what the channel said>, or why it was not sent. The page follows the base style of .agents/arthur/criteria/report.md: ink #0a0a0a on white with blue #0033ff as the accent, one light colour scheme, a black header holding the title and the Since line, then the sections in a centred main at most 900 px wide, their headings centred, each backticked span as code on grey, each list a list, and red #d40000 only for the lines of the overrides and the loose matches.

arthur repeats --retro ['<focus>'] and /repeats retro [<focus>] start the retro kind (docs/manage.md, “The retro”) and print retro: started job <id>. Its task is the retro’s own with Focus: decisions: <focus> under it (Focus: decisions without a focus); its prompt, as every retro’s, holds this digest for the retro’s period, from the day of the last retro’s commit. /retro alone never starts a job: it sends the newest retro’s page.

  • More than --since <date|id> and --project, a --since that is neither a date nor a decision id, --since with --retro, words without --retro, or two after it: usage: arthur repeats [--project <name>] [--since <date|decision id>], or arthur repeats [--project <name>] --retro ['<focus>'], exit 2; more than retro [<focus>] after /repeats: usage: /repeats [retro [<focus>]].
  • An id the log does not hold: no decision <id> in the log of project <project>, exit 1.
  • An unknown project, exit 1 with the board’s refusal; a decision log broken by hand, exit 1 with orchestration’s refusal naming the line; orchestration not loaded, exit 1 (call("decision.entries"): no plugin provides it).
  • Inside a job (arthur help --help) the command is refused before it runs; a retro’s prompt already holds the digest.

Usage: arthur retro-due [--project <name>]. Comes with the manage plugin (roadmap entry 63). Answered without the model, for one project, the main one unless --project names another. It reads only: nothing is written.

Whether there is enough since the last retro for a new one, as one line:

retro due: 12 merges, 3 FAIL reviews and 4 findings since the last retro, 0a1b2c3d4e5f (spec/retro/2026-10-16.md)
no retro due: 7 merges, 2 FAIL reviews and 1 finding since the last retro, 0a1b2c3d4e5f (spec/retro/2026-10-16.md); 10 merges needed
no retro due: 10 merges, 1 FAIL review and 4 findings since the start (no retro yet); 2 FAIL reviews or 5 findings needed

A retro is due at 10 merges or more, when in them 2 reviews or more failed or 5 findings or more were written; exactly 10 merges with 2 FAIL reviews is due, and so are 10 merges with 5 findings. A line that is not due names the first rule not met.

  • The merges: the merge commits on the first-parent line of the project’s HEAD whose subject is Merge <ticket id>: ..., as arthur merge writes it, since the last retro’s commit. The last retro is the newest report in spec/retro/ by its name’s date and number with a - Merges up to: <commit> line, which the filing writes (arthur ticket file, docs/manage.md, “The retro”). With no such report it is since the start (no retro yet), every merge of the history (a report written by hand, spec/retro/<date>.md with that line, starts the first period at its commit instead); with one whose commit Git does not find, since the start (<commit> of <report> is no commit of this repository).
  • The FAIL reviews: in each merged ticket’s folder on the board, the review-N.md files with a - Verdict: FAIL line. A merge whose ticket is not on the board counts as a merge with nothing in it.
  • The findings: every ## F<n>. entry of each merged ticket’s findings.md, whatever its status.

The coordinator’s context carries the same line for the main project on every turn, under ## manage (arthur coordinator --help). With retro.day and retro.at, the schedule starts a retro only while it is due (docs/manage.md, “The retro”).

More than nothing after the command prints usage: arthur retro-due [--project <name>] and exits 2; an unknown project exits 1 with the board’s refusal.

Usage: arthur retro [--project <name>], and /retro on a channel. Comes with the manage plugin (roadmap entry 63). Answered without the model.

The newest retro’s phone page: spec/retro/<date>.html, which arthur ticket file writes beside each retro’s report (docs/manage.md, “The retro”), the newest by its name’s date and number (2026-10-16-2.html after 2026-10-16.html).

  • arthur retro prints its path from the project’s folder, of the main project unless --project names another.
  • /retro sends the main project’s page as a file through the channel the command came from, to the place it came from (a topic), with the channel’s channel.send (arthur send --help), and answers one line, <page>: <channel>: <what the channel said>. A channel that refuses the file answers <page> not sent by <channel>: <its refusal>; a channel with no channel.send, <page> not sent: <channel> provides no channel.send; a send that fails on its way, /retro failed: <reason>, as any phone command that fails.

With no page yet, both answer so instead of failing: no retro page yet: spec/retro/ in <project folder> holds none; a retro's filing writes one beside its report, and arthur retro exits 0.

Neither starts a retro: a retro by hand is arthur spawn --kind retro '<focus>', a decisions retro arthur repeats --retro '<focus>' or /repeats retro <focus> (arthur repeats --help).

More than nothing after the command prints usage: arthur retro [--project <name>] and exits 2, and more than nothing after /retro answers usage: /retro; an unknown project exits 1 with the board’s refusal.