v0.297.0: burn-down round 2 — 24 small rows (R-591 R-568 R-567 R-363 R-547 R-10 R-552 R-251 R-104 R-619 R-362 R-675 R-256 R-257 R-240 R-365 R-425 R-565 R-564 R-603 R-454 R-208 R-457-swept) + the banner countdown and deepCopyStack twins; MinAgent 0.131.0
gates / gates (push) Failing after 50s
gates / gates (push) Failing after 50s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -47,6 +47,9 @@ COVERS = {
|
||||
"i18n": "an undefined marker key, a pleading English value, a shrinking/growing gap (v0.247.0)",
|
||||
"go-parity": "a Go-side key REWORDED, a key citing text no base literal has, and a converted "
|
||||
"key left out of the map (v0.252.0, R-557)",
|
||||
"gofmt": "R-454: a planted unformatted .go file in internal/ is convicted; the clean tree passes",
|
||||
"offbox-rename": "R-425: NAS branding in a NEW backups*.html, and in a bundle value an offbox Go file "
|
||||
"names; control: the same token in the network-storage feature's copy is accepted",
|
||||
}
|
||||
|
||||
fails = []
|
||||
@@ -172,9 +175,49 @@ swapped("retrieval-promise/en", "retrieval_promise_gate.py", EN_JSON,
|
||||
swapped("retrieval-promise/en-ok", "retrieval_promise_gate.py", EN_JSON,
|
||||
_one('"launcher.link_masolasa": "Copy link"', '"launcher.link_masolasa": "Your old backups are listed on the restore page."'),
|
||||
expect="accept")
|
||||
# R-564: the Hungarian SPLIT verb („állíthatók vissza") is the same claim as the joined stem; a planted
|
||||
# split-verb promise must convict, and a plain „Vissza" (a back link, no claim) must not.
|
||||
swapped("retrieval-promise/split-verb", "retrieval_promise_gate.py", HU_JSON,
|
||||
_one('"launcher.link_masolasa": "Link másolása"', '"launcher.link_masolasa": "A régi mentéseid a kóddal bármikor állíthatók vissza."'))
|
||||
swapped("retrieval-promise/split-ok", "retrieval_promise_gate.py", HU_JSON,
|
||||
_one('"launcher.link_masolasa": "Link másolása"', '"launcher.link_masolasa": "Vissza a listához"'),
|
||||
expect="accept")
|
||||
swapped("secret-markup/bundle", "secret_in_markup_gate.py", EN_JSON,
|
||||
_one('"launcher.link_masolasa": "Copy link"', '"launcher.link_masolasa": "Copy {{.RetrievalPassword}}"'))
|
||||
|
||||
# --- offbox-rename (R-425): the scope is discovered by pattern, and bundle copy is judged. ---------
|
||||
ran += 1
|
||||
_extra = os.path.join(TPL, "backups_offbox_extra.html")
|
||||
io.open(_extra, "w", encoding="utf-8").write(u"<p>A NAS-mentés beállítása</p>\n")
|
||||
try:
|
||||
_rc, _out = gate("offbox_rename_gate.py")
|
||||
finally:
|
||||
os.remove(_extra)
|
||||
if _rc == 0:
|
||||
fails.append("offbox-rename/new-file: NAS branding in a NEW backups*.html PASSED — the scope is a "
|
||||
"fixed list again (R-425)\n%s" % _out[-400:])
|
||||
else:
|
||||
print(" ok %-20s decoy rejected" % "offbox-rename/new-file")
|
||||
swapped("offbox-rename/bundle", "offbox_rename_gate.py", HU_JSON,
|
||||
_one('"flash.offbox.run_started": "', '"flash.offbox.run_started": "Mentés a NAS-ra: '))
|
||||
swapped("offbox-rename/other-feature-ok", "offbox_rename_gate.py", HU_JSON,
|
||||
_one('"storage_network.mit_kell_beallitani_a_nas": "Mit kell beállítani a NAS-on?"',
|
||||
'"storage_network.mit_kell_beallitani_a_nas": "Mit kell beállítani a NAS-on? Ez a NAS-ra vonatkozik."'),
|
||||
expect="accept")
|
||||
|
||||
# --- gofmt (R-454): an unformatted Go file anywhere under internal/ is convicted. ----------------
|
||||
ran += 1
|
||||
_gf = os.path.join(CTRL, "internal", "zz_gofmt_decoy_tmp.go")
|
||||
io.open(_gf, "w", encoding="utf-8").write(u"package internal\nfunc decoy( ) { }\n")
|
||||
try:
|
||||
_rc, _out = gate("gofmt_gate.py")
|
||||
finally:
|
||||
os.remove(_gf)
|
||||
if _rc != 1 or "zz_gofmt_decoy_tmp.go" not in _out:
|
||||
fails.append("gofmt: an unformatted planted file was not convicted (rc=%d)\n%s" % (_rc, _out[-400:]))
|
||||
else:
|
||||
print(" ok %-20s decoy rejected" % "gofmt")
|
||||
|
||||
# --- go-parity (v0.252.0, R-557): a Go-side message key may only carry base-commit text. ---
|
||||
# --- Three shapes, because the gate makes three different claims. ---
|
||||
GO_KEYS = os.path.join(HERE, "i18n_go_keys.json")
|
||||
|
||||
Reference in New Issue
Block a user