Skip to content

Overview 요청 보기: 에이전트마다 시킨 일, 나온 것, 지금 할 일 - #362

Merged
yansfil merged 49 commits into
mainfrom
prd/overview-request-view
Oct 4, 2026
Merged

yansfil merged 49 commits into
mainfrom
prd/overview-request-view

Conversation

@yansfil

@yansfil yansfil commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Related: agents/prd/overview-request-view/prd.md · yansfil/sasu#15

Summary

  • Overview의 첫 화면을 요청 보기로 열고 요청·결과·현재 동사·PR/이슈·자손 상태를 한 행에 표시합니다.
  • 요약 v5, Background AI 스위치, 세 런타임의 bounded 세션 어댑터와 helper protocol14를 통합합니다.
  • 원격 시작 전 대상 capability probe, OpenCode allocation 전 1MiB 예산, 자손 세션 poll 전 2MiB 예산을 적용합니다.
  • 자식 프로세스 종료·pipe 읽기를 제한하고, 오래된 닫힌 이슈·Reopen 관측·기본 보기 가이드를 고쳤습니다.
  • 같은 요청에서 pane cwd/root만 바뀌어도 경로 칩을 다시 확인하며, 이전 응답이 현재 경로를 덮어쓰지 않습니다.

요청 보기와 동사별 묶음

위 이미지는 이전 b8a7fd9의 e2e fixture 캡처입니다.
최종 HEAD의 native 시각 검증은 미완료입니다.

Review

  • 판단해 주세요: 실제 light/narrow 요청·결과 가독성, 칩·펼침·키보드 경계와 Request row Component 계약은 미검증입니다.
  • 조심해서 볼 파일: request_view, labels, codex_launch, herdr.ts - mutex 밖 작업·snapshot 소유권·대상 probe 실패 경로.
  • 조심해서 볼 파일: hide-session/src/ - 보유 전 예산·resume·read-only·root identity·privacy 경계.
  • 조심해서 볼 파일: hide-platform/src/process.rs, RequestView.tsx - 종료 소유권과 늦은 응답의 무효화.
  • 비용 검토: R7은 관련 workspace/remote 변경마다 행의 기존 context 탐색을 한 번 수행하고 입력 한 쌍을 보유합니다.
  • 비용 검토: 새 timer·provider 호출·core 알림은 없습니다. R6 poll 2MiB, 파일 1MiB/16개를 실제 읽기 전에 제한합니다.
  • 비용 검토: 기존 경로 probe는 호출 512개·batch64·cache512/10초입니다. 이전 IPC는 끝날 수 있으며 전체 in-flight cap은 없습니다.

Evidence

  • 확인한 것: 이전21d에서 hcoord59+36, web896, desktop99통과/3기존skip 및 typecheck/lint/build가 통과했습니다.
  • 확인한 것: 이전21d의 session/platform 전체213통과에 R5 process25와 R6 실제 파일 회귀3건이 포함됩니다. fmt/Clippy도 통과했습니다.
  • 확인한 것: R7 회귀3건은 기존 소스에서 실패하고 수정 후 통과했습니다. 실제 Aside 클릭 경로와 늦은 응답 차단도 확인했습니다.
  • 확인한 것: 원본48ec·R5ae016·main cab8625 조상을 일반 merge로 보존했고 최종8ec88b0b를 정상 push했습니다. protocol14입니다.
  • 확인하지 못한 것: 로컬 전체 Rust는 1.5GiB 출력 증가 상한 초과로 미완료입니다. 이전21d CI Rust는 통과했으나 최종 검사는 대기 중입니다.
  • 실패 기록: 이전21d desktop 격리 검사가 browser.spec.ts:886 blur/refocus에서 실패했습니다. job green은 이를 가린 결과입니다.
  • 확인하지 못한 것: 최종 required CI, deterministic receipt와 정확한 HEAD의 Code/Fidelity/Security 리뷰가 완료되지 않았습니다.
  • 확인하지 못한 것: B24 실제 세 provider 첫 읽기, B29/B32 전체 원격/helper 등록 경로, B30 전체 byte/work 관측이 남았습니다.
  • 확인하지 못한 것: B43 동일20실제에이전트 idle CPU, B49 실제 native chip, 최종 snapshot/UI/Component 계약이 남았습니다.
  • 다음 조치: 기존 native-focus 담당자가 실패를 처리하고, 최종 CI·receipt·독립 리뷰·남은 수용 검증 후 root가 merge 여부를 판단합니다.
