Files
skylartaylor 3a50341d0a nightly: add the isolated EffectCraft Nightly flavor (dormant)
Give EffectCraft the same isolated Nightly channel PhotoCraft has, switched off.

- Launch profile: `--launch-profile nightly-v1 --profile-root <abs> -- [files…]`, with the
  Launcher's version query (`--version`, `-V`) answered before logging, the crash helper, fonts
  or any settings, and `--launch-profile`/`--profile-root` refused by `effectcraft-cli`.
- Build channel: `EFFECTCRAFT_BUILD_CHANNEL=nightly-v1` compiles the flavor, requires the
  prepared `EFFECTCRAFT_VERSION`/`_BUILD_SHA`/`_BUILD_DATE` identity, bakes it in, and sets the
  nightly icon, `ProductName "EffectCraft Nightly"` and the exact `ProductVersion`.
- Private data root: one validated profile root overrides every data root — settings, logs,
  crash reports, plug-ins, presets, window state, recovery sentinel and the disk/media caches —
  fencing stable's folders, the install, portable layouts, `EFFECTCRAFT_CONFIG_DIR` and
  `FLATPAK_ID`, and refusing aliases that leave the profile.
- Session health: a private lease and unclean-exit record, finished once in `on_exit` (macOS)
  and after the event loop.
- Nightly packaging: `packaging/windows/nightly.ps1` plus the `package.ps1 -Nightly/-BuildOnly`
  hook and `sign.ps1 -Required/-CheckOnly/-CheckBuildEnvironment`; `packaging/macos/nightly{,-lib,-sign,-verify}.sh`
  and the plist writer; `packaging/linux/nightly.sh`; the shared `nightly-common.sh`, helpers and
  the four synthetic suites.
- Dormant callers and policy template as in PhotoCraft #16459: `nightly.yml`, `nightly-sign.yml`,
  `nightly-dispatch.yml`, `nightly-macos.yml`, actionlint config, the public Linux key, the
  example policy, the preparation doc and the packaging-lint source-contract job. Every nightly
  job is literally off (`false &&`), there is no schedule and no installed policy.
- Art: nightly icon derivatives (deeper background, unchanged figure and padding), their
  provenance, attribution sidecars and `ATTRIBUTION.md` rows.
- `sonar-project.properties` now states `sonar.sources=.` beside `sonar.tests`, so enabling the
  packaging fixtures cannot silently drop the production code from Sonar.
2026-11-24 23:11:21 +01:00
..

Windows packaging

See installation policy checks for the installer scope and path gates.

Nightly build and signing boundary

package.ps1 -Arch x64 -Nightly -BuildOnly is for the secret-free compilation job. It refuses signing credential variables and builds the GUI only, without CLI, portable marker, installer or associations. Its *-nightly.unsigned.zip is an internal intermediate, not the final feed artifact. There is no unsigned publication switch.

The separate trusted producer signing job safely unpacks that new intermediate, checks its exact identity/inventory, then invokes the existing backend:

pwsh packaging/windows/sign.ps1 -Required -CheckOnly
pwsh packaging/windows/sign.ps1 -Required -Files <stage>/effectcraft.exe

Missing or partial configuration fails. -Required verifies Authenticode and a signer certificate after the existing signtool verification. Stable local packaging keeps its existing optional-signing policy. The producer independently verifies the final signature, PE identity and inventory before archiving under the normal feed filename, and refuses to overwrite prepared outputs. It never executes the payload in the signing step. Real keys belong only to that step, not compilation. These interfaces do not configure or grant access to keys.

The signing-policy fixtures use generated dummy values and a mocked compiler boundary; they do not prove real certificate signing or release readiness.