Skip to content

refactor: centralize agent state and scope projections - #763

Merged
yansfil merged 24 commits into
mainfrom
prd/agent-state-module
Oct 7, 2026
Merged

yansfil merged 24 commits into
mainfrom
prd/agent-state-module

Conversation

@yansfil

@yansfil yansfil commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Related: #749, #753, #758

Summary

  • 분산된 상태 판단을 herdr-core/src/agent_state/로 모아 웹과 휴대폰이 core 투영을 그립니다.
  • 다섯 상태 축, 그룹·요청 동사·주의·push 전이, PR/issue/duty 연결과 checkout/project/device/전체 집계를 이전했습니다.
  • 기존 화면 값을 회귀 테스트로 고정했고, 상태 모델과 아키텍처 가이드에 소유권을 함께 정리했습니다.

전후 Projects 캡처의 상태·배지·집계는 같습니다.
이전 화면은 기준 소스 archive로 재현했으며, 이후 화면의 Factory 메뉴와 행 이동은 별도로 병합된 main 변경입니다.
두 이미지는 초기 추출의 gallery 비교이며 최종 커밋의 macOS 캡처는 아닙니다.

이전: 기준 소스로 재구성한 Projects. 상태·배지·집계 비교용 gallery.

이후: 추출 후 Projects gallery. 같은 상태·배지·집계이며 Factory는 별도 main 변경.

Review

  • 기존 해석: 읽은 질문의 Seen+Answer, 위임 행의 Working/Seen, Requests 자식 제외, 물리 수와 루트 수의 차이를 보존했습니다.
  • 선택 규칙: 중복 pane의 첫/마지막/전체 선택과 로컬 pet 집계도 기존 화면별 규칙을 유지했습니다.
  • 주의 파일: agent_state/, runtime/agents.rs, model.rs의 mutex·snapshot 비용과 웹·hided의 판단 소비 경계를 봐 주세요.
  • 비용: 입력 비교 후 변경 시 집계하며 입력/출력 한 쌍을 보관합니다. 새 worker·timer·큐나 mutex 안의 I/O·subprocess·큰 직렬화는 없습니다.
  • 측정: 이전 통합의 2-agent driven 21프레임은 같고 payload는 426,263→694,865 bytes(+63.0%)입니다. 유휴는 1프레임/32,529 bytes입니다.
  • 한계: 목록 크기는 현재 작업량을 따르며 숫자 cap은 없습니다. 공유 머신 부하·중간 main 변경을 통제하지 않아 대규모 비용과 지연은 미확인입니다.

Evidence

  • CI: 필수 verify와 design contract 통과. E2E 317개가 통과했고 12개 flaky 보고 모두 실패·flaky가 없었습니다.
  • 최종 검증: workspace Rust 3,237개 PASS·17개 ignored, lint PASS. 현재 CLI 빌드·코디네이터 교체 방어 7개·격리 그래프 E2E 2개도 통과했습니다.
  • 웹·폰: 이전 통합 웹 1,266개·scope 11개·typecheck/lint/web·desktop build 통과 후 해당 코드가 유지됐습니다. 폰·push 회귀와 실제 격리 폰 흐름도 확인했습니다.
  • 화면: 격리 후보 macOS 창 PNG 3개, 현재 그래프 renderer PNG와 기존 sidebar·phone·device 비교를 각 실행 시점·방법에 맞춰 검토했습니다.
  • 확인하지 못한 것: 최종 커밋의 OS 캡처·성능 재측정, 설치 bundle, 실제 SSH 기기·물리 폰·외부 push, 전체 로컬 웹 E2E와 fleet/깊은 계보·입력/렌더 지연입니다.
  • 생성물: gallery의 agentStates.json, agentScopes.json, cmdkScopes.json은 기존 화면 값을 고정한 fixture입니다.