Verification record
  • Final head: 8ec88b0b1bec6b1dc9898b6f7b2749ebb8a4ca6b; current-main ancestor: cab8625fa0cc9f35db3434e231cdf74728118319.
  • Previous tested head: 21d3a30d5c3fcbcabd92f408ceadf8f11c3d1dad; the final normal merge changes only hided/tests/real_herdr.rs (+105/-12) from already reviewed Record pane lifecycle facts when the terminal echo contract fails #370.
  • Final required verify: 37172450260, pending at publication; Design 37172450135, queued.
  • Previous21d verify: 37171126956, web E2E still queued; no aggregate required PASS claimed.
  • Previous21d CI Rust job: 59 completed natural suite summaries, 1930 PASS / 0 FAIL / 13 ignored. Raw SHA256 9b5d65ebb67012e06852ebb9549714a529a252d03d5d47c4f6f3e66cee074a52.
  • Previous21d CI Design 37171126902 and package 37171126796 succeeded.
  • Previous21d desktop raw: normal 42 PASS / 5 skipped, quarantine 1 FAIL / exit1 at line886, expected focused=true but received=false after unchanged5000ms. The step uses continue-on-error.
  • Desktop raw SHA256 380f9816d719312b33fc064db8a0d89828147708f0115512664a08ad3b664f0a, 71428 bytes; existing native-focus owner and root notified. No retry, timeout inflation or quarantine change.
  • Local full Rust21d: actual peak output growth1930711040 bytes exceeded1610612736. Completed42 suite summaries1897 PASS / 0 FAIL / 11 ignored, then guard terminated; Cargo natural exit was not observed. This is INCOMPLETE, not PASS.
  • Local full Rust raw SHA256 0dee8f33acaf679e1c5e8a59b2fe09bc0a20b18130239d52fb8218b561e5dee7, 524110 bytes. All62 owned identities absent twice and private root removed.
  • Owning213 tests18.630330s, whole workspace fmt/Clippy25.047883s, canonical web139.754648s; strict source HEAD/file hashes unchanged before/after at21d.
  • R7 actual Aside u0 browser: same row/request/reply, cwd one→two, root old→current, late old response; dispatched paths one/two/current/current, unrelated probe count2→2, stale path hidden while URL retained.
  • Browser screenshot SHA256 9fa2698b31ee1edffcbf298b597d7f98b9c449763b2cf31d9ebbab7c737dcb17; actual renderer/store/actions, synthetic OS answers and row fixture. This is not native filesystem, hook, provider or full UI proof.
  • Browser setup route/API/capture errors remain in the run record. Corrected private server exited0; all3 owned identities absent twice, private root removed and only the newly opened QA tabs closed.
  • Process lifecycle R5 uses existing command deadline,64KiB per stream and20ms cleanup bound; unconfirmed cleanup retains the owned child and original outcome. Escaped descendants and universal kernel cancellation remain unproved limits.
  • R6 real-file fixtures prove cumulative admission, oversized tool resumption and failed-row byte accounting. R7 does not cancel an already admitted OS IPC; it rejects stale results.
  • Earlier4ef1948 Rust PASS, old native dark/light/narrow captures, real0.160 session reads and helper14 subset are historical, not exact final-head acceptance.
  • Prior native20 used synthetic PTYs and a deterministic provider. Mismatched idle workloads do not qualify B43; no fixture identities are presented as live registration.
  • Original Rust18 failures/du failure, locale and disk-floor interruptions, previous Linux Reopen and native quarantine failures remain retained, without attributing all failures to environment.
  • Original48ec ancestry, concurrent main/platform changes, read-only original worktree and operator services remain preserved. PRD human_approval is approved under explicit operator authorization.
  • The deterministic report remains STALE; 57 requirements remain in the contract and are not declared complete. All coherent local commits are pushed; no protected merge or issue closure occurred.
  • Operator finalization permits this honest incomplete handoff and excludes new provider/mini/native/Pen/shared UI/helper/durability phases. Existing owners retain their files and gates.

yansfil added 30 commits October 3, 2026 21:20
The kit gains a codex_per_pane part that turns Codex's shared app-server
daemon off with codex features disable daemon_auto_start, reads absent where
Codex has no such daemon, notes when a running daemon still holds sessions,
and has an operator switch that gives the daemon back and reads off. Every
Codex start Hide makes, and hcoord's local Codex spawn, pass --no-daemon when
that machine's Codex has the daemon. The bounded child runner moves into
hide_platform::process so hide-agent-hooks runs codex through it. Helper
protocol 14.
…ch request

The session adapter in hide-session now answers the same facts for Claude Code, Codex and OpenCode: the session's own title, each person's message with its images and hcoord sender, the replies, and the pull request addresses its tools printed (Claude Code subagents included). OpenCode is read from its database read-only, skipping a locked read.

The core records when the operator submitted to a pane through Hide (desktop and device keyboard, phone reply) and the label worker judges each request's sender once, keeping the verdict and the session facts in labels.json. Fixtures per agent version pin the formats, and hcoord and hide-session test the envelope against one contract.
Every agent row now carries what the request view draws: the operator's last request and who sent it, the last reply, the agent's own title, its pull requests (its branch's and the ones its session made, judged against GitHub's createdAt) and one verb with the time it took it, kept across a restart. The name ladder becomes task, then the agent's own title, then the provider.

Opening a finished row marks the pane read without moving the focus, and while any window shows the request view the core re-reads the pull requests whose checks are running once a minute.
Each agent is one row of what the operator asked it, what came of it and
what is the operator's to do, grouped by the core's verb: the request on
one line with its front and end kept, the result line with up to three
open chips, the pull request and issue chips, and the descendants a
delegating parent speaks for. A click expands the row in place, opening a
finished row reads it, and the keyboard walks the rows.

The 요청 tile and tab come first, and every way into a project's
Overview or Home opens them; Recent Panels still restores the view as it
was left. The PRs board lists the agent whose session made a pull
request beside the branch's agents.
Screen / Project Overview and Screen / Main gain the 요청 tile and tab
and the request view as every way in opens it: the groups with resting
folded, a long request cut front and end, an expanded finished row and
an expanded waiting parent, and the empty and nothing-to-do states.
…switch

The context label moves to v5: the session's goal (judged only on the
first analysis or at the start of a turn the operator asked for, from the
operator's requests alone), one line for the turn, and how it ended. An
unfinished turn stops its row and a wait on something other than a pull
request waits; a failed analysis clears the line and the end and keeps
the goal, and a turn end that timed out is asked once more.

Settings > Background AI gains the agent-summary switch, kept in ai.json:
off cancels the running request, asks for nothing more and lays no AI
field on any row; on shows the kept labels and asks for each pane's
current turn. Records written before v5 keep their goal, line and pending
question.
Screen / Project Overview's request view gains the 멈춤 group with a row
whose turn the agent label read as unfinished.
…connects

A transcript that starts over is judged again against every submit kept,
so the operator's request stays theirs. Opening a result a settled pull
request gave sends the row to rest until another settles. Verb records go
only for panes Herdr's topology no longer has, never on a list that is
empty for a moment. Subagent files are read newest first past the file
cap, which is reported. Turning agent summaries off between taking a job
and running it cancels the job.
macOS trashes into the account's own ~/.Trash whatever HOME says, and the sealed suite runs with a private HOME, so the test missed an item the system did trash and left it in the account's Trash.
The bridge's socket sits three folders below the test's folder, so under a suite TMPDIR as long as the sealed verify's the path passed the Unix socket limit and the bridge never became ready; the test now also names the bridge's own error.
# Conflicts:
#	hide-platform/tests/process.rs
#	hided/src/workspace_cli.rs
#	web/e2e/overview.spec.ts
#	web/src/MainScreen.tsx
@yansfil

yansfil commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

8ec88b0b의 필수 verify 재실행 전체 PASS (run 37172450260); 소스 변경·추가 push 없이 머지는 리드 w9J:p4D가 진행하며, 남은 57계약·provider·mini/private route·CPU·native 확인(이전 blur/refocus 실패 포함)은 미완료로 기록하고 머지 조건에 포함하지 않습니다.

@yansfil
yansfil merged commit 62e1148 into main Oct 4, 2026
40 of 43 checks passed
@yansfil
yansfil deleted the prd/overview-request-view branch October 4, 2026 03:51
yansfil added a commit that referenced this pull request Oct 4, 2026
Related: #343

