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.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- ack-create-agents-mdSkill
- ack-create-checkpointSkill
- ack-create-skillSkill
- ack-create-user-contextSkill
- ack-drift-controlSkill
- ack-guideSkill
- ack-interviewSkill
- ack-interview-with-contextSkill
- ack-loop-01-readinessSkill
- ack-loop-02-implementSkill
- ack-loop-03-reviewSkill
- ack-loop-04-learningsSkill
- ack-openspec-checkSkill
- ack-restore-checkpointSkill
- ack-sessionSkill
- ack-setupSkill
- ack-tddSkill
- ack-validate-agents-mdSkill
- ack-validate-skillSkill
- ack-validate-user-contextSkill
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
- Distinctive: line 16
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 …
- Distinctive: line 21
Use after the self-review (and learnings, if run), to decide on the commit.
- Very specific: line 22
Use again after review approval to archive a change whose state is all_done.
- Very specific: line 23
Do not use when the self-review is STATUS: BLOCKED.
- Very specific: line 30
Follow references/procedure.md: check the review status, summarize, present the checklist, and wait.
- Distinctive: line 31
Commit only after the user's explicit go-ahead.
- Very specific: line 32
After the commit: if tasks remain, the next loop starts at ack-loop-01-readiness.
- Very specific: line 36
After approval of an all_done change: arc42 and ADR updates, then openspec archive <id> --yes --json, presented for a separate go-ahead as …
- Distinctive: line 43
Do not commit, stage files or run any git command until the user gives explicit go-ahead.
≈ “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.
Files
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
stateisall_done. - Do not use when the self-review is
STATUS: BLOCKED; the procedure sends the user back toack-loop-02-implement.
Required Inputs
- The self-review report, and the implementation report.
- The current
openspec instructions apply --change <id> --jsonoutput.
Workflow
- Follow
references/procedure.md: check the review status, summarize, present the checklist, and wait. - Commit only after the user's explicit go-ahead.
- After the commit: if tasks remain, the next loop starts at
ack-loop-01-readiness; ifstateisall_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_donechange: arc42 and ADR updates, thenopenspec 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 archivechanges the repository; present its result and wait for go-ahead before committing it.
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
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.

