Skip to content

Shared OKF concept schema pack (BaseConcept v1) - #53

Merged
RichardHightower merged 1 commit into
mainfrom
feat/shared-okf-schemas
Aug 13, 2026
Merged

Shared OKF concept schema pack (BaseConcept v1)#53
RichardHightower merged 1 commit into
mainfrom
feat/shared-okf-schemas

Conversation

@RichardHightower

Copy link
Copy Markdown
Contributor

Adds the shared schema foundation so PKC, SAC, DEKC, and AGER can live in one second brain.

What landed

  • schemas/okf-concepts/BaseConcept.schema.json — required only type + title; additionalProperties: true
  • TicketLink, Feature, DecisionRecord, Project, Catalog, ContextPack schemas
  • scripts/okf_schema.py — stdlib subset validator; merges sibling schema directories
  • okf-graph.py validate runs schema checks (soft). okf-graph.py schemas lists the merge
  • truth_state union: current | snapshot | superseded | archived | historical | proposed
  • TicketLink kind=bug warns unless it links to a Module/Package/Release/CodeChange (or sets branch)
  • Mixed fixture at tests/fixtures/mixed-second-brain/ (Feature → Module → Table → bug TicketLink)

Compatibility

  • Existing sample-okf still validates with 0 errors
  • Unknown types fall back to BaseConcept (info, not error)
  • Epic/story/task/bug stay WikiTicket axes — not new concept types

Test plan

  • python3 tests/test_okf_schema.py
  • python3 tests/test_okf_graph.py
  • mixed second-brain pack from Feature reaches SAC Module + DEKC Table

Introduce schemas/okf-concepts with a permissive BaseConcept (required:
type + title only), TicketLink/Feature/DecisionRecord/Project types, and
okf_schema.py so sibling plugins can merge registries. Validate stays
soft-by-default. truth_state accepts the PKC/SAC + DEKC union. kind=bug
on TicketLink warns unless it links to a Module/Package/Release/CodeChange.
@RichardHightower
RichardHightower force-pushed the feat/shared-okf-schemas branch from c5f51aa to 7c26c52 Compare August 13, 2026 21:16
@RichardHightower
RichardHightower merged commit b653e04 into main Aug 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants