Agency / docs / wantware

Wantware

Hardware executes physics.
Software executes logic.
Wantware executes purpose.

Software is a layer built on hardware, with a product of its own (programs) and a process of its own (write, compile, run). Wantware is the next layer, built on software. Its product is a want held as a precise, versioned contract. Its process turns that contract into software and then checks the running result against the original want.

Wantwareexecutes purpose
Product

A want held as a versioned contract, with the mechanism designed to satisfy it and the evidence that it did.

Process

conceive → conceptualize → formalize → cognify → codify → compile → compute

wantware stands on software
Softwareexecutes logic
Product

A program: source you keep and change, and the executable a machine runs.

Process

write → compile → run

software stands on hardware
Hardwareexecutes physics
Product

A machine: processors, memory, devices.

Process

specify → design → fabricate → test

The analogy

One layer up

Each layer in computing gave people something new to write down. Hardware made physics compute. Software let people write behavior as text instead of wiring it into circuits. The instruction set was the contract that made this work: write to it, and any machine that honors it will run your program.

Wantware makes the same move one layer up. It lets people write down what they want, precisely enough to version it, check it, and build from it. Its contract with the layer below is a set of capabilities, such as readEmail, rather than particular code. Any implementation that provides the capability will do: the Gmail API today, IMAP tomorrow, a test fixture during validation.

Software did not replace circuit design, and wantware does not replace software engineering. Below the code boundary, ordinary engineering stays in charge. Wantware's new work happens above it, where a want is captured, read, given exact meaning, and designed for.

Layer Hardware Software Wantware
ExecutesPhysicsLogicPurpose
Authors writeCircuitsSource codeWants, semantic contracts, mechanism designs
ProductA machineA programA versioned contract for a want, its mechanism, its bindings, and its evidence
ProcessSpecify, design, fabricate, testWrite, compile, runConceive, conceptualize, formalize, cognify, then software's own write, compile, run
Stands onPhysicsAn instruction set. Any chip that implements it will do.Software capabilities. Any code that implements them will do.
Takes awayCalculating by handRewiring the machine for each new taskHand-translating each want into code, and losing the want once the code exists
Counts as done whenThe part passes its test vectorsThe tests passObserved evidence establishes each success claim
On failure, askIs the part faulty?Is the code wrong?Which layer, from computation up to the want itself, explains it?
Wantware as a process

Seven transformations, from want to running machinery

Software's process has three verbs: write, compile, run. Wantware keeps them as its bottom three stages and adds four above them. The stages are kinds of transformation, not a document waterfall. One element of a system can be confirmed while its neighbor is still a rough idea, and each element carries its own stage, version, and provenance.

WANT↔INTEND↔DEFINE↔DEVISE↔WRITE↔BUILD↔RUN

  1. Added by wantwareRunning example: one want, followed down
  2. 1

    Conception

    WANT gassy; contradiction allowed

    What is wanted?

    Artifact
    The words, verbatim, unimproved
    Held by
    The client, who is sovereign over meaning

    “I don't want to miss anything important.”

    Expressive want. Every later stage stays traceable to this.

  3. 2

    Conceptualization

    INTEND condensing

    What do I mean by what I want?

    Artifact
    A recorded reading, marked as a reading
    Held by
    The interpreter, until the client confirms it

    Important information may arrive through email, calendar, messages, and tasks. Important means time-sensitive, consequential, requiring action, or involving certain people.

    A reading. Awaiting the client's confirmation.

  4. 3

    Formalization

    DEFINE fluid but shaped

    What exactly is wanted, and what must remain true?

    Artifact
    SemanticContract@v: ontology, constraints, success claims, evidence requirements, unknowns
    Held by
    The Formalizer, who may not choose the implementation
    ENTITY
    InformationItem → Email, CalendarEvent, Task
    CLAIM
    every configured source was reviewed
    EVIDENCE
    each query completed, result KNOWN or KNOWN_ABSENT
    UNKNOWN
    should Slack count as a source?
  5. 4

    Cognification

    DEVISE crystallizing

    What mechanism satisfies that contract?

    Artifact
    MechanismDesign@v: architecture, procedures, capabilities, failure paths, observation plan
    Held by
    The Cognifier, who may not change the contract
    PROCEDURE
    collect → classify → select → surface
    USES
    readEmail, inspectCalendar, notifyPerson
    IF
    source unavailable → retry, then escalate
    IF
    classification unsure → ask for review
  6. Software engineering, as it already existsBelow the code boundary
  7. 5

    Codification

    WRITE true form, still soft

    What source materializes the mechanism?

    Artifact
    Source, tests, schema, configuration, and a CodificationManifest@v
    Held by
    The Codifier, who may not invent design or requirements
    readEmail
    → Gmail API | Microsoft Graph | IMAP | test fixture

    Tests and validators come from the same contract as the source.

  8. 6

    Compilation

    BUILD frozen

    Can the source become runnable machinery?

    Artifact
    Build artifacts bound to a runtime
    Held by
    Build tooling; the Integrator checks the candidate coheres

    Type-check, bundle, package. A passing build is evidence about realization only. It says nothing yet about whether the want was met.

  9. 7

    Computation

    RUN determined; one trajectory

    What happens when it runs?

    Artifact
    An execution trace and evidence records
    Held by
    The runtime; an independent validator judges the claims
    calendar query
    ACQUIRED → [] → KNOWN_ABSENT
    claim
    “calendar reviewed” established
    3 items
    surfaced, notification VERIFIED
