Repository navigation
chore: sync upstream 2026-09-08 preserving fork-owned features - #45
Merged
Merged
Conversation
…erdrdev#3615) Claude marks the selected option with "❯", but bash_permission_prompt did not allow that prefix on numbered branches and did not cover the three-option "don't ask again" layout. Match both two- and three-option Bash approval prompts regardless of the selected option. refs herdrdev#2650
…ev#3234) * feat: make ui.pane_borders a three-state auto/always/off mode Legacy booleans keep parsing (true = auto, false = off); "always" frames a lone pane while pane_outer_borders is enabled. * fix: align pane border reload test and documentation --------- Co-authored-by: Rudolf Schmidt <[email protected]> Co-authored-by: Jonathan Liebig <[email protected]>
* fix: preserve sessions when pane shells are signaled refs herdrdev#3415 * fix: preserve shutdown checkpoints across platforms refs herdrdev#3415 --------- Co-authored-by: Jonathan Liebig <[email protected]>
* fix: stop polling idle ssh uploads on unix * fix: preserve ssh output during idle bridge cancellation * test: exercise active ssh upload cancellation
refs herdrdev#3731 Co-authored-by: akbash-bot <[email protected]>
* fix: collapse worktree groups with saved machines refs herdrdev#3778 * fix: scope worktree collapse by machine refs herdrdev#3778 * fix: collapse machines without switching focus refs herdrdev#3778 --------- Co-authored-by: akbash-bot <[email protected]> Co-authored-by: Ogulcan Celik <[email protected]>
* fix: support windows hosts in saved ssh machines refs herdrdev#3651 * fix: keep windows ssh bridge writes blocking refs herdrdev#3651 * fix: close saved windows ssh bootstrap input refs herdrdev#3651 * refactor: simplify remote bridge helpers refs herdrdev#3651 * refactor: isolate remote bridge platform behavior refs herdrdev#3651 * fix: close captured ssh input under windows consoles refs herdrdev#3651 * test: remove redundant remote command assertions refs herdrdev#3651 refs herdrdev#3701 * test: handle framed ssh commands in machine setup refs herdrdev#3651 --------- Co-authored-by: Ogulcan Celik <[email protected]>
* fix: restore autofocus when creating worktrees refs herdrdev#3766 * fix: let the client focus newly created worktrees refs herdrdev#3766
* fix: highlight workspace navigation with saved machines refs herdrdev#3754 * feat: navigate workspaces across connected machines refs herdrdev#3754 * feat: navigate workspaces across machines refs herdrdev#3754 --------- Co-authored-by: akbash-bot <[email protected]> Co-authored-by: Ogulcan Celik <[email protected]>
…29) Co-authored-by: arrrrny <[email protected]>
terminal-notifier runs -execute as a shell command (/bin/sh -c), so the previous file:// URL form was never a valid command and the notification click did nothing. Pass the bare current_exe() path so the launched herdr binary self-detects the click and dispatches pane.focus. refs #32
* fix: expose badge socket API as a herdr badge CLI verb The badge system (badge.set/clear/list) was fully implemented in the binary but had no CLI surface, so controllers could only reach it via raw JSON-RPC. Add a top-level herdr badge command group with set, clear, and list subcommands that dispatch to those socket methods. refs #30 * fix(pr 31): apply CodeRabbit review fixes
Port the dropped old-lineage ziki work (#36, #37) onto current upstream: Agent::Ziki detection with a bundled manifest ([ziki-state: <state>] screen markers and ziki:<state> OSC titles), full lifecycle report authority for herdr:ziki with the no-session-start-push anchor, the loopback HTTP state-report push listener (POST /api/v1/pane/report/agent, [server].agent_push_listen_addr, HERDR_API_LISTEN_ADDR override), and the catalog entry at distribution/agent-detection/ziki.toml following the upstream website/ -> distribution/ rename. refs #43
The daily upstream sync (sync-upstream.yml) now mirrors the robust pattern from arrrrny/kimi-code: on merge conflict it aborts and opens a sync-labeled issue; after a clean merge it verifies every file in FORK_OWNED_FILES still contains its survival marker. If upstream silently dropped a fork-owned feature the job fails and opens an issue. FORK_OWNED_FILES covers: macOS notification click-to-focus, login-shell PATH for custom commands, agent status indicators, badge CLI verb, and ziki detection manifests. Also adds a Fork Upstream Sync Policy section to AGENTS.md.
…ed features Upstream deleted src/app/input/navigate.rs; its #12 login-shell PATH env is superseded by the #17 login-shell spawn now guarded via src/app/custom_commands.rs and the existing #4 entries. The website/ catalog path moved to distribution/. Adds guard entries for the badge store + CLI verb, agent-wait hardening, PTY chunking, --current hard error, events.subscribe no-replay, hermes resume, partial-shutdown recovery, and the ziki push listener. Every path+marker verified. refs #43
Markers starting with a dash (e.g. the --current hard-error marker) were parsed as grep options and the guardrail silently mis-reported. refs #43
The badges feature (#16, #31) predates the client-shell refactor (herdrdev#3487) and its sidebar.rs replacement no longer compiled against the restructured code. Restore src/ui/sidebar.rs to upstream and re-port badge rendering onto the new architecture: - protocol: add ClientShellBadge and a badges field to ClientShellSnapshot (private same-install wire, roundtrip-tested) - server: populate the snapshot by merging run/badge.json file badges with in-memory IPC-set badges (in-memory wins on key conflict) - client: render [text] badges after the " spaces" header in src/client/shell/sidebar.rs - badges: restore BadgeStore len/is_empty/clear_all helpers lost in the merge; adapt badge API tests to AppPolicy::TEST refs #16 refs #31 refs #43
Wire the combined login-shell PATH (cached_login_shell_path + combined_login_shell_path from the integration registry) into custom_command_env(), the single choke point for shell/pane/popup custom commands, as documented in the #4 commit message. The helper landed without a production caller during the original work, leaving it dead code; probe failure still leaves PATH untouched. refs #4 refs #43
The fork reports resumed Hermes sessions for every interactive platform on pre_llm_call (#25), so the upstream test encoding the cli-only gate no longer matches. Update it to assert the fork contract (startup, resume, new, resume sequence with per platform:start_source dedup) and guard the test file in FORK_OWNED_FILES alongside the new badge port paths. refs #25 refs #43
This was referenced Sep 9, 2026
The new ClientShellSnapshot.badges field broke the frozen generation-1 fixture decode (missing field). Give it #[serde(default)] per the stable endpoint contract instead of touching the frozen fixture, and regenerate the schema artifact (cargo test surfaced both). refs #43
…ync-sept-2026 # Conflicts: # distribution/preview.json # docs/next/website/src/data/config-reference.json # docs/preview/website/src/content/docs/agent-automation.mdx # docs/preview/website/src/content/docs/cli-reference.mdx # docs/preview/website/src/content/docs/ja/agent-automation.mdx # docs/preview/website/src/content/docs/ja/cli-reference.mdx # docs/preview/website/src/content/docs/ja/persistence-remote.mdx # docs/preview/website/src/content/docs/ja/socket-api.mdx # docs/preview/website/src/content/docs/persistence-remote.mdx # docs/preview/website/src/content/docs/zh-cn/agent-automation.mdx # docs/preview/website/src/content/docs/zh-cn/cli-reference.mdx # docs/preview/website/src/content/docs/zh-cn/persistence-remote.mdx # docs/preview/website/src/content/docs/zh-cn/socket-api.mdx
The scheduled upstream sync merged newer docs/next content into master without re-snapshotting docs/preview, so preview.mjs check failed on master itself (pre-existing breakage). Restore docs/preview/website to exactly match 9e9bc8a:docs/next/website as recorded in distribution/preview.json. refs #43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs upstream
herdrdev/herdrmaster (9e9bc8a1..9b72ed55) into the fork while preserving every fork-owned feature. The fork's feature stack (f674ddd7, 17 commits) was merged first; everything below the merge commit is the restoration and re-porting work needed after upstream's client-shell refactor (herdrdev#3487) silently invalidated old-lineage code. The branch then mergedorigin/masteragain to pick up the 6 upstream commits the scheduled sync auto-merged this morning (up to9b72ed55).refs #43
Upstream range merged
9e9bc8a1..9b72ed55— includes the client-shell refactor (herdrdev#3487), workspace navigation across machines (herdrdev#3670), conditional styles for sidebar tokens (herdrdev#3693), autofocus worktree restore (herdrdev#3787), pty queued-submission fix, selection/copy fixes, claude bash prompt detection (herdrdev#3615), and all intervening work.Fork features preserved (auto-merge survived)
--currenthard error on write commands whenHERDR_PANE_IDis unset (fix(cli): make --current a hard error on write commands when HERDR_PANE_ID is unset #22)events.subscribestarts at live events, no retained replay (fix(events): do not replay retained history on a fresh events.subscribe #24)pane wait --idle(feat(pane): agent-independent busy signal and pane wait --idle #26)Dropped old-lineage features restored
Agent::Ziki, detection wiring, manifest tests, HTTP push listener, sound config, app integration test, published-catalog copy, docsClientShellNotificationEffect::System.click_target)-execute(fix(macos): make notification Show click focus the target pane #33)herdr badgeCLI verb (fix: expose badge socket API as a herdr badge CLI verb #31) + regenerated protocol schema (feat: custom badges for agents (arbitrary string + color) (#2) #16), with ja/zh-cn cli-reference sections so docs translation parity holdsRe-ports required by upstream restructures
src/ui/sidebar.rs, which referenced deleted types and failed to compile (101 errors). Restoredsrc/ui/sidebar.rsto upstream and re-ported badge rendering:ClientShellBadgeonClientShellSnapshot(with#[serde(default)]so the frozen generation-1 fixture keeps decoding), server-side merge ofrun/badge.json+ IPC badges, client render after the" spaces"header. Also restoredBadgeStore::len/is_empty/clear_alllost in the merge.combined_login_shell_pathhad no production caller even in the fork; wired it intocustom_command_env()as the original commit documented.Validation
cargo fmt --check— cleancargo check --all-targets— passes, zero warnings (verified again after theorigin/mastermerge commit)scripts.test_*unittest (101),scripts.test_ui_hot_path_architecture(6),bun test ./scripts/docs(7), integration asset bun tests (28),docs_translation_parity.py— all greencargo testpass (frozen generation-1 snapshot decode, stale API schema artifact) are fixed and individually verified; the full suite was not re-run to completion locally — PR CI is the gatePost-merge note
origin/developmentshould be reset tomasterafter this PR merges, so the next daily upstream sync starts from the synced tree.