← Reports
Slides
Read Full Report
01/12·Title

Agentic Coding

When your agent loop becomes a billable timer.

When recurring AI coding work earns its cost, and when it quietly becomes a timer with a bill.

A budget-aware guide to recurring AI coding work, verification, and the difference between a useful loop and an expensive timer.

Chander Dhall
Chander DhallBuilder • Leader • Speaker
LOOP

Decision Frame

Most work does not need a loop.

A one-time prompt, an interactive session, or a saved skill often gets the result with lower cost and lower risk.

Loop only after the method is stable.

Recurring execution multiplies every weakness in the prompt, tool access, verification, and budget model.

Six Blocks

A loop is a bounded decision cycle.

Cron only wakes the loop. The contract decides whether the run has a reason to exist.

1

Trigger

The event or justified cadence that starts a run.

2

Scope

The files, systems, and problem boundary.

3

Tools

The smallest tool set that can finish the job.

4

Success test

The evidence that proves progress or completion.

5

Stop rule

Max runs, turns, wall time, spend, and escalation.

6

Budget and memory

Cost limits plus run history in durable files.

Escalation Path

Move up only when the lower rung has been outgrown.

One promptOne-off question, small change, quick analysis.Lowest
Interactive sessionExploration, debugging, work that needs steering.Low
Skill or playbookStable repeatable method with clear inputs and outputs.Medium
Scheduled automationRecurring work where time is the real trigger.Higher
Event-driven loopAgent wakes on CI, PR, deploy, ticket, or source change.Highest

Stop Early

Four signs the loop will burn budget.

No finish line

Subjective goal

"Build until done" keeps creating another run.

No signal

Quiet source

The input rarely changes, but the timer keeps spending.

High blast radius

Production writes

Payments, data, security, and deploys need human gates.

Tool sprawl

Access exceeds need

Broad connectors create more risk than the task requires.

No owner

No monthly review

Unowned loops drift into background spend.

No memory

Same mistakes recur

The run history never reaches durable repo files.

Budget

Every loop needs arithmetic before scheduling.

Monthly costPer-run cost x runs/day x days/month

Per-run cost includes input, output, tools, and review time.

Useful signalMonthly cost / useful findings

A low price per run still loses money when the run finds nothing.

Polling

120 runs/month

Four daily checks create 120 monthly opportunities to spend.

Event trigger

Wake on change

Run after CI failure, PR update, deploy, or source change.

Ceiling

Monthly cap

Set a spend limit. Halt or ask when a loop crosses it.

Good Fit

Good loop candidates are repeated, changing, and verifiable.

CI

Failure triage

Reproduce, patch minimally, rerun targeted tests.

PR

Feedback follow-up

Address new review comments and update branch evidence.

Deploy

Smoke verification

Check health, logs, and core flows after release.

Docs

Drift checks

Compare merged API changes with docs and open reviewable PRs.

Security

Finding triage

De-duplicate, rank, and prepare patches for review.

Research

Source-change digest

Summarize only when monitored sources changed.

Failure Modes

Bad loops often look productive while losing money.

Runaway

Never exits

The success test is subjective, so the agent keeps trying.

Noise

Always reports nothing

The loop is accurate, but the trigger is wrong.

Confirmation

Approves itself

The same agent writes and judges the work.

The fix is control, not more autonomy.

Event triggers, stop rules, separate verification, and a monthly ledger keep useful loops alive and retire the rest.

Tool Map

Codex and Claude Code cover similar jobs through different mechanisms.

NeedCodexClaude CodeFit
Same conversation heartbeatThread automationActive session goalDeployment watch, PR follow-up
Fresh scheduled runStandalone or project automationRoutine or desktop taskDaily triage, weekly drift
CI or scriptscodex exec, GitHub ActionHeadless mode, GitHub ActionsLogs, tests, release notes
Isolated code changesWorktree or patch artifactBranch or PR flowReviewable automation writes
Durable methodAGENTS.md, skillsCLAUDE.md, skillsStable behavior before schedule
External systemsMCP, plugins, connectorsMCP connectors, routinesSmallest tool set only

Verification

Close the loop with the cheapest reliable signal.

1Exit codeBuild, lint, command success.
2Diff checkChanged paths and scope.
3TestsUnit, integration, smoke.
4SchemaStructured output and fields.
5LLM judgeQualitative review.
6Separate judgeHigher-risk review aid.

Evaluator-only approval is not production approval for high-blast-radius work.

Blast Radius

Permissions follow the damage a bad run could cause.

Tier 1

Read-only intelligence

Research, summaries, logs, issues. Auto-run fits with safe sources.

Tier 2

Repo writes on branches

Code or docs patches in branches, worktrees, or PRs.

Tier 3

Production actions

Deploys, data, access, security, payments. Human approval remains in the runbook.

Least privilege is a design input.

Trusted runners, branch protections, secret handling, connector minimization, sandbox settings, and kill switches are part of the loop contract.

Operating Discipline

The loop ledger keeps automation honest.

Before launch

Write the contract

Trigger, scope, tools, success test, stop rule, budget, memory.

First runs

Review outputs

Check diffs, findings, and early exits before trusting cadence.

Monthly

Retire weak loops

Track runs, cost, useful findings, and findings per dollar.

The goal is more useful work per dollar.

Good loops save attention. Bad loops spend it in the background.

© 2026 Chander Dhall Methodworks, LLC. All rights reserved.