The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(repo): contributor and desktop dev docs stop suggesting /tmp
teknium10d3fe24dce95
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 01eaa0f98bf..176faa054b7 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -607,7 +607,7 @@ Every new or modernized skill — bundled, optional, or contributed — must meeIf the skill depends on an MCP server, name the MCP server and document its setup in `## Prerequisites`. Third-party CLIs (e.g. `ffmpeg`, `gh`, a specific SDK) are fine to invoke from inside script files, but the prose should frame the interaction as "invoke through the `terminal` tool", not as a manual shell session.-3. **`platforms:` gating audited against actual script imports.** Skills that use POSIX-only primitives (`fcntl`, `termios`, `os.setsid`, `os.kill(pid, 0)` for liveness, `/proc`, hardcoded `/tmp` paths, `signal.SIGKILL`, bash heredocs, `osascript`, `apt`, `systemctl`) must declare their supported platforms via the `platforms:` frontmatter. Default posture is to fix it cross-platform first — `tempfile.gettempdir()`, `pathlib.Path`, `psutil.pid_exists()`, Python-level filtering instead of `grep`. Gate to a narrower set only when the dependency is genuinely platform-bound (e.g. `osascript` is macOS-only, `/proc` is Linux-only).+3. **`platforms:` gating audited against actual script imports.** Skills that use POSIX-only primitives (`fcntl`, `termios`, `os.setsid`, `os.kill(pid, 0)` for liveness, `/proc`, hardcoded `/tmp` paths, `signal.SIGKILL`, bash heredocs, `osascript`, `apt`, `systemctl`) must declare their supported platforms via the `platforms:` frontmatter. Default posture is to fix it cross-platform first — `tempfile.gettempdir()`, `pathlib.Path`, `psutil.pid_exists()`, Python-level filtering instead of `grep`. Gate to a narrower set only when the dependency is genuinely platform-bound (e.g. `osascript` is macOS-only, `/proc` is Linux-only). <!-- no-tmp: ok — names the POSIX-only anti-pattern reviewers look for -->4. **`author` credits the human contributor first.** For external contributions, the contributor's real name + GitHub handle goes first (`Jane Doe (jane-doe)`); "Hermes Agent" is the secondary collaborator. If the contributor's commit shows "Hermes Agent" as author because they used Hermes to draft the skill, replace it with their actual name — credit the human, not the tool.diff --git a/apps/desktop/README.md b/apps/desktop/README.mdindex 165cb36b1d8..09a0aa98ed9 100644--- a/apps/desktop/README.md+++ b/apps/desktop/README.md@@ -86,7 +86,7 @@ Point the app at a specific source checkout, or sandbox it away from your real c# throwaway HERMES_HOME, separate Electron userData, distinct app name to avoid the single-instance lock../scripts/dev-sandbox.sh npm run devHERMES_DESKTOP_HERMES_ROOT=/path/to/clone npm run dev-HERMES_HOME=/tmp/throwaway npm run dev+HERMES_HOME=$HOME/.hermes/cache/scratch/throwaway npm run devnpm run dev:fake-boot # exercise the startup overlay with deterministic delays```diff --git a/apps/desktop/scripts/perf/README.md b/apps/desktop/scripts/perf/README.mdindex b2b394aa99b..030f10cac90 100644--- a/apps/desktop/scripts/perf/README.md+++ b/apps/desktop/scripts/perf/README.md@@ -29,9 +29,9 @@ npm run perf -- cold-start stream keystroke transcript --spawn --prod --update-b## Profiling an existing workspace```bash-node scripts/perf/run.mjs live-window --seconds 15 --json /tmp/live-window.json+node scripts/perf/run.mjs live-window --seconds 15 --json ~/.hermes/cache/scratch/live-window.json# Attribution is a separate pass, not an FPS comparison:-node scripts/perf/run.mjs live-window --seconds 10 --cpuprofile /tmp+node scripts/perf/run.mjs live-window --seconds 10 --cpuprofile ~/.hermes/cache/scratch````live-window` never opens/closes tabs, seeds messages, moves focus, or forces GC.diff --git a/apps/desktop/scripts/profile-typing-lag.md b/apps/desktop/scripts/profile-typing-lag.mdindex 85ee84bba63..bc1413a69fb 100644--- a/apps/desktop/scripts/profile-typing-lag.md+++ b/apps/desktop/scripts/profile-typing-lag.md@@ -101,10 +101,10 @@ you can do a comparison diff in Chrome DevTools Memory tab.```bashnode apps/desktop/scripts/profile-typing.mjs \- --chars=400 --cps=30 --out=/tmp/hermes-typing-# → /tmp/hermes-typing.cpuprofile (open in Chrome DevTools Performance)-# → /tmp/hermes-typing.before.heapsnapshot-# → /tmp/hermes-typing.after.heapsnapshot+ --chars=400 --cps=30 --out=$HOME/.hermes/cache/scratch/hermes-typing+# → ~/.hermes/cache/scratch/hermes-typing.cpuprofile (open in Chrome DevTools Performance)+# → ~/.hermes/cache/scratch/hermes-typing.before.heapsnapshot+# → ~/.hermes/cache/scratch/hermes-typing.after.heapsnapshot```Loading the cpuprofile: Chrome DevTools → Performance tab → drag the file