with open('/app/working/workspaces/default/build_merged.js', 'r') as f:
    content = f.read()

# Remove the PART 2 comment block
old_block = '\n\n// PART 2 — continuation of build_final_proposal.js\n// This file contains the remaining sections (2.3 onward through the end)\n\n                        '
content = content.replace(old_block, '\n                        ')

# Remove PART 3 comment block
old_block3 = '\n\n// PART 3 — final sections of build_final_proposal.js\n\n                '
content = content.replace(old_block3, '\n                ')

with open('/app/working/workspaces/default/build_merged.js', 'w') as f:
    f.write(content)
print("Fixed comment blocks")
