{"slug":"development/runtime/observability","title":"Observability, Audit & Event Model","section":"development","sectionLabel":"Development","status":"unclassified","type":"document","path":"development/runtime/observability.md","bytes":1120,"description":null,"updated":null,"source":"integratewise/Integratewise-docs-wiki","content":"<!-- DOCUMENT CLASS: DEVELOPMENT | SOURCE: 31_OBSERVABILITY_AUDIT_EVENT_MODEL.md -->\n\n# Observability, Audit & Event Model\n\n## Event identity\n\nEvery consequential event should be traceable through:\n\n```text\nevent_id\ntenant_id\nwork_id\ncorrelation_id\ncausation_id\nprincipal_id\ntimestamp\nevent_type\nsource\nversion\n```\n\n## Event classes\n\n```text\nIngestion\nNormalization\nContext\nWork\nAssignment\nDecision\nApproval\nCommunication\nAgent\nCapability\nExecution\nReceipt\nReconciliation\nPromotion\nProjection\nMemory\n```\n\n## Audit record\n\nAudit should answer:\n\n- who acted;\n- what Work was affected;\n- what context was used;\n- what policy applied;\n- what capability was invoked;\n- who approved;\n- what execution occurred;\n- what source system returned;\n- how state was reconciled;\n- what memory changed.\n\n## Observability\n\nMonitor:\n\n- ingestion failures;\n- connector health;\n- queue depth;\n- workflow failures;\n- agent latency;\n- approval latency;\n- execution latency;\n- reconciliation drift;\n- projection freshness;\n- memory promotion;\n- bridge delivery.\n\n## Audit principle\n\n> Audit is a continuity mechanism, not only a security log.\n"}