import io
p='docs/GOLDEN-CI.md'
s=io.open(p,encoding='utf-8',newline='').read(); nl='\r\n' if '\r\n' in s else '\n'
old='''IR-144 implementation is authored for HANDED-FILE, **acceptance pending the
first real post-merge run**. A qualifying IR-144 push is a CODE push (`code`
true). It must show the exact PR proof in changes, both unit legs skipped,
and lint and traceability still executing. An unproved code SHA must still
execute both unit legs.'''.replace('\n',nl)
new='''IR-144 acceptance is **discharged** by real post-merge runs. Each run shows
the exact PR proof in `changes`, a skipped `unit`, and lint and traceability
executing:
[35665623426](https://github.com/BigscreenVR/spt-bs-core/actions/runs/35665623426)
and [35669707892](https://github.com/BigscreenVR/spt-bs-core/actions/runs/35669707892)
(2026-09-21, recorded in INFRA-REGISTER IR-144), and
[35998753683](https://github.com/BigscreenVR/spt-bs-core/actions/runs/35998753683)
(2026-09-24, `9aa011ac`, changes job `107629922177`:
`UNIT_REUSE run-unit=false reason=exact-pr-proof run=35996160079 attempt=1`;
`unit` skipped, lint and traceability success). A qualifying IR-144 push is a
CODE push (`code` true); an unproved code SHA must still execute both unit
legs.'''.replace('\n',nl)
assert s.count(old)==1
io.open(p,'w',encoding='utf-8',newline='').write(s.replace(old,new))
print('ok')
