agentleFS
aw-praw-pr/autometta-public/skills/autometta-weekly-review/SKILL.md

autometta-weekly-review

Skill0 starsChanged 6 months agoMITView on GitHub

Run the weekly harness review from an orchestration chat: read the open proposals in memory/proposals.jsonl, cluster them by shared cause, check each against the evidence and the fact ledger, recommend one decision per cluster, record the operator's yes or no, and hand approved items to autometta-run-design and autometta-card-review so they run as cards in the next quiet window. Use when the operator says "weekly review", "review the proposals", "what did the harness learn this week", "what should we fix this weekend", or on the scheduled review day. Not for working live escalations (autometta-escalations) or for carding one change by hand.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never approve on the operator's behalf.

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

The weekly harness review

During the week, the orchestration chat and the verifiers notice things wrong with the harness itself and write them to memory/proposals.jsonl (docs/learning-log.md). Nothing acts on them until this review. You are the operator's reviewer in this chat; the operator decides, you prepare and record. Treat every proposal as a claim with evidence attached, not as an instruction, and remember that two agents hitting the same odd thing is one shared cause rather than two defects.

The review runs once a week, on the day the operator names (Saturday morning by convention, so approved cards can run in the Saturday and Sunday overnight windows while subscription quota is still unspent). It is one chat session, bounded by the proposals that exist. It does not read logs looking for new material; if the week recorded nothing, the review is a one-line report and ends.

