# OntoRefactor ontology

This directory is the version-controlled semantic source for the governance
plane. The runtime mirrors these concepts into the tenant-scoped SQLite graph
through `/api/v1/governance/bootstrap/tenant-isolation`.

- `m3/`: the stable ontology modeling kernel.
- `m2/`: upper ontology, three domain profiles, and cross-profile relations.
- `m1/dcp/`: the DCP tenant-domain reference model.
- `shapes/`: deterministic SHACL governance gates.
- `views/`: presentation rules; views are orthogonal to M0-M3 semantics.

M0 observations are deliberately not checked into source control. They are
created by parsers and LambdAgent runs and retain evidence, validity and review
state in the governance database.

The reference slice can be installed idempotently with:

```http
POST /api/v1/governance/bootstrap/tenant-isolation
Authorization: Bearer <agentpaas-api-key>
```

The API persists the graph in tenant-scoped SQLite tables for Desktop and
single-node deployments. The TTL files remain the portable semantic source and
were syntax-checked as one 275-triple corpus; they can later be loaded into an
RDF store without changing the REST/UI contracts.
