Commits
Marek Vsechovsky committed 28b4f39054d
Session 172, Step 5: Client-side template sync never updates root .aisman/instructions.md (only .aisman/instructions/ sub-files) - AIM-3241 Client-side template sync never updates root .aisman/instructions.md (only .aisman/instructions/ sub-files) - AIM-3242 Decomposition + re-composition of aisman-instructions-template.md must round-trip perfectly to the local comparison version - AIM-3243 Host instructions: require updating the template's initial decomposed-file list when new === sections are added - AIM-3244 Derive decomposition file list from aisman-instructions-template.md structure instead of hard-coding it - AIM-3245 Wf S3 "Start processing the tasks" button no longer creates the input file when copying the generated prompt to clipboard Outcome: Implemented all five requested issues: - **issue -3890** ? Root `.aisman/instructions.md` is now updated from `aisman-instructions-template.md` together with the `.aisman/instructions/` sub-files: the disassembly router-wipe bug is fixed and all three write paths (manual save, silent auto-update, comparison-overlay Save) write the root file unconditionally. - **issue -3891** ? Decomposition into the client-side files and re-composition back to a single text now result in a perfect match with the local comparison version (the middle comparison column), so unedited local files compare equal to the recorded version and new template changes auto-overwrite the local version again instead of always requiring manual comparison. - **issue -3892** ? The Aisman Host instructions file (`.github/copilot-instructions.md`) now instructs AI agents to always update the initial part of `aisman-instructions-template.md` when new `<small><sub>=== ... ===</</sub></small>` sections are added; the template’s initial file list was also repaired (two missing files documented with reading guidance). - **issue -3893** ? The client-side decomposition file list is no longer hard-coded: it is derived from the template’s own `<small><sub>=== ... ===</sub></small>` section markers (15 files in template order for the current template). - **issue -3894** ? Clicking "Start processing the tasks" in Wf S3 creates the input file again ? awaited and hard-gated before the prompt is copied to the clipboard and step 4 starts, with explicit success/error feedback. Round-trip verified by Node tests against the real template; all 14 bundle inputs pass `node --check`; `dashboard.min.js` regenerated with the full bundle list.