elanous 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/apps/pwa/scripts/publish-static-generation.ts +80 -0
  2. package/apps/pwa/src/lib/mini-board-projection.ts +129 -0
  3. package/apps/pwa/src/lib/provenance-badge.ts +26 -0
  4. package/apps/pwa/src/lib/task-card-model.ts +73 -0
  5. package/package.json +7 -1
  6. package/scenarios/dashboard-default.yaml +53 -0
  7. package/scenarios/heap-graph.yaml +46 -0
  8. package/scenarios/iul-timeline-viewer.yaml +46 -0
  9. package/scenarios/ux-sim/app-demo-1114.yaml +22 -0
  10. package/scenarios/ux-sim/arg-macro-canvas.yaml +78 -0
  11. package/scenarios/ux-sim/author-reviewer-precheck-applied.yaml +27 -0
  12. package/scenarios/ux-sim/author-reviewer-precheck-rejected-unprovable.yaml +27 -0
  13. package/scenarios/ux-sim/burst-ready-ladder.yaml +47 -0
  14. package/scenarios/ux-sim/demo1104-research-arg-graph.yaml +32 -0
  15. package/scenarios/ux-sim/draft-inventory-200.yaml +44 -0
  16. package/scenarios/ux-sim/fixtures/phone-pwa-selfheal-broken.html +19 -0
  17. package/scenarios/ux-sim/fixtures/release-cut-0306-shards.json +7023 -0
  18. package/scenarios/ux-sim/gate-deps-root-bake.yaml +17 -0
  19. package/scenarios/ux-sim/gate-receipt-carry-any-run.yaml +31 -0
  20. package/scenarios/ux-sim/gate-roster-second-pool-world.yaml +9 -0
  21. package/scenarios/ux-sim/gate-roster-second-pool.yaml +26 -0
  22. package/scenarios/ux-sim/gate-shard-receipt-payload-corrupt.yaml +14 -0
  23. package/scenarios/ux-sim/google-drive-files-list-readonly.yaml +21 -0
  24. package/scenarios/ux-sim/graph-runtime-overlay-event-stream.yaml +27 -0
  25. package/scenarios/ux-sim/kaist-lecture-scrap-app.yaml +14 -0
  26. package/scenarios/ux-sim/kaist-selfheal-stage.yaml +14 -0
  27. package/scenarios/ux-sim/knowhow-pack-release-heal-1107.md +39 -0
  28. package/scenarios/ux-sim/macro-chain-e2e.yaml +14 -0
  29. package/scenarios/ux-sim/macrophage-attribution-integration-1107.yaml +86 -0
  30. package/scenarios/ux-sim/n30-old-graph-measured-waiver.yaml +15 -0
  31. package/scenarios/ux-sim/night-train-dead-pid-lock.yaml +19 -0
  32. package/scenarios/ux-sim/night-train-world.yaml +13 -0
  33. package/scenarios/ux-sim/novice-versioning-scenario.ts +150 -0
  34. package/scenarios/ux-sim/novice-versioning-world.yaml +6 -0
  35. package/scenarios/ux-sim/phone-pwa-selfheal-trace.json +30 -0
  36. package/scenarios/ux-sim/provider-4xx-no-provider.yaml +26 -0
  37. package/scenarios/ux-sim/pwa-formal-update-world.yaml +5 -0
  38. package/scenarios/ux-sim/pwa-formal-update.yaml +8 -0
  39. package/scenarios/ux-sim/rehearsal-hard-2h-mandatory.yaml +37 -0
  40. package/scenarios/ux-sim/release-cut-preflight-regressions.yaml +31 -0
  41. package/scenarios/ux-sim/release-day-0307-replay.yaml +138 -0
  42. package/scenarios/ux-sim/release-gate-fanout.yaml +48 -0
  43. package/scenarios/ux-sim/release-heal-macrophage-bus.yaml +37 -0
  44. package/scenarios/ux-sim/release-incident-events-execution.yaml +114 -0
  45. package/scenarios/ux-sim/release-incident-events.yaml +98 -0
  46. package/scenarios/ux-sim/release-introduced-repair.yaml +40 -0
  47. package/scenarios/ux-sim/release-receipt-inheritance.yaml +24 -0
  48. package/scenarios/ux-sim/release-sim-chain-remaining.yaml +46 -0
  49. package/scenarios/ux-sim/release-sim-rig.yaml +266 -0
  50. package/scenarios/ux-sim/rla-arg-adaptive-heal.yaml +45 -0
  51. package/scenarios/ux-sim/rla-incident-policy-host-lost.yaml +17 -0
  52. package/scenarios/ux-sim/rla-postland-recovery-hitl.yaml +17 -0
  53. package/scenarios/ux-sim/rla-rehearsal-cloud-resume-sim.yaml +36 -0
  54. package/scenarios/ux-sim/rla-rehearsal-incident-sim-b.yaml +29 -0
  55. package/scenarios/ux-sim/sim-hq-move-world.yaml +9 -0
  56. package/scenarios/ux-sim/sim-hq-move.yaml +14 -0
  57. package/scenarios/ux-sim/tui-selfimplement-retry-loop.yaml +29 -0
  58. package/scenarios/ux-sim/warm-pool-reuse-world.yaml +117 -0
  59. package/src/version/packed-revision.json +1 -1
  60. package/test/helpers/dashboard-source.ts +110 -0
