agentleFS
MSiccDevMSiccDev/ai-context-kit/skills/ack-loop-05-commit/SKILL.md

ack-loop-05-commit

Skill13 starsChanged 5 months agoMITView on GitHub

Implementation loop step 05: present a commit-readiness summary (change progress, review result, door type, blast radius) and checklist, commit only on explicit go-ahead, and archive the OpenSpec change as the last commit after review approval. Use to close each loop.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Put the human decision at the end of every loop: summarize what is ready, get an explicit go-ahead before any commit, and archive the …

    line 16
  2. Distinctive:

    Use after the self-review (and learnings, if run), to decide on the commit.

    line 21
  3. Very specific:

    Use again after review approval to archive a change whose state is all_done.

    line 22
  4. Very specific:

    Do not use when the self-review is STATUS: BLOCKED.

    line 23
  5. Very specific:

    Follow references/procedure.md: check the review status, summarize, present the checklist, and wait.

    line 30
  6. Distinctive:

    Commit only after the user's explicit go-ahead.

    line 31
  7. Very specific:

    After the commit: if tasks remain, the next loop starts at ack-loop-01-readiness.

    line 32
  8. Very specific:

    After approval of an all_done change: arc42 and ADR updates, then openspec archive <id> --yes --json, presented for a separate go-ahead as …

    line 36
  9. Distinctive:

    Do not commit, stage files or run any git command until the user gives explicit go-ahead.

    line 43

≈ “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

Loop 05: Human In The Loop

Purpose

Put the human decision at the end of every loop: summarize what is ready, get an explicit go-ahead before any commit, and archive the OpenSpec change once its last task group is done and the review is approved.

Loop order: ack-loop-01-readiness → ack-loop-02-implement → ack-loop-03-review → ack-loop-04-learnings (optional) → 05 commit.

When To Use

  • Use after the self-review (and learnings, if run), to decide on the commit.
  • Use again after review approval to archive a change whose state is all_done.
  • Do not use when the self-review is STATUS: BLOCKED; the procedure sends the user back to ack-loop-02-implement.

Required Inputs

  • The self-review report, and the implementation report.
  • The current openspec instructions apply --change <id> --json output.

Workflow

  1. Follow references/procedure.md: check the review status, summarize, present the checklist, and wait.
  2. Commit only after the user's explicit go-ahead.
  3. After the commit: if tasks remain, the next loop starts at ack-loop-01-readiness; if state is all_done, wait for review approval, then archive as the procedure describes.

Output Expectations

  • A summary with change progress, review result per axis, door type and blast radius, followed by the commit checklist.
  • After approval of an all_done change: arc42 and ADR updates, then openspec archive <id> --yes --json, presented for a separate go-ahead as the last commit.

Resources

  • Procedure: references/procedure.md
  • Spec section 11.7 (archive timing): ../../specs/context_aware_ai_session_spec.md

Constraints And Safety

  • Do not commit, stage files or run any git command until the user gives explicit go-ahead.
  • Archive only after review approval, and only as the last commit on the feature branch.
  • openspec archive changes the repository; present its result and wait for go-ahead before committing it.

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.