Skip to content
Back to skills

Reverse Alignment Loop

ASecurity

Run a checkpoint reverse-alignment loop on each verifiable increment: expose key decisions, unasked hardening, and implicit assumptions so the human can steer priorities early, orient unfamiliar mechanisms in plain words, and verify grasp one probe per round. Not for spec-convergence.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgobashnodegitsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add wxxb789/hoa --skill reverse-alignment-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reverse Alignment Loop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reverse Alignment Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wxxb789-reverse-alignment-loop/badge)](https://www.skillsdirectory.com/skills/wxxb789-reverse-alignment-loop)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reverse-alignment-loop
description: >-
  Run a checkpoint reverse-alignment loop on each verifiable increment: expose key decisions,
  unasked hardening, and implicit assumptions so the human can steer priorities early, orient
  unfamiliar mechanisms in plain words, and verify grasp one probe per round. Not for
  spec-convergence.
metadata:
  revision: "3"
  areas: "self-management,software-development,work-management"
  targets: "runtime-agnostic"
  summary: "checkpoint reverse-alignment loop on verifiable increments: surface AI decisions, implicit assumptions and unasked hardening, orient unfamiliar mechanisms, probe one question per round, and log comprehension debt plus overridden assumptions"
  summary_zh: "在每个可验证小步增量上运行反向对齐回路:显影 AI 决策、隐含假设与过早加固项,按需白话建立直觉并每轮一问校准理解,双轨记录理解债与被纠正假设"
  kind: "entry"
---

# Reverse Alignment Loop

**Reverse alignment** flips the usual direction: instead of letting the agent run long in the dark
and dumping a large opaque diff at the end, each verifiable increment becomes a two-way calibration
checkpoint. The human steers the agent's hidden assumptions and priorities early, while borrowing
the model's feedback to understand and own unfamiliar technical territory. **Loop** names the
mechanism: a cycle that runs across small increments, not a one-off post-mortem quiz.

**Outcome:** every increment ends with an explicit alignment state — hidden assumptions and unasked
hardening were surfaced and ruled on (`keep` / `defer` / `cut`), and any unfamiliar mechanism was
either explained in the person's own words or logged as open debt with a concrete file/scope anchor.
Never a "done" that hides an unexplained decision or an unapproved priority detour.

**Done:** each checkpoint records its verdict (`aligned`, `gap`, `deferred`, or `assumption_overridden`)
in the ledger before moving to the next increment; open debt and active assumption overrides stay
visible across rounds.

## The loop

| # | Step | Who acts | Moves on when |
|---|---|---|---|
| 1 | Produce a small verifiable increment | agent, person | one concrete, observable step exists (never a multi-hour opaque dump) |
| 2 | Expose artifact & checkpoint brief | agent | the model reads the real artifact (not a summary), recalls ledger debt/overrides for touched scope, and surfaces key decisions, implicit assumptions, and unasked hardening |
| 3 | Rule on assumptions & priorities | person | every surfaced assumption or non-blocking hardening item is marked `keep`, `defer`, or `cut` — the human keeps the steering wheel |
| 4 | Orient unfamiliar territory (on demand) | agent | for AI-authored or unfamiliar Full-tier mechanics, give a concise plain-language brief before probing; skip for familiar or self-authored work |
| 5 | Probe & diagnose | model, person | one open-ended mechanism question per round, then stop; classify answer as mechanism, partial, or label-only; re-teach only the missing link (max 2 rungs) |
| 6 | Record & carry forward | model | ledger holds the round verdict, scope-anchored open debt, and overridden assumptions; next increment starts from that state |

Admitting unfamiliarity, cutting over-engineered work, and deferring non-blocking debt are normal
outputs of the loop. The only failure mode is silently accepting a black-box decision or letting the
agent's default assumptions hijack delivery pace.

## Role boundary

The model is a **feedback and surfacing node**, never the value or priority authority. It can surface
hidden assumptions, test whether an explanation is mechanism-complete, and teach unfamiliar concepts
in plain words. It cannot insist that "best-practice" hardening (security audits, extra abstractions,
broad refactors) outranks getting a working increment first: the human decides scope, urgency, and
trade-offs, and the loop never acts as a hard blocking gate against delivery.

## Round rules

1. **Small increments first.** Align at the end of a bounded, observable slice so the human can
   intervene before drift compounds.
2. **Surface hidden assumptions before grilling.** Explicitly separate *required for this slice* from
   *agent-assumed best practice* (e.g. premature hardening, extra layers) so urgent delivery is not
   stalled by unasked work.
3. **Zero unanchored jargon — both ways.** A human label ("thread-safe with CAS", "eventual
   consistency") is not an explanation; equally, the model must explain physical behavior in plain
   words before introducing a technical term or acronym during orientation or remediation.
4. **One probe per round.** Ask a single question and stop. Three stacked questions produce one
   blurred reply that verifies nothing.
5. **Skipping is allowed and recorded.** `skip` or `defer <reason>` ends probing immediately, logs
   open debt with its `scope` anchor, and emits a copy-ready one-line handoff (`Deferred: ...`) for a
   PR description or `TODO.md`.

Read [the loop protocol](references/loop-protocol.md) for the checkpoint brief template, depth tiers,
on-demand orientation format, question archetypes, remediation ladder, optional decision-model triage,
and ledger format.

## Opt-in decision-model triage

When the operator has configured `rubric-judge`, run its opt-in `alignment-checkpoint` preset to
screen the increment or explanation before closing the round:

```bash
uvx --from git+https://github.com/wxxb789/hoa hoa decide --if-configured \
  --preset alignment-checkpoint --state-file <checkpoint-state.json>
```

- **Opt-in and fail-open to manual protocol:** if `rubric-judge` is unconfigured (`{"skipped": true}`)
  or unreachable, continue the manual protocol without failing.
- **Advisory only:** `drift_signal` (`on_track` / `unasked_hardening` / `unconfirmed_assumption` /
  `label_only_explanation`), `needs_human_override`, and `explanation_depth` guide what to surface
  first; the human still rules on priorities and verdicts.
- See [the loop protocol](references/loop-protocol.md#opt-in-decision-model-triage) for the state
  payload shape and multi-head gating rules.

## Recording & memory capability

| Key | Flag | Environment variable | Default |
|---|---|---|---|
| `ledger` | `--ledger` | `REVERSE_ALIGNMENT_LEDGER` | `.reverse-alignment/ledger.md` under the working directory |

Resolve a key in the order flag, environment variable, `$XDG_CONFIG_HOME/reverse-alignment-loop/config.yaml`
(falling back to `~/.config/reverse-alignment-loop/config.yaml`), then the default. If the ledger path
is not writable, keep the ledger block in the conversation rather than dropping the verdict.

- **Scope-matched recall:** read the ledger at checkpoint start, match touched files/modules against
  `Open debt` and `Overridden assumptions`, and apply active overrides immediately so the agent does
  not re-introduce a previously rejected assumption.
- **External memory capability (optional):** the Markdown ledger is the zero-dependency default. An
  operator may point `ledger` to a shared cross-repo file or pair this loop with an external memory
  store that supports *recall by topic/scope* and *persist durable overrides/debt* — keep any
  tool-specific binding in local config or user overlays, never inside this protocol.

## Anti-patterns

- Waiting until a massive multi-file dump is finished before checking alignment.
- Treating best-practice hardening as mandatory when the operator asked for a fast working slice.
- Grilling the operator on unfamiliar AI-authored mechanics without offering plain-language orientation.
- Sending batched probes, accepting label-only answers, or letting the model use unanchored jargon.
- Ignoring previously recorded `Overridden assumptions` and re-introducing the same detour next round.
- Dropping debt silently because a round ended politely.

## Additional resources

- [Loop protocol](references/loop-protocol.md) — read when starting a loop: checkpoint brief,
  depth tiers, orientation card, question archetypes, remediation ladder, opt-in decision-model
  triage, ledger format, and worked examples.

Files in this skill

  • SKILL.md8 KB
  • references/loop-protocol.md11.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.