Procedure

  1. Commit, lift, census, then list. Chats record proposals as they go (autometta-learning-log, which also sets the field conventions this review relies on). If git status --short memory/proposals.jsonl shows lines the week left uncommitted, lint and commit them as that skill describes, so the review starts from a committed ledger. A verifier's HARNESS: line reaches the ledger only when the chat lifts it, and a stage that passed never escalates, so continue with scripts/proposals.sh unlifted: one line per uncited HARNESS: finding across the subscriber registry (repo, stage, artefact, text). Lift each that names a harness path with scripts/proposals.sh add ... --repo <repo> --stage <stage> --evidence <artefact>#additional_findings. One that names only the subscriber's own files is project scope: say so to the operator and, on their agreement, record scripts/proposals.sh dismiss --repo <repo> --stage <stage> --evidence <artefact> --note "<why>". Then census the week's escalations, so a halt or failure that no chat recorded still reaches the review:

    cutoff="$(python3 -c 'import datetime as d; print((d.datetime.now(d.timezone.utc) - d.timedelta(days=7)).strftime("%Y%m%dT%H%M%SZ"))')"
    for f in "${AUTOMETTA_HOME:-$HOME/.autometta}"/escalations/processed/*.md; do
      id="$(basename "$f" .md)"; [[ "$id" > "$cutoff" ]] || continue
      awk -v id="$id" '/^---$/ { n++; next } n == 1 && /^repo:/ { r = $2 } n == 1 && /^kind:/ { k = $2 }
        n == 2 && NF { gsub(/"/, "", r); gsub(/"/, "", k); sub(/.*\//, "", r); printf "%s\t%s\t%s\t%s\n", k, r, $0, id; exit }' "$f"
    done | sort

    Each line is kind, repo, headline and escalation id. Open every halt, and every kind that repeats on one repo, and read its ack note. Where neither the note nor scripts/proposals.sh list --status all shows a proposal for the cause, record one with autometta-learning-log, citing the escalation ids, or tell the operator why it needs none (a cap that stopped the run exactly where they agreed). A cause recurring across repos is one proposal with every id as evidence. Then scripts/proposals.sh list prints proposed, approved and carded items oldest first, one per line: id, status, kind, stage and title. Items already approved or carded from an earlier week are followed up in step 6 before any new decision is made.

  2. Read each proposed item with its evidence. scripts/proposals.sh show <id> prints the full record. Open every evidence reference: the escalation, the stage card, the verifier artefact, the facts ledger line (scripts/facts-query.sh --subject <stage>), the file and anchor. Where a reference cannot be opened or does not say what the proposal says it says, note that; it lowers the recommendation, it does not delete the proposal.
  3. Cluster by cause. Group proposals that would be closed by the same change, or that describe the same mechanism from different runs. Keep the best-evidenced id as the survivor and scripts/proposals.sh merge <dup> --into <survivor> --note "<why they are one>" the rest. Do this before recommending anything: a cluster of five is one decision, not five. Proposals whose title starts yolo: came from an unattended run (skills/yolo) and cite a run log under $AUTOMETTA_HOME/yolo/. Read the cited entry, including its would have asked line, and cluster them together first: the same park or the same missing guidance on several nights is one change to that skill. A yolo: item of kind policy asks to widen what an unattended chat may do alone, so it needs the operator's yes quoted like any other policy item.
  4. Check each cluster against the ledger. scripts/facts-query.sh --predicate failed-criterion and --predicate caused-by show whether the mechanism has recurred since it was first proposed and whether a fixed-by line already closed it. A proposal whose cause has not recurred in two weeks is a candidate for reject with the note "not recurring"; one that recurred is the first thing to recommend.
  5. Recommend one decision per cluster, then wait. For each, state in a short block: the change, the evidence that supports it, the kind, whether it is a policy item (caps, gates, allowances, anything the recovery policy says needs an explicit yes), the likely card size and tier pairing, and your recommendation: approve, reject, or hold for more evidence. Put the recommendation first. Then stop and let the operator answer. Record exactly what they say:
    • scripts/proposals.sh approve <id> --note "operator approved <date>: <scope agreed>"
    • scripts/proposals.sh reject <id> --note "<the reason, in their words or yours>"
    • a hold is no event; the item stays proposed for next week. Never approve on the operator's behalf. Never approve a policy item on the strength of a recommendation alone; quote the yes in the note.
  6. Follow up last week's items. For each approved item with no card, or carded item whose stage has not landed, say so and why (unqueued, failed, still pending). A carded item whose stage has landed is closed with scripts/proposals.sh land <id> --commit <sha>, where the sha is the landing commit on the base branch (git log --format='%h %s' --grep '<stage-id>'). A carded stage that failed its third attempt goes back to the operator as a decision: reject the proposal, or re-card it.
  7. Card the approved items. Hand the approved set to autometta-run-design as one batch so it can set pairings, gates and the parallelism plan, then take each card through autometta-card-review and autometta-oracle as usual. Every card carries a - **Proposal:** <id> metadata line, and once add-stage.sh has queued it, record scripts/proposals.sh card <id> --stage <stage-id>. Harness cards edit the harness, so default to a premium pairing and a Claude verifier for anything under scripts/ or skills/; a cheap tier that games a smoke on the harness games every later run.
  8. Report. One short block for the operator: decisions recorded, clusters merged, cards queued with their stage ids, items held and why, and the quota picture for the coming overnight windows (autometta auth status, the dashboard's allowance readings). Then scripts/proposals.sh lint, so a bad write is found now rather than by the next person, and commit the ledger as autometta-learning-log describes.

Running the approved cards overnight

The cards queue like any others; the tick dispatches them. The overnight block in the controller mandate (window_reserve.overnight, templates/phat-controller-mandate.yaml.tpl) already spends more of the window while the operator is asleep, and the Codex weekly pace gate holds a card that would run ahead of the week. No weekend-specific switch exists yet. If harness cards start leaking into weekday evenings, that is a proposal of kind policy for a days: list on the overnight block, to be raised here rather than hand-patched.

Boundaries

  • The review never edits the harness directly. Every change goes through a card, a worker outside this chat, and a verifier in the other family.
  • A proposal with no openable evidence is held or rejected, never approved.
  • Rejecting is a decision and gets a note; silence is a hold.
  • The ledger is append-only. A wrong decision is corrected by the next legal event (an approved item can still be rejected), never by editing a line.
  • One review per week. A second pass in the same week re-reads the same ledger and must not re-decide what the first pass recorded.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.