Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2b6f452
Add the S2 PRD: tabs, splits, zoom, checkout switching, and the short…
yansfil Sep 21, 2026
92e9cbb
hided: enforce the $HOME boundary on listing and registration paths
yansfil Sep 21, 2026
d597086
hided: let a listing start at ~ so the client learns the home path
yansfil Sep 21, 2026
33cf10c
web: draw the visible tab's projection tree with one xterm per pane
yansfil Sep 21, 2026
93d5f92
web: tab bar with drag reorder and the Swift close flow
yansfil Sep 21, 2026
8aeea00
web: Projects sidebar and workspace registration input
yansfil Sep 21, 2026
bf1ca24
web: shortcut registry, window-level interception and the ⌘/ sheet
yansfil Sep 21, 2026
88c1ce2
web e2e: S2 flows on an isolated Herdr
yansfil Sep 21, 2026
9e29b3a
docs and measure: the S2 web shell, its boundary, the registry table …
yansfil Sep 21, 2026
d3d9b48
docs: route the hided and web shell questions from the documentation map
yansfil Sep 21, 2026
38eab30
web: focusProject calls focusCheckout without this
yansfil Sep 21, 2026
fc6ae6e
hided: forward non-local remote listings untouched and refuse outside…
yansfil Sep 21, 2026
be4296f
web: settle a listing request only by its answer and show the sidebar…
yansfil Sep 21, 2026
0f4453a
hided: answer outside_home past a symlink that left home; e2e covers …
yansfil Sep 21, 2026
abe5a24
hided: resolve a path under home one component at a time so a symlink…
yansfil Sep 21, 2026
8d97a42
web: registration test fixture uses a neutral home path
yansfil Sep 21, 2026
373448a
prd: S2 amendment 1 - keep xterm instances for attached tabs, add pan…
yansfil Sep 21, 2026
838a6b9
web: keep attached panes' terminals alive across tabs, draw a zoomed …
yansfil Sep 21, 2026
4163191
measure: sample resident memory and live terminal instances in the mu…
yansfil Sep 21, 2026
9ad830a
measure: break Chrome's resident memory down by process type
yansfil Sep 21, 2026
c31b377
web: a pane closed while shown loses its terminal when its view parks it
yansfil Sep 22, 2026
fbd83d7
web: the wheel over a pane has one owner
yansfil Sep 22, 2026
9132b65
web: a click reaches the program, a copy reads like a terminal
yansfil Sep 22, 2026
990b2b6
hided: log why a client's frame could not be produced
yansfil Sep 22, 2026
c46a91f
prd: S2 amendment 2 adds B20 for pane clicks and selection copy
yansfil Sep 22, 2026
67fae10
e2e: wait for Herdr's focus confirmation before typing into a pane
yansfil Sep 22, 2026
20f8516
ci: keep the e2e run's logs and narrate the wire on a failure
yansfil Sep 22, 2026
6daad15
web: focus the shell moves to follow the snapshot is not reported back
yansfil Sep 22, 2026
bdb3ace
e2e: settle focus before typing, click through xterm's grid, copy an …
yansfil Sep 22, 2026
a6e3a3a
web: read the click cell from xterm's grid, dedent the copied margin
yansfil Sep 22, 2026
d65a584
prd: S2 amendment 3 refines B20 (dedented copy, cell from the xterm g…
yansfil Sep 22, 2026
c9f4b9a
web: a drag that starts mid-line no longer defeats the copy's dedent
yansfil Sep 22, 2026
84cee6b
ci: name what the e2e artifact holds; test a cut first row that conti…
yansfil Sep 22, 2026
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
21 changes: 20 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,26 @@ jobs:
- name: End-to-end
env:
HIDE_E2E_HERDR_BIN: ${{ steps.herdr.outputs.bin }}
run: pnpm --dir web exec playwright test
HIDE_E2E_SCREENSHOT_DIR: ${{ runner.temp }}/hide-e2e
HIDE_E2E_TRACE: "1"
run: |
mkdir -p "$HIDE_E2E_SCREENSHOT_DIR"
pnpm --dir web exec playwright test
- name: Keep the e2e run's logs
# The daemon, Herdr server and PTY input logs behind a failed flow
# (with the screenshots the specs take, under the same directory),
# and Playwright's own test-results: with no screenshot or trace
# option set that is the error-context page snapshot. The wire trace
# is on the step's stdout. A screen assertion alone cannot say which
# side moved.
if: failure()
uses: actions/upload-artifact@v4
with:
name: hide-e2e-logs
path: |
${{ runner.temp }}/hide-e2e
web/test-results
if-no-files-found: ignore

verify:
name: verify
Expand Down
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ bash scripts/verify-cargo.sh lint # cargo fmt --check, then clipp
bash scripts/verify-cargo.sh test # herdr-core, hided, hide-ai and the context-label plugin
bash scripts/verify-swift.sh test # builds target/release/libherdr_core.a, then the shell
pnpm --dir web typecheck && pnpm --dir web lint && pnpm --dir web test
pnpm --dir web build && pnpm --dir web e2e # Playwright against a local hided: missing Herdr, and an isolated pinned Herdr (HIDE_E2E_HERDR_BIN, HERDR_BIN_PATH or PATH) for the click flow
pnpm --dir web build && pnpm --dir web e2e # Playwright against a local hided: missing Herdr, and an isolated pinned Herdr (HIDE_E2E_HERDR_BIN, HERDR_BIN_PATH or PATH) for the click, tab, split, zoom, close and registration flows
MEASURE_SCENARIO=multi HIDE_MEASURE_RUN_DIR=agents/runs/<slug>/measure/<attempt> bash scripts/web-shell-measure/run.sh # echo and frame gates with four splits and five attached tabs; review-required evidence, not a CI check
bash scripts/check-right-panel-sections.sh
bash scripts/check-shortcut-contract.sh
bash scripts/check-harness-ignore-anchor.sh
Expand Down Expand Up @@ -49,7 +50,7 @@ There is no label or bypass for any of them; when a gate is wrong, change the ga
| `cargo fmt` | Rust formatting stays deterministic across the workspace, so reviews do not accumulate unrelated style drift | `bash scripts/verify-cargo.sh lint` (`cargo fmt --all --check`) | Run the same command without `--check` and commit the machine-generated formatting separately. |
| `cargo clippy` | Every Rust target in the workspace is warning-free, including tests and generated-contract consumers | `bash scripts/verify-cargo.sh lint` (`cargo clippy --locked --workspace --all-targets -- -D warnings`) | Fix a warning when that clarifies the code; use a narrow, explained allowance when the alternative would obscure a generated or performance-sensitive boundary. |
| `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. |
| web typecheck/lint/test/e2e | The web shell's store merge, modifier-key bytes, connection machine, and Playwright against hided: the missing-socket row, the refused token, and the sidebar click -> pane switch -> echo flow on an isolated pinned Herdr | `pnpm --dir web typecheck`, `pnpm --dir web lint`, `pnpm --dir web test`, `pnpm --dir web e2e` | Fix the test or the code. e2e builds `web/dist` and `target/debug/hided`, needs the pinned `herdr` (`HIDE_E2E_HERDR_BIN`, `HERDR_BIN_PATH` or PATH) and `cc` for the fake agent. |
| web typecheck/lint/test/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) on an isolated pinned Herdr | `pnpm --dir web typecheck`, `pnpm --dir web lint`, `pnpm --dir web test`, `pnpm --dir web e2e` | Fix the test or the code. e2e builds `web/dist` and `target/debug/hided`, needs the pinned `herdr` (`HIDE_E2E_HERDR_BIN`, `HERDR_BIN_PATH` or PATH) and `cc` for the fake agent. |
| `swift test` | The shell's rendering and event contracts | `bash scripts/verify-swift.sh test`, which builds the release core first | Same. `--filter <TestName>` after the mode narrows a run. |
| right panel sections | The Workbench name never returns to a user-facing string | `bash scripts/check-right-panel-sections.sh` | The panel presents exactly Overview, Explorer, and History; rename, do not reintroduce. |
| shortcut contract | The right panel toggle is `⇧⌘B` and `⌘⌥B` is advertised nowhere | `bash scripts/check-shortcut-contract.sh` | Update the catalog and every label together. |
Expand Down
Loading
Loading