Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ There is no label or bypass for any of them; when a gate is wrong, change the ga
| `cargo test` | The core's behavior including its Herdr fixtures, hided handshake and state-file rules, the `hide-ai` router and codex backend against a fake app server, the context-label plugin, and the agent-hook crate's configuration rules | `bash scripts/verify-cargo.sh test` | Fix the test or the code. A fixture that no longer matches Herdr means the pin moved; see `AGENTS.md`, Herdr API Contract. |
| hcoord typecheck/build/unit/e2e | The standalone plugin preserves its CLI and ledger contract, converges daemon ownership, writes portable lineage tokens, and keeps remote operations bounded and recoverable | `pnpm --dir plugins/hcoord typecheck && pnpm --dir plugins/hcoord build && pnpm --dir plugins/hcoord test && pnpm --dir plugins/hcoord test:e2e` (also part of `bash scripts/verify-web.sh`) | Fix the plugin or its isolated fixture. Never point the suite at the operator's live hcoord home or Herdr socket. |
| web typecheck/lint/test/build/e2e | The web shell's store merge and structural sharing, modifier-key bytes, connection machine, shortcut registry, close policy, resize math, project projection and registration checks, and Playwright against hided: the missing-socket row, the refused token, the sidebar click -> pane switch -> echo flow, and the S2 flow (two checkouts, three tabs, two splits, zoom, reorder, closes, the ⌘/ sheet, a socket drop, one registration and its refusals) and the S3 flow (the Explorer tree, a Git-decorated row, editor open/edit/save/conflict, Markdown Live, image/PDF/video viewers, create/rename/move/trash, a watch refresh, ⌘P/⌘K, a file drop, a buffer reconnect) on an isolated pinned Herdr | `bash scripts/verify-web.sh` (typecheck, lint, test and build for both `web/` and `desktop/`), then `pnpm --dir web e2e` | Fix the test or the code. e2e builds `web/dist`, needs `target/debug/hided` (`cargo build -p hided` first; the e2e never rebuilds it), the pinned `herdr` (`HIDE_E2E_HERDR_BIN`, `HERDR_BIN_PATH` or PATH) and `cc` for the fake agent. |
| desktop typecheck/lint/test/e2e | The desktop app's CLI resolution order and answer parsing, window-bounds restore, the menu built from the registry's Electron column, the environment registry, the one-child spawn helper, and Playwright `_electron` against a private hided and pinned Herdr: attach and the shell, the native chords and a menu click as one `create_tab` each, the ⌘/ sheet's Electron chords, external links, quit leaving hided running, a second launch, a focus guard that fails any test not tagged `@needs-focus` whose app comes forward, the missing-CLI screen and Retry, finding `hide` with PATH lacking it in `~/.local/bin` and then through the remembered path, and re-attaching after the daemon dies | `bash scripts/verify-web.sh`, then `pnpm --dir desktop e2e` | Fix the test or the code. e2e needs `web/dist`, `target/debug/hide` and `hided`, and the pinned `herdr` as the web e2e does; it never touches the operator's daemon. |
| desktop typecheck/lint/test/e2e | The desktop app's CLI resolution order and answer parsing, window-bounds restore, the menu built from the registry's Electron column, the environment registry, the one-child spawn helper, and Playwright `_electron` against a private hided and pinned Herdr: attach and the shell, the native chords and a menu click as one `create_tab` each, the ⌘/ sheet's Electron chords, external links, terminal links (a URL, a file at its line and a folder opened in the Workspace, ⌘-click and an outside path handed to macOS with a program there only revealed, OSC 8 links with no dialog, a wrapped path, a drag that selects rather than opens), quit leaving hided running, a second launch, a focus guard that fails any test not tagged `@needs-focus` whose app comes forward, the missing-CLI screen and Retry, finding `hide` with PATH lacking it in `~/.local/bin` and then through the remembered path, and re-attaching after the daemon dies | `bash scripts/verify-web.sh`, then `pnpm --dir desktop e2e` | Fix the test or the code. e2e needs `web/dist`, `target/debug/hide` and `hided`, and the pinned `herdr` as the web e2e does; it never touches the operator's daemon. |
| harness ignore anchor | `/agents/` is ignored and `.claude/agents/` is not | `bash scripts/check-harness-ignore-anchor.sh` | Keep the leading slash on the ignore rule. |
| agent asset committed | The simplification subagent stays a tracked file | `bash scripts/check-agent-asset-committed.sh` | `git add` it; it once became uncommittable through an unanchored ignore rule. |
| capability readers off lock | No production code forks a subprocess while the runtime mutex is held, and every production reader runs from the session-sync coordinator; inline test modules are excluded | `bash scripts/check-capability-readers-off-lock.sh` | Move the subprocess to a reader driven by the coordinator; see `AGENTS.md`, Performance Guide. |
Expand Down
2 changes: 1 addition & 1 deletion desktop/e2e/desktop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ test("attach: the app starts hided, shows the shell, and runs the native chords
bridge: Object.keys(window.hideHost ?? {}).sort(),
kind: window.hideHost?.kind,
})),
).toEqual({ require: "undefined", process: "undefined", bridge: ["browser", "kind", "onCommand", "pickFolder", "reportBindings", "revealPath"], kind: "electron" });
).toEqual({ require: "undefined", process: "undefined", bridge: ["browser", "kind", "onCommand", "openPath", "pickFolder", "probePaths", "reportBindings", "revealPath"], kind: "electron" });

// B9: ⌘T is one create_tab here; the browser's ⌥T is not a chord in the app.
const tabs = await page.locator("[role=tab]").count();
Expand Down
Loading
Loading