Aaron Bentley
Field Note 07 · Engineering Methodology · 2026-11-28

Quantifying Agentic Work: Verified Story Points & Coding Efficiency.

When AI writes implementation code and test suites, traditional effort guesses and raw line counts break down. The true complexity of a software solution is the contracted culmination of essential code structure and four-layer verification—measured against composite agentic delivery cost so teams can objectively evaluate efficiency and learn how to improve on every run.

Posture: Engineering Methodology Metrics: VSP & AEI Maestro Layer: Cost/Value & Convergence Target Bar: 90% Four-Layer Testing
01 · Why Classic Story Points Break

Replacing meeting guesswork and LOC vanity metrics.

Classic Agile story points were designed as relative human-effort guesses inside sprint planning. Under agentic coding, effort shifts from typing speed to contract precision, convergence discipline, and review overhead. Worse, judging AI productivity by lines of code, commit count, or raw test count triggers Goodhart’s Law: a sloppy agent that emits 3,000 lines of duplicated boilerplate and redundant assertions looks “more productive” than a disciplined run that satisfies the exact same requirement in 400 clean lines.

To measure what matters inside Maestro—built on the open-source Archon engine (MIT) with Aaron’s outcome-contract, convergence, cost/value, multi-tenant, and deploy layers—we separate essential solution complexity from implementation footprint.

Legacy Agile Proxy

Subjective Story Points & Raw LOC

  • Calibration drift: Fibonacci numbers reflect human mood or meeting consensus rather than verifiable software boundaries.
  • Rewards bloat: More files, deeper nesting, and repetitive helper code artificially inflate raw complexity counts.
  • Blind to verification depth: Ships code without distinguishing mocked smoke checks from end-to-end or golden validation.
Maestro Cost/Value Methodology

Verified Story Points (VSP)

  • Derived from structure, not guesses: Computed from ratified 5W+H use-case scope, integration seams, and four-layer test attainment.
  • Zero credit for bloat: Verbose code and duplicate logic cannot raise the VSP numerator—they penalize the efficiency denominator instead.
  • Closed-loop calibration: Ties verified complexity directly to token spend, retry loops, and human review minutes so every iteration improves.
02 · The Quantification Algorithm

Split essential complexity from implementation cost & parsimony.

The algorithm pairs two orthogonal measurements: Verified Story Points (VSP) for the complexity genuinely solved and verified, and the Agentic Efficiency Index (AEI) for how cleanly and economically an agentic run reached that verified outcome.

Numerator · Essential Complexity Solved

Verified Story Points (VSP)

VSP = (w_u · U + w_s · S) × V_4LBounded strictly to ratified 5W+H outcomes + verified test layers
  • 5W+H Use-Case & State Surface (U): Distinct contracted actors, state transitions, edge-case paths, and boundary rules captured up front.
  • Integration & Data Seams (S): External schemas, persistence boundaries, tenant isolation rules, and failure-mode contracts.
  • Four-Layer Verification Attainment (V_4L): Weighted attainment across unit, integration, end-to-end, and golden tests (ordered Golden > E2E > Integration > Unit toward the target 90% bar), deduplicated against trivial assertions and yielding zero credit for unverified claims.
Denominator & Ratio · Delivery Efficiency

Effective Cost (C_eff) & AEI

AEI = VSP / ((α·C_tok + β·C_loop + γ·C_hum) × P_bloat)Weights α, β, γ calibrate per repository & stack
  • Token & Compute Spend (C_tok): Total model inference and sandbox execution cost across the run.
  • Convergence Retry Loops (C_loop): Failed lint, typecheck, or test-fix cycles before reaching deterministic convergence.
  • Human Review & Rework Minutes (C_hum): Engineer time required to untangle diffs, answer stalled gates, or rescue broken assumptions.
  • Code Parsimony Penalty (P_bloat ≥ 1.0): Computed from four deterministic static signals—code duplication ratio, dead/unused exports and unreachable branches, cyclomatic complexity per contracted branch, and pre-green diff churn relative to the contract baseline—forcing bloated AI code to lower AEI instead of inflating VSP.
03 · Closed-Loop Architecture

How work quantification feeds continuous agentic improvement.

Quantifying work only earns its keep when the resulting score systematically sharpens the next build. Every Maestro outcome feeds contract structure, four-layer test results, and cost telemetry into a single evaluation loop.

