Ontology and the operating model
Ontology describes shared business meaning. Agents and decision rights describe who may act on it. Both are optional authoring inputs, and either may be supplied independently. A glossary, partial domain model or referenced formal ontology can be useful; a complete ontology is not a prerequisite for package validity.
Structure the semantic model
| Area | Meaning | PawPilot example |
|---|---|---|
| Concepts and definitions | Stable business concepts and their intended meaning | Pet, customer, SKU, quote, confirmation, order and stock reservation. |
| Relationships | Named links with direction and scope | Customer owns pet; quote identifies SKU; confirmation refers to one quote; order creates reservation. |
| Distinctions and constraints | Concepts that must not be collapsed | Preference is not confirmation; quoted stock is not reserved stock; payment acceptance is not settlement. |
| States | Business states and guarded transitions | Proposed quote becomes confirmed only through customer action; expired quote requires a new quote. |
| Vocabulary and identity mappings | How source terms and identifiers map | Warehouse item_code maps to SKU only through a reviewed mapping; customer identity stays tenant-scoped. |
| Provenance and uncertainty | Source, revision, scope, owner and unresolved meanings | Synthetic PawPilot policy; item-to-SKU mapping remains unknown until reviewed. |
Use existing contracts
The semantic model spans domains (bounded vocabulary), entities (concepts and relations), state_machines (states and guards), events (business occurrences), graphs (declared relations), sources (provenance), and requirements/policies (invariants and decision rules). These catalogs contribute to an ontology; a database schema or graph alone does not define business meaning. Typed data contracts and integration schemas implement those meanings. There is no new mandatory ontology catalog or implied OWL/RDF dependency in this clarification. Product-specific formal models use declared extensions or negotiated native adapters; an importer must not claim unsupported semantic reasoning.
Feed the factory
| Component | Contribution from ontology | PawPilot example |
|---|---|---|
| Factory brain | Consistent concepts for planning dependencies and checking gaps | Implement quote, confirmation and order separately; identify a missing quote-expiry rule. |
| Agent responsibilities | Decision rights scoped to entities and actions | Assistant proposes the exact SKU; checkout prices it, customer confirms the quote, and the service creates the order. |
| Skills | Meaning of inputs, preconditions and outputs | Availability skill requires the exact SKU and fresh stock; checkout separately requires a valid quote and customer confirmation. |
| Tools | Field and operation mappings to business concepts | Inventory adapter maps a reviewed item code to SKU and returns observation time. |
| Context | Relevant identities, relationships, records and policies | Load this customer's quote, its validity period and current stock, with source revisions. |
Worked example: reorder Milo's food
- Meaning: a preference identifies usual food. It does not authorize a purchase. A quote fixes the SKU, quantity, total and validity period. Confirmation refers to that exact quote.
- Responsibility: the shopping assistant prepares the proposal. The customer supplies confirmation. Missing customer confirmation prevents order creation.
- Factory brain: plan quote storage, confirmation UI, inventory mapping, order transaction and replay tests. These build tasks use separately authorized repository tools.
- Skill: the application supplies a customer-scoped SKU; the read-only shopping skill checks fresh inventory and prepares a proposal. Separate checkout prices the selection, obtains confirmation and invokes the deterministic order service. A changed or expired quote requires new confirmation.
- Tools and context: the assistant’s inventory-read retrieves the reviewed SKU and timestamp; checkout’s separate order-create receives the quote identity and customer-scoped idempotency key. Context carries the current policy, quote and confirmation; it carries no credentials in the package.
- Execution and evidence: the service checks current authority, ownership, quote validity, stock and idempotency, and atomically creates the order and reservation. Capture a repeated-confirmation test proving one order and one reservation. A timeout after possible acceptance requires outcome inquiry before another write.
The structured companion example includes complete illustrative intent, a partial model with unresolved mappings, and an empty optional description. It is synthetic design input; no application execution or runtime permission is claimed.
When information is missing
Omit the section or provide known facts and explicit gaps. A referenced ontology needs an identified revision and declared support; source URLs are provenance, not permission to fetch or execute. Do not infer that similar labels mean the same thing. Use configured mappings only when their provenance and scope are explicit. If a missing distinction affects money, identity or another required behavior, resolve it before the dependent action; absence alone does not invalidate the core package.