mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-13 04:04:09 +00:00
The ontology, policy, provenance, change and query skills documented classes and methods that do not exist in the package. Every import in them fails, so following the skill produces ImportError or AttributeError immediately: | Documented | Reality in 0.7.0 | | --- | --- | | `semantica.policy.PolicyEngine` | no `semantica.policy` module; `PolicyEngine` is in `semantica.context` | | `semantica.query.QueryEngine` | no `semantica.query` module; `QueryEngine` is in `semantica.triplet_store` | | `semantica.ontology.OntologyManager` | no such class; use `OntologyEngine` / `OntologyValidator` | | `semantica.provenance.ProvenanceTracer` | no such class; use `ProvenanceManager` | | `semantica.provenance.change_tracker.ChangeTracker` | no such module; ontology versioning lives in `semantica.change_management` | The method names were wrong too, so a path-only fix was not possible: `.check()`, `.list_rules()`, `.trace_node()`, `.get_audit_log()`, `.compute_diff()`, `.get_node_history()`, `.query_sparql()`, `.query_cypher()` and `.search()` do not exist on any of the real classes. Each skill is rewritten against signatures verified by introspection on an installed 0.7.0. Two notes on scope: - policy now leads with `ContextGraph.check_decision_rules()` / `enforce_decision_policy()`, which need no graph store, and keeps `context.PolicyEngine` as the managed-policy path. - change previously conflated graph-state-over-time with ontology versioning. These are separate mechanisms in 0.7.0, so the skill now documents `ContextGraph.state_at()` and `change_management.VersionManager` separately. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>