# Changes 2026-07-14 — Invariants + DRAFT status
<!--
ref: @protocol/changes-2026-07-14-invariants-status
tags: [specification, invariants, status management, verification, design]
triggers: [need for clear verification contracts, uncertainty in implementation readiness, collaborative specification review]
trigger_prompt: When teams require a structured method to verify specifications and manage implementation statuses, especially in collaborative or delegated environments.
version: 2
updated_at: 2026-10-24T21:10:28.300Z
-->
Delta to @protocol/spec: opt-in numbered behavior invariants; DRAFT status (design open, not approval to implement).
Delta to `@protocol/spec`, per `@protocol/delta-spec`. Proposed and operator-accepted 2026-07-14; applied to the canonical doc same day. This entry is the audit trail.
**Source:** a teardown of Warp's software-factory contribution process. Of Warp's contribution apparatus, two atoms survived the roast as universal: specs-as-verification-contracts (numbered invariants a verifier cites with evidence) and an explicit design-open state ("discussion is not approval to implement"). The rest — readiness-label machinery, lock files, issue-tracker-as-record — was judged control tooling for adversarial open-source intake, not applicable to high-trust agent operation.
**Design constraint:** `@protocol/spec` MUST keep working at lightweight scale. Both changes are strictly additive and opt-in; a small spec written yesterday is still a valid spec today with zero new ceremony.
## ADDED Requirements
### §Invariants — numbered behavior contracts (optional)
A spec MAY include an `## Invariants` section. When someone other than the author will decide whether the work is done — delegated implementation, cross-model handoff, agent review or verification — the required behavior SHOULD be stated as short numbered invariants rather than prose acceptance criteria.
- Each invariant is one testable statement of observable behavior, written from the consumer's perspective (user, API caller, downstream agent) — no implementation detail.
- Numbering makes invariants addressable: implementation, review, and verification cite them by number with evidence ("3 verified: <test / output / screenshot>"), so "done" is checked against the list rather than renegotiated. A verifier walks the numbers; anything without evidence is not done.
- Edge cases (empty/error states, cancellation, permissions, races) are invariants too when regressing them would matter.
- The section is opt-in and earns its place exactly when work crosses an author boundary. Specs whose acceptance is obvious to their own author MUST NOT be burdened with it.
Given a spec with numbered invariants and a delegated implementation, When verification runs, Then each invariant is either cited with evidence or the work is not done.
### Anti-pattern row
| Wrong | Right |
|---|---|
| Prose acceptance criteria on delegated work | Numbered invariants a verifier can cite by number with evidence (§Invariants) |
## MODIFIED Requirements
### Status vocabulary (Format section)
The spec header status line now reads:
**Status:** DRAFT | NOT STARTED | IN PROGRESS | COMPLETE
DRAFT means the design is still open — discussion is not approval to implement. The status flips to NOT STARTED when the operator accepts the design (the clarify-first gate). Agents reading a DRAFT spec continue the clarify pass; they MUST NOT implement against it. Small, unambiguous specs skip DRAFT and start at NOT STARTED — existing specs remain valid unchanged.
Given a spec with `Status: DRAFT`, When an agent considers implementing against it, Then the agent does not implement and continues clarification with the operator instead.
---
*Related: `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap` · `@content/youtube/nate-herk/how-anthropic-engineers-actually-prompt-fable-5` · `@content/youtube/nate-herk/how-claude-is-creating-a-new-generation-of-millionaires` · `@content/youtube/every-inc/i-tested-gpt-5-6-sol-for-a-month`*
---
*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*
*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*