Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

Auto-fix formatting issues

GitHub Actionde3919384136
diff --git a/.agents/skills/bugs/SKILL.md b/.agents/skills/bugs/SKILL.md
index e8682928..45ce1e57 100644
--- a/.agents/skills/bugs/SKILL.md
+++ b/.agents/skills/bugs/SKILL.md
@@ -22,17 +22,17 @@ Aim it at a boundary, not at a file.
Name the area and the depth. A whole-repo sweep with no budget produces speculation; pick one hotspot and go deep. Start from the Hotspot Map in `AGENTS.md` (Current Risk Areas + table below) rather than inventing a scope.
-| Hotspot | Primary paths | Locked tests (examples) |
-| -------------------------- | -------------------------------------------------------- | -------------------------------------------------------------------------------- |
-| Link / download heuristics | `src-tauri/src/inject/event.js` | `event-link-guard.test.js`, `download-http-status.test.ts` |
-| Download success semantics | `src-tauri/src/app/invoke.rs`, `window.rs` `on_download` | `download-http-status.test.ts` |
-| Menu / focused window | `src-tauri/src/app/menu.rs` | `menu-focused-window.test.ts` |
-| Startup visibility | `src-tauri/src/lib.rs`, `setup.rs` | `startup-window-reveal.test.ts` |
-| Auth / popup | `inject/auth.js`, `inject/event.js` | `auth-sso-patterns.test.js`, `new-window-macos.test.js` |
-| Clipboard | `inject/event.js` | `event-clipboard-shortcuts.test.js` |
-| Multi-window / icon | `window.rs`, `setup.rs` | `window-icon-reapply.test.ts`, `startup-window-reveal.test.ts` |
-| Platform fake capability | `cert.rs`, proxy, WebKit flags in `lib.rs` | `macos-proxy-feature.test.ts`, Linux flag unit tests |
-| CLI / config contract | `bin/`, `schema/pake.schema.json` | `config-file.test.ts`, `cli-options.test.ts` |
+| Hotspot | Primary paths | Locked tests (examples) |
+| -------------------------- | -------------------------------------------------------- | -------------------------------------------------------------- |
+| Link / download heuristics | `src-tauri/src/inject/event.js` | `event-link-guard.test.js`, `download-http-status.test.ts` |
+| Download success semantics | `src-tauri/src/app/invoke.rs`, `window.rs` `on_download` | `download-http-status.test.ts` |
+| Menu / focused window | `src-tauri/src/app/menu.rs` | `menu-focused-window.test.ts` |
+| Startup visibility | `src-tauri/src/lib.rs`, `setup.rs` | `startup-window-reveal.test.ts` |
+| Auth / popup | `inject/auth.js`, `inject/event.js` | `auth-sso-patterns.test.js`, `new-window-macos.test.js` |
+| Clipboard | `inject/event.js` | `event-clipboard-shortcuts.test.js` |
+| Multi-window / icon | `window.rs`, `setup.rs` | `window-icon-reapply.test.ts`, `startup-window-reveal.test.ts` |
+| Platform fake capability | `cert.rs`, proxy, WebKit flags in `lib.rs` | `macos-proxy-feature.test.ts`, Linux flag unit tests |
+| CLI / config contract | `bin/`, `schema/pake.schema.json` | `config-file.test.ts`, `cli-options.test.ts` |
The AGENTS.md Hotspot Map third column is regression risk, not an open-bug list. Confirm against Current Risk Areas and the tests above before treating a row as a live defect.
diff --git a/AGENTS.md b/AGENTS.md
index 734e3d9f..26268134 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -76,17 +76,17 @@ Goals and project facts only; trust the agent to find its own path.
Proactive latent-bug sweeps use `.agents/skills/bugs/SKILL.md`. Pick one row and go deep; do not invent a whole-repo scope. The third column is **historical failure modes / regression risks**, not a claim that the tree is broken today. Prefer the matching Current Risk Areas invariant when judging a change.
-| Hotspot | Paths | Regression risk if reintroduced |
-| -------------------------- | -------------------------------------- | -------------------------------------------------------------------------------------------- |
-| Link / download heuristics | `src-tauri/src/inject/event.js` | SPA routes or Cmd/Ctrl+click treated as downloads; path roots too broad |
-| Download success semantics | `invoke.rs`, `window.rs` `on_download` | Non-2xx toasted as success; toast/IPC hardcoded to `"pake"`; request drops session cookies |
-| Menu / focused window | `menu.rs` | Commands hit the main window, not the focused one; eval dead on error pages |
-| Startup visibility | `lib.rs`, `setup.rs` | Blank shell, `about:blank` false ready, user hide racing fallback reveal |
-| Auth / popup | `auth.js`, `event.js` | macOS auth crash, SSO in system browser, Apple popup exception |
-| Clipboard | `event.js` | keydown steals native paste; double-paste fallback |
-| Multi-window / icon | `window.rs`, `setup.rs` | Missing `reapply_window_icon` on show; secondary window toast/target; Cmd+N blank flash |
-| Platform capability | `cert.rs`, proxy, WebKit flags | Flag name present, platform no-op |
-| CLI / config contract | `bin/`, `schema/` | Config smuggles out-of-range values CLI rejects |
+| Hotspot | Paths | Regression risk if reintroduced |
+| -------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------ |
+| Link / download heuristics | `src-tauri/src/inject/event.js` | SPA routes or Cmd/Ctrl+click treated as downloads; path roots too broad |
+| Download success semantics | `invoke.rs`, `window.rs` `on_download` | Non-2xx toasted as success; toast/IPC hardcoded to `"pake"`; request drops session cookies |
+| Menu / focused window | `menu.rs` | Commands hit the main window, not the focused one; eval dead on error pages |
+| Startup visibility | `lib.rs`, `setup.rs` | Blank shell, `about:blank` false ready, user hide racing fallback reveal |
+| Auth / popup | `auth.js`, `event.js` | macOS auth crash, SSO in system browser, Apple popup exception |
+| Clipboard | `event.js` | keydown steals native paste; double-paste fallback |
+| Multi-window / icon | `window.rs`, `setup.rs` | Missing `reapply_window_icon` on show; secondary window toast/target; Cmd+N blank flash |
+| Platform capability | `cert.rs`, proxy, WebKit flags | Flag name present, platform no-op |
+| CLI / config contract | `bin/`, `schema/` | Config smuggles out-of-range values CLI rejects |
## Current Risk Areas