feat(aiops): add durable pre-inference context receipts

This commit is contained in:
Your Name
2026-07-22 18:51:21 +08:00
parent d4fd87db31
commit c401181d4d
5 changed files with 1150 additions and 82 deletions

View File

@@ -1,7 +1,7 @@
{
"schema_version": "sre_ai_agent_conversation_commitments_v1",
"program_id": "AIA-SRE-P0-20260715",
"generated_at": "2026-07-22T17:50:52+08:00",
"generated_at": "2026-07-22T18:49:36+08:00",
"source_scope": "This Codex AI Agent task only; cross-task delegation envelopes are excluded.",
"authoritative_for_execution_order": false,
"raw_conversation_embedded": false,
@@ -60,7 +60,7 @@
{"id":"AIA-CONV-040","category":"named_incident","status":"source_implemented_runtime_pending","title":"Host188 PostgreSQL CPU、長查詢、MOMO provider backoff 由 Agent99 處置","linked_work_items":["AIA-SRE-006","AIA-SRE-010"],"terminal_condition":"typed Host188/DB dispatch、bounded apply、獨立 verifier 與 recipient receipt 完成。"},
{"id":"AIA-CONV-041","category":"named_incident","status":"source_implemented_runtime_pending","title":"StockPlatform cron_intelligence_sync 連續失敗自動診斷、修正與驗證","linked_work_items":["AIA-SRE-004","AIA-SRE-006"],"terminal_condition":"wrapped-command/root cause 修正後 cron freshness 與 exit-code verifier 關閉。","source_evidence":["exact StockPlatform cron_intelligence_sync schedule identity fails closed without cross-domain fallback","same-run durable failure, sanitized wrapped-command RCA and exact source-fix receipts create one fingerprint-deduplicated candidate","local or unreachable source commit remains release-pending and cannot invoke a provider, Agent99, executor or runtime mutation","durable runtime closure requires exact controlled deployment plus independent exit-code and freshness receipts from one deployment run"]},
{"id":"AIA-CONV-042","category":"knowledge_closure","status":"in_progress","title":"所有告警推理前整合 MCP 與 RAG context","linked_work_items":["AIA-SRE-012","AIA-SRE-015"],"terminal_condition":"每次推理記錄 context source IDs、freshness 與 retrieval receipt。"},
{"id":"AIA-CONV-042","category":"knowledge_closure","status":"source_implemented_runtime_pending","title":"所有告警推理前整合 MCP 與 RAG context","linked_work_items":["AIA-SRE-012","AIA-SRE-015"],"terminal_condition":"每次推理記錄 context source IDs、freshness 與 retrieval receipt。","source_evidence":["all DecisionManager reasoning and early-return paths reserve one durable pre-inference MCP/RAG receipt before provider or Agent debate","receipt records exact MCP evidence or execution IDs, Knowledge entry IDs, observed timestamps and deterministic freshness without persisting raw context","Phase2, primary LLM and background PlayBook draft receive the same sanitized untrusted receipt-bound context","receipt persistence or context-source contract failure returns a deterministic no-provider no-executor no-runtime-mutation terminal"]},
{"id":"AIA-CONV-043","category":"knowledge_closure","status":"source_implemented_runtime_pending","title":"診斷、候選、執行、驗證沉澱至 KM/RAG/MCP/PlayBook","linked_work_items":["AIA-SRE-015"],"terminal_condition":"同 run 六個 durable write receipts 唯一、可讀回且與 target/source 一致。"},
{"id":"AIA-CONV-044","category":"knowledge_closure","status":"source_implemented_runtime_pending","title":"每項資產必須有 ID、owner、status、next action、來源與 receipt","linked_work_items":["AIA-SRE-001","AIA-SRE-002","AIA-SRE-015"],"terminal_condition":"Runs、Work Items 與 KB 只讀同一 canonical identity 與 evidence chain。"},
{"id":"AIA-CONV-045","category":"knowledge_closure","status":"in_progress","title":"24 小時 production 告警形成可學習 corpus","linked_work_items":["AIA-SRE-016"],"terminal_condition":"alert、repair、execution、verifier、recurrence 與 cost 分母可重算shadow 不冒充 execution。"},
@@ -98,8 +98,8 @@
"active_or_completed_commitments": 68,
"by_status": {
"analysis_or_governance_complete": 6,
"source_implemented_runtime_pending": 34,
"in_progress": 27,
"source_implemented_runtime_pending": 35,
"in_progress": 26,
"not_started_or_no_current_evidence": 1,
"superseded": 2
},