authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-10 16:21:28-07:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-10 16:21:28-07:00
log065ef922bdd29693738cd72f6e5e737bd93133f8
tree1a856d14a12a49848290a96619c64922c08b4733
parent7d115334902046e42e843779f91e275ff1c96a27

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

2 files changed, 2 insertions(+), 1 deletions(-)

AGENTS.md+1-1
...@@ -2,7 +2,7 @@...@@ -2,7 +2,7 @@
22
3## Task Completion Requirements3## Task Completion Requirements
44
5- Both `bun lint` and `bun typecheck` must pass before considering tasks completed.5- All of `bun fmt`, `bun lint`, and `bun typecheck` must pass before considering tasks completed.
6- NEVER run `bun test`. Always use `bun run test` (runs Vitest).6- NEVER run `bun test`. Always use `bun run test` (runs Vitest).
77
8## Project Snapshot8## Project Snapshot
apps/web/src/main.tsx+1
...@@ -10,6 +10,7 @@ import { isElectron } from "./env";...@@ -10,6 +10,7 @@ import { isElectron } from "./env";
10import { getRouter } from "./router";10import { getRouter } from "./router";
11import { APP_DISPLAY_NAME } from "./branding";11import { APP_DISPLAY_NAME } from "./branding";
1212
13// Electron loads the app from a file-backed shell, so hash history avoids path resolution issues.
13const history = isElectron ? createHashHistory() : createBrowserHistory();14const history = isElectron ? createHashHistory() : createBrowserHistory();
1415
15const router = getRouter(history);16const router = getRouter(history);