Verified Story Points and Agentic Efficiency Closed-Loop Diagram Flowchart showing 5W+H Outcome Contract feeding Maestro Isolated Execution and Four-Layer Tests, which feed the Split Evaluator computing Verified Story Points divided by Effective Cost times Parsimony Penalty, producing the Agentic Efficiency Index that drives four compounding improvement loops back into future runs. 01 · CONTRACT 5W+H Outcome Spec Use cases (U) + Seams (S) 02 · EXECUTION Maestro + 4-Layer Tests Unit, Int, E2E, Golden (V_4L) 03 · SPLIT EVALUATOR VSP ÷ (C_eff × P_bloat) Tokens, loops, human min, bloat 04 · SIGNAL AEI Score Verified value / cost LOOP A · SPECS Contract & Context Sharper 5W+H, rules & skills LOOP B · ROUTING Model-Tier Matching Align model cost to slice VSP LOOP C · GRADUATION Deterministic Modules Turn repeat patterns into code LOOP D · SCOPING Commercial Curves Calibrate fixed-fee sprints
Essential complexity (VSP) is anchored to the ratified 5W+H contract and four-layer tests, while composite cost and code parsimony (AEI) drive four feedback loops into subsequent runs.
04 · Illustrative Run Comparison

Same 12.0-point contract: why ad-hoc prompting loses to governed runs.

[SYNTHETIC / ILLUSTRATIVE WORKED EXAMPLE — NOT A MEASURED CLIENT BENCHMARK]

Suppose two agentic workflows are asked to implement the exact same bounded 12.0 VSP workflow slice (for example, normalizing an inbound record, persisting tenant-isolated state, and proving four-layer behavior). Under raw line-count metrics, Run A’s 45% larger diff looks like “more work delivered.” Under VSP and AEI, the waste is exposed immediately.

Algorithm Dimension Run A · Ad-Hoc Prompt Loop Run B · Maestro Governed Contract
Contracted Target Complexity 12.0 VSP nominal slice 12.0 VSP nominal slice
First-Pass 4-Layer Verification (V_4L) 9.0 / 12.0 VSP (unit tests pass; E2E & golden edge cases missing until human rescue) 12.0 / 12.0 VSP (unit, integration, E2E & golden checks verified together)
Convergence Retry Loops (C_loop) 11 failed lint/test retry cycles 2 bounded convergence cycles
Relative Token & Compute Spend (C_tok) 3.1× baseline inference spend 1.0× baseline inference spend
Human Review & Rework (C_hum) 45 min manual debugging & diff cleanup 12 min structured evidence-packet review
Code Parsimony Ratio (P_bloat) 1.45× (duplicated helpers & dead fallback branches) 1.02× (reuses shared repo primitives cleanly)
Resulting Agentic Efficiency (AEI) Low AEI — incomplete first-pass verification + high rework & bloat penalty High AEI — full contracted VSP delivered with minimal friction & clean diff

The takeaway: Raw LOC or commit-volume scoring would have crowned Run A “more productive” despite 45% more code bloat and 3.75× more human rescue time. Separating verified complexity from delivery cost makes efficiency legible.

05 · How We Learn to Improve

Four compounding feedback loops driven by AEI telemetry.

Tracking VSP and AEI across runs turns post-mortems from vague impressions into targeted engineering upgrades:

Loop 01 · Contract & Context Tuning

Sharpen specs before the agent edits

Whenever C_loop or C_hum spikes on a slice, the root cause is usually missing 5W+H clarity, undocumented schema invariants, or noisy repository context. Tightening outcome contracts, rules, and skills eliminates repeat ambiguity on every future run.

Loop 02 · Model-Tier & Harness Routing

Match model capability to slice VSP

Low-VSP, tightly bounded edits do not need maximum-cost frontier reasoning, while high-VSP integration seams fail expensively on under-powered models. Historical AEI curves show exactly where model routing and harness guardrails pay off.

Loop 03 · Deterministic Graduation

Promote recurring prompts into tested code

When agents repeatedly re-implement the same validation, parsing, or deployment pattern, we graduate that pattern into a reusable, 90%-tested deterministic library or template—cutting future C_tok and P_bloat permanently.

Loop 04 · Commercial Scoping Calibration

Ground fixed-fee offers in real curves

Because VSP reflects real use-case and integration complexity while C_eff captures true delivery cost, fixed-fee sprints and scoped pilots can be priced and bounded around empirical complexity-to-cost behavior instead of wishful estimates.

06 · Commercial Pricing Model · Spec → Estimate → Beat the Cap

