from pathlib import Path p=Path('templates/report.html');s=p.read_text(encoding='utf-8') s=s.replace('This report includes saved drafts. Each member’s submission status appears below. Previous-action statuses are saved for this meeting.','Excel downloads copy the previous workbook. Only this week’s updates and new actions appear in MOM. Completed previous actions are appended to CLOSED; unfinished actions remain in app history. Saved drafts are included.') s=s.replace('

Previous action review

','

Previous action history (app only)

') p.write_text(s,encoding='utf-8') p=Path('README.md');s=p.read_text(encoding='utf-8') s=s.replace('any Monday–Friday in the working week before the scheduled meeting. For example, the 28 September meeting offers 21–25 September. This date is saved separately and appears in the report and Excel download.','any Monday–Friday in the reporting week after the meeting. For example, the 28 September meeting offers 28 September–2 October. This preparation date is saved separately and shown in the app; the Excel meeting date stays on Monday to preserve the source layout.') s=s.replace('New actions cannot have due dates before their meeting date.','New action dates can be selected from the preceding Monday through the following Monday, including the working-week dates shown in the action form.') s=s.replace('Excel downloads are newly generated reports with the same updates/action structure and an extra status column. They are not byte-for-byte reproductions of the source\'s styling or additional sheets. Long entries wrap; very long paragraphs may need row-height adjustment in Excel when printing.','Excel downloads edit a copy of the previous workbook, retaining its MOM and CLOSED sheets, styles, images and other workbook parts. The meeting date and next-meeting footer advance. Each existing person’s update rows are replaced with only the current week’s updates; rows are inserted or removed and serial numbers restart at 1 per person. The action table contains only current-week new actions, with due dates and serial numbers starting at 1. Completed previous actions append to CLOSED with owner and Completed status, continuing its serial numbers. Historical CLOSED records are retained. Unfinished previous actions are kept in SQLite/app history and are omitted from Excel. Repeated downloads do not duplicate archive entries. Copies are saved in data/reports and downloaded with the meeting date in their filename. Very long paragraphs may need row-height adjustment in Excel when printing.') s=s.replace('- `data/imports/`: uploaded original workbooks and import previews.','- `data/imports/`: uploaded original workbooks and import previews.\n- `data/reports/`: dated copies produced by Excel downloads (regenerable from the database and original workbook).') p.write_text(s,encoding='utf-8')