Treat closed_unknown as final in MCP acceptance gate; add UI-only browser script for human unknown-job closure
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-17 13:34:04 +01:00
parent af9e9ec479
commit b9a1b1db76
2 changed files with 55 additions and 1 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ def server(payload):
selected.replace('tenant_id=', 'j.tenant_id=').replace('agent_id=', 'j.agent_id=').replace('job_id=', 'j.job_id=')+"),"
"'permits',(SELECT count(*) FROM execution_permits e JOIN jobs j USING(tenant_id,job_id,attempt_id) WHERE "+
selected.replace('tenant_id=', 'j.tenant_id=').replace('agent_id=', 'j.agent_id=').replace('job_id=', 'j.job_id=')+"),"
"'unresolved',(SELECT count(*) FROM jobs WHERE "+scope+" AND state NOT IN ('succeeded','failed','cancelled','expired')));")
"'unresolved',(SELECT count(*) FROM jobs WHERE "+scope+" AND state NOT IN ('succeeded','failed','cancelled','expired','closed_unknown')));")
else:
require(payload['kind'] == 'audit', 'unknown evidence query')
operation = str(uuid.UUID(payload['operation_id']))