Interface: GovernanceProspectiveUnit
@kortexya/reasoninglayer / GovernanceProspectiveUnit
Interface: GovernanceProspectiveUnit
Section titled “Interface: GovernanceProspectiveUnit”Defined in: src/types/governance.ts:2785
One unit of a candidate revision’s view, against its baseline release.
Remarks
Section titled “Remarks”SDK schema keys are camelCase; native wire keys are snake_case.
Properties
Section titled “Properties”anchoredCqs
Section titled “anchoredCqs”anchoredCqs:
string[]
Defined in: src/types/governance.ts:2787
The competency questions whose answers it changes.
approved
Section titled “approved”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).
change?
Section titled “change?”
optionalchange?: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
Section titled “changed”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.
changeKind?
Section titled “changeKind?”
optionalchangeKind?: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.
compatibility?
Section titled “compatibility?”
optionalcompatibility?: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
Section titled “contentDigest”contentDigest:
string
Defined in: src/types/governance.ts:2815
The root digest of its member tree.
dependencies
Section titled “dependencies”dependencies:
string[]
Defined in: src/types/governance.ts:2817
The unit versions it depends on, sorted.
dependencyUnits
Section titled “dependencyUnits”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).
predecessor?
Section titled “predecessor?”
optionalpredecessor?:string|null
Defined in: src/types/governance.ts:2826
The baseline’s version of the unit.
recordCount
Section titled “recordCount”recordCount:
number
Defined in: src/types/governance.ts:2828
How many records it holds.
reviewSemanticRequired?
Section titled “reviewSemanticRequired?”
optionalreviewSemanticRequired?: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
Section titled “unitKey”unitKey:
string
Defined in: src/types/governance.ts:2835
The tenant id (per-tenant kinds) or the root record id.
unitKind
Section titled “unitKind”unitKind:
VocabularyUnitKind
Defined in: src/types/governance.ts:2837
The unit kind.
unitVersionId
Section titled “unitVersionId”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).
version?
Section titled “version?”
optionalversion?: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).
versionClass?
Section titled “versionClass?”
optionalversionClass?:VocabularyVersionClass|null
Defined in: src/types/governance.ts:2850
The class derived for a changed unit, absent while unclassified.