## Summary

- 세 플랫폼 아카이브와 SHA-256 sidecar 여섯 개가 완전하고 일치해야 릴리스 draft를 준비합니다.
- owner-enforced immutable 정책과 태그의 검증된 커밋을 확인하고, 정확한 draft ID에 누락된 파일만
추가합니다.
- 기존 파일은 수정·삭제하지 않고, 실패나 응답 유실 후 재시도는 확인한 동일 바이트를 재사용합니다.

## Review

- **판단해 주세요**: 공개 전 정책·토큰 설정과 수동 태그·draft 변경 금지 계약을 릴리스 운영 절차로 채택할지 봐
주세요.
- **조심해서 볼 파일**: `scripts/release-draft.mjs`,
`.github/workflows/release.yml` - API 실패·경합, 정확한 draft와 자산 일치.
- **조심해서 볼 파일**: `scripts/check-release-assets.mjs` - 파일·크기·이름·checksum
검증과 출력의 개인정보 경계.

## Evidence

- **확인한 것**: 이전 head의 스크립트 43개·구조 검사 PASS를 보존합니다. 8개 소유 파일은 byte 동일하여 로컬
반복 실행은 하지 않았습니다.
- **확인한 것**: 새 main 대비 기존 소유 8파일만 변경됩니다. 8개 mode/blob과 전체 diff가 이전 검토
대상과 같습니다.
- **확인한 것**: 충돌 없는 새 main 병합·범위 검증으로 기존 SOURCE PASS를 유지합니다. 새 head의 필수
CI·design은 대기 중입니다.
- **확인한 것**: 이전 452428 Desktop은 42 PASS·5 기존 skip, 별도 focus 1 PASS입니다. 새
head의 Desktop 결과는 아직 없습니다.
- **보존한 실패**: 이전 CI의 label·Windows 필수 실패와 6d41 Desktop nonblocking focus
실패를 유지합니다. 원인 해결을 주장하지 않습니다.
- **확인하지 못한 것**: 실제 GitHub 업로드, 공개 릴리스·태그 생성, 세 OS 네이티브 실행·설치. 공개는 별도 승인
범위입니다.
- **운영 미확인**: 2026-10-03 22:57 UTC read-only 기록에서 immutable
정책·`RELEASE_POLICY_TOKEN` 전제가 충족되지 않았습니다. 이후 설정 상태와 공개 실행은 미검증입니다.
- **확인하지 못한 것**: 정책 확인과 쓰기는 원자적이지 않습니다. 준비·공개 중 수동 정책·draft·태그 변경을 금지해야
합니다.
- **검토 범위**: 정해진 CI 산출물 여섯 개를 처리하는 계약입니다. 임의의 로컬 입력에서 모든 경로·내용을 가린다는
보장이나 별도의 아카이브 크기 제한은 없습니다.

## Breaking change

릴리스 준비에는 저장소 쓰기 토큰과 별도의 Administration-read 정책 토큰, owner-enforced
immutable 설정이 필요합니다.
기존 provenance marker가 없는 draft는 자동 변경하지 않으며, 운영자가 새 릴리스 준비 절차를 검토해야 합니다.

<details><summary>Verification record</summary>

