Skip to main content
Version: Next

Assumptions

A model is written from what its author knows, and nobody knows everything. In a workshop the gaps are said out loud: "we think the CRM is the master for customers", "nobody has checked whether billing syncs nightly or by event". Once written down, every statement reads with the same certainty. An assumption marks the statements that have not been checked, so a reviewer can see where the model is guesswork.

An assumed element is a standard element, and an assumed relationship a standard relationship. It builds, validates and derives exactly as it would unmarked; the mark is metadata on it. The views draw it, the tool counts it, and a policy can deny it. It is never a finding, and it has no due date: it stays until you delete the line.

Writing one​

An #assumed line goes directly above the declaration or statement it marks, after its /// description and before its # property lines. A reason in quotes is optional:

object customer-record "Customer record" : selling /// Holds customer records; the vendor has not confirmed it is the master. #assumed "Vendor not asked yet" component crm "CRM" : backend technology "Dynamics" { sql crm-db "CRM DB" { root customer-record origin } } crm realizes selling #assumed "Could be gRPC; the team has not answered" storefront-bff -> catalogue-service/api over http sql customers-db "Customers DB" { #assumed "Not sure this copy is the authoritative one, nor how it is fed" root customer-record authoritative from crm over events/customers }

The mark covers everything its line says. An element's kind, technology, markers and where it is declared; a connection's protocol and auth; a data entity's from and part of. There is no way to mark one part of a line, so the reason says which part is in doubt. A reason is one line of text, not empty; without one, none is stated.

One mark per line. Two #assumed lines above one line are an error.

In VS Code, typing # on a new line offers assumed beside your properties, and hovering over #assumed says what it marks.

What can carry one​

  • Every element type you declare. A data entity carries it on the line that states its header: its root mark, a marker, part of, from or its description.
  • A connection, a realization, an access, an influence, a value delivery, and a references line.

A sync and a containment are marked through the element whose line defines them: a sync through its data entity's line, where an element sits through its own declaration.

A broker idiom, a -> b over broker/channel, is two connections, so the mark goes on both. A leg that two statements share is assumed only when every statement naming it is.

What cannot​

A policy, a policy set and an exemption, which an organization decides rather than observes. A plateau and a data migration, which are plans, and a plan is neither known nor unknown. A - line, a reopening, and an entity line stating nothing of its header, which define nothing. A derived declaration in <name>.g.kq, which takes its mark from its sources. Each is refused when the model is built.

What it carries to​

What a statement creates is assumed when every statement it comes from is. An interface that a connection creates, as kq build adds it, carries the mark of that connection. The same goes for a channel. A single unmarked statement naming it makes it as certain as that statement: an interface that two connections reach, one assumed and one not, is not assumed, since it exists whichever of the two is a guess.

This is computed on every build and never written. <name>.g.kq holds no #assumed line, so confirming the connection, by deleting its mark, confirms what it created with no second edit. An element you declare yourself is assumed or not by its own line, whatever else names it. A carried mark has no reason of its own; the Information pane lists the marked statements it comes from.

How the tool reports it​

kq validate ends its summary line with a count, where the model has any, and kq build prints the count on standard error:

4 assumptions, 2 carried

The first number is the elements and relationships you marked; the second is what was created or derived from them. A marked broker idiom counts as its two legs. The count never changes the exit code, and --strict ignores it. In a SARIF log the two numbers are in the KQ run's properties.

kq audit lists them after its findings, under their own heading: each path and its reason, sorted by path. The list is not findings and changes no exit code, --enforce included.

How the views show it​

Every view that draws an assumed subject marks it:

BoxLine
AssumedA ? badge in its top left cornerThe same badge before its caption, or alone at its middle
  • A mark follows its element into a collapsed container. The container wears one ?, and its tooltip counts what it holds. A merged line wears one ? where any relationship it stands for is assumed.
  • The Information pane wears the same badge beside the subject's name, and says Assumed, with the reason. A carried mark says Assumed, from and lists the marked statements, each with its reason, linked as the pane's other links are.
  • The toolbar shows a button, 5 assumed, that steps through the assumed subjects the view draws, in the order kq audit lists them. Its toggle turns the ? marks off. The toggle is view state, kept in the address as assumptions=off, and never in the model.
  • Exports (kq svg, kq png) draw the marks as the editor does with the toggle on.
  • The site draws them too, and builds an Assumptions page whenever the model has any. It lists what kq audit lists, a section per ecosystem, each line linking to its subject in the editor. A navigation page may link to it, and a view tile can turn the marks off.

A model whose author does not want its assumptions public removes the lines.

Denying them in a policy​

confidence is a policy clause. Its values are assumed, matching a marked subject, and unstated, matching one that is not:

policy no-guesswork in architecture "Nothing assumed at go-live" -> deny confidence: assumed policy no-assumed-crossings in architecture "Ecosystem edges are confirmed" when across: ecosystems -> deny confidence: assumed

Both are architecture policies: they judge a mark the model states, so they go in architecture or in an architecture set (Policy sets).

Written in a plateau, a policy applies there, which is how an organization says "no guesswork by go-live". A mark that no policy speaks to is a no-policy finding, like any other value no policy covers; it is info by default and fails nothing unless your repository raises it.

Open questions​

A question that names nothing that runs, "which IdP will partners use?", is not model content. Either declare the identity provider your design assumes and mark it, with the question as the reason:

#assumed "Which IdP partners use is open: Entra or Okta" component partner-idp "Partner IdP" : saas idp

or leave it out of the model and keep the question in a decision record or your issue tracker.

Moving from a confidence property​

Declaring assumed or confidence under properties in kanoniq.repository.json is an error whose message names the #assumed line. Replace each #confidence assumed or #confidence unverified with #assumed, and delete each #confidence confirmed. A property under another name that means the same thing cannot be recognized, so migrate it by hand.

Plateaus​

The mark is part of the header or statement it is written above, as a property is. A later plateau that restates the header restates its mark, and left out it is gone from there on; see Change over time.

© 2026 Extenza Works. All rights reserved.