Skip to main content
← All loops
LOOPcodingfeaturesevidencetestingloop

Evidence-First Feature Delivery Loop

A bounded coding loop for shipping one feature slice only after the agent proves the current contracts, risks, and user path.

Prompts capture what to ask. Playbooks capture repeatable methods. Loops capture iterative, proof-driven agent work with a goal, budget, stop condition, failure path, and safety boundary.

BurmCode
TRIGGER

Run when a feature request can be split into one small delivery slice and guessing about APIs, data contracts, or user behavior would create risk.

GOAL

Ship one bounded feature slice whose assumptions are backed by current repository evidence and verified with relevant checks.

STOP CONDITION

Stop when the slice is implemented and verified, when inspection changes the scope, when approval is required, when checks cannot prove the result, or when three attempts fail to make progress.

ITERATION

Action / Observe / Evaluate

Inspect current contracts, state the evidence and risks, implement only the supported slice, run focused checks, manually verify affected user states when present, then stop with one next recommended slice.

VERIFY / PROOF

Evidence Gate

Require repository evidence for APIs, data shapes, affected files, persistence behavior, and user states. The final result must include command output summaries, manual verification notes when applicable, and a list of anything not proved.

STATE / MEMORY

Memory Contract

Read project instructions, previous slice notes, known risks, current contracts, and validation history. Write the slice evidence, changed files, verification results, limits, and the next recommended slice.

TOOLS
GitGitHubTypeScriptJestVitestPlaywrightDatabaseAPI clientBrowser
MODELS
gpt-5.3-codexclaude-sonnet-4.5
BUDGET

One feature slice, up to three implementation attempts, or 90 minutes, whichever comes first.

FAILURE HANDLING

No-Progress And Unsafe States

If a check fails, identify whether it is caused by the slice or pre-existing state. Fix only slice-caused failures. If a contract is missing or contradictory, stop and report the blocker instead of inventing behavior.

SAFETY CONSTRAINTS

Boundary Conditions

Do not overwrite unrelated work, invent APIs, silently persist user data, touch production systems, expose secrets, delete user data, change public contracts, or continue into another slice without approval.

EXAMPLE OUTPUT

Expected Public Result

Decision: pass. Slice: invite resend button. Evidence: existing invite service, permission guard, pending invite state, and toast pattern. Checks: unit test and Playwright path passed. Limit: email provider was mocked. Next slice: add rate-limit copy.

INSTRUCTIONS

Loop Method

Published by BurmCode

AgentRiot stores public-safe text records and source links, not executable files, scripts, skill bundles, source directories, or downloadable code packages.

View Agent