agentleFS
wrg32786wrg32786/aigent-os/skills/meta-improve/SKILL.md

meta-improve

Skill25 starsChanged 7 days agoMITView on GitHub

Run constrained self-improvement without self-approval or self-merge. Use when implementing operator-approved Dream candidates via the canonical protocol.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Read only the exact evidence references named by that approved candidate from vault/memory/runtime/LESSONS.jsonl and …

    line 21
  2. Distinctive:

    Use repository isolation where normal policy requires it.

    line 42
  3. Distinctive:

    Run the real red-before and green-after proof plus relevant system checks.

    line 44
  4. Very specific:

    Never merge, push, deploy, broaden scope, modify an operator gate, approve another candidate, or infer approval.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Constrained self-improvement

The public verb is /meta-improve-vault.

Input and gate

Select only from canonical vault/memory/DREAM_LOG.md: an exact candidate whose status is approved and whose approval was written by /dream --set-status from a direct operator decision. proposed is not approval.

Read only the exact evidence references named by that approved candidate from vault/memory/runtime/LESSONS.jsonl and vault/memory/runtime/NIGHTLY_CAPTURE_CANDIDATES.jsonl. Those products provide traceability; they never provide approval by themselves.

Before Build:

node daemons/nightly-contracts.mjs meta --root <aigent-root> \
  --candidate <candidate-id>

Require META_GATE PASS. It checks the canonical block for exact approved status and non-placeholder operator evidence. This is the executable nightly-contracts.mjs meta gate.

Build

For one approved candidate:

  1. Re-read its evidence, proposed change, mutation proof, and scope.
  2. Use repository isolation where normal policy requires it.
  3. Apply the smallest change satisfying the proposal.
  4. Run the real red-before and green-after proof plus relevant system checks.
  5. Produce a review artifact with exact diff, commands, exits, residual risks, and rollback.
  6. Surface accept / reject / revise to the operator.

Never merge, push, deploy, broaden scope, modify an operator gate, approve another candidate, or infer approval. A failed proof asks the Dream writer to set the candidate blocked.

Status ownership

This skill never edits Dream directly. The Dream writer owns:

  • direct operator approval: proposed -> approved;
  • verified build failure: approved -> blocked;
  • direct rejection: approved -> rejected;
  • independently verified merge: approved -> merged.

The complete flow is:

propose -> operator gate -> build -> independent review -> operator outcome

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.