Skip to content

Commit 87832e6

Browse files
ualtinokalfonso-aft
andcommitted
mason: reclassify every 37164 row as applicable; the capability is ours to miss
Thirty rows across seventeen scenario slices carried expected_fail:anomalyco/opencode#37164. None of them earn it. Two independent derivations retire the label, neither of which is "it passes now" — none of these rows passes today. First, the capability is present on the API AFT calls. Audit point 2 of delta-audit-ga-2.0.11.md reads permission.create off @opencode/[email protected]/dist/promise/client.d.ts:157-160 and its PermissionCreateInput off @opencode/[email protected]/dist/promise/generated/types.d.ts:7506-7615, field for field identical to 2.0.3, accepting exactly the sessionID, action, resources, save, metadata and source that permissions/v2.ts sends. Audit point 3 finds the same endpoint unchanged in the protocol. Audit point 4 names the actual defect: the server plugin context carries no client, so AFT's own guard in tools/hoisted/v2.ts short-circuits and installs no permission consumer. A gap in our wiring is not an upstream absence. Second, thirteen of the thirty rows belong to tools that never request permission at all. The ask inventory is closed and tested: read, edit, write, apply_patch, aft_delete, aft_move and bash are the only askers. search, glob, grep, import, safety, ast_replace, bash_kill, bash_status, bash_watch and bash_write are not among them, so a permission issue cannot describe their failure under any reading. Whatever breaks those rows is something else, and it was hidden. Upstream 37164 is also about a different path: it asks for a permission request capability inside the V1-style tool.execute.before hook. AFT requests permission from inside its own tool's execute, against the client API, which has create. The aggregate matrix/applicability.json and the per-slice *.extension.ts validators mirror these rows and are updated in lockstep; the harness cross-checks the aggregate against the fragments, so they cannot diverge. The bash T1 refusal probe transcript stays on disk as forensics; only its use as a justification is withdrawn. Scenario-level expected_fail_issue annotations in registration.json are reporting decoration that no disposition reads, and are left for the slice owners. T7 and its 48340 label are decided separately, against an observed run. Co-authored-by: alfonso-aft <[email protected]>
1 parent de258b8 commit 87832e6

35 files changed

Lines changed: 78 additions & 78 deletions

