# olog.cc olog is ontology-organized logging for the AI era. Every log line is one typed state transition of one entity, and the ontology declares which transitions are legal. Replay the log and you get a state machine — plus a list of the places where the code broke its own contract. ## For agents - SKILL: https://olog.cc/SKILL.md — the contract: ontology format, event format, replay semantics, anomaly classes, the rules. - Spec: https://olog.cc/spec (中文:https://olog.cc/zh/spec) - Implementations: https://github.com/olog-cc/olog-cc — one repo per language (`ts`, `go`, `python`, `rust`, `java`), same semantics, same consistency vector. ## The one rule A log line names a state, not a sentence. `op` is a state from the ontology; facts go in `props`; relationships go in `links`. There is no `level`. ## The shape ``` {"seq":3,"ts":1764000000123,"run":"run-1","type":"Request","id":"req-7", "op":"running","props":{"method":"GET","path":"/api/x"}, "links":{"caused_by":["job-2"]}} ``` ## What replay gives back - the final state of every entity, - an anomaly list: `illegal_transition`, `unknown_entity`, `dangling_link`, `invalid_prop` — each with the `seq` that caused it, - a timeline. That anomaly list is the debugging output.