mchusandClaude Opus 4.8 3ed826aeb7 fix(cli): route bee run scenarios through App so blackbox mirrors them
`bee run <scenario>` called platform.System.RunScenario directly with an
empty base dir, which defaults to /var/log/bee-sat — a tree the blackbox
worker does not mirror (it mirrors DefaultExportDir, /appdata/bee/export).
So a scenario launched from the CLI wrote its logs where blackbox never
looked: the sync-bracket hooks fired and flushed the export dir, but the
scenario's own output never reached the USB stick. The web-UI path was
unaffected because it goes through App.RunScenario, which defaults the base
dir to DefaultSATBaseDir (under the export dir).

Route the CLI through App.RunScenario too — matching the doc comment that
already claimed both paths did — so `bee run` output lands under the mirrored
export tree and shows up in the blackbox capture.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-29 13:45:34 +03:00
2026-07-01 14:56:07 +03:00
2026-07-01 14:56:07 +03:00
S
Description
No description provided
136 MiB
Languages
Go 85.3%
Shell 12%
C++ 2.4%
C 0.2%