Updated tech specs for:

- Tool candidates on Analysis events
- Token counts — per-event on provenance, aggregated on service
  responses, --show-usage on all CLIs
- Termination reason on terminal events
- Tool error/retry events with Error mixin
- Sub-agent linkage (was already correct)
- Vocabulary publication (OWL ontology)
- Step counter on iteration events
- Pattern decision entity in DAG
- Latency breakdown (LLM + tool duration)
- Envelope field naming unified (message_type)
- LLM parse errors handled gracefully
This commit is contained in:
Cyber MacGeddon 2026-04-13 17:26:08 +01:00
parent d2751553a3
commit 245d705171
7 changed files with 205 additions and 233 deletions

View file

@ -612,8 +612,13 @@ Link embedding entity IDs to chunk.
| Triple store | Use reification for triple → chunk provenance |
| Embedding provenance | Link entity ID → chunk ID |
## Vocabulary Reference
The full OWL ontology covering all extraction and query-time classes and predicates is at `specs/ontology/trustgraph.ttl`.
## References
- Query-time provenance: `docs/tech-specs/query-time-provenance.md`
- Query-time provenance: `docs/tech-specs/query-time-explainability.md`
- Agent explainability: `docs/tech-specs/agent-explainability.md`
- PROV-O standard for provenance modeling
- Existing source metadata in knowledge graph (needs audit)