| author | |
| committer | |
| log | 065ef922bdd29693738cd72f6e5e737bd93133f8 |
| tree | 1a856d14a12a49848290a96619c64922c08b4733 |
| parent | 7d115334902046e42e843779f91e275ff1c96a27 |
- Update AGENTS.md task completion requirements to include `bun fmt`
- Add an inline note explaining why Electron uses hash history2 files changed, 2 insertions(+), 1 deletions(-)
AGENTS.md+1-1| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | ||
| 3 | ## Task Completion Requirements | 3 | ## Task Completion Requirements |
| 4 | 4 | ||
| 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). |
| 7 | 7 | ||
| 8 | ## Project Snapshot | 8 | ## Project Snapshot |
apps/web/src/main.tsx+1| ... | @@ -10,6 +10,7 @@ import { isElectron } from "./env"; | ... | @@ -10,6 +10,7 @@ import { isElectron } from "./env"; |
| 10 | import { getRouter } from "./router"; | 10 | import { getRouter } from "./router"; |
| 11 | import { APP_DISPLAY_NAME } from "./branding"; | 11 | import { APP_DISPLAY_NAME } from "./branding"; |
| 12 | 12 | ||
| 13 | // Electron loads the app from a file-backed shell, so hash history avoids path resolution issues. | ||
| 13 | const history = isElectron ? createHashHistory() : createBrowserHistory(); | 14 | const history = isElectron ? createHashHistory() : createBrowserHistory(); |
| 14 | 15 | ||
| 15 | const router = getRouter(history); | 16 | const router = getRouter(history); |