@@ -0,0 +1,17 @@
1
+ kind: gate-deps-root-bake
2
+ isolation: test
3
+ production:
4
+ stage: src/task-orchestrator/surfaces/pod-gate-deps.ts
5
+ imageBoundary: docker/harness/Dockerfile
6
+ shardInstall: scripts/release-loop/gate-node.ts
7
+ case:
8
+ id: root-postinstall-script-is-present-in-image-context
9
+ packageScript: node scripts/npm-postinstall.cjs
10
+ fault: staged manifest includes lifecycle command but its local script is absent
11
+ expectedLog: baked
12
+ expectedDriftLog: miss:lifecycle input differs
13
+ installSlots: 4
14
+ expect:
15
+ imageBuild: root and apps/pwa node_modules present
16
+ shard: root and apps/pwa use baked node_modules symlinks
17
+ rootInstallSlot: unused
@@ -0,0 +1,31 @@
1
+ version: 1
2
+ kind: release-gate-shard-receipt-skip
3
+ id: gate-receipt-carry-any-run-0306
4
+ isolation: test
5
+ source: scripts/release-loop/gate-node.ts
6
+ cases:
7
+ - id: append-test-file
8
+ event: descendant-commit-adds-one-test
9
+ expect: { carried: [pod-0, pod-1, pod-2], rerun: [pod-3], totalPods: 1 }
10
+ - id: append-document-referenced-by-one-test
11
+ event: descendant-commit-appends-one-document-read-by-one-test
12
+ expect: { carried: 80, rerun: [pod-0], totalPods: 1 }
13
+ - id: same-commit-resume
14
+ event: resumed-after-append-with-identical-input
15
+ expect: { carried: [pod-0, pod-1, pod-2, pod-3], rerun: [], totalPods: 0 }
16
+ - id: host-replacement
17
+ event: identical-receipts-read-from-a-different-eligible-host
18
+ expect: { carried: [pod-0, pod-1, pod-2, pod-3], rerun: [], totalPods: 0 }
19
+ - id: source-only-cut-image-change
20
+ event: source-only-descendant-cut-rebuilds-image-with-same-dependency-layer
21
+ expect: { carried: [pod-0, pod-1, pod-2, pod-3], rerun: [], totalPods: 0 }
22
+ - id: lockfile-cut-change
23
+ event: descendant-cut-changes-lockfile-and-dependency-layer
24
+ expect: { carried: [], rerun: [pod-0, pod-1, pod-2, pod-3], totalPods: 4 }
25
+ - id: shard-payload-corruption
26
+ event: one-result-payload-digest-mismatch
27
+ corrupt: pod-1
28
+ expect: { carried: [pod-0, pod-2, pod-3], rerun: [pod-1], totalPods: 1 }
29
+ - id: base-image-change
30
+ event: current-execution-base-image-digest-changes
31
+ expect: { carried: [], rerun: [pod-0, pod-1, pod-2, pod-3], totalPods: 4 }
@@ -0,0 +1,9 @@
1
+ world: gate-roster-second-pool
2
+ seed: 35367
3
+ devices: [world-runtime]
4
+ events:
5
+ - { at: "+1s", id: gate-pools-pinned-sweep }
6
+ - { at: "+2s", id: gate-mshq-unavailable }
7
+ - { at: "+3s", id: gate-both-unavailable }
8
+ - { at: "+4s", id: gate-digest-mismatch }
9
+ - { at: "+5s", id: gate-no-pinned-image }
@@ -0,0 +1,26 @@
1
+ world: gate-roster-second-pool
2
+ steps:
3
+ - inject:
4
+ id: gate-roster-second-pool
5
+ - observe: gate-roster-second-pool
6
+ expect:
7
+ observations:
8
+ - { event: "gate-pools-pinned-sweep:injected", verdict: injected, gateOutcome: not-run }
9
+ - { event: gate-pools-pinned-sweep, verdict: pass, gateOutcome: ok, gateError: null }
10
+ - { event: "gate-mshq-unavailable:injected", verdict: injected, gateOutcome: not-run }
11
+ - event: gate-mshq-unavailable
12
+ verdict: pass
13
+ gateOutcome: ok
14
+ gateError: null
15
+ placements:
16
+ - { context: pool-mshq, files: [src/roster-00.test.ts], available: false }
17
+ - { context: pool-node-b, files: [src/roster-00.test.ts], available: true }
18
+ reassignments:
19
+ - { from: pool-mshq, to: pool-node-b, files: [src/roster-00.test.ts] }
20
+ completedFiles: [src/roster-00.test.ts]
21
+ - { event: "gate-both-unavailable:injected", verdict: injected, gateOutcome: not-run }
22
+ - { event: gate-both-unavailable, verdict: measurement-unavailable, gateOutcome: error, gateError: "pod sweep incomplete: stalled shards 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7" }
23
+ - { event: "gate-digest-mismatch:injected", verdict: injected, gateOutcome: not-run }
24
+ - { event: gate-digest-mismatch, verdict: image-fingerprint-mismatch, gateOutcome: error, gateError: "gate image pin refused: pool image digest mismatch (pool-mshq)" }
25
+ - { event: "gate-no-pinned-image:injected", verdict: injected, gateOutcome: not-run }
26
+ - { event: gate-no-pinned-image, verdict: measurement-unavailable, gateOutcome: error, gateError: "gate image pin refused: initial-image-digest-missing" }
@@ -0,0 +1,14 @@
1
+ kind: gate-shard-receipt-recovery
2
+ isolation: test
3
+ source: scripts/release-loop/gate-shard-receipts.ts
4
+ consumer: scripts/release-loop/resume-release.ts
5
+ cases:
6
+ - id: one-payload-corrupt
7
+ event: read one previously saved shard result whose payload digest no longer matches
8
+ corruptedShard: pod-2
9
+ expect:
10
+ invalidatedShardIds: [pod-2]
11
+ invalidatedFiles: [src/c.test.ts]
12
+ remeasureFiles: [src/a.test.ts, src/c.test.ts]
13
+ reusableShardIds: [pod-0, pod-1]
14
+ otherShards: carried
@@ -0,0 +1,21 @@
1
+ id: GOOGLE-DRIVE-LIST-READONLY
2
+ scope: https://www.googleapis.com/auth/drive.metadata.readonly
3
+ pageSize: 2
4
+ files:
5
+ - id: file-a
6
+ name: notes.txt
7
+ mimeType: text/plain
8
+ modifiedTime: '2026-11-07T00:00:00.000Z'
9
+ - id: file-b
10
+ name: image.png
11
+ mimeType: image/png
12
+ modifiedTime: '2026-11-07T00:01:00.000Z'
13
+ - id: file-c
14
+ name: plan.pdf
15
+ mimeType: application/pdf
16
+ modifiedTime: '2026-11-07T00:02:00.000Z'
17
+ expected:
18
+ firstPageCount: 2
19
+ secondPageCount: 1
20
+ writeStatus: 403
21
+ mutations: 0
@@ -0,0 +1,27 @@
1
+ version: 0
2
+ id: graph-runtime-overlay-event-stream
3
+ isolation: test
4
+ seed: 110109
5
+ triggers:
6
+ - id: runtime-overlay-dispatch
7
+ type: ux.graph-runtime-overlay.evaluate
8
+ goal_id: event_stream_probe
9
+ expect:
10
+ screen:
11
+ mode: widget
12
+ snapshot:
13
+ contains:
14
+ - "Graph runtime overlay event stream simulation"
15
+ - "status=done"
16
+ - "decisionObserved=true"
17
+ - "overlayApplied=true"
18
+ logs:
19
+ - category: self-implement
20
+ event: graph-overlay-decision
21
+ level: debug
22
+ count: 1
23
+ data:
24
+ runId: "$runId"
25
+ stage: runtime
26
+ applied:
27
+ - ux-sim-event-stream-runtime-overlay
@@ -0,0 +1,14 @@
1
+ world: kaist-lecture-scrap-app
2
+ seed: 1114
3
+ clock: { start: '2100-11-14T00:00:00Z', speed: 60 }
4
+ apps:
5
+ - slug: lecture-scrap
6
+ versions:
7
+ - id: v1
8
+ files:
9
+ index.html: '<main><h1>날짜별 기록</h1><article>2026-11-14 · 기록일 (녹음 시작 기준) · 수업일 예시 2026-11-13 · 강의 자료 폴더 (논리 폴더 예시)</article></main>'
10
+ notes/new.html: '<main><h1>노트 작성</h1><p>기록일 예시 2026-11-14 · 수업일 예시 2026-11-13 · 기록 폴더 예시: 강의 자료 (논리 분류)</p><textarea aria-label="강의 노트"></textarea></main>'
11
+ search.html: '<main><h1>검색</h1><input aria-label="자료 검색"></main>'
12
+ steps:
13
+ - observe: kaist-lecture-scrap
14
+ staticBuildRequired: true
@@ -0,0 +1,14 @@
1
+ version: 1
2
+ kind: release-graph
3
+ id: kaist-selfheal-stage
4
+ isolation: test
5
+ input:
6
+ version: '0.3.8'
7
+ previousVersion: '0.3.7'
8
+ cases:
9
+ - id: lecture-scrap-search-repair
10
+ mode: kaist-selfheal-stage
11
+ expect:
12
+ status: done
13
+ mustVisit: [gate, receipt-audit, residual-run, gate-triage, done]
14
+ mustNotVisit: [failed]
@@ -0,0 +1,39 @@
1
+ # RLA incident knowledge-pack simulation fixture
2
+
3
+ Synthetic incident summaries for simulator use. Each row contains only incident ID, node, symptom, and cause.
4
+
5
+ | id | node | symptom | cause |
6
+ |---|---|---|---|
7
+ | R01 | checklist(런 진입) | 발행 체크리스트가 미완료 상태라 런 진입이 거부됨 | 발행 뒤에만 측정 가능한 칸을 시작 전 관문으로 취급함 |
8
+ | R02 | gate | 컷 이미지 pin 이 없어서 게이트 Pod 가 시작되지 않음 | 컷 시작 전에 pin 을 생성하지 않음 |
9
+ | R03 | version-release(preflight) | 런 입력에 게이트 이미지 pin 이 없음 | 오래된 CLI 가 새 입력 필드를 전달하지 않음 |
10
+ | R04 | resume | 저장된 레시피와 현재 레시피가 달라 재개가 거부됨 | 런을 시작한 트리와 재개 트리가 다름 |
11
+ | R05 | version-release | 기존 소유자의 릴리즈 브랜치를 덮어쓰려 해 거부됨 | 릴리즈 브랜치 소유권이 다름 |
12
+ | R06 | gate | 게이트 Pod 가 런 범위 식별자 없이 시작 요청을 거부함 | graph run ID 를 게이트 옵션에 전달하지 않음 |
13
+ | R07 | gate | 본부 조각 원장이 설정되지 않아 게이트가 거부됨 | 필수 원장 설정을 시작 전에 확인하지 않음 |
14
+ | R08 | resume | 이번 릴리즈 컷에서 시작하지 않은 런의 재개가 거부됨 | 저장된 런 입력과 요청한 릴리즈 판이 일치하지 않음 |
15
+ | R09 | export-check | 원격 export 가 그래프 실행 맥락을 찾지 못함 | 원격 자식에 그래프 맥락을 전달하지 않음 |
16
+ | R10 | export-check | PWA 산출 검사가 타입 오류가 있는 빌드 실패를 보고함 | 빌드 진단 대신 산출물 부재만 요약함 |
17
+ | R11 | gate | 전체 게이트에서 다수의 새 실패가 판정됨 | 영수증 키·기준선 차이·시뮬 고정물이 서로 어긋남 |
18
+ | R12 | gate | 위치가 바뀐 피치덱 근거를 시험이 찾지 못함 | 문서 이동 뒤 시험 기대 위치가 갱신되지 않음 |
19
+ | R13 | resume / known-issues | 컷 커밋 런에서 알려진 실패를 승인할 경로가 없음 | 허용된 회귀 입력이 해당 런 형식에 연결되지 않음 |
20
+ | R14 | gate | 의존성 크기·래칫 계약 위반이 게이트 실패로 분류됨 | 허용 목록과 크기 기준이 실제 상태와 맞지 않음 |
21
+ | R15 | gate(영수증) | 변경 파일과 무관한 통과 조각까지 재측정됨 | 재사용 반경이 변경 경로와 시험 영향 관계를 반영하지 않음 |
22
+ | R16 | gate(영수증) | 같은 커밋 재게이트가 영수증 불완전으로 전체 재실행됨 | 이전 재측정 결과가 완결 영수증에 반영되지 않음 |
23
+ | R17 | gate(사전 계산) | 영수증 사전 계산이 오래 걸리고 원장 진행이 보이지 않음 | 시험 파일별 순차 계산과 단계 진행 관측 부재 |
24
+ | R18 | gate | 기준선·컷 판정에서 세 시험 실패가 새 회귀로 분류됨 | 서로 다른 코드 회귀가 한 번의 게이트에 함께 들어옴 |
25
+ | R19 | gate-repair | 여러 원인 파일이 하나의 수리 입력으로 묶여 HITL 로 전달됨 | 자동 수리 입력이 원인 파일 하나만 허용함 |
26
+ | R20 | gate(판정) | 기준선 실행과 단독 재실행 결과가 달라 회귀 귀속이 흔들림 | 부하 간섭으로 기준선 판독이 일치하지 않음 |
27
+ | R21 | gate(bisect) | 실패 원인을 특정 PR 로 귀속할 수 없음 | 기준선이 컷의 허용된 조상 관계를 만족하지 않음 |
28
+ | R22 | gate(조각 병합) | 조각 중단 뒤 불완전 결과 묶음이 거부됨 | 재시도 결과가 최종 원장 묶음에 합쳐지지 않음 |
29
+ | R23 | pwa | 브라우저가 없는 호스트에서 PWA 시나리오가 실행되지 않음 | 선택한 호스트에 브라우저 실행 환경이 없음 |
30
+ | R24 | pre-prepare-join | 준비 단계가 진단 없이 실패함 | 분기 런의 실패 결과가 join 단계에 전달되지 않음 |
31
+ | R25 | heal-loop observe-deeper | observe-deeper 가 잘못된 런 식별자를 받아 원장 조회에 실패 | heal-loop 이 graph ID 와 run ID 를 합친 값을 run ID 로 전달함 |
32
+ | R26 | 대식세포 관측 | 대식세포 실행 이벤트가 관측되지 않음 | 부모 그래프 런타임에서 관측 이벤트를 발행하지 않음 |
33
+ | R28 | gate(예행) | 부하가 큰 호스트에서 시험 시간이 초과되어 자동 수리가 HITL 로 넘어감 | 호스트 자원 부족으로 시간 제한을 넘김 |
34
+ | R29 | 열차(main) | main 타입 검사 실패로 열차 진행이 중단됨 | 기준 브랜치에 타입 오류가 들어옴 |
35
+ | R30 | 열차(main) | 규칙 계약 래칫 실패로 열차 진행이 중단됨 | 규칙 변경과 래칫 기대값이 일치하지 않음 |
36
+ | R31 | 환경(mbp) | 임시 원격 타입 검사 설정이 발행 뒤에도 남음 | 일회성 우회 설정의 제거를 추적하지 않음 |
37
+ | R32 | 컷 append | 컷 변경을 main 에 추가할 때 이름 충돌이 발생함 | 같은 허브 파일을 별도 PR 이 겹쳐 수정함 |
38
+ | R32a | 열차 | 단독 작업이 준비된 묶음보다 뒤로 밀려 오래 대기함 | 큐 우선순위가 단독 작업의 진행을 보장하지 않음 |
39
+ | R33 | 열차 | 워커가 시작 직후 종료되어 실패가 늦게 발견됨 | 워커 시작 실패를 감지하는 상태 관측이 없음 |
@@ -0,0 +1,14 @@
1
+ version: 1
2
+ kind: release-graph
3
+ id: macro-chain-e2e
4
+ isolation: test
5
+ input:
6
+ version: '0.3.8'
7
+ previousVersion: '0.3.7'
8
+ cases:
9
+ - id: receipt-audit-repair-resume
10
+ mode: macro-chain-e2e
11
+ expect:
12
+ status: done
13
+ mustVisit: [gate, receipt-audit, residual-run, gate-triage, done]
14
+ mustNotVisit: [failed]
@@ -0,0 +1,86 @@
1
+ version: 1
2
+ kind: release-macrophage-attribution-integration
3
+ id: macrophage-attribution-integration-1107
4
+ runId: release-sim-macrophage-attribution-integration-1107
5
+ previousReleaseTag: release/0.3.5
6
+ incidents:
7
+ - id: a-export-check-failures
8
+ source: release-graph
9
+ signature: export-check missing graph context and PWA type failure
10
+ evidence: unmeasured
11
+ failureIds:
12
+ - tests/export-context.test.ts > reads the graph context
13
+ - tests/pwa-typecheck.test.ts > PWA output has valid types
14
+ expected: hitl
15
+ - id: b-shard-ledger-config
16
+ source: release-graph
17
+ signature: gate HQ shard ledger is not configured
18
+ evidence: unmeasured
19
+ failureIds: [tests/shard-ledger.test.ts > requires the HQ shard ledger]
20
+ expected: hitl
21
+ - id: c-three-file-regression
22
+ source: release-graph
23
+ signature: gate regression with independently attributed source files
24
+ evidence: introduced
25
+ failureIds:
26
+ - tests/gate-metadata.test.ts > introduced metadata regression
27
+ - tests/gate-pod-stall.test.ts > introduced Pod-stall regression
28
+ independentFiles: true
29
+ expected: fix
30
+ landed: true
31
+ - id: d-receipt-reuse-zero-of-81
32
+ source: release-graph
33
+ signature: d4df149e changed non-TypeScript inputs and invalidated the full 81-shard receipt radius
34
+ evidence: introduced
35
+ failureIds: [tests/receipt-radius.test.ts > receipt reuse was lost]
36
+ radiusReplay:
37
+ priorHead: 63ff4cc9ea8cf1c0c5ad451c8b35a34224a89507
38
+ cutHead: d4df149e3ae9e8862033ebbb1a1d52c0ff65ffd0
39
+ changedFiles:
40
+ - docs/TECH-harness-map-2026-10-06.md
41
+ - scenarios/ux-sim/rla-arg-adaptive-heal.yaml
42
+ - scripts/release-loop/gate-node.ts
43
+ - src/graph-runner/runner.ts
44
+ nonTypeScriptImpactReason: changed-non-ts-input
45
+ receiptRosterFixture: scenarios/ux-sim/fixtures/release-cut-0306-shards.json
46
+ shardCount: 81
47
+ testCount: 6611
48
+ receiptsReused: 0
49
+ radiusInvalidated: 81
50
+ productionReplayTest: scripts/release-loop/gate-cut-preflight-sim.test.ts
51
+ expected: fix
52
+ landed: true
53
+ - id: e-cli-image-scope-owner
54
+ source: release-graph
55
+ signature: stale CLI image pin run scope and branch owner evidence
56
+ evidence: unmeasured
57
+ failureIds: [tests/pod-image-preflight.test.ts > pinned image metadata is incomplete]
58
+ expected: hitl
59
+ - id: f-train-solo-starvation
60
+ source: train
61
+ signature: needs_solo ran before ready bundle
62
+ evidence: external
63
+ expected: noise
64
+ - id: g-worker-run-id-collision
65
+ source: train
66
+ signature: worker exited after run id prefix collision
67
+ evidence: unmeasured
68
+ expected: hitl
69
+ - id: h-main-tsc-rules-ratchet
70
+ source: train
71
+ signature: main typecheck and rules contract ratchet blocked train
72
+ evidence: introduced
73
+ failureIds: [tests/main-tsc.test.ts > changed main typecheck is rejected]
74
+ revertSafe: true
75
+ priorRepairStepsFailed: 1
76
+ expected: hitl
77
+ - id: i-review-cap-loop
78
+ source: host
79
+ signature: review cap exhausted and owner decision required
80
+ evidence: unmeasured
81
+ expected: hitl
82
+ - id: j-mbp-overload
83
+ source: host
84
+ signature: host saturation without a release loop resource signal
85
+ evidence: external
86
+ expected: noise
@@ -0,0 +1,15 @@
1
+ version: 1
2
+ kind: release-graph
3
+ id: n30-old-graph-measured-waiver-0311
4
+ isolation: test
5
+ input:
6
+ version: '0.2.45'
7
+ previousVersion: '0.2.44'
8
+ cases:
9
+ - id: old-graph-measured-waiver-stops-before-resume-dispatch
10
+ mode: old-graph-measured-waiver
11
+ expect:
12
+ status: resume-refused
13
+ mustVisit: [version-release, gate]
14
+ mustNotVisit: [known-issues, publish]
15
+ refusalIncludes: measured gate regressions cannot be waived
@@ -0,0 +1,19 @@
1
+ world: night-train
2
+ seed: 42
3
+ devices:
4
+ - fake-clock
5
+ events:
6
+ - at: +5m
7
+ id: EV-0042
8
+ steps:
9
+ - inject:
10
+ id: EV-0042
11
+ version: 0.2.45
12
+ - observe: release-readiness
13
+ expect:
14
+ livePidLock:
15
+ ready: false
16
+ reason: already-running
17
+ deadPidLock:
18
+ ready: true
19
+ reason: ready
@@ -0,0 +1,13 @@
1
+ world: night-train
2
+ seed: 42
3
+ clock: { start: "2026-11-01T18:00:00+09:00", speed: 600 }
4
+ hosts:
5
+ - { name: node-b, arch: arm64, cpu: 32, pools: [gate, train], egress: false }
6
+ - { name: gcp2, arch: amd64, cpu: 8, pools: [gate], egress: false }
7
+ providers:
8
+ codex: { accounts: [default:61%, team:1%, third:0%] }
9
+ claude: { quota: exhausted }
10
+ github: { repo: fixture-small, openPRs: 2 }
11
+ seats: [OP, TC, OPT]
12
+ events:
13
+ - { at: "+5m", id: EV-0042 }
@@ -0,0 +1,150 @@
1
+ /** Screen-only novice journeys for app version restore and safe change preview. */
2
+ export type NoviceVersioningTask = "restore-yesterday" | "preview-discard" | "preview-apply";
3
+ type ScreenId = "home" | "history" | "change-request" | "preview" | "restored" | "discarded" | "applied";
4
+ export type NoviceVersioningFault = "apply-routes-to-discard" | "apply-reports-wrong-version" | "applied-screen-has-forbidden-word";
5
+
6
+ export interface NoviceScreen {
7
+ readonly id: ScreenId;
8
+ readonly title: string;
9
+ readonly body: string;
10
+ /** Version that becomes current only when this screen is entered. */
11
+ readonly versionOnEnter?: string;
12
+ readonly choices: readonly { readonly label: string; readonly next: ScreenId }[];
13
+ }
14
+
15
+ export interface NoviceTaskEvidence {
16
+ readonly task: NoviceVersioningTask;
17
+ readonly userPrompt: string;
18
+ readonly pass: boolean;
19
+ readonly clicks: number;
20
+ /** Step-based screen-reading and click estimate, not wall-clock timing. */
21
+ readonly elapsedSeconds: number;
22
+ /** A scripted choice was unavailable; this does not measure novice comprehension. */
23
+ readonly stuckScreens: readonly string[];
24
+ readonly forbiddenWords: readonly string[];
25
+ readonly visitedScreens: readonly ScreenId[];
26
+ readonly finalVersion: string;
27
+ }
28
+
29
+ // Source: 내부 문서 `app-source-and-git` §2 — each novice task must finish within one minute.
30
+ const MAX_TASK_SECONDS = 60;
31
+ // Source: 내부 문서 `app-source-and-git` §2 — step-based screen-reading and click estimate.
32
+ const SECONDS_PER_SCREEN = 9;
33
+ // Source: 내부 문서 `app-source-and-git` §2 — step-based screen-reading and click estimate.
34
+ const SECONDS_PER_CLICK = 3;
35
+ // Source: 내부 문서 `app-source-and-git` §2 — includes the novice typed change request.
36
+ const SECONDS_PER_CHANGE_REQUEST = 5;
37
+ const FORBIDDEN_SCREEN_WORDS = ["git", "commit", "branch", "pr", "merge", "커밋", "브랜치", "머지"] as const;
38
+
39
+ /** This catalog is the only text shown to the simulated novice. */
40
+ export const NOVICE_VERSIONING_SCREENS: Readonly<Record<ScreenId, NoviceScreen>> = {
41
+ home: {
42
+ id: "home", title: "내 앱", body: "지금 쓰는 모습과 저장한 판을 관리해요.",
43
+ choices: [
44
+ { label: "저장한 버전 보기", next: "history" },
45
+ { label: "바꿔 보기", next: "change-request" },
46
+ ],
47
+ },
48
+ history: {
49
+ id: "history", title: "저장한 버전", body: "오늘 · 버튼 색을 파란색으로 바꿨어요\n어제 · 처음 만든 모습이에요",
50
+ choices: [{ label: "어제 버전으로 되돌리기", next: "restored" }],
51
+ },
52
+ "change-request": {
53
+ id: "change-request", title: "바꿔 볼 내용을 적어 주세요", body: "버튼 색을 초록색으로 바꿔 주세요.",
54
+ choices: [{ label: "미리 보기 만들기", next: "preview" }],
55
+ },
56
+ preview: {
57
+ id: "preview", title: "바뀐 모습", body: "버튼 색이 초록색으로 바뀌었어요. 마음에 들지 않으면 버릴 수 있어요.",
58
+ choices: [
59
+ { label: "적용하기", next: "applied" },
60
+ { label: "버리기", next: "discarded" },
61
+ ],
62
+ },
63
+ restored: { id: "restored", title: "어제 모습으로 돌아왔어요", body: "저장한 버전은 그대로 남아 있어요.", versionOnEnter: "version-yesterday", choices: [] },
64
+ discarded: { id: "discarded", title: "바꾼 내용을 버렸어요", body: "원래 모습은 그대로예요.", versionOnEnter: "version-today", choices: [] },
65
+ applied: { id: "applied", title: "새 모습을 적용했어요", body: "바뀐 모습이 현재 앱에 저장됐어요.", versionOnEnter: "version-color-change", choices: [] },
66
+ };
67
+
68
+ const ACTIONS: Readonly<Record<NoviceVersioningTask, readonly string[]>> = {
69
+ "restore-yesterday": ["저장한 버전 보기", "어제 버전으로 되돌리기"],
70
+ "preview-discard": ["바꿔 보기", "미리 보기 만들기", "버리기"],
71
+ "preview-apply": ["바꿔 보기", "미리 보기 만들기", "적용하기"],
72
+ };
73
+
74
+ const TERMINAL: Readonly<Record<NoviceVersioningTask, ScreenId>> = {
75
+ "restore-yesterday": "restored",
76
+ "preview-discard": "discarded",
77
+ "preview-apply": "applied",
78
+ };
79
+
80
+ const EXPECTED_FINAL_VERSION: Readonly<Record<NoviceVersioningTask, string>> = {
81
+ "restore-yesterday": "version-yesterday",
82
+ "preview-discard": "version-today",
83
+ "preview-apply": "version-color-change",
84
+ };
85
+
86
+ const USER_PROMPT: Readonly<Record<NoviceVersioningTask, string>> = {
87
+ "restore-yesterday": "어제 버전으로 되돌리기",
88
+ "preview-discard": "버튼 색을 바꿔 보고 마음에 들지 않으면 버리기",
89
+ "preview-apply": "버튼 색을 바꿔 보고 마음에 들면 적용하기",
90
+ };
91
+
92
+ function forbiddenWordsOnVisitedScreens(visited: readonly ScreenId[], screens: Readonly<Record<ScreenId, NoviceScreen>>): string[] {
93
+ const screenText = visited.map((id) => {
94
+ const screen = screens[id];
95
+ return [screen.title, screen.body, ...screen.choices.map((choice) => choice.label)].join("\n");
96
+ }).join("\n");
97
+ return FORBIDDEN_SCREEN_WORDS.filter((word) => {
98
+ if (word === "커밋" || word === "브랜치" || word === "머지") return screenText.includes(word);
99
+ return new RegExp(`\\b${word}\\b`, "i").test(screenText);
100
+ });
101
+ }
102
+
103
+ export function runNoviceVersioningTask(task: NoviceVersioningTask, screens: Readonly<Record<ScreenId, NoviceScreen>> = NOVICE_VERSIONING_SCREENS): NoviceTaskEvidence {
104
+ const actions = ACTIONS[task];
105
+ const terminal = TERMINAL[task];
106
+ const visited: ScreenId[] = ["home"];
107
+ const stuckScreens: string[] = [];
108
+ let screenId: ScreenId = "home";
109
+ let clicks = 0;
110
+ let actionIndex = 0;
111
+ let currentVersion = "version-today";
112
+
113
+ while (screenId !== terminal) {
114
+ const screen: NoviceScreen = screens[screenId];
115
+ const action = actions[actionIndex];
116
+ const choice: NoviceScreen["choices"][number] | undefined = screen.choices.find((candidate) => candidate.label === action);
117
+ if (!choice) {
118
+ stuckScreens.push(screen.id);
119
+ break;
120
+ }
121
+ clicks += 1;
122
+ actionIndex += 1;
123
+ screenId = choice.next;
124
+ visited.push(screenId);
125
+ currentVersion = screens[screenId].versionOnEnter ?? currentVersion;
126
+ }
127
+
128
+ const forbiddenWords = forbiddenWordsOnVisitedScreens(visited, screens);
129
+ const changeRequestSeconds = task === "restore-yesterday" ? 0 : SECONDS_PER_CHANGE_REQUEST;
130
+ const elapsedSeconds = visited.length * SECONDS_PER_SCREEN + clicks * SECONDS_PER_CLICK + changeRequestSeconds;
131
+ const pass = screenId === terminal && actionIndex === actions.length && stuckScreens.length === 0
132
+ && currentVersion === EXPECTED_FINAL_VERSION[task] && forbiddenWords.length === 0 && elapsedSeconds <= MAX_TASK_SECONDS;
133
+ return { task, userPrompt: USER_PROMPT[task], pass, clicks, elapsedSeconds, stuckScreens, forbiddenWords, visitedScreens: visited,
134
+ finalVersion: currentVersion };
135
+ }
136
+
137
+ export function runNoviceVersioningScenario(fault?: NoviceVersioningFault): NoviceTaskEvidence[] {
138
+ const tasks: NoviceVersioningTask[] = ["restore-yesterday", "preview-discard", "preview-apply"];
139
+ if (!fault) return tasks.map((task) => runNoviceVersioningTask(task));
140
+ const screens: Record<ScreenId, NoviceScreen> = { ...NOVICE_VERSIONING_SCREENS };
141
+ if (fault === "apply-routes-to-discard") {
142
+ screens.preview = { ...screens.preview, choices: screens.preview.choices.map((choice) => choice.label === "적용하기"
143
+ ? { ...choice, next: "discarded" as const } : choice) };
144
+ } else if (fault === "apply-reports-wrong-version") {
145
+ screens.applied = { ...screens.applied, versionOnEnter: "version-today" };
146
+ } else if (fault === "applied-screen-has-forbidden-word") {
147
+ screens.applied = { ...screens.applied, title: "git 화면" };
148
+ }
149
+ return tasks.map((task) => runNoviceVersioningTask(task, screens));
150
+ }
@@ -0,0 +1,6 @@
1
+ world: novice-versioning
2
+ seed: 1109
3
+ github:
4
+ repo: novice/versioning-app
5
+ openPRs: 0
6
+ events: []
@@ -0,0 +1,30 @@
1
+ {
2
+ "scenario": "DEMO-1114-PHONE-PWA-SELFHEAL",
3
+ "source": "simulator",
4
+ "liveDevice": false,
5
+ "viewport": {
6
+ "width": 360,
7
+ "height": 800,
8
+ "device": "fake-fold"
9
+ },
10
+ "frames": [
11
+ {
12
+ "id": "before-repair",
13
+ "ctaLeft": 300,
14
+ "ctaRight": 460,
15
+ "verdict": "clipped"
16
+ },
17
+ {
18
+ "id": "after-repair",
19
+ "ctaLeft": 184,
20
+ "ctaRight": 344,
21
+ "verdict": "visible"
22
+ }
23
+ ],
24
+ "graph": [
25
+ "phone-observe",
26
+ "viewport-judge",
27
+ "responsive-repair",
28
+ "phone-reobserve"
29
+ ]
30
+ }
@@ -0,0 +1,26 @@
1
+ version: 0
2
+ id: codex-request-rejected-shape-400
3
+ isolation: test
4
+ seed: 28736
5
+ triggers:
6
+ - id: codex-400
7
+ type: codex.responses.fetch
8
+ status: 400
9
+ count: 2
10
+ expect:
11
+ screen:
12
+ mode: widget
13
+ snapshot:
14
+ contains:
15
+ - Codex API 400
16
+ excludes:
17
+ - scenario-fake-token
18
+ - scenario test request
19
+ - scenario test input
20
+ logs:
21
+ - category: llm.codex
22
+ event: request-rejected-shape
23
+ level: debug
24
+ count: 1
25
+ data:
26
+ status: 400
@@ -0,0 +1,5 @@
1
+ world: pwa-formal-update
2
+ seed: 1109
3
+ devices: [fake-clock]
4
+ clock: { start: '2100-11-09T00:00:00Z', speed: 60 }
5
+ events: []
@@ -0,0 +1,8 @@
1
+ world: pwa-formal-update
2
+ steps:
3
+ - observe: pwa-formal-update
4
+ expect:
5
+ verdict: fail
6
+ activeHtml: '<main>previous</main>'
7
+ restart: not-called
8
+ observe: not-called
@@ -0,0 +1,37 @@
1
+ kind: rehearsal-hard-2h-mandatory
2
+ isolation: test
3
+ source: src/release-loop/rehearsal.ts
4
+ cases:
5
+ - id: missing-file-memory
6
+ plan:
7
+ shards: 4
8
+ testFiles: 18
9
+ gatePlanShards: 12
10
+ resources: { cpus: 8, freeBytes: 17179869184, totalBytes: 34359738368 }
11
+ unmeasured: "selected file memory not measured: 2/18"
12
+ planningGaps: ["selected file memory not measured: 2/18"]
13
+ - id: missing-persisted-shard-plan
14
+ plan:
15
+ shards: 4
16
+ testFiles: 18
17
+ gatePlanShards: null
18
+ resources: { cpus: 8, freeBytes: 17179869184, totalBytes: 34359738368 }
19
+ unmeasured: persisted gate shard plan unavailable
20
+ planningGaps: [persisted gate shard plan unavailable]
21
+ - id: unknown-test-inventory
22
+ plan:
23
+ shards: 4
24
+ testFiles: null
25
+ gatePlanShards: 4
26
+ resources: { cpus: 8, freeBytes: 17179869184, totalBytes: 34359738368 }
27
+ unmeasured: selected test inventory unavailable
28
+ planningGaps: [selected test inventory unavailable]
29
+ - id: remote-capacity-verified-by-completed-run
30
+ plan:
31
+ shards: 4
32
+ testFiles: 18
33
+ gatePlanShards: 4
34
+ resources: { cpus: 8, freeBytes: 17179869184, totalBytes: 34359738368 }
35
+ unmeasured: remote gate host resources unmeasured before RC
36
+ remoteCapacityPending: true
37
+ planningGaps: []