Skip to content

capability (entity)

Generated from solutions/ontological/lib/model/entities/capability/schema.ts.

Schema version: 2.

A Capability is a unit of functionality the system provides — an observable ability, described independently of the code that realizes it. Capabilities self-nest via parent_key to form the capability tree: a root capability (e.g. Executable Task) decomposes into the sub-capabilities that support it. parent_key is the only stored direction; children are derived by inverting it (T-SJH1).

A Capability is not:

  • A Task (a Task delivers or changes a capability; the Capability describes the standing ability).
  • A Specification. Behavioral elaboration is currently collapsed into the Capability body; it resurrects as its own type only if a Capability needs multiple independent specs (D-ORMG-data-model).
FieldTypeRequiredDescription
typestringyesDispatch tag for the validator framework.
schema_versionstringNumeric string version of the per-type schema this instance conforms to. Compare numerically when ordering versions. Independent of any product version. The value 0 is a documented sentinel meaning ‘pre-SDLC-managed’ — audit treats it as intentional, not stale. Optional in frontmatter: never in any per-type required set (audit flags a MISSING stamp as drift, not the validator).
idstringyesImmutable identifier in canonical C-NNNN shape per D-0002-entity-identifier-shape: ‘C-’ + 4 zero-padded chars [0-9A-Z] (Capabilities use incrementing numbering). Never renamed once assigned.
statusstringLifecycle stage. open/* states are active; closed/* are terminal. open/planned: described but not yet built; open/building: implementation in flight; open/verified: implemented and observed working as described; closed/retired: no longer provided.
titlestringyesHuman-readable name of the capability. Frontmatter is canonical; the body opens with # <title> for readability.
createdstringyesISO date the capability was first authored.
last_reviewedstringISO date the capability was last reviewed.
relatedarrayCross-references to other entities as wikilinks (any AA-NNNN id per D-0002-entity-identifier-shape). Slug is optional.
tagsarrayFree-form labels. Required at the common level, defaulting to []. Per-type schemas may add a contains constraint (e.g. Principle requires exactly one principle/<category> tag).
need_human_reviewbooleanReview-tracking flag.
kindstringStructural grain of the capability — what kind of structure it names (system, subsystem, service, workflow, component, datastore, external, module, adapter, generated, page). Absent = ungraded. Orthogonal to audience; see capability/definition.md for the grain rubric.
audiencestringWhich index section the capability belongs to: user (the capability’s direct consumer is an end user — the old kind: feature) or system (consumed by the system itself — the old kind: technical).
parent_keyWikilink to the parent Capability, or null for a tree root. Slug is optional per D-0002-entity-identifier-shape.
locationsarrayCode anchors realizing the capability, in the five-form Location grammar shared with task touchpoints: path/to/file.ts, path/to/file.ts#symbol, path/to/file.ts:42, path/to/dir/, or a glob. Every form degrades to a path/glob. entities audit warns (anchor rot) when a stored location no longer resolves in the tree.
  • open/planned
  • open/building
  • open/verified
  • closed/retired
  • system
  • subsystem
  • service
  • workflow
  • component
  • datastore
  • external
  • module
  • adapter
  • generated
  • page
  • user
  • system