Skip to content
Security
Command

/apply-self-review

Apply the approved improvements from the latest memory-self-review PROPOSAL. Auto-applies the safe, reversible doc/memory edits (with backups); queues code/config/rule-rewrite edits for an explicit go. Never commits or pushes.

From plugin
dashclaw
3194 skills3 agents4 commands7 hooks
+1
> /plugin marketplace add ucsandman/DashClaw
> /plugin install dashclaw@dashclaw

Command definition

apply-self-review.md
description: Apply the approved improvements from the latest memory-self-review PROPOSAL. Auto-applies the safe, reversible doc/memory edits (with backups); queues code/config/rule-rewrite edits for an explicit go. Never commits or pushes.
argument-hint: "[safe | all | <item numbers e.g. 1 3 5>]  (default: safe)"

You are the **apply stage** of DashClaw's self-improvement loop. The weekly `/memory-self-review` job writes a PROPOSAL; you turn the approved items into real edits — safely. You are the action counterpart to that read-only review: you act, but you keep the human gate exactly where risk lives.

Mode = `$1` (default: `safe`).

1. Load the proposal

Read `C:\Projects\DashClaw\docs\superpowers\memory-self-review-PROPOSAL.md`. If it's missing or empty, say so and stop — nothing to apply. If it looks stale, check the tail of `C:\Users\sandm\.claude\jobs\memory-self-review.log` to confirm the latest run.

2. Classify every proposal item

  • **SAFE (auto-appliable):** additive, reversible, **doc/memory only** — appending a documented gotcha/lesson line to an existing CLAUDE.md section; demoting/trimming/moving a MEMORY.md index entry; fixing a stale pointer or count in a doc/memory file. No code behavior change, no deletion of meaning, nothing touching settings/hooks/CI/git-config/deps/schema/auth/billing.
  • **NEEDS-CONFIRM (never apply without an explicit go):** any change to code, `settings*.json`, hooks, CI, `.gitattributes`/git config, dependencies, schema/migrations; deleting or rewriting the *meaning* of an existing rule; anything touching auth/billing; or anything you are unsure about. **When in doubt → NEEDS-CONFIRM.**

Editable targets and their paths:

  • Project CLAUDE.md: `C:\Projects\DashClaw\CLAUDE.md`
  • Global CLAUDE.md: `C:\Users\sandm\.claude\CLAUDE.md`
  • Memory index + files: `C:\Users\sandm\.claude\projects\C--Projects-DashClaw\memory\`

3. Apply

  • Before editing ANY file, back it up once: `<file>.bak-apply-<YYYYMMDD>` (skip if it already exists today).
  • Grep the target section first — never insert a line that's already present (idempotent).
  • **`safe` (default):** apply every SAFE item into its named section, matching the proposal's wording. Then LIST the NEEDS-CONFIRM items with their exact proposed edit and STOP — do not apply them.
  • **`all`:** apply SAFE items, then for each NEEDS-CONFIRM item restate the exact change and apply it (only when a human is present and signalled `all`).
  • **`<item numbers>`:** apply exactly those items regardless of class — the number IS the explicit go.

4. Verify (evidence, not assertion)

  • After editing MEMORY.md, confirm it is still under the ~24.4KB cap — the truncation fix must not regress.
  • Re-read each edited region to confirm the edit landed in the right section.
  • If any code/config/`.ts` file was changed (only possible via `all`/numbers) and it's in this repo, run `npm run lint` + `npx vitest run` (+ `npm run build` for `app/**`) and READ the output; do not claim done until they pass.

5. Record + archive

  • In the proposal, mark each handled item `✅ APPLIED <date>` or `⏭ DEFERRED (needs-confirm)`.
  • Move the proposal to `docs\superpowers\applied\memory-self-review-PROPOSAL-<YYYYMMDD>.md` so the next weekly run starts clean.

6. Never commit or push

Leave all changes in the working tree — a push is its own turn; the operator reviews the diff and commits via their normal flow. End with: what was applied, what's deferred and why, which files were backed up, and an explicit "nothing was committed or pushed."

If, on re-reading the actual file, a proposed item conflicts with an existing rule or its reasoning is wrong, do NOT apply it — flag it `DISPUTED` with your reasoning. Trust what you read in the real files over the proposal's summary.

Read more
@ucsandman
Ships withdashclaw

Remote approvals, policy checks, and execution evidence for unattended AI agents.

31920 skills3 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
319
Star history of ucsandman/DashClaw on GitHub, a chart by star-history.com

Other commands on dashclaw.

dashclaw-quality

dashclaw-quality

Command

Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates → triage →…

@ucsandman@ucsandmanInstall Command
memory-self-review

memory-self-review

Command

Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMORY.md health, and…

@ucsandman@ucsandmanInstall Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

ironclaw10d13k
@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

skills7d8.2k
@trailofbits@trailofbitsInstall Command
autopilot

autopilot

Command

Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable…

@elementalsouls@elementalsoulsInstall Command