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: dedupe agent guidance against AGENTS.md

Tw93f5f0c9713b27
diff --git a/.agents/skills/github-ops/SKILL.md b/.agents/skills/github-ops/SKILL.md
index 640fc550..8c186112 100644
--- a/.agents/skills/github-ops/SKILL.md
+++ b/.agents/skills/github-ops/SKILL.md
@@ -27,7 +27,6 @@ Always use `gh` CLI and query live state before acting. Never assume state from
1. **ALWAYS** draft the reply first and show it to the user for approval before calling any write operation (`gh issue comment`, `gh pr comment`, `gh pr merge`, `gh issue close`, `gh release create`, etc.). Approval of one draft does not extend to future comments.
2. **NEVER** merge, close, or modify without explicit user request.
-3. **ALWAYS** query current state before taking action — never assume.
-4. Before replying to an issue or PR, read the body to confirm the author's language; match their language in the reply. This applies to the author, not to arbitrary thread commenters.
-5. Before replying that a CLI fix is released, verify the exact artifact with `npm view pake-cli@<version> version gitHead dist.tarball --json` and confirm `gitHead` contains the fix. Check `npm view pake-cli version` separately for the `latest` pointer. For app releases, use `gh release view <tag> --json assets`.
-6. Before closing an issue after release, confirm the target with `gh issue view <id> --json number,title,state,author,url` and include the concrete version or upgrade command in the comment.
+3. Before replying to an issue or PR, read the body to confirm the author's language; match their language in the reply. This applies to the author, not to arbitrary thread commenters.
+4. Before replying that a CLI fix is released, verify the exact artifact with `npm view pake-cli@<version> version gitHead dist.tarball --json` and confirm `gitHead` contains the fix. Check `npm view pake-cli version` separately for the `latest` pointer. For app releases, use `gh release view <tag> --json assets`.
+5. Before closing an issue after release, confirm the target with `gh issue view <id> --json number,title,state,author,url` and include the concrete version or upgrade command in the comment.
diff --git a/.claude/rules/rust.md b/.claude/rules/rust.md
index 548de25d..6522d222 100644
--- a/.claude/rules/rust.md
+++ b/.claude/rules/rust.md
@@ -1,6 +1,6 @@
# Pake Rust + Tauri Rules
-> Pake-specific Rust + Tauri rules. Standard Rust hygiene is assumed: `?` over `unwrap()`, `cargo clippy` clean, `cargo fmt` before commit. The `dist/cli.js` rebuild rule and CN mirror policy live in AGENTS.md (Current Risk Areas / Network Mirror Behavior) and are not repeated here.
+> Pake-specific Rust + Tauri rules. Standard Rust hygiene is assumed: `?` over `unwrap()`, `cargo clippy` clean, `cargo fmt` before commit. The `dist/cli.js` rebuild rule, CN mirror policy, and platform-sensitivity rules (Linux/Wayland WebKit compositing, AppImage warning noise, `--incognito`, embedded-WebView OAuth) live in AGENTS.md (Current Risk Areas / Network Mirror Behavior) and are not repeated here.
## Pake-Specific
@@ -20,11 +20,3 @@
### Tauri trust boundary
- Packaged remote pages are untrusted. Validate semantic bounds for every `#[tauri::command]` input, keep remote capabilities limited to the exact operations required, and keep long-running IPC asynchronous so page code cannot block the app loop.
-
-### Platform sensitivity
-
-- WebKit compositing on Linux/Wayland is platform-sensitive. Don't change defaults without testing on the affected platform or documenting the risk.
-- Linux WebKit runtime flags live in `src-tauri/src/lib.rs`. Keep the default conservative; compositor-specific exceptions need unit tests for the decision function and FAQ guidance for users.
-- AppImage logs often contain optional GTK, appindicator, or GStreamer warnings. Do not treat those warnings as the root cause unless the user-visible symptom and target path confirm it.
-- `--incognito` trades persistence for clean private sessions; be deliberate around login / cookies / local storage / embedded-WebView detection.
-- Google OAuth and other embedded-WebView restrictions may still apply even with `--new-window` / `--multi-window`.