Pricing verified outcomes: the Story Point Multiple algorithm.

Hourly billing punishes agentic engineering speed: the cleaner and faster a run converges, the less the builder earns. Opaque fixed-bid consulting swings the other way, padding quotes 2×–3× to cover unmeasured guesswork. Instead, we spec the work first, estimate its Verified Story Points (VSP_est), establish a hard Not-to-Exceed (NTE) Cap, and engineer to hit or beat that cap.

M_vsp = R_base × M_risk × M_verify × M_deploy × M_reuse
Price_cap = max(VSP_est × R_floor, VSP_est × M_vsp)   (subject to buyer value check: Price_cap ≤ φ · V_annual) Illustrative structural pricing model — never a fabricated historical average; R_floor protects delivery sustainability while M_reuse shares platform leverage.
Factor 01 · Domain & Compliance Stakes

M_risk (illustrative 1.0×–1.6×)

Scales with the operational blast radius of the slice: internal SMB back-office coordination (1.0×), customer-facing revenue or hospitality workflows (1.15×–1.25×), or regulated clinical, financial, and multi-tenant data seams such as HL7/FHIR, MPI matching, and strict RLS boundaries (1.35×–1.6×).

Factor 02 · Verification & Evidence Depth

M_verify (illustrative 1.0×–1.35×)

Scales with the assurance standard required for sign-off: baseline automated checks (1.0×), the target 90% four-layer bar across unit, integration, E2E, and golden tests (1.15×), or full four-layer verification plus virtual-twin fault injection and signed offline evidence-pack.v1 artifacts (1.25×–1.35×).

Factor 03 · Topology & Integration Surface

M_deploy (illustrative 1.0×–1.3×)

Accounts for real-world deployment friction: single managed cloud or Hetzner VPS deployment (1.0×), hybrid cloud + mobile + on-site property surface (1.15×), or fragmented legacy, on-premise, and multi-vendor integration seams (1.2×–1.3×).

Factor 04 · Platform Reuse Discount

M_reuse (illustrative 0.70×–1.0×)

When a slice builds atop graduated deterministic modules—such as MOS approval queues, HDIM FHIR/DQM pipelines, or Agent Marvin shift patterns—M_reuse < 1.0 passes real platform leverage directly to the buyer while keeping delivery sustainable above R_floor.

Settlement 01 · Upfront

Paid Spec & Boundary Sprint (100% Credited)

Every engagement starts with a bounded, fixed-fee Spec & Boundary Sprint to map 5W+H use cases, integration seams, VSP_est, and Price_cap. 100% of that sprint fee credits toward the build—so architecture is never rushed or treated as free guesswork. If you decide not to proceed to the build, you keep 100% of the sprint deliverables—the complete 5W+H contract, integration seam map, four-layer test matrix, and VSP estimate—fully portable to any internal team or vendor.

Settlement 02 · During Delivery

Hard NTE Cap & Human-Gated ΔVSP

In-scope delivery friction—agent retry loops, lint/test convergence cycles, and bugs inside the ratified spec—is 100% our risk under Price_cap. Newly discovered complexity outside the ratified spec (ΔVSP) pauses cleanly at a human approval gate before any scope or price changes.

Settlement 03 · At Close

Under-Cap Efficiency Dividend

When high AEI delivers the verified four-layer outcome below Price_cap, savings above R_floor are either credited 100% forward toward your next workflow slice or shared on an agreed split—aligning buyer trust with engineering speed.

Claim Boundary & Engineering Candor

This Field Note documents an Engineering Methodology & Architectural Framework guiding Maestro’s cost/value and convergence layers (built on the open-source Archon engine under MIT, with Aaron Bentley’s outcome-contract, convergence, cost/value, multi-tenant, and deploy layers). The A/B run comparison above is strictly synthetic and illustrative—zero client benchmarks, external pilot telemetry, or unverified 90% coverage claims are implied. The Story Point Multiple ranges (M_risk, M_verify, M_deploy, M_reuse) and value-guardrail ratios represent an illustrative commercial methodology scoped per engagement, not a fixed public rate card or guaranteed discount schedule. The 90% four-layer testing bar (unit, integration, end-to-end, and golden tests) remains our target engineering standard unless backed by an explicit review evidence packet.

Explore the Delivery Architecture

Inspect how Maestro turns contracts into verified software.

Review the Maestro Buyer Kit, inspect the 5-stage outcome-driven delivery loop, or walk through a bounded workflow slice directly.