okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-clean-3 (321794636): docs and history (cleanup step 3, items 3.0-3.10); release manifest and capability table with checks, history/ with pointers, link check, tools/ split, bench index; owner OK'd the wording 11-082b36e8a02

main
1.6 KiB56 linesraw
1# Tool execution, approval and cancellation (checklist A03, A04, A05)
2# repo: f7980024bf203512ad12d702b68a0d5a85cb889a
3# command: python integrations/harness/tool_flow_e2e.py --dsh <dsh> --base-port <p>
4
5working in <tmp>
6[A03] a read/edit/test workflow: the tool runs once, in the Harness
7  turn ended as 'completed'; 2 tool-related event(s)
8  the workspace marker has 1 line(s)
9  the peer answered 1 of 1 approval(s): ['allowed-once']
10  the worker recorded 2 request(s) and executed nothing itself
11  PASS A03
12
13[A04] with no answerer that decides, the approval fails closed and the tool does not run
14  turn ended as 'completed'
15  the marker file exists: False
16  the escalation was asked 1 time(s) and decided ['unavailable']
17  PASS A04 (the escalation was decided 'unavailable' and the tool did not run)
18
19[A05] Stop settles the turn without the tool having run
20  cancel acknowledged as {"accepted": true}
21  turn ended as 'aborted'
22  PASS A05 (a live turn was stopped and settled as 'aborted')
23
24PASS
25{
26  "A03": {
27    "approval_outcomes": [
28      "allowed-once"
29    ],
30    "approvals_answered": 1,
31    "approvals_asked": 1,
32    "executions": 1,
33    "marker_lines": 1,
34    "tool_events": 2,
35    "turn_end": "completed",
36    "worker_requests": 2
37  },
38  "A04": {
39    "answerer": false,
40    "approval_outcomes": [
41      "unavailable"
42    ],
43    "approvals_asked": 1,
44    "grants": 0,
45    "marker_created": false,
46    "turn_end": "completed"
47  },
48  "A05": {
49    "acknowledgement": {
50      "accepted": true
51    },
52    "marker_created": false,
53    "turn_end": "aborted",
54    "turn_was_live": true
55  }
56}