Commit Graph

2 Commits

Author SHA1 Message Date
HAL9000 d194ee0d95 bug(uko): add missing layer 2 indexing scenario to uko_runtime.feature
Add layer 2 (paradigm/OO) triple emission to PythonAnalyzer and add the
missing Scenario for layer 2 indexing in uko_runtime.feature.

- PythonAnalyzer._extract_class() now emits a rdf:type uko-oo:Class
  triple (layer 2) in addition to rdf:type uko-py:Class (layer 3),
  ensuring UKOIndexer emits layer 2 triples when indexing Python OOP
  constructs (classes).
- Added Scenario: Indexing a Python file populates layer 2 (paradigm)
  to features/uko_runtime.feature, completing the four-layer guarantee
  verification (layers 0, 1, 2, 3) at the runtime/indexing level.

ISSUES CLOSED: #9351
2026-04-22 06:37:17 +00:00
freemo 0787f42e2f feat(acms): operationalize UKO runtime with provenance and temporal versioning
CI / build (push) Successful in 15s
CI / helm (push) Successful in 23s
CI / lint (push) Failing after 27s
CI / quality (push) Successful in 34s
CI / security (push) Successful in 1m0s
CI / typecheck (push) Successful in 3m55s
CI / coverage (push) Has been skipped
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Failing after 6m22s
CI / docker (push) Has been skipped
CI / e2e_tests (push) Has been cancelled
CI / benchmark-publish (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / status-check (push) Has been cancelled
Operationalizes the Universal Knowledge Ontology (UKO) runtime per issue #891, implementing provenance tracking, temporal versioning, ACMS context strategy integration, four-layer ontology population, implicit relationship inference, and graph persistence.

New services:
- UKOQueryInterface: typed interface for ACMS context strategies to query UKO classification data
- UKOInferenceEngine: semantic analysis producing implicit triples with confidence 0.7
- UKOGraphPersistence: serialises/restores UKO graph state via JSON or in-memory backends

Modified: uko_indexer_internals.py index_graph() now runs inference and populates uko:layer triples for all four ontology layers.

47 BDD scenarios covering all acceptance criteria.

Closes #891

Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
2026-04-02 17:09:15 +00:00