Skip to content

Self-improvement

Self-improvement is an administrative Maestro workflow outside the nine SLP operations. Inside a running team, the actual implementation and challenge use the same four-state work lifecycle as every other task.

1. Record the correction

2. Review pending lessons

3. Peer returns the smallest edit

4. Run the golden replay

5. Different Peer challenges it

6. Lead reconciles; Team Supervisor accepts

The vertical layout keeps every step readable on narrow screens. All Mermaid diagrams on this site use white nodes with black text, borders and arrows.

Record what happened where it happened:

Terminal window
maestro lesson file "A Peer changed scope without recording it" \
--target "SLP shared contract" \
--expected "create new work when the objective contract changes" \
--why "chat alone does not mutate authority" \
--evidence w42

A lesson is durable input, not an automatic rule change. The owner, Hub Supervisor, Team Supervisor or Lead may file it. A Peer reports the issue in its work return or note; its reviewer decides whether to file a lesson.

Terminal window
maestro lesson list
maestro lesson show <lesson-id>

Group only lessons that point to the same target and failure mechanism. Thematic similarity alone is not enough to merge them.

Lead creates one bounded work item for an improver Peer:

Terminal window
maestro work add "Apply the smallest SLP correction for lessons l3 and l7" \
--to peer-improver

The Peer takes the work, edits only the named target, and returns the candidate with its falsifier:

Terminal window
maestro work take <work-id>
maestro work return <work-id> "candidate: smallest contract edit; source: focused replay now passes; residual risk: challenge not run"

Lead does not accept yet.

The golden replay reproduces the original failure against the candidate. It must be able to fail for the same reason the lesson was filed. A generic lint or prose review is not a substitute.

Record the exact result on the work item:

Terminal window
maestro work note <work-id> "golden replay: PASS; source: <exact command or scenario>"

Create separate no-fix challenge work for a Peer that did not author the candidate:

Terminal window
maestro work add "Try to break the doctrine candidate for l3 and l7; findings only" \
--to peer-challenge

The challenge Peer takes and returns that work normally. A finding routes back to rework through a reviewer note. A clean challenge is evidence, not automatic acceptance.

When the replay and challenge both support the candidate, Lead accepts the Peer work and records any settled doctrine choice:

Terminal window
maestro work accept <improver-work-id>
maestro work accept <challenge-work-id>
maestro decide "Adopt the smallest verified doctrine correction" \
--why "the original replay and an independent challenge both pass" \
--work <improver-work-id>

Team Supervisor accepts the Lead’s overall return at the next boundary.

Mark each lesson processed by the commit carrying the correction, or by a specific answer when no edit is warranted:

Terminal window
maestro lesson process <lesson-id> --commit <commit>
maestro lesson process <lesson-id> --answer "existing contract already covers this case"

Nothing deletes a lesson.

Terminal window
maestro lesson render

The rendered project files under ~/maestro/PROJECT/ are generated views. Edit the source lesson or accepted doctrine, then render again; never hand-edit the rendered view.

  • No doctrine edit without an original failure or concrete correction.
  • No acceptance from the Peer that authored the candidate.
  • No broad rewrite when one target-specific edit fixes the replay.
  • No challenge finding silently folded into the candidate; record rework.
  • No lesson marked processed before the accepted edit or answer exists.