Skip to content

Intent is declarative

Five tickets for one intention

A returns team wants to publish its events for others to use. The intention fits in a sentence: share return events with finance and customer service, treat them as personal data, keep them for two years.

Getting there takes a storage request, an access group, a catalogue entry, a quality job and a retention rule. Each goes to a different central team, and each team translates the sentence into its own tool. Nobody holds the whole intention, so nobody can check that the five results still add up to it.

Governance becomes a queue

  • Delivery waits on the slowest ticket, and central teams become the bottleneck they were set up to remove.
  • Each translation is a place for the intention to change. The retention rule says two years; the storage was provisioned without it.
  • Problems are found at review, after the work is done, when they are most expensive to fix.
  • What was built is recorded in scripts and people's memory, so the same request next quarter starts from the beginning.

Say what, not how

Desired outcomes, policies and consumption intent are declared in machine-readable form. The platform determines the implementation, and keeps reconciling what exists with what was declared.

A declaration separates the architectural promise from any particular tool or execution mechanism. The promise can then be reviewed, versioned and tested like code, and the mechanism can change without the promise being rewritten.

The picture

Five tickets versus one declaration Left: a team's single intention is sent as five separate tickets for storage, access, catalogue, quality and retention, each translated by a different central team. Right: the team writes one declaration; the platform checks it against policy before delivery, then provisions and keeps reconciling storage, access, catalogue, quality and retention. Translated by hand Team one intention ticket: storage ticket: access ticket: catalogue ticket: quality ticket: retention ✕ five translations, no whole Declared once DECLARATION owner · purpose personal data: yes retain: 2 years PLATFORM checks against policy provisions keeps reconciling storage access catalogue quality retention
Left: one intention, translated five times by hand. Right: one declaration, checked before delivery and reconciled afterwards.

One declaration in the repository

Illustrative example

The returns team adds a short declaration beside its code: what the product is, who owns it, that it contains personal data, how long it is kept, and which purposes it may be used for.

The pipeline checks the declaration against policy before anything is built, and fails if personal data has no retention period. On release, the platform provisions storage, applies the retention rule, registers the product and opens it to the declared purposes. Three months later someone changes the retention setting by hand. The platform sees that reality no longer matches the declaration and puts it back, or raises it, depending on the rule.

In detail

People decide, machines enforce

Declaring intent does not automate the decision. Someone with the right authority still decides what the retention period is and who may use the data. Once that decision is written down, the platform can apply it the same way every time. Automating governance is desirable; automating governance decisions often is not.

Reconcile, do not just provision

A script runs once. A reconciler keeps comparing the declared state with the actual one. That difference is what stops the declaration turning into documentation of how things were on the day of release.

What this makes room for

Policy as code, automated provisioning, contract validation and repeatable lifecycle management all depend on intent being available in a form a machine can evaluate. None of them requires a specific technology.

Not this

  • Not a file format. The aim is intent that can be inspected, versioned and evaluated; the syntax is incidental.
  • Not the removal of human judgement. Some decisions need negotiation, and those should be visible as such.

Unresolved

  • How much can be declared before the declaration becomes a programming language of its own?
  • Which decisions can never be reduced to a rule, and how should a platform represent the ones that are still being negotiated?

Join the argument

Agree, challenge or add evidence

Architecture improves when its assumptions are challenged. Say which kind of contribution you're making:

  • Challenge I disagree because…
  • Evidence We've seen this too…
  • Question How would this work when…?
  • Alternative Another way to approach this…
  • Extension This also implies…

Please keep clients, employers and colleagues unidentifiable. Strong contributions may be quoted and credited on this site. Read the contribution guidelines and the privacy notice.

Comments are provided by giscus and stored on GitHub. Posting requires a GitHub account.

Next in the argument Metadata as a control plane Metadata is collected after the fact to describe what was built, so it is always slightly out of date and nothing depends on it. Accepted commitments must be verifiable