T-I1KJ-admit-okf-s-optional-keys-incl-status-draft-stable
State: closed/done · Impact: medium · Complexity: medium
Admit OKF v0.2’s optional frontmatter keys (including its own
status: draft|stable|deprecated, distinct from the just-renamed
lifecycle state), map provenance onto generated, and count
wikilinks as graph edges.
Approach
Section titled “Approach”- Add OKF’s optional keys to CommonFrontmatter as optional passthrough fields.
- Map provenance -> generated per OKF’s semantics.
- Extend the graph/edge computation to count wikilinks.
| Area | Note |
|---|---|
solutions/ontological/lib/model/entities/_common.ts | OKF optional-key passthrough |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1: An entity carrying OKF’s status: draft validates.
- AC-2: provenance round-trips through to generated in the OKF-bundle output.
- AC-3: A graph query counts a wikilink as an edge.
Out of scope
Section titled “Out of scope”- Confusing OKF’s status with the just-renamed lifecycle state field — the two coexist under different keys.
Dependencies
Section titled “Dependencies”- none