Distinguishing 'Implemented' from 'Running' (Definition of Done)

Strictly separating 'code written and passing tests (Implemented)' from 'deployed to production and verified live (Running)', preventing premature self-reported completion.

General Meaning

When a team's Definition of Done is vague, tasks are frequently reported as 'complete' the moment code runs on a developer's laptop or a Pull Request merges, leaving production deployment and live verification unfinished.

Implemented means code has been written and passed automated tests in Git; Running in Production means the change is deployed to the live infrastructure, processes real inputs, and returns verified HTTP responses. Treating these as distinct lifecycle stages is fundamental to operational reliability.

Why It Matters

  • Preventing undeployed 'done' tasks: Stops workers from declaring victory after merging to Git while forgetting to deploy to Cloudflare Workers or reload launchd daemons.
  • Eliminating guesswork and false completion reports: Prevents AI agents from conflating 'I fixed the code' with 'the production service is healthy', enforcing evidence-based reporting.
  • Isolating code bugs from environment failures: Quickly separates logic errors in code from production deployment issues such as missing secrets, network blocks, or dead daemons.

How the Site Factory Uses It

The Site Factory enforces a strict four-stage lifecycle across status checks and handoffs (ops/progress_check.md, rules.md): (1) Planned / Drafted, written in a plan doc or README before registration in the canonical D1 database (never described as running automatically); (2) Implemented, where code is written, CI passes, and the PR merges, but live sites or resident services are not yet updated; (3) Deployed / Running, where the live Cloudflare Worker version ID or resident Mac launchd PID is verified active; and (4) Received / Done (receipt), where independent verification confirms HTTP 200 on the public URL, matches the content hash, and records a formal receipt.

The Site Factory's iron rule states that a healthy heartbeat, zero errors, or a CLI exit code 0 alone never proves a plan is on track, and an HTTP 200 on a top page or passing CI alone never counts as a completed site launch.

Caveats & Operational Rules

  • CLI exit code 0 is not task completion: A command finishing without error does not prove the deliverable is live; a task is only Done after independent verification checks the output artifact and records a receipt.
  • Never treat a bullet point in a markdown note as an active automated job: Until a task is registered and leased in the canonical D1 database, it must be reported as unstarted.

Related Terms

References

  • Book: Neal Ford, Rebecca Parsons & Patrick Kua, *Building Evolutionary Architectures*, Chapter 6

Verified: 2026-11-08