Verification record
  • PRD: agents/prd/agent-state-module/prd.md (sha256 544eecba9adc7c528111d1b916192f765d7d807f50173446a96ec48ea84cce73)

  • Base 04af60e → head 4fed648, verified 2026-10-07T22:07:51.839Z: PASS

  • Verification report: agents/runs/agent-state-module/verification-report.json and agents/runs/agent-state-module/verification-report.md; source fingerprint 444e26c6ee17e5c55dde8ef62950093dead4b273dbaba0282eb869001d2c43c3

  • Suites:

    • S1: GREEN bash scripts/verify-cargo.sh test (exit 0)
    • S2: GREEN bash scripts/verify-cargo.sh lint (exit 0)
  • Fidelity: reviewed 4fed6484 with the final PASS and all 107 registered identities; no Fix now. Complete B1-B12 responsibility retained; inherited retired-coordinator P2 and F1-F4/C1-C3 are closed. Follow-ups: independent differential corpus, larger/deeper workload measurements and optional future RequestView dependency coverage.

  • Code: reviewed 4fed6484 with the same final PASS and evidence; no Fix now. Inherited P2 and previous findings are closed. Follow-ups: shared independent differential fixtures and larger/deeper workload measurements.

  • Material evidence: 105 registered (30 file, 43 log, 32 screenshot); paths are local to the run directory

    • agents/runs/agent-state-module/final/observations.md
    • agents/runs/agent-state-module/final/source-audit.md
    • agents/runs/agent-state-module/final/performance.md
    • agents/runs/agent-state-module/baseline/publication-measure.json
    • agents/runs/agent-state-module/final/publication-measure.json
    • agents/runs/agent-state-module/final/locale-reproduction.json
    • agents/runs/agent-state-module/final/locale-C-UTF-8.log
    • agents/runs/agent-state-module/final/locale-en-US-UTF-8.log
    • agents/runs/agent-state-module/final/scripts-tests-valid-locale.log
    • agents/runs/agent-state-module/baseline/web-e2e-standard.log
    • agents/runs/agent-state-module/final/web-e2e.log
    • agents/runs/agent-state-module/final-phone/web-e2e.log
    • agents/runs/agent-state-module/final/native-current.log
    • agents/runs/agent-state-module/phone-count-core.log
    • agents/runs/agent-state-module/phone-count-web.log
    • agents/runs/agent-state-module/final-web.log
    • agents/runs/agent-state-module/final/herdr-contract.log
    • agents/runs/agent-state-module/final/gate-0.log
    • agents/runs/agent-state-module/final/gate-1.log
    • agents/runs/agent-state-module/final/gate-2.log
    • agents/runs/agent-state-module/final/gate-3.log
    • agents/runs/agent-state-module/final/gate-4.log
    • agents/runs/agent-state-module/final/gate-5.log
    • agents/runs/agent-state-module/final/gate-6.log
    • agents/runs/agent-state-module/final/gate-7.log
    • agents/runs/agent-state-module/baseline/electron-agents.png
    • agents/runs/agent-state-module/final-current/electron-agents.png
    • agents/runs/agent-state-module/baseline/aside-requests.png
    • agents/runs/agent-state-module/final/aside-requests.png
    • agents/runs/agent-state-module/baseline/aside-graph.png
    • agents/runs/agent-state-module/final/aside-graph.png
    • agents/runs/agent-state-module/final/before-sidebar.png
    • agents/runs/agent-state-module/final/after-sidebar.png
    • agents/runs/agent-state-module/baseline/screens/mobile-phone-list.png
    • agents/runs/agent-state-module/final-phone/e2e/mobile-phone-list.png
    • agents/runs/agent-state-module/final-phone/e2e/mobile-phone-detail.png
    • agents/runs/agent-state-module/final/asm-device-before-two.png
    • agents/runs/agent-state-module/final/asm-device-before-busy.png
    • agents/runs/agent-state-module/final/asm-device-before-offline.png
    • agents/runs/agent-state-module/final/asm-device-after-two.png
    • agents/runs/agent-state-module/final/asm-device-after-busy.png
    • agents/runs/agent-state-module/final/asm-device-after-offline.png
    • agents/runs/agent-state-module/final-current/native-provenance.json
    • agents/runs/agent-state-module/integration-749/observations.md
    • agents/runs/agent-state-module/integration-749/build-focused.json
    • agents/runs/agent-state-module/integration-749/binary-provenance.json
    • agents/runs/agent-state-module/integration-749/core.log
    • agents/runs/agent-state-module/integration-749/cli.log
    • agents/runs/agent-state-module/integration-749-web-all-fixed.log
    • agents/runs/agent-state-module/integration-749-typecheck.log
    • agents/runs/agent-state-module/integration-749-lint.log
    • agents/runs/agent-state-module/integration-749-build.log
    • agents/runs/agent-state-module/integration-749-desktop-build.log
    • agents/runs/agent-state-module/integration-749/graph-e2e.log
    • agents/runs/agent-state-module/integration-749/graph-e2e/graph-cross-project-all-dark.png
    • agents/runs/agent-state-module/integration-749/graph-e2e/graph-cross-project-all-light.png
    • agents/runs/agent-state-module/integration-749/graph-e2e/graph-cross-project-opened.png
    • agents/runs/agent-state-module/integration-749/graph-e2e/graph-cross-project-selected-light.png
    • agents/runs/agent-state-module/integration-native/os-provenance.json
    • agents/runs/agent-state-module/integration-native/cleanup.json
    • agents/runs/agent-state-module/integration-native/launch.log
    • agents/runs/agent-state-module/integration-native/launch-retry.log
    • agents/runs/agent-state-module/integration-native/os-agents.png
    • agents/runs/agent-state-module/integration-native/os-projects.png
    • agents/runs/agent-state-module/integration-native/os-requests.png
    • agents/runs/agent-state-module/integration-753/observations.md
    • agents/runs/agent-state-module/integration-753/cli.log
    • agents/runs/agent-state-module/integration-753/cli-execution.json
    • agents/runs/agent-state-module/integration-753/binary-provenance.json
    • agents/runs/agent-state-module/integration-753/compiler-return-sampler.json
    • agents/runs/agent-state-module/integration-753/e2e.log
    • agents/runs/agent-state-module/integration-753/e2e-execution.json
    • agents/runs/agent-state-module/integration-753/measure.log
    • agents/runs/agent-state-module/integration-753/measure-execution.json
    • agents/runs/agent-state-module/integration-753/publication-measure.json
    • agents/runs/agent-state-module/integration-753/cleanup.json
    • agents/runs/agent-state-module/integration-753/graph-e2e/graph-cross-project-all-dark.png
    • agents/runs/agent-state-module/integration-753/graph-e2e/graph-cross-project-all-light.png
    • agents/runs/agent-state-module/integration-753/graph-e2e/graph-cross-project-opened.png
    • agents/runs/agent-state-module/integration-753/graph-e2e/graph-cross-project-selected-light.png
    • agents/runs/agent-state-module/integration-753-ignore.log
    • agents/runs/agent-state-module/integration-753-asset.log
    • agents/runs/agent-state-module/integration-753-lock.log
    • agents/runs/agent-state-module/integration-753-identity.log
    • agents/runs/agent-state-module/integration-753-worktree.log
    • agents/runs/agent-state-module/integration-753-pin.log
    • agents/runs/agent-state-module/integration-753-machine.log
    • agents/runs/agent-state-module/integration-753-design.log
    • agents/runs/agent-state-module/integration-758/candidate.json
    • agents/runs/agent-state-module/integration-758/source-continuity.md
    • agents/runs/agent-state-module/integration-758/binary-provenance.json
    • agents/runs/agent-state-module/integration-758/focused.log
    • agents/runs/agent-state-module/integration-758/focused-execution.json
    • agents/runs/agent-state-module/integration-758/cli.log
    • agents/runs/agent-state-module/integration-758/cli-execution.json
    • agents/runs/agent-state-module/integration-758/e2e.log
    • agents/runs/agent-state-module/integration-758/e2e-execution.json
    • agents/runs/agent-state-module/integration-758/cleanup.json
    • agents/runs/agent-state-module/integration-758/observations.md
    • agents/runs/agent-state-module/integration-758/graph-e2e/graph-cross-project-all-dark.png
    • agents/runs/agent-state-module/integration-758/graph-e2e/graph-cross-project-all-light.png
    • agents/runs/agent-state-module/integration-758/graph-e2e/graph-cross-project-opened.png
    • agents/runs/agent-state-module/integration-758/graph-e2e/graph-cross-project-selected-light.png
    • agents/runs/agent-state-module/integration-758/monitor-interruption.md
    • agents/runs/agent-state-module/integration-758/verify-execution.json
  • Changed paths: 158 (see Files changed)

  • Delivery: mode local, branch prd/agent-state-module, base main

  • Current S1: 3,237 passed, 0 failed, 17 ignored across 85 result blocks; 196.318 seconds. Current S2 formatting/clippy: exit 0, 20.520 seconds.

  • Report JSON SHA256: bb1b2a9aefa99992641c60efd4a8525d5ecb1140faef808470b936e18dd33525; Markdown SHA256: f0bef321e08310d0bf0ffa7c35a23040e44e21887c82c9803622b25abd42bdf7.

  • Evidence identity: 107 registered paths, comprising the 105 material entries above and two fresh suite logs; all hashes independently checked by both reviewers.

  • Captures: reconstructed baseline source 9f144877 and extraction gallery 132a875e; genuine isolated OCU OS PNGs at 73afb9b2, PID 75917/window 34005. The latter show graph/question/Projects/Requests and do not add an Agents-sidebar-list scenario. Current graph Chromium screenshots use the 4fed CLI and unchanged web build from 73.

  • Build provenance: recorded 4fed hided/hide hashes identify the CLI/E2E-time build; subsequent workspace tests overwrite ignored target binaries, so those hashes do not assert present on-disk equality.

  • Measurement: two local synthetic agents at 05515bdf; idle 1 frame/32,529 bytes; driven 21 frames/694,865 bytes in 12.270 seconds, versus 426,263 baseline bytes (+63.0132%). Uncontrolled external load and intervening main changes prevent causal or final-head performance claims.

  • Execution history: current focused 7/7, CLI and graph 2/2 completed on their first attempt. The first final sealed attempt was interrupted by an ignored disk monitor racing a disappearing rustc temporary file (owned child -15), not a product test failure; supported recovery preceded the complete PASS retry. Historical native fixture locator failure and locale reproduction remain preserved, with their successful corrected/valid-locale executions separately attributed.

  • Scope choices: preserved screen-authoritative read/delegated/request/physical-root/local-pet/duplicate-occurrence policies; no Herdr API, persistence schema or dependency change. Accepted main PRs supply the integration baseline.

  • Evidence limits: historical request comparison uses different sidebar tabs; reconstructed gallery/synthetic devices do not prove current OS capture or live SSH. No installed-bundle, physical-phone/external-push, whole local web E2E, fleet/deep-lineage, mutex or render/echo-latency claim.

  • Review report SHA256: Fidelity d708dde37f3cbc41fa579d1b40d40b7d313dec7f0e9515424de58c35184183db; Code ac8acd56127be5fb63391eefdd84d3cdd6715ae843f12a57884cbebf18497512.

  • Delivery: one PR to main; explicit instruction “then ship PR and CI.” overrides this worktree's absent PR-mode configuration without editing it. Merge remains with the Observer.

  • CI: verify run, attempt 1, completed success at 2026-10-07T22:42:28Z; 17 successful jobs and 2 configured skips, including the final required verify gate. Design contract also passed. No GitHub rerun.

  • CI test record: desktop E2E 61, Windows web E2E 36, Linux web E2E shards 55+53+56+56=220; all 317 passed. All 12 native flaky-report steps explicitly reported no flaky test; zero reported failed tests. Linux workspace nextest 3,220 passed/16 skipped.

  • Delivery image check: both public before/after images loaded in the actual PR browser with complete=true and natural size 608×1800; the checking page was closed.

