Learn from the five-dollar pipeline
Status: Ready
Article ID: 114
Truth label: Historical
Audience: Delivery lead and cost analyst
Reader outcome: Separate task cost from environment retry cost.
Related articles: 040, 087, 090
Target week: 46
Last verified: 2026-09-13
Technical reviewer: Codex incident evidence audit
Editorial reviewer: Codex editorial audit
Problem
A delivery attempt consumed model budget while repository line endings and a worker command allowlist made the required QA gate impossible. Retrying the same environment spent more without increasing product evidence.
Misleading success signal
The task produced useful code and the agent reported progress. Aggregate cost looked like feature cost even though later spend came from environment retries and gate diagnosis.
Evidence
The changelog records two priced attempts, the line-ending failure, refused verification commands, and the agent's honest refusal to manufacture a pass.
Correction
The team separated product work, QA execution, and environment remediation. Machine failures moved to a human hold instead of an automatic loop, and cost evidence retained attempt and failure class.
Mechanical prevention
Preflight the verification command, worker allowlist, repository hygiene, engine login, and expected budget. Cap retries by failure class. Stop when identical machine evidence repeats and require operator action.
Current status
Pipeline accounting can preserve task and attempt usage. Those summaries remain operational estimates and need a named measured run rather than a universal cost claim.
Current limits
Provider usage fields vary, local compute is not a direct dollar amount, and task mix changes comparisons. The title is a historical shorthand, not a price guarantee for the current product.
Next lesson
Continue with The task-context identity lesson.
Derivative map
- Weekly package: WEEK-46
- Long video: VIDEO-W46-LONG
- Shorts: SHORT-W46-PROBLEM, SHORT-W46-MECHANISM, SHORT-W46-WARNING
- Email: EMAIL-W46
- LinkedIn: LI-W46-A, LI-W46-B
- X: X-W46-A, X-W46-B
- Visual: VISUAL-W46
Review record
- Feature, QA, environment, and retry costs remain separate.
- Historical attempt evidence is preserved without a current price claim.
- Preflight and bounded retry prevention are mechanical.
- Provider, local-compute, and task-mix limits remain explicit.
Review completed: 2026-08-27
Re-audited against the running product: 2026-09-13