↓ Realization. The want becomes machinery. ↑ Reflection and repair. Evidence travels back to the layer that can use it.

Bars show possibility space remaining at each stage, from the model's own chart in Wantware.md §2.8.

When it fails, the question climbs

Suppose the system above runs perfectly and the user still misses something important, because it arrived in Slack. Every tool call succeeded. Wantware asks, one boundary at a time, which layer explains the failure, and repairs at the lowest one that does.

  1. ComputationDid the machinery run incorrectly?No
  2. CompilationWas the executable built incorrectly?No
  3. CodificationDoes the source misimplement the design?No
  4. CognificationDoes the mechanism fail to satisfy the contract?No
  5. FormalizationIs the contract wrong or incomplete? Slack messages were never part of the modeled world.Yes
  6. ConceptualizationWas the want read incorrectly?Not reached
  7. ConceptionWas the want itself incoherent?Not reached

This is a semantic failure, and no amount of perfect execution repairs it. The Cognifier cannot quietly add Slack. It sends a typed semantic-change-required return to the Formalizer, who takes it to the client. Once the client confirms, the contract becomes a new version, and only the elements that depend on the change flow back down. Everything else stays as built.

Who may change what

Three authorities sit between the want and the code, and none may silently rewrite another. A role that finds a defect upstream returns a typed issue to the owner; it does not patch the owner's work. One person or model can play several roles. The role it is acting in decides what it may change.

“Users should be able to recover their account without compromising their encrypted data.”

The Formalizer asks

What is an account? What counts as recovery? Which security properties make up “without compromising”? What evidence would show a recovery worked?

The Cognifier asks

Recovery key, trusted devices, secret sharing, or escrow? What are the failure modes? What procedure takes a user from locked out to recovered?

The Codifier asks

Which types, modules, schema, APIs, and tests express the mechanism that was chosen?

RoleHoldsMust not
ClientSovereignty over what is meantHave its meaning replaced by a model's convenient guess
FormalizerCustody of the semantic contractChoose the implementation, or change meaning without the client's confirmation
CognifierThe mechanism designChange the contract
CodifierThe sourceInvent design or requirements
IntegratorA runnable candidateCertify its own success, or quietly redefine the mechanism
AuditorRead access to every layerRepair anything it did not author

The thread of obligations

Running through all seven stages is a sequence of speech acts. It records who asked, what is true now, what must become true, who promised to deliver it, and who gave the instructions. A confirmed contract is not a promise to deliver it, and a finished instruction list is not proof the want was met.

  1. ExpressiveStates the want and why it matters“I want a reliable daily operational digest.”
  2. AssertiveEstablishes the current and wanted state, keeping evidence apart from assumption“Updates are spread across three systems. The team wants one accurate digest by 9 a.m. each workday.”
  3. DeclarativeSays what must become true to close the gap“The digest covers all three systems, names its sources, flags missing data, and is ready by 9 a.m.”
  4. CommissiveAn accountable actor promises delivery, with scope and conditions“I commit to delivering that digest under these conditions.”
  5. DirectiveThe one who committed writes the work instructions“Collect the updates, reconcile them, validate against the acceptance conditions, publish.”
  6. ImperativeConcrete steps a machine can execute“Fetch each source; normalize; summarize; check coverage; publish; record the result.”
  7. ↺ EvidenceChecks the result against the declaratives and the original wantA mismatch is recorded as an unmet commitment and re-enters the right stage. The want is never redefined to fit what was produced.

Evidence decides

tool returned≠operation succeeded≠desired state achieved

