Skip to main content
Version: 0.4.1

kq guide

Shows how much of Kanoniq the model puts to work: each capability, such as roles or identities, and the level the model reaches on it. It judges nothing about your architecture, only how much of Kanoniq you use. It reads the model and writes nothing.

Kanoniq Guide: big-bank

Goals
None yet.

Capabilities
Identity providers level 0, Not yet
Identities level 0, Not yet
Roles level 0, Not yet 0 of 4

The levels are 0 Not yet, 1 Tried (used once, anywhere), 2 Covered (used on enough of the elements it applies to; the count follows the level) and 3 Connected. Given a capability's id, it shows each level's next steps: every element still left, and why.

kq guide roles models/big-bank
Roles level 0, Not yet
· 1 Tried 0 of 4
→ Add a role: https://kanoniq.extenza.dev/docs/language/identity-and-access#identity-providers-identities-and-roles
· 2 Covered 0 of 4
big-bank/mainframe: Has a user interface, big-bank/mainframe/staff-desktop, and holds no role; if nobody signs in to it, mark it anonymous.
kq guide [options] [<id>] [<path>]

Arguments

ArgumentIs
[<id>]A goal's or a capability's id, such as roles. Default: every goal and capability.
[<path>]A file or folder of the model. Default: the current directory.

Options

OptionDoes
--scope <path>Count only within this element, by its path, such as shop/sales. Default: a goal's journey, else the whole model. Give it more than once for several.
--jsonWrite JSON on standard output instead of text.
--reportWrite the model depth report: the picked goals, or every goal where none is picked, and every capability's level.

Environment

VariableDoes
KANONIQ_TELEMETRYoff, 0 or false stops kq reporting the run; so does DO_NOT_TRACK=1.

Exit codes

CodeMeans
0Done
2Usage error: an unknown command or option, a missing or extra argument, a path that does not exist, or an output folder kq will not clear

The first argument is a capability's id when it names one, and otherwise the path; the path is any file or folder of the model, the current directory by default. Where the scope holds nothing a level is about, such as roles in a platform with no user interface, it says nothing here asks for this rather than counting the level as reached. It always exits with 0, whatever the model says, so it never fails a build; a --scope that names no element exits with 2.

© 2026 Extenza Works. All rights reserved.