acdream/src
Erik e1e94697b2 fix(launcher): co-deploy acdream-bake on Build and write a crash report (#398)
Two gaps found launching the launcher for the LA11 gate.

1. acdream-bake was co-deployed only AfterTargets=Publish with a RID, so a
   plain `dotnet build` left the launcher with no bake tool beside it while
   App.OnFrameworkInitializationCompleted resolves it at
   AppContext.BaseDirectory/acdream-bake[.exe]. A developer-built launcher
   therefore reached the first-run wizard with an installer it could never
   run. CoDeployBakeToolToBuildOutput does for Build what the publish target
   does for Publish: still NO Launcher -> Bake project reference, still a
   self-contained single file so exactly one file lands beside the launcher
   rather than scattering Content/Chorizite assemblies into its output.
   Staged through obj/ because publishing straight into the launcher output
   makes the inner publish delete what the outer build just wrote.
   Inputs/Outputs keep it incremental - verified: 79.6 MB bake exe present,
   --help exits 0, and a second build skips the republish in ~1 s.

2. #398: the top-level guard printed only ex.Message, so the crash that
   preceded this commit surfaced with no file, line, or frame. The full
   exception now goes to a crash-reports file under the resolved data root
   and stderr names the path. The first implementation wrote to the machine
   real data root when option parsing itself failed, which broke LA11 process
   local roots during an isolated run; the reporter now reads --data-dir
   positionally for that fallback. Verified: report lands inside the isolated
   root and the real root stays empty.

The redaction comment states exactly what is guaranteed - args/environment
are never serialized, while exception text may quote an option name or path,
which is safe only because credentials never enter launcher state.

Launcher.Core 317/317 green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-15 07:42:29 +02:00
..
AcDream.App merge: Campaign LA LA8 - retail character screen review-closed 2026-08-14 21:16:25 +02:00
AcDream.Bake fix(launcher): guard orphan bake publication 2026-08-14 21:02:27 +02:00
AcDream.Cli perf(diag): complete trustworthy Slice A capture tooling 2026-07-24 12:46:51 +02:00
AcDream.Content fix(physics): S2 — static publication emits authored Spheres as Spheres (AP-155 narrowed) 2026-08-07 08:07:02 +02:00
AcDream.Core fix(plugins): close LA5 ownership races 2026-08-14 19:28:14 +02:00
AcDream.Core.Net fix(runtime): close Campaign LA7b review findings 2026-08-14 18:55:48 +02:00
AcDream.Headless fix(headless): route wire-only chat commands 2026-08-14 20:47:06 +02:00
AcDream.Launcher fix(launcher): co-deploy acdream-bake on Build and write a crash report (#398) 2026-08-15 07:42:29 +02:00
AcDream.Launcher.Core fix(launcher): harden Campaign LA11 gate evidence 2026-08-15 01:08:41 +02:00
AcDream.Platform fix(launcher): guard orphan bake publication 2026-08-14 21:02:27 +02:00
AcDream.Plugin.Abstractions fix(plugins): close LA5 host lifecycle review 2026-08-14 19:05:13 +02:00
AcDream.Plugins.Smoke feat(app): wire IGameState+IEvents into Program and SmokePlugin 2026-04-10 20:31:50 +02:00
AcDream.Runtime feat(runtime): share chat commands and run login sequence 2026-08-14 20:27:45 +02:00
AcDream.UI.Abstractions feat(runtime): share chat commands and run login sequence 2026-08-14 20:27:45 +02:00