yansfil added 24 commits October 7, 2026 22:14
@yansfil
yansfil merged commit fac7f0e into main Oct 7, 2026
20 checks passed
@yansfil
yansfil deleted the prd/agent-state-module branch October 7, 2026 22:46
yansfil added a commit that referenced this pull request Oct 8, 2026
Related: #763

## Summary

- 사이드바에는 운영자 세션만 남기고, 직계 자식은 공통 ↳ 목록에서 열도록 정리했습니다.
- 오른쪽 첫 탭 세션에 프로젝트의 내 차례, 리뷰·머지, 진행 중과 오늘 해결을 PR·CI·이슈 사실과 함께 모았습니다.
- 해결 상태를 저장하고 새 입력·작업 때 복귀시키며, 부모가 풀 수 없는 자식만 운영자에게 올립니다.
- pane 머리는 할 일이 있을 때 띠를 보여주고, 자식 이동의 대기·실패·재시도를 같은 위치에 표시합니다.

![이전: 사이드바 Agents 탭과 Overview 요청
목록](https://github.com/yansfil/pr-assets/blob/main/hide/session-first-ui/4d47eed/before-sidebar.png?raw=true)
![이후: 운영자 세션, 자식 경고와 오른쪽 세션
패널](https://github.com/yansfil/pr-assets/blob/main/hide/session-first-ui/4d47eed/sessions-korean-dark.png?raw=true)
이전은 보존된 렌더러, 이후는 이전 구현 후보의 실제 OS 창입니다.
서로 다른 합성 작업·언어의 구조 비교이며, 현재 통합 커밋의 새 OS 캡처는 아닙니다.

## Review

- **판단해 주세요**: 긴 한국어 제목, 압축된 세션 행과 부모 경고 띠의 가독성·우선순위를 봐 주세요.
- **확정된 결정**: D-41의 불투명 띠 겹침은 승인됐으며, 띠가 사라지면 터미널 윗줄이 다시 보입니다.
- **조심해서 볼 파일**: `agent_state/`, `runtime/session_state.rs` - 위임·읽음·저장
ACK와 snapshot 소유권.
- **조심해서 볼 파일**: `runtime/agents.rs`, `sidebar.tsx` - 두 저장 ACK와 휴면 행의
상태·접힘 통합.
- **조심해서 볼 파일**: `PaneHeaderBand.tsx`, `PaneView.tsx`, `mobile/push.rs`
- 이동 실패, PTY와 알림 중복.
- **비용 검토**: 실제 상태 전이에만 파생·발행하고 기존 coordinator와 저장 worker를 재사용합니다.

## Evidence

- **현재 검증**: main 재통합으로 로컬 sealed 결과는 STALE입니다. 유지보수자 지시로 Cargo 재실행 없이
CI가 판정합니다.
- **직전 검증**: 이전 후보 S1은 기존 플랫폼 검사 1개 실패·2,914개 통과·12개 제외, S2는 통과했습니다.
- **미확인 범위**: 직전 S1의 뒤쪽 검사와 현재 통합 후보의 로컬 전체·runtime 검사는 미실행입니다.
- **후속 리뷰**: 현재 커밋 Fidelity·Code 리뷰에서 새 SessionUI 수정 요구 없음. 상속된 Factory
알림 문제는 후속 항목입니다.
- **현재 정적 확인**: 화면·디자인 계약과 static-design 83개 통과. Factory와 나머지 13개 시트 보존을
비교했습니다.
- **이전 집중 확인**: 직전 후보의 웹 6개·Electron 2개 통과. OS 캡처 2건 실패, 기존 OS 이미지 12장은
보존했습니다.
- **이전 회귀**: 전체 웹 221개 통과·fixture 실패 1개 뒤 메뉴 9개 통과; desktop 59개 통과·8개
조건부 제외.
- **확인하지 못한 것**: foreground 4개, 실제 휴대폰·SSH·제공자·IME·60분 임계, 일부 저장 교차 실행과
성능 동등성.
- **생성물**: Pen·토큰·상태 계약을 갱신했습니다. main의 Factory 시트는 재생성 후 기존 transplant로
통합했습니다.

## Breaking change

- 이전 체크아웃 펼침 기록은 버리고 기본 펼침으로 시작합니다. 이후 명시적으로 접은 체크아웃 상태를 저장합니다.

<details><summary>추가 증거와 한계</summary>

앞선 구현 후보에서 승인된 v6/v9 Dark 레퍼런스, Pen과 실제 컴포넌트 갤러리를 비교했습니다.
Light 이미지는 Pen과 갤러리 비교이며 별도의 승인 레퍼런스 이미지는 없습니다.
샘플 작업·언어·행 개수가 달라 전체 화면의 픽셀 동등성이나 미적 승인을 주장하지 않습니다.

![v6 세션 패널 Dark
비교](https://github.com/yansfil/pr-assets/blob/main/hide/session-first-ui/4d47eed/sfu-panel-d.png?raw=true)
![v6 세션 패널 Light
비교](https://github.com/yansfil/pr-assets/blob/main/hide/session-first-ui/4d47eed/sfu-panel-l.png?raw=true)
![v9 pane 머리 Dark
비교](https://github.com/yansfil/pr-assets/blob/main/hide/session-first-ui/4d47eed/sfu-ph-board-d.png?raw=true)
![v9 pane 머리 Light
비교](https://github.com/yansfil/pr-assets/blob/main/hide/session-first-ui/4d47eed/sfu-ph-board-l.png?raw=true)
![실제 후보 창: 자식 이동 시간초과와 같은 띠의
재시도](https://github.com/yansfil/pr-assets/blob/main/hide/session-first-ui/4d47eed/session-move-timeout.png?raw=true)

- native 캡처는 합성 lifecycle·제공자 사실과 대부분 빈 PTY를 사용한 실제 격리 daemon/Herdr
창입니다.
  물리 IME, 실제 제공자 연결이나 native PR 칩 열기까지 확인한 것은 아닙니다.
- idle 15.37초 동안 발행 0회, 두 세션의 10회 상태 전이에 30개 delta를 관찰했습니다.
  공유 호스트 부하가 통제되지 않아 CPU 전후 동등성·mutex 지연·대규모 세션 성능은 확인하지 못했습니다.
- 파생 작업은 현재 행·자식·pane 수를 따르고, 같은 controlling frame 100개에 추가 header 파생
0회입니다.
  저장 대기는 최신 한 frame으로 합쳐지며 I/O는 lock 밖입니다.
  해결·올리기·접힘 map은 세션/편지/명시적 제거 수명으로 정리하고 별도의 숫자 cap은 없습니다.
- 앞선 전체 로컬 검증 4회는 실패 기록으로 남습니다.
기존 main과 같은 hooks·kit·process 테스트의 타이밍/자손 baseline 실패는
[#288](https://github.com/modakbul-gongbang/hide/issues/288)에서 추적합니다.
main 통합 이전 추가 실행 두 번 중 첫 실행은 process baseline 5→4로 실패했고, 두 번째는
소스·테스트·제한시간·suite 변경 없이 전체 통과했습니다.
  최초의 이 변경 소유 Clippy 실패는 테스트의 동일 기대값을 참조 slice로 표현해 수정했습니다.
- 탐색용 전체 브라우저 실행은 199개 통과·22개 실패였으며 22개 모두 이후 해당 흐름 재실행으로 통과했습니다.
최초 PR CI의 7개 실패는 제거된 탐색 selector, 허용된 중복 행, 접힘 진입과 좌표 측정 준비 신호를 수정했습니다.
  기대값·제한시간·retry·skip 설정과 제품 코드는 이 후속 수정에서 바꾸지 않았습니다.
- 이전 CI 수정 뒤 웹 전체 실행은 46.5분 동안 221개 통과·앱 시작 전 Git fixture 실패 1개입니다.
  기존 helper의 서명 상속을 제거한 뒤 메뉴 spec 9개가 모두 통과했습니다.
  당시 stderr가 버려져 원래 commit 실패의 원인을 확정하지 않으며, 전체 실행을 통과로 바꾸어 쓰지 않습니다.
- 이전 CI 수정 뒤 데스크톱 background 전체 실행은 59개 통과·기존 조건부 제외 8개입니다.
  로컬 foreground 4개는 검증 가이드에 따라 CI에서 실행합니다.
캡처를 끈 실행은 기존 Light 숫자 힌트 분기도 실행하지 않으며, 이 분기는 캡처를 켠 앞선 focused 실행에서
통과했습니다.
  그 실행의 다른 두 테스트는 OS 창 캡처 오류로 중단됐고, 캡처를 끈 후속 실행에서 세 흐름이 통과했습니다.
  이 결과를 새로운 OS 스크린샷 검증으로 주장하지 않습니다.
- 플랫폼 전용 skip과 기존 React act 경고는 유지됩니다.
  저장 실패·새 Working/세션 교체가 저장 ACK와 교차하는 경우, native/추론 질문 전체 조합은 후속 개선입니다.
- 리뷰에서 URL 중복, 여러 PR의 리뷰/머지 선택, 부모 경고와 소유 요구 우선순위, 접힘 보존, 공유 배지/CTA를
수정했습니다.
  native에서 찾은 중복 이동 피드백/PTY 변형과 폐기된 요청 spec의 shard 참조도 닫았습니다.
native 질문을 읽음으로 지우자는 제안은 기존 until-answer 계약을 확인해 철회했고, AI 추론 질문만 읽음으로
내립니다.

</details>

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

- Contract: approved session-first-ui B1-B43, sealed v14/cycle2; PRD
SHA256 b4a5fa9c62f8567481dc10d2e16f03c281abcfdcc6ec256ed952ac1a3b61195c.
- Integrated base `b33fb578a8b55ec6cbca350ba3370d43f671d41c`; current
head `8dd6af014bb8ae8d82fe61fb9a8d3182e10f307a`; changed paths 186.
- Current local verification **STALE** after main/evidence integration.
Explicit maintainer letter3164 directs no new local Cargo/sealed run and
CI judgment of the combined tree.
- Immutable historical fd6 report verdict **FAIL**, generated
2026-10-08T19:40:04.317Z; attempt
`0c20891a-5156-4361-9d03-609d6264d47f`,217.963 seconds.
- Report: `agents/runs/session-first-ui/verification-report.json` and
`.md`.
- JSON SHA256
38a0b9d66b07b9be8701b770a02204c2791533303c3021e0b87230c6d4d45605.
- Markdown SHA256
e73020fcfbbd42e1062a529bce0ba552543118a5c7a9dacabc66e76c8f52bc2e.
- Historical fd6 source fingerprint
2df7dc811f2ca62d357393b6cf43f66be5853ad72bdb69e6427677e3ccb4e362; input
fingerprint
1d80ccb2043724d92b0b5dd69ba842d9e165d9c91caa0c551f0e1a8d0d5ab14c.
- At the fd6 attempt, source/input drift false and both command
mutatedTree flags false. No suite exclusion, retry, timeout or
expectation relaxation. This is not a seal of current8dd6.
- Historical fd6 S1 `bash scripts/verify-cargo.sh test`: exit101,191.015
seconds,21 actual summaries,2914 passed/1 failed/12 ignored.
- Only failure: `hide-platform
process::repeated_guarded_work_releases_children_and_capture_resources`,
process.rs560, global descendants expected5/observed4.
- S1 stops at that integration binary; remaining workspace/doc-test
targets did not execute. Log `mechanical-8b538b0ca7d4f731.log`.
- Historical fd6 S2 `bash scripts/verify-cargo.sh lint`: exit0,24.700
seconds. Log `mechanical-81dc8cc55729be05.log`.
- The failed fd6 platform tree was identical to its integrated
main64dd8bf3; independent main PR812 repairs that oracle and is included
in the new main integration. Its local execution at8dd6 is unverified.
No scanner/timeout cause is inferred.
- Explicit maintainer disposition: after main advanced and only the Pen
file conflicted, merge main and resolve through generation, run static
design checks, omit another local Cargo/sealed run, push the samePR and
leave CI/merge to the maintainer.
- Normal delivery preflight actually refused fd6 FAIL; current8dd6 also
lacks current PASS. No verification state/report was falsified. This
update uses the explicit exception, not ordinary PASS eligibility.
- Reviews: complete Fidelity v9 and Code v9 at8dd6 identify no new
SessionUI Fix now, retain B1-B43/C1-C6/F1-F6 coverage and independently
verify all196 artifact hashes plus Pen preservation; parent dispositions
v9 close the evidence follow-up condition.
- Code I1, inherited P2 Factory follow-up: a replaced notification keeps
an old close callback that forgets the current retained object by ID.
Same-main break/recover/break can reuse the ID; exact-instance release
or retiring the stale close callback needs owner coverage. This bridge
is unchanged from accepted main and outside the SessionUI diff; native
impact is source-inferred, not reproduced.
- Managed-save interleavings, native/inferred question matrices,
four-locale reasons and bounded fixture stderr remain follow-ups; no
current runtime or verification PASS is inferred from the reviews.
- Frozen registered evidence:196 files,194 material and2 historical fd6
required-command logs, all196 hashes match; all186 v8 registrations
unchanged.
- V9 adds10 material entries: seven static logs, failed initial/passed
final structural comparisons and integration provenance. Earlier
material retains its original source identity.
- Manifest `registered-evidence-review-v9.json` SHA256
da8f9b3eb53f94970f15ed07c7b8a451358220f478275a62b25baf22af9bf122.
- Current static checks: screens/contract PASS; gallery3, transplant18,
scratch10, review23, screens29 =83 PASS/zero failures or
skips;34.117-second total command duration.
- Only Pen conflicted. Regenerated merged scripts, then existing
transplant preserved all13 non-Factory branch sheets and all14
placements/version/imports/variables; Factory content excluding
placement equals main.
- Initial full generation comparison failed because eight unrelated SDK
sheets/import spelling normalized; that failed comparison remains
recorded. No Pen JSON was hand-merged and no generator was changed for
resolution.
- Historical fd6 focused CLI build28.56s PASS; web6/6 PASS2.2m; Electron
capture-enabled0/2 due OS capture errors, capture-disabled functional2/2
PASS27.1s.
- In the two Electron specs executed atfd6 the flag gates only capture
collectors. Historical digit tests have a separate conditional Light
assertion and are not described that way.
- Failed OS capture candidates: PID55249/window691 and
PID60302/window692, one on-screen window each; provenance and error DOMs
retained.
- The fd6 agent-spawn-delegation image is renderer-only. No new runtime,
OS image, physical input or live-provider observation was performed
for8dd6.
- Historical12 OS images:
source9bedba9e8ed7ed018384ba25fb34c6cac74d8879, PID36989/window36062,
private HOME/state/Herdr, synthetic lifecycle/transcripts and blank
PTYs.
- Historical whole web221 PASS/1 pre-hided Git fixture FAIL, menu9/9
closure and desktop59 PASS/8 prerequisite skips remain distinct
outcomes. Original Git stderr and exact signing cause remain
unavailable.
- Prior complete local Rust PASS belongs to4d1c0334 only and is not
substituted for the historical fd6 FAIL or current8dd6 STALE.
- Physical phone/SSH/providers/IME,60-minute threshold, complete native
narrow/key states, named managed-save failure/interleavings and matched
performance/lock/latency/fleet measurements remain unverified.
- CI and merge are handed to the maintainer after the exact pushed SHA
report; no merge performed here.

</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