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.

docs: fix references to risk areas moved out of the guide

Tw93522e681dfb0d
diff --git a/.github/workflows/quality-and-test.yml b/.github/workflows/quality-and-test.yml
index d9338ed4..5e4ef20a 100644
--- a/.github/workflows/quality-and-test.yml
+++ b/.github/workflows/quality-and-test.yml
@@ -7,7 +7,7 @@ on:
# which the vitest ledger check reads), images, contributors and agent or
# plugin files. Formatting runs in update-contributors.yml on every push,
# docs included. A release or npm publish that targets a docs-only commit
- # dispatches this workflow, which ignores paths (see AGENTS.md).
+ # dispatches this workflow, which ignores paths (see .claude/rules/ci.md).
paths: ["**", "!**.md", "docs/incidents.md", "!CONTRIBUTORS.svg", "!assets/**", "!LICENSE*", "!.agents/**", "!.claude/**", "!.claude-plugin/**", "!plugins/**"]
pull_request:
branches: [main, dev]
diff --git a/AGENTS.md b/AGENTS.md
index 5a10cace..396e303f 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -45,7 +45,7 @@
## Review Hard Stops
-Beyond the rebuild, version-sync, surface, CLI-flag, WebKit, and popup-routing invariants in this file and `.claude/rules/rust.md`, a review blocks on:
+Beyond the rebuild, version-sync, surface, CLI-flag, WebKit, and popup-routing invariants in this file and `.claude/rules/`, a review blocks on:
- npm release workflow changes that drop Trusted Publishing: `.github/workflows/npm-publish.yml`, `id-token: write`, canonical `git+https://github.com/tw93/Pake.git`, and `scripts/check-release-version.mjs` must survive.
- A new helper in `bin/utils/` or `bin/helpers/` without a matching `tests/unit/<basename>.test.ts`.
@@ -53,7 +53,7 @@ Beyond the rebuild, version-sync, surface, CLI-flag, WebKit, and popup-routing i
## Hotspot Map
-For proactive latent-bug sweeps, 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.
+For proactive latent-bug sweeps, 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 risk areas in `.claude/rules/` invariant when judging a change.
| Hotspot | Paths | Regression risk if reintroduced |
| -------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------ |
@@ -69,7 +69,7 @@ For proactive latent-bug sweeps, pick one row and go deep; do not invent a whole
Oracles per row live under `tests/unit/` (for example `event-link-guard.test.js`, `download-http-status.test.ts`, `menu-focused-window.test.ts`, `startup-window-reveal.test.ts`, `window-icon-reapply.test.ts`); Linux WebKit flag decisions are covered by the `dmabuf_renderer_*` and `legacy_x11_*` `cargo test` cases in `src-tauri/src/lib.rs`.
-## Current Risk Areas
+## risk areas in `.claude/rules/`
- Release state can be split. npm Trusted Publishing can succeed before the popular-app release workflow finishes, and GitHub Release assets can exist while a workflow run still shows queued or in progress. Report each surface explicitly.
- Local app builds and test runs mutate tracked files as build state: `src-tauri/pake.json`, `src-tauri/tauri.conf.json`, `src-tauri/tauri.macos.conf.json`, and regenerated icons under `src-tauri/png/` and `src-tauri/icons/`. Record `git status --short` for these paths before running the command. Afterwards, restore only paths that were clean in that baseline and whose new diff is provably generated by this run. If a path was already dirty or ownership is ambiguous, leave it untouched and rerun verification in an isolated worktree; never let a feature or release commit absorb this churn.