Completion is a property of recorded state, not of a model's confidence. A claim counts as established only when the observations its satisfaction case requires have been acquired, and the reasoning that links those observations to the claim, its warrant, holds up.

{
  "action":    "create_record",
  "transport": { "status": "success" },
  "evidence":  { "recordsCreated": 0 },
  "expected":  { "recordsCreated": 1 },
  "semanticOutcome": "FAILED"
}

Knowledge is recorded on two separate axes, so “no data” never quietly turns into a guess. An empty calendar and a failed calendar query look alike to a model filling gaps. Here they are different records.

What is known
KNOWNKNOWN_ABSENTUNKNOWNAMBIGUOUS
How observation went
ACQUIREDNOT_QUERIEDUNAVAILABLETOOL_FAILEDOBSERVATION_FAILEDNOT_APPLICABLE
Wantware as a product

What gets made, and what you keep

Software ships in two forms: the source you keep and change, and the executable the machine runs. The executable is derived. If you lose it, you rebuild it from source.

Wantware has the same split, one layer up. What you keep is the want, formalized and versioned, together with the mechanism designed for it. What runs is the software derived from that. The code becomes the derived form, the way a binary is.

The kept form is the WantwareIR: one versioned graph with four strata, each owned by a different authority. Every stratum binds the exact version and content hash of the one above it, so when something upstream changes, what has gone stale is visible instead of implied.

“Source” here means the source of intent, not source code.

SOURCEclient · interpreterThe want, verbatim, and the recorded reading of it
↕ typed handoff · binds version + hash
SEMANTICFormalizerThe versioned semantic contract
↕ typed handoff · binds version + hash
COGNITIVECognifierThe versioned mechanism design
↕ typed handoff · binds version + hash
MATERIALIZATIONCodifierBindings to concrete code, and artifact manifests

Portable

The semantic and cognitive strata name no implementation, so one confirmed snapshot can be codified into several ecosystems. This is the instruction-set idea again, one layer up.

Self-checking

Source, tests, validators, and runtime telemetry requirements all derive from the same contract. The product carries its own definition of done, and running it produces the evidence to judge it.

Incremental

An incomplete IR is a valid artifact. Each element has its own version and lifecycle, and readiness is judged per handoff, so a change reopens only what depends on it.

WantwareIR
→Codifier→
TypeScript / BunRustPythonSQL + WorkersWASM
Capability readEmail belongs to wantware. Binding gmail.users.messages.list belongs to the code.

It gets cheaper the more it runs

Each time a kind of want is worked all the way down, the reasoning it needed can be turned into ordinary machinery. “Whenever Mom emails about an appointment, put it on my calendar” costs expensive reasoning once: mapping the ontology, writing the procedure, testing a deterministic workflow. After that it runs as incoming email → compiled workflow → calendar event, with no model in the loop.

uncertain intention→reasoning→explicit concept→procedure→validated procedure→skill→guard→code→deterministic infrastructure

Failures compound the same way. A repeated mistake becomes a test, the test becomes a guard, and the guard becomes infrastructure. Every fuzzy judgment turned into a deterministic check is intelligence compiled into software.

The layer below went through this too. Work that software did constantly, such as video decoding and encryption, eventually moved into dedicated silicon. In wantware, reasoning that recurs moves into code.

From the doctrine

The short version

  1. Cheap cognition executes.
  2. Structured state remembers.
  3. The harness constrains.
  4. Evidence decides.
  5. Strong cognition designs.
  6. Independent cognition audits.
  7. Failure teaches the system.
October 2026

Where it stands

Specified
The seven-stage model, the three authorities, and the evidence rules (Wantware.md). IR 0.3 and its JSON Schema (WantwareIR.md, WantwareIR.schema.json).
Proposed
Bringing the representation into the Agency's ACE³. The Architect acts as Cognifier and the Builder as Codifier. The Formalizer is a new role.
Implemented
Plan packages P1 and P2: the role renames, a new Integrator role between Builder and Validator, and evidence-based completion in kernel/evidence.js and kernel/wantware-ir.js. A task whose claims are not established now waits in awaiting_evidence instead of passing.
Not started
P0 (IR fixtures, the grammar decision, schema packaging), then P3 through P8.
Open gap
IR 0.3 has no record for the delivery commitment or for issuing Directives. For now these live in separate engagement records, bound to the exact contract and design versions.
Not designed yet
The intent language. It will be derived from three deliberately different encodings (MonyTyme, Trindex, MENTIC) instead of being designed up front.
Sources

Read further

Document

Open file ↗