‎tests/docker/opencode2/matrix/applicability.json‎

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
{
66
"tool": "apply_patch",
77
"trajectories": {
8-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
8+
"T1": "applicable",
99
"T2": "applicable",
10-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
10+
"T3": "applicable",
1111
"T4": "n/a:no-abortable-operation",
1212
"T5": "n/a:no-background-capability",
1313
"T6": "n/a:no-list-surface",
@@ -17,7 +17,7 @@
1717
{
1818
"tool": "ast_replace",
1919
"trajectories": {
20-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
20+
"T1": "applicable",
2121
"T2": "applicable",
2222
"T3": "n/a:no-permission-operation",
2323
"T4": "n/a:no-abortable-operation",
@@ -41,19 +41,19 @@
4141
{
4242
"tool": "bash",
4343
"trajectories": {
44-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164#tests/docker/opencode2/contract/probe/bash-t1-permission-refusal.txt",
44+
"T1": "applicable",
4545
"T2": "applicable",
46-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164#tests/docker/opencode2/contract/probe/bash-t1-permission-refusal.txt",
47-
"T4": "expected_fail:https://github.com/anomalyco/opencode/issues/37164#tests/docker/opencode2/contract/probe/bash-t1-permission-refusal.txt",
48-
"T5": "expected_fail:https://github.com/anomalyco/opencode/issues/37164#tests/docker/opencode2/contract/probe/bash-t1-permission-refusal.txt",
49-
"T6": "expected_fail:https://github.com/anomalyco/opencode/issues/37164#tests/docker/opencode2/contract/probe/bash-t1-permission-refusal.txt",
46+
"T3": "applicable",
47+
"T4": "applicable",
48+
"T5": "applicable",
49+
"T6": "applicable",
5050
"T7": "expected_fail:https://github.com/anomalyco/opencode/issues/48340"
5151
}
5252
},
5353
{
5454
"tool": "bash_kill",
5555
"trajectories": {
56-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
56+
"T1": "applicable",
5757
"T2": "applicable",
5858
"T3": "n/a:no-permission-operation",
5959
"T4": "n/a:no-abortable-operation",
@@ -65,7 +65,7 @@
6565
{
6666
"tool": "bash_status",
6767
"trajectories": {
68-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
68+
"T1": "applicable",
6969
"T2": "applicable",
7070
"T3": "n/a:no-permission-operation",
7171
"T4": "n/a:no-abortable-operation",
@@ -77,7 +77,7 @@
7777
{
7878
"tool": "bash_watch",
7979
"trajectories": {
80-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
80+
"T1": "applicable",
8181
"T2": "applicable",
8282
"T3": "n/a:no-permission-operation",
8383
"T4": "n/a:no-abortable-operation",
@@ -89,7 +89,7 @@
8989
{
9090
"tool": "bash_write",
9191
"trajectories": {
92-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
92+
"T1": "applicable",
9393
"T2": "applicable",
9494
"T3": "n/a:no-permission-operation",
9595
"T4": "n/a:no-abortable-operation",
@@ -125,9 +125,9 @@
125125
{
126126
"tool": "delete",
127127
"trajectories": {
128-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
128+
"T1": "applicable",
129129
"T2": "applicable",
130-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
130+
"T3": "applicable",
131131
"T4": "n/a:no-abortable-operation",
132132
"T5": "n/a:no-background-capability",
133133
"T6": "n/a:no-list-surface",
@@ -137,9 +137,9 @@
137137
{
138138
"tool": "edit",
139139
"trajectories": {
140-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
140+
"T1": "applicable",
141141
"T2": "applicable",
142-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
142+
"T3": "applicable",
143143
"T4": "n/a:no-abortable-operation",
144144
"T5": "n/a:no-background-capability",
145145
"T6": "n/a:no-list-surface",
@@ -149,31 +149,31 @@
149149
{
150150
"tool": "glob",
151151
"trajectories": {
152-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
152+
"T1": "applicable",
153153
"T2": "applicable",
154154
"T3": "n/a:no-permission-operation",
155155
"T4": "n/a:no-abortable-operation",
156156
"T5": "n/a:no-background-capability",
157-
"T6": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
157+
"T6": "applicable",
158158
"T7": "expected_fail:https://github.com/anomalyco/opencode/issues/48340"
159159
}
160160
},
161161
{
162162
"tool": "grep",
163163
"trajectories": {
164-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
164+
"T1": "applicable",
165165
"T2": "applicable",
166166
"T3": "n/a:no-permission-operation",
167167
"T4": "n/a:no-abortable-operation",
168168
"T5": "n/a:no-background-capability",
169-
"T6": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
169+
"T6": "applicable",
170170
"T7": "expected_fail:https://github.com/anomalyco/opencode/issues/48340"
171171
}
172172
},
173173
{
174174
"tool": "import",
175175
"trajectories": {
176-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
176+
"T1": "applicable",
177177
"T2": "applicable",
178178
"T3": "n/a:no-permission-operation",
179179
"T4": "n/a:no-abortable-operation",
@@ -197,9 +197,9 @@
197197
{
198198
"tool": "move",
199199
"trajectories": {
200-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
200+
"T1": "applicable",
201201
"T2": "applicable",
202-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
202+
"T3": "applicable",
203203
"T4": "n/a:no-abortable-operation",
204204
"T5": "n/a:no-background-capability",
205205
"T6": "n/a:no-list-surface",
@@ -233,9 +233,9 @@
233233
{
234234
"tool": "read",
235235
"trajectories": {
236-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
236+
"T1": "applicable",
237237
"T2": "applicable",
238-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
238+
"T3": "applicable",
239239
"T4": "n/a:no-abortable-operation",
240240
"T5": "n/a:no-background-capability",
241241
"T6": "n/a:no-list-surface",
@@ -245,7 +245,7 @@
245245
{
246246
"tool": "safety",
247247
"trajectories": {
248-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
248+
"T1": "applicable",
249249
"T2": "applicable",
250250
"T3": "n/a:no-permission-operation",
251251
"T4": "n/a:no-abortable-operation",
@@ -257,12 +257,12 @@
257257
{
258258
"tool": "search",
259259
"trajectories": {
260-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
260+
"T1": "applicable",
261261
"T2": "applicable",
262262
"T3": "n/a:no-permission-operation",
263263
"T4": "n/a:no-abortable-operation",
264264
"T5": "n/a:no-background-capability",
265-
"T6": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
265+
"T6": "applicable",
266266
"T7": "expected_fail:https://github.com/anomalyco/opencode/issues/48340"
267267
}
268268
},
@@ -281,9 +281,9 @@
281281
{
282282
"tool": "write",
283283
"trajectories": {
284-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
284+
"T1": "applicable",
285285
"T2": "applicable",
286-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
286+
"T3": "applicable",
287287
"T4": "n/a:no-abortable-operation",
288288
"T5": "n/a:no-background-capability",
289289
"T6": "n/a:no-list-surface",

‎tests/docker/opencode2/scenarios/aft_import/import.extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function validate(context: HarnessValidationContext): Promise<void> {
1313
if (call.disk_effects === undefined && call.non_mutating_evidence === undefined) throw new Error(scenario.id + ":" + call.id + " lacks a disk classification");
1414
}
1515
const matrix = JSON.parse(await readFile(join(here, "matrix.json"), "utf8"));
16-
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"expected_fail:https://github.com/anomalyco/opencode/issues/37164","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("import" + " applicability mismatch");
16+
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"applicable","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("import" + " applicability mismatch");
1717
const controls = JSON.parse(await readFile(join(here, "mutation-controls.json"), "utf8"));
1818
if (!Array.isArray(controls.controls) || controls.controls.length < 3) throw new Error("import" + " mutation controls missing");
1919
}

‎tests/docker/opencode2/scenarios/aft_import/matrix.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"tool": "import",
88
"trajectories": {
9-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
9+
"T1": "applicable",
1010
"T2": "applicable",
1111
"T3": "n/a:no-permission-operation",
1212
"T4": "n/a:no-abortable-operation",

‎tests/docker/opencode2/scenarios/aft_safety/matrix.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"tool": "safety",
88
"trajectories": {
9-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
9+
"T1": "applicable",
1010
"T2": "applicable",
1111
"T3": "n/a:no-permission-operation",
1212
"T4": "n/a:no-abortable-operation",

‎tests/docker/opencode2/scenarios/aft_safety/safety.extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function validate(context: HarnessValidationContext): Promise<void> {
1313
if (call.disk_effects === undefined && call.non_mutating_evidence === undefined) throw new Error(scenario.id + ":" + call.id + " lacks a disk classification");
1414
}
1515
const matrix = JSON.parse(await readFile(join(here, "matrix.json"), "utf8"));
16-
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"expected_fail:https://github.com/anomalyco/opencode/issues/37164","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("safety" + " applicability mismatch");
16+
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"applicable","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("safety" + " applicability mismatch");
1717
const controls = JSON.parse(await readFile(join(here, "mutation-controls.json"), "utf8"));
1818
if (!Array.isArray(controls.controls) || controls.controls.length < 3) throw new Error("safety" + " mutation controls missing");
1919
}

‎tests/docker/opencode2/scenarios/aft_search/matrix.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
{
77
"tool": "search",
88
"trajectories": {
9-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
9+
"T1": "applicable",
1010
"T2": "applicable",
1111
"T3": "n/a:no-permission-operation",
1212
"T4": "n/a:no-abortable-operation",
1313
"T5": "n/a:no-background-capability",
14-
"T6": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
14+
"T6": "applicable",
1515
"T7": "expected_fail:https://github.com/anomalyco/opencode/issues/48340"
1616
}
1717
}

‎tests/docker/opencode2/scenarios/aft_search/search.extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function validate(context: HarnessValidationContext): Promise<void> {
1313
if (call.disk_effects === undefined && call.non_mutating_evidence === undefined) throw new Error(scenario.id + ":" + call.id + " lacks a disk classification");
1414
}
1515
const matrix = JSON.parse(await readFile(join(here, "matrix.json"), "utf8"));
16-
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"expected_fail:https://github.com/anomalyco/opencode/issues/37164","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"expected_fail:https://github.com/anomalyco/opencode/issues/37164","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("search" + " applicability mismatch");
16+
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"applicable","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"applicable","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("search" + " applicability mismatch");
1717
const controls = JSON.parse(await readFile(join(here, "mutation-controls.json"), "utf8"));
1818
if (!Array.isArray(controls.controls) || controls.controls.length < 3) throw new Error("search" + " mutation controls missing");
1919
}

‎tests/docker/opencode2/scenarios/apply_patch/apply_patch.extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function validate(context: HarnessValidationContext): Promise<void> {
1313
if (call.disk_effects === undefined && call.non_mutating_evidence === undefined) throw new Error(scenario.id + ":" + call.id + " lacks a disk classification");
1414
}
1515
const matrix = JSON.parse(await readFile(join(here, "matrix.json"), "utf8"));
16-
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"expected_fail:https://github.com/anomalyco/opencode/issues/37164","T2":"applicable","T3":"expected_fail:https://github.com/anomalyco/opencode/issues/37164","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("apply_patch" + " applicability mismatch");
16+
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"applicable","T2":"applicable","T3":"applicable","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("apply_patch" + " applicability mismatch");
1717
const controls = JSON.parse(await readFile(join(here, "mutation-controls.json"), "utf8"));
1818
if (!Array.isArray(controls.controls) || controls.controls.length < 3) throw new Error("apply_patch" + " mutation controls missing");
1919
}

‎tests/docker/opencode2/scenarios/apply_patch/matrix.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
{
77
"tool": "apply_patch",
88
"trajectories": {
9-
"T1": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
9+
"T1": "applicable",
1010
"T2": "applicable",
11-
"T3": "expected_fail:https://github.com/anomalyco/opencode/issues/37164",
11+
"T3": "applicable",
1212
"T4": "n/a:no-abortable-operation",
1313
"T5": "n/a:no-background-capability",
1414
"T6": "n/a:no-list-surface",

‎tests/docker/opencode2/scenarios/ast_replace/ast_replace.extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function validate(context: HarnessValidationContext): Promise<void> {
1313
if (call.disk_effects === undefined && call.non_mutating_evidence === undefined) throw new Error(scenario.id + ":" + call.id + " lacks a disk classification");
1414
}
1515
const matrix = JSON.parse(await readFile(join(here, "matrix.json"), "utf8"));
16-
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"expected_fail:https://github.com/anomalyco/opencode/issues/37164","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("ast_replace" + " applicability mismatch");
16+
if (JSON.stringify(matrix.rows?.[0]?.trajectories) !== JSON.stringify({"T1":"applicable","T2":"applicable","T3":"n/a:no-permission-operation","T4":"n/a:no-abortable-operation","T5":"n/a:no-background-capability","T6":"n/a:no-list-surface","T7":"expected_fail:https://github.com/anomalyco/opencode/issues/48340"})) throw new Error("ast_replace" + " applicability mismatch");
1717
const controls = JSON.parse(await readFile(join(here, "mutation-controls.json"), "utf8"));
1818
if (!Array.isArray(controls.controls) || controls.controls.length < 3) throw new Error("ast_replace" + " mutation controls missing");
1919
}

0 commit comments

Comments
 (0)