Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

feat(mobile): put the DEBUG ribbon back on debug builds

bubu-duduae91c210501d
diff --git a/mobile/lib/app_shell.dart b/mobile/lib/app_shell.dart
index c0ea4f1cb..b61cdd1ff 100644
--- a/mobile/lib/app_shell.dart
+++ b/mobile/lib/app_shell.dart
@@ -108,7 +108,12 @@ class HarnessApp extends StatelessWidget {
);
return MaterialApp(
title: 'Harness',
- debugShowCheckedModeBanner: false,
+ // The corner ribbon stays. A phone carries both builds under one icon and
+ // one name, and telling them apart otherwise means reading `dumpsys` over
+ // a cable — by which point a bug has already been reported against the
+ // wrong build. Flutter draws it in DEBUG ONLY, so a release ships clean
+ // without anyone having to remember to switch this back.
+ debugShowCheckedModeBanner: true,
// The design system's own `buildAppTheme` — see the note where a second,
// hand-written `ThemeData` used to shadow it, in `lib/theme/app_theme.dart`.
// Harness Desktop is dark-only: one theme, no `darkTheme`/`themeMode` to