v0.1.44
Added
- OKF v0.2 schema — schema version bumped from
0.1to0.2. Every concept file now hasokf_version,concept_id,language, and optionalstatusin frontmatter. ## Relationshipstable — replaces separate## Related,## Calls,## Called By, and## Related (AI-suggested)sections. Each edge is typed (related,calls,called_by,related (AI)) in a unified table. Backward-compatible: consumer tools (lookup,pairs) fall back to old section names whenrelationshipsis absent.okf migrate v0.1-to-v0.2command — converts existing v0.1 bundles to v0.2 in-place. Adds frontmatter fields, merges relationship sections. Supports--dry-runfor preview.- User-facing auto-bundle template —
docs/examples/okf-auto-bundle.ymlis a copy-paste GitHub Actions workflow any repo can use to auto-generate + commit an OKF bundle on push. Documented indocs/user-guide/ci-cd.md. - CI/CD auto-publish —
demo-viz.ymlnow generatesdocs/okf_bundle/from realworld fixtures on push tomain. Landing page "Try it live" bar has a "Live Bundle" link.
Changed
Conceptdataclass: newstatusfield (active,deprecated,experimental).generator.py: all 4 version emission points changed from"0.1"to"0.2"._frontmatter(): now writesokf_version,concept_id,language,status.lookup.py+pairs.py: parserelationshipssection with v0.1 fallback.
Migration from v0.1
okf migrate v0.1-to-v0.2 ./path/to/bundleRun --dry-run first to preview changes. The migration is idempotent — running it again on a v0.2 bundle is a no-op.