- Current pushed candidate: `c58abe4129392b616fc4b91d6ea53130353300c5`;
exact current main base: `cab8625fa0cc9f35db3434e231cdf74728118319`.
Ordinary merge parents are `45242842667c19a95ba3eee74ae3704caaa2d44c`
and that exact main; all original commits remain ancestors, with no
history rewrite.
- Source freeze: exactly the original eight owned paths differ from
main; all eight whole-file modes and blobs equal the reviewed 452428
candidate.
Every other tracked path equals main, including main's newly merged
`hided/tests/real_herdr.rs`; the refresh had no conflicts and added no
source changes.
- The complete source diff is byte-identical to the reviewed 452428
diff: 39,339 bytes, SHA-256
`4417f19ef5252d152d82c6bcde54609a3454754b9d8751d74d82a2937cdc78cc`.
Cheap ancestry, exact scope, mode/blob equivalence, union and whitespace
checks PASS; working tree and remote branch tip were verified
clean/equal.
GitHub merge ref `840fdbf39966aed50d5fa690b50d6fb0f073c320` has exact
parents main/candidate and tree
`340e450c62a1c0f464f07825a9a4129007e27f13`, equal to the local candidate
tree.
- The previous 452428 changed-lane 43-test PASS and independent SOURCE
PASS, Fix now None, carry by exact affected-source equivalence.
Independent report remains 9,230 bytes, SHA-256
`4ebee691f2db490733fb962f8e930c8575ed1cdeb844dabd13b226fb694d45a1`.
No new independent review or local 43-test run is claimed for this
refresh; the matched original receipts and failure logs remain
preserved.
- Current [required verify run
37172407549](https://github.com/modakbul-gongbang/hide/actions/runs/37172407549)
is incomplete: Rust job `111349144261` and both OS-contract jobs
succeeded; Windows, Desktop and web lanes remain running or queued.
Current [design run
37172407419](https://github.com/modakbul-gongbang/hide/actions/runs/37172407419)
is SUCCESS, static-design job `111347885267`.
Current [package run
37172407455](https://github.com/modakbul-gongbang/hide/actions/runs/37172407455)
is SUCCESS, Windows job `111347885660` and Linux job `111347885747`.
Separate package success does not establish native installation, first
launch, terminal input/output or stable-release asset readiness.
Previous-head CI results below do not satisfy this new current-main
gate.
- No local test/build/server/native/release phase was started for this
refresh; the completed push handle has ended and no owned local check
process remains.
Code/source readiness is separate from operational prerequisites, actual
native checks and publication, all still unverified.

Previous 452428 candidate record, retained without replacing its
original results:

- Previously pushed candidate:
`45242842667c19a95ba3eee74ae3704caaa2d44c`; that main base:
`31123442224037662d1b0f6f26e21730fbfa184e`.
Ordinary merge parents are `6d41f14321fb5f450fe40385f20e62c3482be906`
and that exact main; no history rewrite.
- Exactly eight owned paths differ from main; every other tracked blob
equals main.
Seven whole-file blobs equal the previous head; CONTRIBUTING retains
both main's cost review and the existing Releases hunk.
- Previous 452428 changed lane PASS: Python discovery 43 tests in 10.764
seconds; all ten unchanged lane commands passed in 16.701904 seconds on
Node 24.12.0.
- Syntax, whitespace, harness anchor, committed agent asset, off-lock
readers, workstation identity, worktree removal and Herdr single-pin
gates PASS.
- Local log SHA-256:
`09db477ed4431def84263d749748c3b4c344b1b2155e0e533c5248021125d887`;
result SHA-256:
`0f8d7032cc4525dea4e67fe9532c3ff3e05b30ae6fc3659129ba67acd56d069d`.
- Supervisor PID 86647 and all owned command groups ended; zero
survivors and zero forced cleanup. Source remained clean.
- Previous 452428 source diff SHA-256:
`4417f19ef5252d152d82c6bcde54609a3454754b9d8751d74d82a2937cdc78cc`.
- Independent exact-main union review: SOURCE PASS, Fix now None; the
entire eight-path source and merge union were checked.
Inline report SHA-256:
`4ebee691f2db490733fb962f8e930c8575ed1cdeb844dabd13b226fb694d45a1`;
9,230 UTF-8 bytes.
This source review read matched local test receipts and did not
independently rerun tests or establish 452428-head CI/native/operational
readiness.
- Previous 452428 [required verify run
37170803665](https://github.com/modakbul-gongbang/hide/actions/runs/37170803665)
is CANCELLED under the unchanged workflow concurrency policy, including
four Linux shards (1, 2, 4, 5); no complete required PASS is claimed;
[design run
37170803448](https://github.com/modakbul-gongbang/hide/actions/runs/37170803448)
is SUCCESS; [package run
37170803453](https://github.com/modakbul-gongbang/hide/actions/runs/37170803453)
is SUCCESS.
- Previous 452428 [Desktop job
111343194651](https://github.com/modakbul-gongbang/hide/actions/runs/37170803665/job/111343194651)
is SUCCESS: required Electron tests 42 PASS and five existing skips; the
separate existing quarantined focus case is one PASS in 13.3 seconds.
Raw log SHA-256:
`2b91d67ddccadecca16f0b5ed9579fc8a915ce375021e3e31118f2ca4c4e90a9`;
65,497 bytes.
This result preserves the previous focus RED below and establishes no
causal focus/runtime repair.
Previous green runs below are historical and do not satisfy the
current-head gate.
- No local Rust/web/native/release execution was started for this
refresh; operational publishing and its prerequisites remain unverified.

Previous 6d41 candidate record, retained without replacing its original
results:

- Prepared local candidate: `6d41f14321fb5f450fe40385f20e62c3482be906`;
main base: `af15ad6026f2ebd4d694eb846588b3c4bafe9633`.
Ordinary merge retains the original remote head
`aa9a33a232b7d9425f61e816a224d6eb8732a529` and all original failure
records.
- This candidate was ordinarily pushed after its changed-lane local
checks passed; the remote branch tip was verified byte-for-byte as the
same Git SHA.
- The diff against main contains the same owned eight paths; every blob
outside those paths equals main.
- `git diff --check` passes.
- Independent full eight-file review of this exact local candidate:
SOURCE PASS, Fix now: None.
- Source report SHA-256:
`f7e587d0c602e6f5a7900f8f1f4433093f2a0d2bd1383e593f0bedfda96ce50c`;
16,614 bytes.
- Previous 6d41-head changed lane PASS: Python discovery 43 tests in
11.119 seconds, including ten archive cases and the eight-case Node HTTP
writer suite.
- Node syntax for both production scripts, whitespace, harness anchor,
committed agent asset, off-lock readers, workstation identity, worktree
removal and Herdr single-pin checks PASS.
- Complete local lane wall time: 16.127032 seconds; Node 24.12.0.
- Local log SHA-256:
`d097113bbd79144374a4df52405852d51fbf3215b87e14afddfe88cef31a9751`;
result SHA-256:
`7c1727d0383d3cc6e644425c1694f35d5ab83d9f7e5faaf72ae1a96af7e21c01`.
- All owned process groups ended with zero survivors; no
check/server/session handle remains.
- Local Rust/web/native and direct Node 22 checks were not run on this
head; operational readiness remains unproven.
- Previous 6d41-head [required verify run
37162663251](https://github.com/modakbul-gongbang/hide/actions/runs/37162663251)
is SUCCESS.
Rust, checks/unit suites, Windows, Desktop, six Linux web shards, macOS
platform web and both OS-contract legs all succeeded; the two unchanged
macOS reusable-workflow planning skips remain planned.
The aggregate verify job is `111320557009`; Windows job `111319146677`;
Desktop job `111319146694`.
- Previous 6d41 separate [package run
37162663071](https://github.com/modakbul-gongbang/hide/actions/runs/37162663071)
is SUCCESS for Linux job `111319146114` and Windows job `111319146220`.
Package completion does not prove three-OS native installation, first
launch, terminal I/O or six actual stable-release assets.
- Previous 6d41 Desktop job raw log also preserves one FAILED test in
the existing nonblocking quarantined focus step (`browser.spec.ts:886`,
expected focused=true, actual false).
Its `continue-on-error` disposition leaves required verify green; this
remains a runtime RED and is not a focus-repair claim.
Previous 6d41 Desktop raw log SHA-256:
`d86d41a696e7a944ba828b7ec355d5e87c06d3ffadb2a06843269d522f87efab`.
- Earlier PASS and FAILURE records below remain scoped to their original
heads.
- Previous 6d41 required CI succeeded on that exact pushed head;
CI/focus source ownership remains separate and no causal runtime repair
is claimed.
- Protected merge is owned by the coordinator, one current-main CI-green
and independently clear PR at a time; #321/#362 affects resource
scheduling only.
- The latest operator policy permits changed-lane checks followed
immediately by ordinary push; protected merge still requires required CI
success and independent review.
- Previous 6d41 source diff SHA-256:
`dc308c004fa7e2a377390ffbffd0585626e0ec94930c7d07d0a710f22572197f`.

- Historical CI snapshot - original base:
`7c974f350865978515ce39cf8b18d520d90c730a`; original remote head:
`aa9a33a232b7d9425f61e816a224d6eb8732a529`.
- 변경 파일 8개: `.github/workflows/release.yml`, `CONTRIBUTING.md`,
`docs/BUILD.md`, `scripts/check-release-assets.mjs`,
`scripts/release-draft.mjs`, `scripts/tests/test_release_assets.py`,
`scripts/tests/release-draft.test.mjs`,
`scripts/tests/test_release_draft.py`.
- 정확한 head의 독립 검토 PASS for bounded source contract, 즉시 수정 사항 없음.
workflow·code·test 6개는 검토된 `18b7d49009a85b2159890296b49485ce1ddfb943`와
바이트가 같고, 두 문서는 부분 append 실패와 태그 경합 한계를 반영했습니다.
- 로컬 기록: Python discovery 43개 PASS, 실제 synthetic ZIP/TAR CLI
completeness 사례 10개와 실제 loopback HTTP writer 사례 8개 PASS.
독립 재검증: Python asset·CI portability 13개와 Node HTTP 8개 PASS, Node
syntax·YAML·whitespace PASS.
  로컬 Node는 24.12.0이며, native 실행·설치 또는 직접 Node 22 실행 증거는 아닙니다.
- 실제 [verify run
37148467614](https://github.com/modakbul-gongbang/hide/actions/runs/37148467614):
필수 `verify` FAILURE.
[Rust job
111277157582](https://github.com/modakbul-gongbang/hide/actions/runs/37148467614/job/111277157582)는
`labels/generator.rs:213`의 두 번째 worker 검사에서 false,false 대신 true,true 기대가
실패했습니다.
[Windows job
111277157319](https://github.com/modakbul-gongbang/hide/actions/runs/37148467614/job/111277157319)는
`hided/tests/real_herdr.rs:388`에서 typed=false, terminal control exit 1로
100.89초 후 실패했습니다.
  두 소스는 이 PR의 base와 바이트가 같으며, 실패 원인·flake 판정이나 재시도로 대체하지 않았습니다.
- 별도 [package run
37148467284](https://github.com/modakbul-gongbang/hide/actions/runs/37148467284)의
Windows·Linux package job은 SUCCESS입니다.
package 결과가 필수 `verify` 실패나 지원 OS의 네이티브 설치·첫 실행·terminal I/O 증거를 대신하지
않습니다.
- 운영 전제 read-only 재확인: `2026-10-03T22:57:03.197570+00:00`에
immutable-release policy는 enabled=false/enforced_by_owner=false이며
`RELEASE_POLICY_TOKEN`은 없습니다.
이 설정·credential의 변경은 수행하지 않았으며, 실제 release writer는 전제 조건 없이 쓰기를 시작하지
않습니다.

| 증거 | SHA-256 |
| --- | --- |
| 이전6d41 head의 독립 소스 검토 |
`f7e587d0c602e6f5a7900f8f1f4433093f2a0d2bd1383e593f0bedfda96ce50c` |
| 이전aa9 head의 독립 검토 |
`aad9ab4c2ee9bfb2292db44244cbd7cbabf99e9b5ae9325f3852415a63a06380` |
| 실제 Rust 실패 로그 |
`6659c22b3b705d30f6813531d015e26104c3356513660d2595375d5500326693` |
| 실제 Windows 실패 로그 |
`9d18248d91349208f31bf8fc36dafbd4705adb1a246239e43440d4891ad77462` |

실제 GitHub writer 업로드, 태그·release 공개, 세 OS 네이티브 설치·첫 실행·terminal I/O,
signing·notarization은 실행하지 않았습니다.
정책 확인과 append는 원자적이지 않으며 준비·공개 중 수동 policy·draft·tag 변경 금지와 공개 직전 검증된
commit 재확인이 필요합니다.
origin marker는 편집 가능한 출처 정보이며 정책 이력의 암호학적 증명이 아닙니다.
로컬 HTTP·test child는 모두 종료됐고, 현재 이 검증의 실행 중인 로컬 handle은 없습니다.
증거는 로컬에 보존하고 커밋하지 않았으며, 소스 PASS와 operational publish pending을 구분합니다.

</details>
yansfil added a commit that referenced this pull request Oct 4, 2026
Related: #233, #361, #362, #359.

## Summary

- Check deletion before pane closure; name the locked worktree, literal
Git reason and manual unlock action.
- Discard names every measured ignored repository; an unavailable scan
blocks deletion with a recovery action.
- Changed lock, scan or repository facts retire Discard consent,
including an A-to-B-to-A return.
- Notify existing renderer connections after accepting refreshed facts
and releasing the runtime lock.

![Locked worktree names its Git reason and unlock
action](https://github.com/user-attachments/assets/5e25495d-49d5-4597-8828-10689157f2e2)

Isolated capture at `790c7fdd`; later `cb546e43` dialog captures were
inspected locally.

## Review

- **판단해 주세요**: Review the lock/scan recovery copy and repository-name
legibility in the existing dialog.
- **조심해서 볼 파일**: `hide-host/src/worktrees.rs` - bounded enumeration and
final guarded removal.
- **조심해서 볼 파일**: `herdr-core/src/runtime/projects.rs` - preflight
precedes pane closure, outside Runtime.
- **조심해서 볼 파일**: `herdr-core/src/session_sync/coordinator.rs` -
notifications after accepted facts or loading completion.
- **조심해서 볼 파일**: `web/src/WorkspaceDialogs.tsx` - changed facts
permanently retire earlier Discard consent.
- **비용 검토**: Each linked worktree has its own
2M-step/30-second/1,024-name cap; project cost scales with their count.

## Evidence

- **확인한 것**: Prior `cb546e43` local checks, CI, independent review and
four isolated browser deletion flows passed.
- **확인한 것**: Current-main `cd0cde23` preservation review is clear;
original fixes and prior closed findings are retained.
- **확인하지 못한 것**: Current `cd0cde23` verify is pending; design contract
and exact-candidate CLI build passed.
- **확인하지 못한 것**: Aside/u0 reconnected, but its first current QA failed
at screenshot routing; full acceptance is pending.
- **확인하지 못한 것**: Next: correct capture routing and finish unchanged UI
assertions and CI; packaged native QA is unrun.
- **확인하지 못한 것**: Original `790c7fdd` caller test passed unexpectedly;
automatic GitHub publication can mask omission.
- **확인하지 못한 것**: An earlier full Rust run had two unrelated install-kit
watcher failures; original records are retained.
- **확인하지 못한 것**: A change after preflight can still fail the final
removal guard; Git and pane closure are not atomic.

<details><summary>추가 증거</summary>

At `cb546e43`, Rust fmt/clippy, CLI build, web/desktop typecheck, lint,
tests and builds passed.
Web 868 tests, desktop 94 tests with 3 platform skips, coordination 48
unit and 35 E2E tests passed.
Four isolated browser deletion flows passed, including same-renderer
lock refresh and A-to-B-to-A consent reset.
This caller coverage is separate from required Aside acceptance.
Workerless observer tests passed 3/3; omitting only the notifier failed
both positive cases while the negative case passed.
Restoring the original notification passed 3/3; the formatting-only
final source also passed 3/3.
At `790c7fdd`, host worktree integration 9/9 and core worktree behavior
95/95 passed.
The same-socket E2E provides caller coverage; the observer mutation
proves the notification boundary.

Prior
[verify](https://github.com/modakbul-gongbang/hide/actions/runs/37164422339)
and [design
contract](https://github.com/modakbul-gongbang/hide/actions/runs/37164422232)
passed at `cb546e43`, including Linux/macOS web E2E, desktop E2E and
Windows checks.
Current-main `cd0cde23` merges `cab8625f`; its only incoming delta from
`b8b2c1f8` is the already-merged daemon test fixture.
All 27 issue-file blobs and strict protocol 16 are unchanged,
independently reviewed.
A fresh canonical CLI build passed in 92.12595 seconds; its exact
candidate hided and all 44 runtime/web artifact hashes are pinned for UI
QA.
Current
[verify](https://github.com/modakbul-gongbang/hide/actions/runs/37173380167)
is pending; [design
contract](https://github.com/modakbul-gongbang/hide/actions/runs/37173380086)
passed.
The superseded `b8b2c1f8` verify run was cancelled after the ordinary
source-preserving main merge; its partial results are retained.
Independent exact-head guide review and actual remote PR cost-wording
review close the P3 finding; prior runtime/integration review remains
clear.
No broad local Rust rerun or web rebuild was performed; the sole web
delta is test-only diagnostics and production build inputs are
unchanged.

The implementation reuses the existing off-lock worktree reader and
single removal slot.
Each linked worktree in an accepted project read receives its own
ignored-repository scan, capped at 2,000,000 steps, 30 seconds and 1,024
names.
Total scan cost scales with the linked-worktree count, with no shared
project-wide step, time or name cap.
An unavailable or capped scan refuses deletion.
Accepted changed facts or loading completion publish one coalesced
notification after releasing Runtime; unchanged and stale answers stay
silent.
No new permanent timer or input-path I/O is added.
Existing project counts, aggregate answer bytes and coordinator mailbox
have no new fixed cap; a generic in-flight read may finish after its
driver ends.

Earlier unavailable Aside observations remain historical NOT_RUN
records.
Local Aside/u0 is now reachable; the first current attempt stopped when
the screenshot path escaped its sandbox, despite a zero CLI exit.
The owned tab and all seven observed private process identities were
released; the original failure log is retained.
Corrected capture transport requires explicit UI PASS, tab RELEASE and
five actual PNG captures; no assertions or deadlines change.
Matching helper/core protocol 16 is preserved; later shared protocol
changes require their owning integration review.
Original failures and causal mutation evidence remain retained locally.

</details>

## Breaking change

Host helper protocol 16 requires matching client/helper updates.
An older helper refuses deletion before pane closure.
yansfil added a commit that referenced this pull request Oct 4, 2026
Related: #359; `agents/prd/hcoord-delivery-v2/prd.md`.

## Summary

- Add a bounded durable mailbox, local `request`/`inbox` commands,
guarded doorbells and prompt hooks that confirm only after output flush.
- Add explicit parent inactivity watches with separate 10-minute
delivery, 20-minute inactivity and first-warning +60-minute clocks.
- Add confined session activity reads, metadata-only helper dispatch and
fallback while preserving existing coordination and lineage.
- The local mailbox, hook and watch engine form the implemented merge
unit; helper lifetime ownership and executable dispatch coverage are
tracked in #379.

## Review

- **판단해 주세요**: confirmation ordering, draft protection, durable intent
deduplication and the distinct delivery/watch clocks.
- **조심해서 볼 파일**: `herdr-core/src/delivery/` - persistence, recipient
identity and bounded retries.
- **조심해서 볼 파일**: `herdr-core/src/runtime/delivery.rs` - caller authority
and memory-only runtime-lock work.
- **조심해서 볼 파일**: `hide-agent-hooks/` - output-before-confirm behavior
and the two-second submission boundary.
- **조심해서 볼 파일**: `hide-platform/` - inherited process ownership and
durability; Windows directory bootstrap currently reports Unsupported.
- **조심해서 볼 파일**: `hide-host/src/protocol.rs` - protocol 15 retains
#362's protocol 14 kit fields; helper lifetime ownership and executable
coverage are separate in #379.

## Evidence

- Merged main `05a7530a` (#362 and #366), resolved nine conflicting
files, and retained both delivery and request-view contracts.
- Current pushed head `18fc11c8`: affected-file formatting and
four-crate all-target Clippy passed; related tests passed 156/156 in
84.91 seconds total.
- Counts: platform process 32, session library 47, session adapters 15,
host library 32, core delivery 26 and existing launch policy 4.
- Merge integration failures were limited to duplicate process adapters
and two non-exhaustive test-fixture matches; only those failures were
corrected, and original logs were retained.
- Current-head required
[`verify`](https://github.com/modakbul-gongbang/hide/actions/runs/37175986409)
is queued; the preceding head's green result is not verification of this
merge.
- Helper lifetime ownership, real SessionActivity executable coverage
and compatibility regressions are tracked in #379, with no follow-up
implementation added here.
- Windows directory durability, native delivery/watch clocks, matched
latency, provider/mini operation and full contract revalidation remain
unconfirmed follow-ups.
- Per the current operator policy, the sole merge condition is the
required `verify` check succeeding; these follow-ups do not add merge
gates.

## Breaking change

- Helper protocol 15 requires compatible helper replacement; the
preceding protocol 14 APIs from #362 are preserved in this merge.
- No installed app/helper replacement, live coordination retirement or
operator hook change was performed.
yansfil added a commit that referenced this pull request Oct 4, 2026
## Summary

Every PR ran Rust, the unit suites on three OSes and the full E2E, even
a docs-only PR.
The median time for the required checks to finish was 32.45 min (Orca
16.22, Paseo 20.65).
Now a `plan` job reads the changed paths (`HEAD^1..HEAD` of the PR merge
commit) and plans only the lanes the change needs.
The same plan sets each job's `if:` and is what `verify` checks the
results against.

- `verify` passes only when every **planned** lane is `success` and
every **unplanned** lane is `skipped`. A planned lane that was skipped,
failed or cancelled fails `verify`, and so does a `needs` entry the plan
doesn't know or a failed plan.
- The Windows browser `@platform` smoke moves out of `windows check`
into its own `windows e2e` lane, which calls `web-e2e.yml` the same way
nightly does. Compile, unit tests and the OS contract stay in `windows
check`.
- `checks` is split into `policy` (on every plan), `web checks`,
`desktop checks` and `hcoord`.
- A main push, a comparison that fails (base missing, not a merge
commit, diff parse failure, `cargo metadata` failure) and any
unclassified path all run **every** lane.
- Main pushes no longer cancel each other (`cancel-in-progress` is now
PR-only). `design-contract.yml` also cancels only the same PR's previous
run.
- The rules live in one place, `scripts/ci-plan.py`; the table in
`docs/TESTING.md`, "Which lanes a pull request runs", explains them.

## Review

- **판단해 주세요**: whether it is acceptable that **main's full run is the
safety net** for a lane wrongly left out. A wrongly skipped lane
surfaces as a failure on main after the merge, not on the PR.
- **판단해 주세요**: whether to keep the Windows smoke now skipping `@flaky`
tests, as macOS already did. No `@platform` test is tagged `@flaky`
today, so the behavior is the same for now.
- **판단해 주세요**: web code shared with the desktop host (`SHARED_WEB`) also
runs the desktop lanes and the macOS/Windows `@platform` lanes. That is
broader than the brief's "desktop 연결까지"; I chose it because terminal,
input and shortcut changes are Windows-impacting.
- **조심해서 볼 파일**: `scripts/ci-plan.py` `READERS` and `SHARED_WEB`. These
two hand-kept lists are where a lane can be dropped wrongly (the failure
path). Review found five omissions from tests reading files across
folders and they are fixed (below).
- **조심해서 볼 파일**: the `verify` job in `.github/workflows/pr.yml` and
`aggregate()`. This is the merge gate itself.
- **질문**: `site/`, `tools/`, `spikes/`, `.github/*.md` and `agents/prd`
currently fall under "unknown path → everything". Should a follow-up
narrow them?

## Evidence

**Plan replay over the last 20 merged PRs.** Each row runs the
classifier on the merge commit's `^1..` diff:

| PR | 경로 수 | 계획 | 생략되는 lane | Rust crate |
| --- | ---: | --- | --- | --- |
| #389 | 7 | 전체 (`scripts/web-shell-measure/run.sh`) | - | 전체 |
| #388 | 6 | 부분 | desktop-checks, hcoord, os-contract, windows-check,
windows-e2e, macOS-e2e, desktop-e2e | herdr-core |
| #385 | 125 | 전체 (`.github/pull_request_template.md`) | - | 전체 |
| #387 | 70 | 전체 (`contracts/hided-ws.schema.json`) | - | 전체 |
| #386 | 61 | 전체 (`contracts/hided-ws.schema.json`) | - | 전체 |
| #368 | 2 | 전체 (`.github/workflows/pr.yml`) | - | 전체 |
| #372 | 23 | 전체 (`.github/workflows/nightly.yml`) | - | 전체 |
| #382 | 3 | 부분 | web-checks, desktop-checks, hcoord | herdr-core,
hide-host, hided |
| #383 | 1 | 부분 | rust, desktop-checks, hcoord, os-contract,
windows-check, desktop-e2e | - |
| #384 | 8 | 부분 | web-checks, desktop-checks, hcoord, os-contract,
windows-check, windows-e2e, web-e2e, macOS-e2e, desktop-e2e | herdr-core
|
| #380 | 2 | 부분 | web-checks, desktop-checks, hcoord | herdr-core, hided
|
| #381 | 1 | 부분 | rust, desktop-checks, hcoord, os-contract,
windows-check, desktop-e2e | - |
| #378 | 58 | 전체 (`.github/workflows/nightly.yml`) | - | 전체 |
| #377 | 11 | 부분 | hcoord | herdr-core, hided |
| #361 | 91 | 전체 (`agents/prd/three-column-panel/prd.md`) | - | 전체 |
| #376 | 7 | 부분 | web-checks, desktop-checks, hcoord | herdr-core,
hide-agent-hooks, hide-ai, hide-herdr-client, hide-host, hide-kit,
hide-memory, hide-platform, hide-session, hided |
| #367 | 27 | 부분 | hcoord | herdr-core, hide-host, hided |
| #375 | 2 | 부분 | web-checks, desktop-checks, hcoord | herdr-core,
hide-agent-hooks, hide-host, hide-kit, hide-memory, hided |
| #366 | 8 | 전체 (`.github/workflows/release.yml`) | - | 전체 |
| #362 | 153 | 전체 (`agents/prd/overview-request-view/prd.md`) | - | 전체 |

- **줄어드는 lane**:
- 11 of 20 PRs would run a partial plan; 9 run everything because they
touch `.github/`, `contracts/`, `scripts/` or `agents/`.
- A docs-only PR (#384) runs no E2E, Windows or macOS lane. It still
runs `rust -p herdr-core`, because a herdr-core test reads the root
`AGENTS.md`.
- A web display change (#388) runs no Windows, macOS, desktop or
OS-contract lane.
- A Rust crate change tests only that crate and its reverse
dependencies, from `cargo metadata`. For example #380 tests `herdr-core`
and `hided` only.
- **확인한 것**:
  - `scripts/tests/test_ci_plan.py` passes 19 cases. They cover:
    - Docs-only, which excludes Rust and E2E.
    - A pure web display change, which excludes the Windows smoke.
    - `hide-platform`, which includes Windows and the OS contract.
- Shared web, a `@platform` spec, `desktop/src/main` and leaf-crate
reverse dependencies.
    - Every `READERS` entry.
- Unknown paths, lockfiles and workflows, a type change, an empty diff,
a missing base, a non-merge HEAD and a missing crate graph, which all
run everything.
- The aggregate rejecting a skipped, failed or cancelled planned lane,
an unplanned lane that ran, a missing or extra `needs` entry, a failed
plan and an empty plan.
- The full `python3 -m unittest discover -s scripts/tests` suite passes
(108). That includes the check that every gate a workflow runs is a
tracked script.
- actionlint passes on every workflow. `check-herdr-pin-single-source`,
`check-hide-design-enforcement`, `check-no-workstation-identity`,
`check-harness-ignore-anchor` and `verify-cargo.sh fmt-check` all pass.
- Running `plan` on #388 produced the expected `GITHUB_OUTPUT` (`lanes`,
`full`, `rust-packages`) and the job-summary table.
- Running `aggregate` with a fake `needs` passed when the results
matched the plan and failed when a planned lane was skipped.
- **리뷰 반영**: a code review and a fidelity review against the brief found
these, now fixed:
- Tests read files across folders, so these changes now plan the lanes
that read them: the root `AGENTS.md` (herdr-core test), `web/src` and
`hided/src` (herdr-core structure tests), `wirePath.ts` (imported by web
e2e) and `design/tokens.json` (read by web tests).
  - Every crate change now runs `windows check`.
  - Main pushes no longer cancel each other.
  - `docs/PERFORMANCE_TESTING.md` no longer describes the old lanes.
- **CI ([run
37214808511](https://github.com/modakbul-gongbang/hide/actions/runs/37214808511))**:
- The plan was full (the change touches `.github/` and `scripts/`), and
every lane ran, including the separate `windows e2e`. All passed.
- The first attempt failed in Linux web e2e shard 2/6 on
`home.spec.ts:82` (the location bar read `Home/hde-…` instead of
`Home/~/hide`). This PR touches no web or test code. `verify` reported
exactly `web-e2e: planned, expected success, got failure`.
  - One rerun of the failed jobs passed, and `verify` is green.
- The `home.spec` failure is a flaky-test candidate; it belongs to the
main-green work, not this PR.
- **확인하지 못한 것**:
- Partial plans have never run on Actions. A docs-only or web-only PR
has not been tried; the first one after the merge will show it.
- The cold-cache time of the `windows e2e` lane is unmeasured. It uses
the same path as the nightly Windows lane.
- Main runs now queue instead of cancelling, but GitHub keeps only one
pending run per group. If three merges land in a row, the middle merge's
full run can be dropped.
- **안전망과 위험**: a lane that should have run but was skipped is the risk.
Main's full run catches it after the merge; the fix is then a rule in
`scripts/ci-plan.py` plus a test case.

Does not include: a failure ledger or history, a quarantine registry,
cache changes, a `max-parallel` experiment, or the `package.yml` `paths`
trigger (all out of scope).
If this and the main-green PR overlap in `pr.yml`, whichever merges
later rebases.
yansfil added a commit that referenced this pull request Oct 30, 2026
…nly its journey jobs (#1856)

Closes with-hide/hide-private#357
Related: with-hide/hide-private#362 (closed by the private companion
with-hide/hide-private#363), with-hide/hide-private#359

## Summary

Two things cost a whole release candidate run (about 30 minutes) for no
reason.

- **A pending verify run (#357).** A candidate dispatched while its
source's main `verify` run was still `pending` behind another main run
failed in `validate`, and someone had to wait and dispatch again (v1.0.3
run 40695678072, v1.0.4 run 40979641871). `validate` now reads that run
every 30 s and waits up to 45 minutes for it to start, and the job
summary says how long. A run that a later merge replaces ends
`cancelled` and still refuses the candidate.
- **A journey-only flake (#362, public half).** The `receipt` job no
longer waits for `agent-journey`, so when only journey cells fail,
**Re-run failed jobs** reruns just those cells and every artifact the
publisher takes stays one attempt's. The run still succeeds only when
the journey passes. The private `select` that accepts such a run is
with-hide/hide-private#363.

스크린샷 없음: no screen changes (release workflow and its script only).

## Review

- **판단해 주세요**: 45 minutes as the wait limit (main verify runs queue at
about 15 minutes each); the issue suggested it.
- **판단해 주세요**: `receipt` no longer needing `agent-journey` means a
failed run can now carry a receipt. The publisher takes only a
successful run (`checkRun` in the private `select`), so this changes
nothing it accepts.
- **조심해서 볼 파일**: `.github/workflows/release-candidate.yml` - failure
path: `validate`'s timeout goes 5 -> 50 minutes, and the receipt's
`needs` changes what a rerun reruns.
- **조심해서 볼 파일**: `scripts/release-candidate.mjs` - `source` now reads
the run itself through `gh api` instead of a file the step wrote.
- **질문**: these take effect at the next release once the lead moves the
private `candidate_workflow_sha` pin to a main head that includes this;
nothing here touches `release/policy.json`. OK to merge after
hide-private#356 and v1.0.4?

## Evidence

- **확인한 것**: `node --test scripts/tests/release-candidate.test.mjs`
13/13 and `pytest scripts/tests/test_release_candidate.py` 8/8 pass;
with the old script and workflow the same tests fail (the Node suite
cannot import `awaitStartedVerification`; the Python receipt/journey
test fails on `needs`).
- **확인한 것**: the new tests drive the wait on a fake clock: pending,
pending, in_progress is taken after two 30 s waits; pending then
`cancelled` (replaced) is refused; pending for 45 minutes is refused; a
wrong run is refused at the first read without waiting.
- **확인한 것**: a test reads `agent-journey.yml` and requires that none of
its uploads is a release artifact name (`hide-*`), which is what lets
the private side accept a journey-only rerun.
- **확인한 것**: GitHub's API for real "Re-run failed jobs" run 40671390899:
attempt 2 lists the jobs it did not rerun with their attempt 1
`started_at` and keeps their artifacts' `created_at`, so the attempt
that made each artifact can be read. The private rule is built on that.
- **확인하지 못한 것**: a real dispatch of `release-candidate.yml` (not run:
v1.0.4 is being released). Neither the wait against a real pending run
nor a real journey-only rerun has been run end to end.

<details><summary>Verification record</summary>

Base `a891332c5`, head `21741cf6a506f23b0169b7506b1f18aff470dcaf`.
Local: `node --test scripts/tests/release-candidate.test.mjs` (13 pass),
`python3 -m pytest scripts/tests/test_release_candidate.py
scripts/tests/test_package_typecheck.py
scripts/tests/test_candidate_runner.py` (28 pass, 53 subtests); [verify
run
40991560938](https://github.com/with-hide/hide/actions/runs/40991560938)
success, `actionlint .github/workflows/release-candidate.yml` (clean),
`scripts/check-no-workstation-identity.sh` (pass).

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant