Spec-Driven Development
Specs and architecture · SDD
An approach where a specification — what the system must do — is written first, and an agent writes the code and checks it against the spec. The spec becomes the main document and the code its consequence.
Reconcile loop: Kubernetes and the agent
| Kubernetes | Spec-Driven Development | |
|---|---|---|
| Desired | manifests, a Helm chart | the spec |
| Actual | services in the cluster | code in the repository |
| Who compares | a controller | the agent |
| What it does on a mismatch | starts or removes pods | edits code until tests and spec agree |
| How to change the system | edit the manifest, not the cluster | edit the spec, not the code |
Source: GitHub Blog: Spec-driven development
Where it appears · 1
- Harness engineering in practice · Harness