fix(agent99): require verified outcomes before resolution

This commit is contained in:
ogt
2026-07-10 16:05:54 +08:00
parent 7134ff338e
commit 85cb7fba42
5 changed files with 669 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
{
"schema_version": "agent99_enterprise_ai_automation_work_items_v1",
"generated_at": "2026-07-10T15:05:00+08:00",
"status": "in_progress_p0_agent_outcome_truth",
"generated_at": "2026-07-10T16:00:26+08:00",
"status": "in_progress_p0_agent_outcome_staging_verified_runtime_apply_pending",
"scope_complete": false,
"north_star": "Make Windows host 192.168.0.99 the policy-controlled on-prem AI execution node for all hosts, VMs, services, products, sites, tools, packages, alerts and recovery workflows, with external monitoring when host 99 is unavailable.",
"canonical_sources": {
@@ -20,7 +20,19 @@
"id": "AG99-P0-001",
"title": "Agent outcome truth and source-runtime reconciliation",
"reason": "Agent99 currently treats command exit success as incident resolution and the Windows runtime scripts do not consistently match the current Gitea source. All later automation depends on trustworthy outcomes.",
"next_action": "Implement mode-specific outcome evaluation, require verifier and source-event resolution for resolved, add regression tests, then deploy and compare source/runtime hashes on host 99."
"implementation_status": "source_implemented_staging_verified_runtime_apply_pending",
"staging_verifier": {
"host": "99",
"outcome_contract": "agent99_outcome_contract_v1",
"outcome_self_test_ok": true,
"runtime_manifest": "agent99_runtime_manifest_v1",
"source_revision": "p0-001-staging-latest",
"runtime_manifest_matched": true,
"runtime_manifest_file_count": 7,
"runtime_manifest_mismatch_count": 0,
"evidence": "C:\\Wooo\\Agent99\\staging\\p0-001-runtime\\evidence\\agent99-OutcomeContractSelfTest-20260710-160255.json"
},
"next_action": "Commit and deploy the verified outcome contract to host 99, rerun the runtime manifest and outcome self-test, then replay one operator smoke and one alert-source event without counting transport-only success as resolved."
},
"current_runtime_truth": {
"observed_at": "2026-07-10T15:04:27+08:00",
@@ -271,7 +283,7 @@
"verifier": "For every mode, require post-condition pass plus source event resolution; compare source and runtime manifest hashes.",
"callback": "Write final outcome to AWOOOI incident and AwoooP Run/Verifier using the same trace id.",
"acceptance": "No false-resolved regression cases; source/runtime drift count is zero; unresolved evidence stays degraded or blocked.",
"next_action": "Patch agent99-control-plane.ps1 outcome evaluation and add focused regression tests."
"next_action": "Deploy the staging-verified outcome contract to host 99, confirm source/runtime manifest hashes, then replay operator and alert-source outcomes."
},
{
"id": "AG99-P0-002",