p='traceable-reqs.toml'
s=open(p,'rb').read().decode('utf-8').replace('\r\n','\n')
def rep(old,new):
    global s
    assert s.count(old)==1,(old[:80],s.count(old))
    s=s.replace(old,new)
old_tail="The landed bundle is retained and served to peers under the existing adapter retention (kin REQ-ADAPTER-PEER-SERVE).\""
new_tail=("The landed bundle is retained and served to peers under the existing adapter retention (kin REQ-ADAPTER-PEER-SERVE). "
 "AUTO-SET SEAM (doyle ruling 2026-09-24): the auto set is W7 (releases#336 DaemonConfig.auto_classes) and does not exist yet; adapters are in its default set, so W5 APPLIES a newer member, and the site carries the named marker AUTO-SET SEAM (W7, releases#336) for W7 to gate. "
 "The (built-in) mark says where the CURRENT bytes came from (doyle amendment 2026-09-24): set when the bundle installs or upgrades a member, cleared by any non-bundle update (own avenue, peer, --remote) because every registration writes it false; it is a separate axis from the retained install_source, which a bundle upgrade never rewrites. "
 "A member the operator removed (adapter remove) is left removed.\"")
rep(old_tail,new_tail)
rep('required_stages = ["doc", "impl", "unit"]  # ACTIVATED #331 H2 (hertz 2026-09-24).',
    'required_stages = ["doc", "impl", "unit", "int"]  # ACTIVATED #331 H2 (hertz 2026-09-24); int ACTIVATED #331 W5 (todlando 2026-09-24) = bundled_adapters_e2e (a fresh SPT_HOME applying a set with the bundle).')
assert '"' not in new_tail[:-1]
open(p,'wb').write(s.replace('\n','\r\n').encode('utf-8'))
print('ok')
