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
Rust development slice / linux (push) Failing after 7s
This commit is contained in:
@@ -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']))
|
||||
|
||||
Reference in New Issue
Block a user