Infrastructure · Data Structures

Spec

Rigorous requirement definition

Definition

Mechanism

A rigorous definition of requirements for an Artifact. It defines the shape, behavior, and Constraints that a target must satisfy. Distinct from Plan (how to build) or Goal (what to achieve), a Spec is the 'Definition of Done'.

Invariants

  1. Verifiability: Every requirement must be testable (binary pass/fail).
  2. Immutability: Once defined, the Spec acts as a fixed contract.

Risks

Failure modes

None stated.

Relationships

Builds on

References

Goal

Specification of desired end state

Plan

An ordered sequence of steps to achieve a goal

Used by

References

AcceptSpec

Non-compensatory acceptance contract; consumer Verify yields Solution or FrameError

FrameSpec

Structured problem definition artifact

MetamorphicTesting

Test a stated relation among the outputs of several runs, which needs no exact expected answer for any single run

Mind

SpecBinding

Bind an implementation to an external specification by a pinned version, a two-way map and a ledger of deviations

Mind

SpecIntentCheck

Check the specification itself against intent and its own consequences before trusting conformance to it

Accepts

Mind

Build

Low-cost prototype generation

Reference

Data schema

{
  "type": "object",
  "description": "Schema for Spec",
  "properties": {
    "requirements": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The testable requirements the target must satisfy. Required: a Spec with none defines nothing."
    },
    "constraints": {
      "type": "object"
    }
  },
  "required": [
    "requirements"
  ]
}

Identity

Ref
Spec#c953
Sema ID
sema:Spec#mh:SHA-256:c9537551b2bfa2639c15270994fdbb5a52a41d098f499c5ed5d61945a7c50da7
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:Spec#mh:SHA-256:436efd7df8ed376f693362923a024b4096265b9de32c7a980297b078112c75b5
  • sema:Spec#mh:SHA-256:47f45e3174d8a28edf9c685f6ee8356386cb30cf24d3ba82ddb0738c0c9391cb
  • sema:Spec#mh:SHA-256:16ecdeb3e4462a7aed4ab93d7f67dd4ace5b25249db1c8d2f0295fe62de3cd89