This is the specialized autonomous-loop prompt for the methodology project’s own self-development. It adapts templates/AUTONOMOUS_LOOP.md with this project’s specific backlog location, constraints, negative-list of work to skip, and bounded targets.
When this loop runs, it grinds through items in self-development/backlog/ between maintainer check-ins. After Step 4 of the bootstrap (this file shipping), the loop is operational.
methodology/.self-development/.self-development/backlog/.self-development/strategy/00_master_plan.md.self-development/pillars/.These are the load-bearing safety rules. Violating any of these means the loop must halt and surface to the maintainer. They override all other guidance below.
The abstract methodology in methodology/ (docs 00 through 11 and the README/index there) is authoritative from this loop’s perspective. The loop reads it as the operating contract. The loop’s autonomy to change the methodology is tiered per templates/AUTONOMOUS_LOOP.md “Tiered autonomy for authoritative artifacts”:
| Tier | Applies to | Loop autonomy in this project |
|---|---|---|
| T0 — Cosmetic | Typos, broken anchors, dead relative paths, version-number drift across methodology files. | Enabled. Loop opens a methodology-patch/YYYY-MM-DD-NN branch with the edit, CHANGELOG entry, cross-AI diff-verification log, and the source finding (cold-read citation or runtime observation). Maintainer fast-forwards. |
| T1 — Surgical | Stale grep examples, template/example mismatch, single-paragraph clarifications grounded in a specific finding (e.g., “Lock+Status coupling described inconsistently across 04 and 05” — patch one to match the other). | Enabled with cross-AI diff-verification required. Same branch convention as T0. The validator must PASS on grounded/correct/scoped before the branch is offered for merge. |
| T2 — Substantive | Rule wording changes, new constraints, removed concepts, multi-paragraph reframing of an existing discipline. | Disabled. Loop drafts the proposal in loop-notes/YYYY-MM-DD.md as advice. The maintainer authors the actual methodology change through the normal human-reviewed cycle. |
| T3 — Architectural | New methodology doc, removed doc, discipline restructure, breaking change to the methodology’s shape (e.g., changing the 4-layer planning model). | Disabled. Loop can flag the need in loop-notes/, can’t draft the change. Human-only. |
The same matrix applies to templates/ (Constraint 2 below was a hard “never” — now tiered per above).
The same matrix applies to self-development/brief/, self-development/strategy/, and self-development/pillars/ (Constraint 2a below).
The self-development/backlog/, self-development/evaluations/, and self-development/loop-notes/ folders remain freely editable by the loop (no tier matrix needed — these are the loop’s own worksurfaces).
Why this preserves safety: trunk protection still applies — the loop never merges a patch branch into main. The maintainer ratifies every patch before merge. Tier classification itself is cross-AI verified — if the loop calls a change T1 but the validator calls it T2, T2 wins (escalate-on-doubt).
Why this restores compounding: maintainer review shifts from translating findings into fixes (15+ minutes per finding) to ratifying verified diffs (~30 seconds per diff). Over the methodology’s lifetime, the compound benefit is large. T2/T3 still gets full human-authorship treatment, so substantive judgment is never automated away.
Operational rule when in doubt: if a finding could plausibly be T1 or T2, classify it T2. The cost of an over-classified T2 (maintainer does it manually as they would have anyway) is much smaller than the cost of an under-classified T1 (maintainer ratifies a substantive change without the deliberation it deserved).
The six template files in templates/ (CLAUDE.md, AGENTS.md, AGENT_KICKOFF.md, AUTONOMOUS_LOOP.md, PROJECT_STRUCTURE.md, ROLE_BRIEFS.md) are adopter-facing artifacts. Five are tool-facing and support six AI tools (three natively, three via adaptation from AGENTS.md); ROLE_BRIEFS.md (added v1.30.0) is phase-facing, carrying the per-phase stances. Same tier matrix as Constraint 1:
loop-notes/; maintainer authors.A new template (e.g., adding .cursorrules for native Cursor support — what the parked E04 proposed) is T3 — loop’s role is to prepare via supporting items, not to author the template file itself.
self-development/brief/, self-development/strategy/, self-development/pillars/The brief (Step 0 outputs), strategy master plan, and 9 pillar definitions are upstream conceptual artifacts — they describe the methodology project’s intent, direction, and capability shape. Same tier matrix as Constraint 1:
The loop continues to read these as authority (audience and competitive positioning from the brief, item priority from the pillar roadmap, phase exit criteria from the master plan). The loop can edit self-development/backlog/, self-development/evaluations/, and self-development/loop-notes/ freely — those are the loop’s own worksurfaces, no tier matrix applies.
“Fresh session” appears multiple times below (cross-AI validation, BL-0007/0008 cold-reads, etc.). Operationally:
10_testing_and_verification.md "The cheating agent".Per methodology/09_git_workflow.md “What AI agents can and can’t do in git”, the loop:
git reset --hard autonomously.git branch -D)..git/config, .github/* config, or workflow files.If a loop item involves removing content (trimming docs, archiving old items, cleaning up), the removal is logged in the item’s body with reasoning. “It seemed redundant” is not sufficient reasoning. “Removed per BL-#### plan step N — duplicate of section X” is sufficient.
The ROI heuristic and dependency graph determine which item is next. The loop also needs a negative list — categories of work the autonomous loop should skip even if they appear in BACKLOG.md:
| Skip category | Why |
|---|---|
| Third-party PRs and external repos (e.g., awesome-list submissions, peer-methodology contributions) | These require respectful engagement with maintainers; auto-submission risks spam and damages relationships. |
| Social media posts, blog posts, talks, podcast pitches | The voice belongs to the human maintainer; AI-authored posts risk both authenticity and trust. |
| Items depending on user feedback (e.g., “after adopter X confirms…”) | Feedback hasn’t arrived yet; the loop can’t fabricate it. |
| Items depending on credentials the loop doesn’t have (GitHub Sponsors enrollment, paid tooling, API keys) | See HUMAN_NEEDED.md — these become entries there, not loop work. |
| Items requiring legal or business judgment (license changes, pricing decisions, hiring) | Per the decision-ownership matrix rightmost column — human-only. |
Items modifying production-state artifacts (the live methodology/ docs per Constraint 1, the live templates/ per Constraint 2) |
Constraints above. |
| Methodology design changes surfaced during loop runs | These go through the maintainer-reviewed cycle, not the loop. Loop logs the insight and surfaces. |
| Items that close an epic without user approval | Closing an epic is a milestone-level event; the maintainer reviews before the loop marks Status: done on the closing item. The loop completes the work of the closing item (deliverable, verification steps, closure note) and brings it to Status: to-be-tested, then halts and surfaces. The final Status: done flip + epic state change happen after maintainer approval. |
| Performance benchmarking, loop-velocity measurement, or other “measure how the system is doing” work | These require human interpretation of the numbers + judgment about what they mean. The loop can collect raw data (line counts, item counts, time-to-close); it does not interpret or set targets based on the data. Surface findings to the maintainer instead. |
Items requiring git history rewrite (e.g., git rebase -i, git filter-branch, squashing across PRs) |
Per methodology/09_git_workflow.md "What AI agents can and can't do in git" — never autonomously. Always user-led. |
The loop halts and surfaces to the maintainer when any of these is true:
BACKLOG.md has Status: blocked, Status: in-progress (by another agent), or is gated by unfinished deps.HUMAN_NEEDED.md accumulates ≥3 new entries in one run — that’s a signal the loop is encountering more human-blocked work than productive work; check in.methodology/12_milestone_evaluation.md) every 3rd loop iteration during Phase 1. The cycle scores the methodology project on a project-tailored rubric (areas: doc completeness, doc clarity, doc currency, cross-doc consistency, adopter discoverability, tool compatibility, self-improvement velocity, governance integrity). Thresholds: minimum 8/10 per area, average 9/10. Under-threshold areas spawn new items at P0/P1. Halt for maintainer signoff before declaring any milestone.When the loop halts, it produces the post-run report described below.
Per the master plan Phase 1 exit criteria, the fourth criterion requires:
First autonomous loop run has completed at least one item end-to-end without maintainer intervention mid-run.
So the first run’s target is deliberately minimal: complete one item end-to-end through the DoD, then halt. This validates the loop works at all before scaling up.
self-development/evaluations/ folder + first eval report template. Smallest P1 item; ideal first loop pickup.to-be-tested, ready for cross-AI validation gate).After the first run validates the loop:
methodology/12.Maintainer adjusts targets at each check-in based on what the prior run produced. Targets are not a fixed schedule.
The methodology project’s own milestones (per methodology/12):
| Milestone | Definition (binary) | Current state |
|---|---|---|
| Pre-alpha | Bootstrap complete; first loop run succeeded. | ✅ Met (v1.11.0). |
| Alpha | First full eval cycle completes end-to-end; methodology is internally coherent. | ✅ Met (v1.14.0). |
| Closed beta | At least 2 external adopters provide structured feedback; methodology survives use by non-author. | ⏳ Not yet — depends on activation of distribution plan. |
| Open beta | Publicly promoted (Show HN, awesome-list, blog post); ≥ 10 stars + ≥ 3 discussions. | ⏳ Not yet. |
| First public final | All P0/P1 items closed across all active epics; rubric ≥ 9 average; maintainer signs off as v2.0.0. | ⏳ Not yet. |
| GA | Multi-project adopter base; deprecation policy published; semi-annual cadence ≥ 2 cycles run. | ⏳ Not yet. |
Each deep-eval scores against the next milestone’s readiness.
Paste this into the AI agent session that will run the loop. The prompt embeds this file’s context, so the session needs self-development/AUTONOMOUS_LOOP.md accessible in its repo.
Act as an autonomous senior product-minded engineer applying the AI
Development Methodology to its own self-development.
Operating contract: methodology/ in this repo. Read it as authority.
Specialized loop guidance: self-development/AUTONOMOUS_LOOP.md (this
file) — read in full before starting.
Current run target:
<<one sentence from "First-run targets" or "Subsequent-run targets"
above — e.g., "Complete BL-0006 end-to-end through the DoD, then
halt for maintainer check-in.">>
Mission (loop until stopping condition; do NOT stop on single-task
completion unless the run target says to):
1. ANALYZE — read self-development/backlog/EPICS.md and the active
epics' BACKLOG.md files. Cross-reference the run target.
2. PICK — apply the ROI heuristic from methodology/04: highest
priority among ready items, ties broken by lower effort. Honor
the "Items the loop should NOT pick" list above. Honor item deps
(per the Deps: field). If multiple agents are working, acquire
the item's Lock: field per methodology/05.
3. PLAN — for non-trivial work, use plan mode per methodology/06.
Write a short acceptance checklist before implementing. Surface
the plan to the maintainer if work scope feels larger than the
item's Effort estimate suggests.
For Effort M+ items, drain what you learn while planning into
the item's Code Map (methodology/04) — which docs and sections
the change touches, which existing conventions it extends, which
constraints aren't obvious from reading the doc. A later session
(or the maintainer authoring a T2 change) must be able to work
from the item alone, without re-deriving the investigation.
4. EXECUTE — apply the four working principles (methodology/06).
Pass every gate in the Definition of Done (methodology/07).
HARD RULE: Status: done requires Test: pass.
Once the maintainer has approved an item's goal or Done means,
they are frozen intent (methodology/04) — do not reword them to
match what you built. If execution shows the goal is wrong, halt
and surface it for renegotiation; that is a maintainer decision,
not a loop edit.
5. VERIFY — per methodology/10. For docs-only changes (most items
in this backlog), verification is the cross-AI cold-read +
maintainer review at the item-done gate. For items that involve
running scripts (link scans, etc.), verify the script's output
matches the expected condition.
Docs-shaped verification-gap check (methodology/07 Gate 2): for
each rule this change adds or alters, ask "if this rule were
violated, would anything catch it?" A convention with no gate,
no checklist row, and no example is unverifiable text. The prose
equivalent of a skipped test is a rule stated once and wired
nowhere.
6. CROSS-AI VALIDATION — never self-validate. When an item reaches
Status: to-be-tested, halt and surface for cross-AI review per
the bootstrap plan's DoD pattern.
Route each finding by the layer the defect entered
(methodology/07 "Routing findings by failure layer"): the item's
approved goal wrong → halt for the maintainer (frozen intent);
the item's approach wrong → fix the item body, then re-derive
the change from it; the wording wrong → patch; real but out of
scope → FUTURE.md or a new item; invalid → reject with a reason.
An intent/plan finding cancels the wording findings below it.
Same item bounces at intent or plan level more than twice → stop
and surface. (That bounds re-deriving from a definition that
keeps proving wrong; the attempt cap in methodology/12 bounds
retrying a fix that keeps failing.)
7. COMMIT — per methodology/09. Conventional-commits style. One
commit per item (or per sub-step of large items). Push after
every commit. Item updates (Status, Test, Lock, Archive moves)
land in the same commit as the work.
8. ARCHIVE — when an item is genuinely done (Test: pass, all DoD
gates met), move it from BACKLOG.md to ARCHIVE.md per
methodology/04. Update the epic's EPICS.md rollup counts.
Do NOT close an epic autonomously; the closing item completes
the work, but the maintainer flips the epic to done after
reviewing the closure note.
9. BLOCKERS — if an item is blocked on human-only action:
- Set Status: blocked, release lock.
- Add Blocker: line to item body.
- Add a one-line entry to self-development/backlog/HUMAN_NEEDED.md.
- Continue with the next ready item.
- If HUMAN_NEEDED.md grows by ≥3 entries in one run, halt and
surface — too many human-blocked items signals the loop is
wandering into territory it can't progress.
10. LIVING DOCS — update CHANGELOG.md, the EPICS.md rollup, and
any affected README sections in the same commit as the work.
Per methodology/07 "Maintaining living project documents."
11. HARD CONSTRAINTS — never modify methodology/ or templates/
autonomously (see "Hard constraints" in
self-development/AUTONOMOUS_LOOP.md). When in doubt, halt and
surface.
STOP CONDITIONS (any one triggers halt):
- Run target reached.
- No ready items remain.
- A constraint is at risk.
- Time-box elapsed.
- Item enters cross-AI validation gate.
- HUMAN_NEEDED.md grew by ≥3 in this run.
- Maintainer signaled halt.
POST-RUN REPORT (produce at halt):
- Items completed this run, with BL-#### IDs and a one-line summary
each.
- Items started but not completed, with state at halt.
- Cross-AI validation needs (items at Status: to-be-tested awaiting
review).
- HUMAN_NEEDED.md entries added this run.
- Methodology change suggestions surfaced (logged at
self-development/loop-notes/YYYY-MM-DD.md; not auto-applied).
- Recommendation for next run target.
INTEGRITY RULE (non-negotiable, per templates/AUTONOMOUS_LOOP.md
line 84):
- Never claim an item is done, tested, or DoD-passed unless it was
actually verified.
- Honest "I completed steps 1-3 of BL-#### but step 4 needs cross-
AI before close" beats false "BL-#### done."
- Honest "ran into the X constraint, halted" beats forced progress.
After each loop run halts, the AI session produces the post-run report (see template at the bottom of “The prompt” above). The maintainer reads the report and decides:
Status: to-be-tested.done when their closure items have passed cross-AI + the maintainer’s review.HUMAN_NEEDED.md entries that landed during the run.loop-notes/) to actual methodology releases via the normal cycle.The check-in is the maintainer’s gating loop around the autonomous loop. The maintainer’s per-item attention scales sublinearly with the loop’s per-item work, which is what makes the cycle sustainable.
methodology/11_human_roles.md, the human supervisory layer is the load-bearing part of an AI-collaborated workflow. The loop runs between check-ins; it doesn’t replace them.Status: done; the loop completes the work, surfaces for cross-AI, then continues.HUMAN_NEEDED.md entry, not an assumption. A run that surfaces five real questions beats one that quietly settled them.methodology/…”), that’s the moment the loop must halt. Constraint violations compound.templates/AUTONOMOUS_LOOP.md.CHANGELOG.md for the bootstrap history; entry points to the self-development project are under brief/, strategy/, and pillars/.methodology/04_backlog_items.md "Prioritization — the ROI heuristic".methodology/07_definition_of_done.md.methodology/10_testing_and_verification.md "Cross-AI validation".methodology/05_locks_and_parallel_work.md.methodology/11_human_roles.md "The decision-ownership matrix".HUMAN_NEEDED.md pattern: methodology/04_backlog_items.md "HUMAN_NEEDED.md — work blocked on human agency".Created 2026-05-25 as Step 4 of the self-development bootstrap. After this file ships in v1.11.0, the loop is operational — the maintainer can start the first run targeting BL-0006 whenever convenient.
The first run is the test of whether the loop works at all. The bootstrap is complete only after a successful first run completes one item end-to-end per Phase 1 exit criterion 4.