Skip to content

Interface: GovernanceProspectiveUnit

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GovernanceProspectiveUnit

Defined in: src/types/governance.ts:2785

One unit of a candidate revision’s view, against its baseline release.

SDK schema keys are camelCase; native wire keys are snake_case.

anchoredCqs: string[]

Defined in: src/types/governance.ts:2787

The competency questions whose answers it changes.


approved: boolean

Defined in: src/types/governance.ts:2792

Whether the changed unit’s version is approved for this revision (an unchanged unit keeps its approved baseline version).


optional change?: VocabularyUnitChange | null

Defined in: src/types/governance.ts:2798

Why it changed: new (no baseline version), content (its members differ) or dependency_moved (only a unit it depends on moved; its content_digest is the baseline’s). Absent for an unchanged unit.


changed: boolean

Defined in: src/types/governance.ts:2808

Whether its members or its dependency versions differ from the baseline’s version of the unit.


optional changeKind?: VocabularyUnitChangeKind | null

Defined in: src/types/governance.ts:2803

Its change kind in the read’s assessment; absent for an unchanged unit or without an assessment.


optional compatibility?: VocabularyCompatibilityOutcome | null

Defined in: src/types/governance.ts:2813

The unit’s compatibility outcome in the read’s assessment; absent for an unchanged unit or without an assessment.


contentDigest: string

Defined in: src/types/governance.ts:2815

The root digest of its member tree.


dependencies: string[]

Defined in: src/types/governance.ts:2817

The unit versions it depends on, sorted.


dependencyUnits: string[]

Defined in: src/types/governance.ts:2819

The units it depends on, kind:key.


owner: string

Defined in: src/types/governance.ts:2824

Its owner: user:<uuid> (the principal its root names in unit_owner) or tenant:<uuid> (the tenant’s stewards).


optional predecessor?: string | null

Defined in: src/types/governance.ts:2826

The baseline’s version of the unit.


recordCount: number

Defined in: src/types/governance.ts:2828

How many records it holds.


optional reviewSemanticRequired?: boolean | null

Defined in: src/types/governance.ts:2833

Whether its approval needs a review_semantic endorsement by a non-author (design 29 §3.4); absent without a class.


unitKey: string

Defined in: src/types/governance.ts:2835

The tenant id (per-tenant kinds) or the root record id.


unitKind: VocabularyUnitKind

Defined in: src/types/governance.ts:2837

The unit kind.


unitVersionId: string

Defined in: src/types/governance.ts:2842

Its version id: the baseline’s for an unchanged unit, the prospective one for a changed unit (the id the approval route takes).


optional version?: string | null

Defined in: src/types/governance.ts:2848

Its version: the baseline’s for an unchanged unit; for a changed unit the version the read’s assessment derived, absent while no complete assessment classified it (design 29 §3.3).


optional versionClass?: VocabularyVersionClass | null

Defined in: src/types/governance.ts:2850

The class derived for a changed unit, absent while unclassified.