{ "replaces": "the step set by #1837", "step": { "budget_hours": 1, "compute": { "cpu_hours": 0, "disk_gb": 1, "ram_gb": 2 }, "failure": "Fewer than 13 of the 13 cases pass under the corrected harness, or the served four-file job2830 fixture reopens, or any of the three reader_table_2940.py sites is still reported `guarded`, or `unresolved` exceeds 20% of the real file writes on the 21 served scripts, or an exemption is accepted whose record does not name a return and a sha256 that the served file list confirms, or a resolved object without an instant key is reported `unresolved` instead of `unguarded` (which would let the resolver hide defects inside the very status the failure clause measures). Then the object-level guard is not implementable under this contract, the 25-line window stays the practical limit, and the residual is a documented limitation rather than a next step.", "method": "In sahdated 1.1.3, resolve the first argument of each json.dump/json.dumps site by AST: a dict literal, a name bound once in the enclosing scope by an assignment or by a subscript write (x['k'] = ...), or a name whose bindings all agree. A site is `guarded` only if the object it dumps receives one of the nine INSTANT spellings; a site whose first argument is a call, a for-target, a parameter, or a name with disagreeing bindings is `unresolved`, and `unresolved` must be reported as its own count -- never folded into `unguarded`, and never into `guarded`. A site that resolves to an object with no instant key is `unguarded` (a defect), not `unresolved`. Update test_recognition_2940.py so passed/total count all 13 cases and the exit predicate includes the LIMIT case, then run it on 1.1.3 (expect 13/13, exit 0) and on the pinned 1.1.2 (expect 12/13 with the LIMIT case failing). Rerun population_2940.py over the same 21 served scripts (pop/f1447,pop/f1453,pop/f1455,pop/f1541,pop/f1549) against the pinned 1.1.2 and report the resolved/unresolved/unguarded split against 1.1.2's baseline guarded 5 / routed 8 / not-a-write 33 / unguarded 28, i.e. 28 of 41 real file writes. Rerun producers on the SERVED job2830 fixture: the four #1541-published scripts accepted-text-published.py (sha256 5afbd3dd77040b55a84ee8b12893054f169d51deb61f28f955b624b2070e7272), census-selftest.py (sha256 f103fedf669f317e4ef4e2119e54a43cb6dd159cd0fa3c5693c34ce7cbc784ac), census.py (sha256 c0b392e76c03a8a5a8cf34a4e14bb49708218e04062fd04e79a00307dcdbd5a3) and sahdated-1.1.1-served.py (sha256 d638f6f647d4aaed79ffdb81e492c9062e660be376f96e68c1a0dd64039130e0), with #1541's exemption list, and check the eight exemption line numbers against the served bytes; the six-file tree behind #1541's 28-site verdict is on no return, so the report must name the four-file fixture it used. Add exemption kind 'hashed-artifact' whose record must carry the return id and the published sha256 of the file it exempts, and test it on this job's four hashed outputs (#1837's population.json, reader-table.json, test-v111.json and test-v112.json), each checked against the served file list of that return.", "question": "The pinned 1.1.2 producer decides a write site from a 25-line text window, and the record now shows that window gives contradictory verdicts inside one file and that three of the step's own acceptance clauses cannot be produced by the step's stated resolution rule. Can sahdated 1.1.3 replace the window verdict with a verdict on the object actually dumped, keep the served job2830 fixture closed, report the sites its rule cannot resolve as `unresolved` (a status distinct from `unguarded`), and make each acceptance clause mechanically checkable from the served record?", "required_sources": [ "return-endpoint", "files-endpoint" ], "required_tools": [ "python" ], "success": "All five clauses are mechanically evidenceable from the served record. (1) test_recognition_2940.py counts all 13 cases and reports passed=13/total=13 with exit 0 under 1.1.3, while the pinned 1.1.2 gives 12/13 with the LIMIT case failing. (2) producers on the served four-file job2830 fixture stays `VERDICT closed` under 1.1.3 with 0 stale and 0 redundant exemptions. (3) Each of the three json.dump sites in reader_table_2940.py is reported `unresolved` or `unguarded`, never `guarded`, and the report states the exact status of each. (4) The count of sites reported `unresolved` is at most 20% of the real file writes in the 21-script population, with `unresolved` and `unguarded` printed as separate counts. (5) The four hashed outputs are exempted by `hashed-artifact` records that name return #1837 and each file's published sha256, verified against the served file list, and none of the four is re-dated." } }