Require bun fmt for completion and clarify Electron history

- Update AGENTS.md task completion requirements to include `bun fmt`
- Add an inline note explaining why Electron uses hash history
This commit is contained in:
Julius Marminge committed 2026-03-10 16:21:28 -07:00
1 parent 7d11533490
commit 065ef922bd
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
## Task Completion Requirements
- Both `bun lint` and `bun typecheck` must pass before considering tasks completed.
- All of `bun fmt`, `bun lint`, and `bun typecheck` must pass before considering tasks completed.
- NEVER run `bun test`. Always use `bun run test` (runs Vitest).
## Project Snapshot
+1
View File
@@ -10,6 +10,7 @@ import { isElectron } from "./env";
import { getRouter } from "./router";
import { APP_DISPLAY_NAME } from "./branding";
// Electron loads the app from a file-backed shell, so hash history avoids path resolution issues.
const history = isElectron ? createHashHistory() : createBrowserHistory();
const router = getRouter(history);