pvsyst_update_project_parameters
Edits an existing PVsyst project's display title while preserving PRJ/VC filenames; preview changes with dry_run before writing.
Instructions
[Projects & Variants] Edit an existing project's display title only, preserving its PRJ/VC filenames. project_name requires a strict string of 1..80 printable UTF-8 bytes without controls/surrounding whitespace. Requires one existing owning header Comment, complete recognized PRJ object syntax and the full hash map from inspect_project. No blank name field/default is invented. dry_run returns the full candidate file map and diff without backups/writes; repeated names are no-ops. Non-ASCII names require UTF-8 BOM: existing BOM is preserved, adding one needs explicit add_utf8_bom=true. This changes UTF-8 decoding for the whole PRJ, not merely the title; bom_added is explicit even in a BOM-only transaction. Only changed PRJ bytes are replaced; unchanged VC bytes/timestamps/file IDs stay intact. Full-project snapshots and final file-set guards are reused. Restore using restore_project_sources with the returned backups/files map. Does not rename IDs, change sources, nested names, physical settings or VC names. This is the GUI project-name field, not its filename-based window caption. Close a loaded GUI project before editing its file; inspect again after GUI saves. The 1..80-byte limit is the verified adapter contract, not a native GUI limit. BOM-less UTF-8 inspection reads raw text, not effective GUI/CLI decoding. This is optimistic conflict checking, not cross-process locking/crash atomicity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| project | Yes | ||
| add_utf8_bom | No | ||
| project_name | Yes | ||
| expected_files | Yes |