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.
- package/apps/pwa/scripts/publish-static-generation.ts +80 -0
- package/apps/pwa/src/lib/mini-board-projection.ts +129 -0
- package/apps/pwa/src/lib/provenance-badge.ts +26 -0
- package/apps/pwa/src/lib/task-card-model.ts +73 -0
- package/package.json +7 -1
- package/scenarios/dashboard-default.yaml +53 -0
- package/scenarios/heap-graph.yaml +46 -0
- package/scenarios/iul-timeline-viewer.yaml +46 -0
- package/scenarios/ux-sim/app-demo-1114.yaml +22 -0
- package/scenarios/ux-sim/arg-macro-canvas.yaml +78 -0
- package/scenarios/ux-sim/author-reviewer-precheck-applied.yaml +27 -0
- package/scenarios/ux-sim/author-reviewer-precheck-rejected-unprovable.yaml +27 -0
- package/scenarios/ux-sim/burst-ready-ladder.yaml +47 -0
- package/scenarios/ux-sim/demo1104-research-arg-graph.yaml +32 -0
- package/scenarios/ux-sim/draft-inventory-200.yaml +44 -0
- package/scenarios/ux-sim/fixtures/phone-pwa-selfheal-broken.html +19 -0
- package/scenarios/ux-sim/fixtures/release-cut-0306-shards.json +7023 -0
- package/scenarios/ux-sim/gate-deps-root-bake.yaml +17 -0
- package/scenarios/ux-sim/gate-receipt-carry-any-run.yaml +31 -0
- package/scenarios/ux-sim/gate-roster-second-pool-world.yaml +9 -0
- package/scenarios/ux-sim/gate-roster-second-pool.yaml +26 -0
- package/scenarios/ux-sim/gate-shard-receipt-payload-corrupt.yaml +14 -0
- package/scenarios/ux-sim/google-drive-files-list-readonly.yaml +21 -0
- package/scenarios/ux-sim/graph-runtime-overlay-event-stream.yaml +27 -0
- package/scenarios/ux-sim/kaist-lecture-scrap-app.yaml +14 -0
- package/scenarios/ux-sim/kaist-selfheal-stage.yaml +14 -0
- package/scenarios/ux-sim/knowhow-pack-release-heal-1107.md +39 -0
- package/scenarios/ux-sim/macro-chain-e2e.yaml +14 -0
- package/scenarios/ux-sim/macrophage-attribution-integration-1107.yaml +86 -0
- package/scenarios/ux-sim/n30-old-graph-measured-waiver.yaml +15 -0
- package/scenarios/ux-sim/night-train-dead-pid-lock.yaml +19 -0
- package/scenarios/ux-sim/night-train-world.yaml +13 -0
- package/scenarios/ux-sim/novice-versioning-scenario.ts +150 -0
- package/scenarios/ux-sim/novice-versioning-world.yaml +6 -0
- package/scenarios/ux-sim/phone-pwa-selfheal-trace.json +30 -0
- package/scenarios/ux-sim/provider-4xx-no-provider.yaml +26 -0
- package/scenarios/ux-sim/pwa-formal-update-world.yaml +5 -0
- package/scenarios/ux-sim/pwa-formal-update.yaml +8 -0
- package/scenarios/ux-sim/rehearsal-hard-2h-mandatory.yaml +37 -0
- package/scenarios/ux-sim/release-cut-preflight-regressions.yaml +31 -0
- package/scenarios/ux-sim/release-day-0307-replay.yaml +138 -0
- package/scenarios/ux-sim/release-gate-fanout.yaml +48 -0
- package/scenarios/ux-sim/release-heal-macrophage-bus.yaml +37 -0
- package/scenarios/ux-sim/release-incident-events-execution.yaml +114 -0
- package/scenarios/ux-sim/release-incident-events.yaml +98 -0
- package/scenarios/ux-sim/release-introduced-repair.yaml +40 -0
- package/scenarios/ux-sim/release-receipt-inheritance.yaml +24 -0
- package/scenarios/ux-sim/release-sim-chain-remaining.yaml +46 -0
- package/scenarios/ux-sim/release-sim-rig.yaml +266 -0
- package/scenarios/ux-sim/rla-arg-adaptive-heal.yaml +45 -0
- package/scenarios/ux-sim/rla-incident-policy-host-lost.yaml +17 -0
- package/scenarios/ux-sim/rla-postland-recovery-hitl.yaml +17 -0
- package/scenarios/ux-sim/rla-rehearsal-cloud-resume-sim.yaml +36 -0
- package/scenarios/ux-sim/rla-rehearsal-incident-sim-b.yaml +29 -0
- package/scenarios/ux-sim/sim-hq-move-world.yaml +9 -0
- package/scenarios/ux-sim/sim-hq-move.yaml +14 -0
- package/scenarios/ux-sim/tui-selfimplement-retry-loop.yaml +29 -0
- package/scenarios/ux-sim/warm-pool-reuse-world.yaml +117 -0
- package/src/version/packed-revision.json +1 -1
- package/test/helpers/dashboard-source.ts +110 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
id: release-cut-preflight-regressions
|
|
2
|
+
title: 0.3.6 cut failures are blocked before live gate work
|
|
3
|
+
cases:
|
|
4
|
+
- id: stale-cli-image-pin
|
|
5
|
+
trigger: legacy graph CLI omits gateImagePin
|
|
6
|
+
expected: "blocked · gateImagePin cut-commit is required for a policy-selected release gate"
|
|
7
|
+
productionTest: "scripts/release-loop/gate-node.test.ts :: release policy gate image pin is explicit and rejects unsupported policies"
|
|
8
|
+
- id: foreign-release-branch-owner
|
|
9
|
+
trigger: release branch tip belongs to another graph run
|
|
10
|
+
expected: "blocked · refusing to replace a foreign release branch"
|
|
11
|
+
productionTest: "scripts/release-loop/release-branch.test.ts :: RELEASE-NODE-IDEMPOTENT foreign run"
|
|
12
|
+
- id: gate-run-scope-missing
|
|
13
|
+
trigger: policy-selected Pod gate has no graph run scope
|
|
14
|
+
expected: "blocked · pod-gate-missing-run-scope"
|
|
15
|
+
productionTest: "scripts/release-loop/gate-node.test.ts :: image-pin-unscoped entry guard"
|
|
16
|
+
- id: hq-shard-ledger-missing
|
|
17
|
+
trigger: remote Pod pool is configured without HQ ledger path and environment fingerprint
|
|
18
|
+
expected: "blocked · remote gate refused: HQ shard ledger is not configured"
|
|
19
|
+
productionTest: "scripts/release-loop/gate-node.test.ts :: remote shard ledger preflight"
|
|
20
|
+
- id: cut-change-invalidates-all-shards
|
|
21
|
+
trigger: cut diff from 63ff4cc9 to d4df149e contains non-TypeScript docs and scenario inputs, so production impact analysis fails closed to the full test inventory
|
|
22
|
+
expected: "blocked reuse · 0/81 receipts reused · 81/81 radius-invalidated"
|
|
23
|
+
priorHead: 63ff4cc9ea8cf1c0c5ad451c8b35a34224a89507
|
|
24
|
+
receiptRosterHead: d4df149e3ae9e8862033ebbb1a1d52c0ff65ffd0
|
|
25
|
+
receiptRosterFixture: scenarios/ux-sim/fixtures/release-cut-0306-shards.json
|
|
26
|
+
changedFiles:
|
|
27
|
+
- docs/TECH-harness-map-2026-10-06.md
|
|
28
|
+
- scenarios/ux-sim/rla-arg-adaptive-heal.yaml
|
|
29
|
+
- scripts/release-loop/gate-node.ts
|
|
30
|
+
- src/graph-runner/runner.ts
|
|
31
|
+
productionPath: changedFilesBetween -> gateReceiptChangedFileImpact(changed-non-ts-input) -> planGateReceiptRadius -> planGateShardDispatch(radius-invalidated)
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
scenario: release-day-0307-replay
|
|
2
|
+
version: 0.3.7
|
|
3
|
+
previousVersion: 0.3.6
|
|
4
|
+
runId: release-sim-release-day-0307-replay-replay
|
|
5
|
+
manifest: ../../graphs/release/plugin.json
|
|
6
|
+
policies:
|
|
7
|
+
gate.plan.promoteToFull: [dep-layer, verdict-files, opaque-closure, cost-crossover]
|
|
8
|
+
proposal:
|
|
9
|
+
type: release.gate.receipt-gap-observed
|
|
10
|
+
nodeId: gate-triage
|
|
11
|
+
matchNodeId: gate
|
|
12
|
+
eventNodeId: event-release-gate-receipt-gap-observed
|
|
13
|
+
planNodeId: event-gate-recheck-plan
|
|
14
|
+
fullRecheckNodeId: event-policy-full-recheck
|
|
15
|
+
appendPlanNodeId: event-policy-append-recheck
|
|
16
|
+
appendRunNodeId: event-policy-append-run
|
|
17
|
+
rationale: A newly observed release event must be proposed as a graph diff and exercised before adoption.
|
|
18
|
+
events:
|
|
19
|
+
- id: A1
|
|
20
|
+
type: release.cut.appended
|
|
21
|
+
action: append-repaired-commits
|
|
22
|
+
mechanism: recipe
|
|
23
|
+
recipe: cut-append
|
|
24
|
+
binding: cut-append
|
|
25
|
+
rationale: Landed S1 repair commits belong to the active cut.
|
|
26
|
+
pickShas: [aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa]
|
|
27
|
+
- id: A2
|
|
28
|
+
type: release.resume.blocked
|
|
29
|
+
action: resume-same-run
|
|
30
|
+
mechanism: recipe
|
|
31
|
+
recipe: rla-release-recover
|
|
32
|
+
binding: rla-release-recover
|
|
33
|
+
rationale: Resume the first unfinished node while preserving run identity.
|
|
34
|
+
runId: release-sim-release-day-0307-replay-replay
|
|
35
|
+
pickShas: [dddddddddddddddddddddddddddddddddddddddd]
|
|
36
|
+
- id: A3
|
|
37
|
+
type: release.gate.regression.measured
|
|
38
|
+
action: accept-explicit-regressions
|
|
39
|
+
mechanism: domain-pack
|
|
40
|
+
binding: release-gate:generation-based-expiry
|
|
41
|
+
rationale: Accept only listed measured baseline failures and expire by release generations.
|
|
42
|
+
introduced: [src/a.test.ts > failure A, src/b.test.ts > failure B]
|
|
43
|
+
- id: A4
|
|
44
|
+
type: release.repair.land.requested
|
|
45
|
+
action: land-s1-repair-prs
|
|
46
|
+
mechanism: recipe
|
|
47
|
+
recipe: gate-triage
|
|
48
|
+
binding: gate-triage
|
|
49
|
+
rationale: Express landing is limited to reviewed one-line S1 repairs.
|
|
50
|
+
- id: A5
|
|
51
|
+
type: release.gate.repair-assigned
|
|
52
|
+
action: assign-repair-seats
|
|
53
|
+
mechanism: recipe
|
|
54
|
+
recipe: gate-triage
|
|
55
|
+
binding: gate-triage
|
|
56
|
+
rationale: Attribute failures to source files before assigning a repair seat and ladder step.
|
|
57
|
+
- id: A6
|
|
58
|
+
type: release.export-check.failed
|
|
59
|
+
action: diagnose-export-check
|
|
60
|
+
mechanism: recipe
|
|
61
|
+
recipe: export-check
|
|
62
|
+
binding: export-check
|
|
63
|
+
rationale: Preserve the first error and distinguish OOM from host-specific failure.
|
|
64
|
+
- id: A7
|
|
65
|
+
type: release.gate.independent
|
|
66
|
+
action: run-gate-independent-of-export
|
|
67
|
+
mechanism: edge
|
|
68
|
+
binding: outcome
|
|
69
|
+
rationale: Follow the successful gate route declared by the release graph and keep it independent of export-check.
|
|
70
|
+
# Scenario-only branch-control input for exercising policy routing; these are not historical file/time measurements.
|
|
71
|
+
- id: A8
|
|
72
|
+
type: release.cut.appended
|
|
73
|
+
action: append-radius-recheck
|
|
74
|
+
mechanism: recipe
|
|
75
|
+
recipe: gate-same-run-recheck
|
|
76
|
+
binding: gate-same-run-recheck
|
|
77
|
+
rationale: Recheck the changed-file radius and promote to a full sweep only by declared policy.
|
|
78
|
+
changedFiles: [scripts/release-loop/gate-node.ts]
|
|
79
|
+
pickShas: [cccccccccccccccccccccccccccccccccccccccc]
|
|
80
|
+
dependencyLayerChanged: false
|
|
81
|
+
verdictFilesChanged: true
|
|
82
|
+
closureOpaque: false
|
|
83
|
+
receiptCosts: { partialMs: 3, fullMs: 5, source: simulation-same-ledger }
|
|
84
|
+
- id: A9
|
|
85
|
+
type: release.gate.bisect-mode.selected
|
|
86
|
+
action: choose-bisect-mode
|
|
87
|
+
mechanism: recipe
|
|
88
|
+
recipe: gate-triage
|
|
89
|
+
binding: gate-triage
|
|
90
|
+
rationale: Select the declared bisect mode from repeated measured agreement.
|
|
91
|
+
- id: A10
|
|
92
|
+
type: release.gate.host.selected
|
|
93
|
+
action: select-execution-host
|
|
94
|
+
mechanism: recipe
|
|
95
|
+
recipe: gate
|
|
96
|
+
binding: gate
|
|
97
|
+
rationale: Select an available host from guardian resource evidence.
|
|
98
|
+
- id: A11
|
|
99
|
+
type: release.export-prerequisites.provisioned
|
|
100
|
+
action: provision-export-prerequisites
|
|
101
|
+
mechanism: recipe
|
|
102
|
+
recipe: export-check
|
|
103
|
+
binding: export-check
|
|
104
|
+
rationale: Provision only required inputs and keep their contents out of logs.
|
|
105
|
+
- id: A12
|
|
106
|
+
type: release.cut.tree-synced
|
|
107
|
+
action: sync-cut-tree-and-recipe-sha
|
|
108
|
+
mechanism: recipe
|
|
109
|
+
recipe: cut-append
|
|
110
|
+
binding: cut-append
|
|
111
|
+
rationale: Pin the cut tree and recipe identity as part of append handling.
|
|
112
|
+
- id: A13
|
|
113
|
+
type: release.gate.image-identity-checked
|
|
114
|
+
action: validate-gate-image-identity
|
|
115
|
+
mechanism: recipe
|
|
116
|
+
recipe: gate
|
|
117
|
+
binding: gate
|
|
118
|
+
rationale: Verify the actual gate image identity at node execution.
|
|
119
|
+
- id: A14
|
|
120
|
+
type: release.train.worker-restarted
|
|
121
|
+
action: maintain-train-workers
|
|
122
|
+
mechanism: recipe
|
|
123
|
+
recipe: rla-train-worker-restart
|
|
124
|
+
binding: rla-train-worker-restart
|
|
125
|
+
rationale: Replace workers from train and guardian resource evidence.
|
|
126
|
+
- id: A15
|
|
127
|
+
type: release.publish.approval-requested
|
|
128
|
+
action: approve-publication
|
|
129
|
+
mechanism: hitl
|
|
130
|
+
binding: approve-publish
|
|
131
|
+
rationale: Public publication is the declared human approval boundary.
|
|
132
|
+
allowed:
|
|
133
|
+
recipes: [version-release, traffic-cut-start, cutoff, checklist-gate, tsc, ratchet, gate, traffic-gate-passed, traffic-npm-published, traffic-failed-restore, gate-triage, mac-smoke, export-check, pwa, prepare, upgrade, tui, docs, known-issues, notes-check, notes-repair, notes-recheck, auto-approve, publish, continue-publish, repair-recovery, publish-command, npm-publish, docs-land, verify, traffic-verify-complete, vault-note, release-story, ops-upgrade, rla-release-autostart, rla-train-worker-restart, rla-release-recover, gate-heal-decision, rla-rehearsal-retry, rla-cloud-join, rla-cloud-leave, rla-focused-verify, rla-rail-now, rla-nexus-restart, rla-nexus-build, gate-repair, gate-image-repair, cut-append, gate-accept-regression]
|
|
134
|
+
skills: [rla-release-operations]
|
|
135
|
+
domainPacks: [release-graph, release-gate]
|
|
136
|
+
hitlNodes: [approve-publish, approve-continue, gate-repair-recovery, gate-heal-decision]
|
|
137
|
+
edgeVocabulary: [outcome, heal, retry, detour, rejoin, append-recheck, accept, escalate]
|
|
138
|
+
terminalStates: [done, failed]
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
version: 1
|
|
2
|
+
kind: release-graph
|
|
3
|
+
id: release-gate-fanout-sim
|
|
4
|
+
isolation: test
|
|
5
|
+
input:
|
|
6
|
+
version: 0.3.7
|
|
7
|
+
previousVersion: 0.3.6
|
|
8
|
+
releaseGateFanout: true
|
|
9
|
+
cases:
|
|
10
|
+
- id: successful-gates-continue-through-publish
|
|
11
|
+
mode: baseline
|
|
12
|
+
nodeOutcomes:
|
|
13
|
+
export-check: { outcome: ok, delayMs: 25 }
|
|
14
|
+
pwa: { outcome: ok, delayMs: 20 }
|
|
15
|
+
tsc: { outcome: ok, delayMs: 15 }
|
|
16
|
+
ratchet: { outcome: ok, delayMs: 10 }
|
|
17
|
+
gate: { outcome: ok, delayMs: 5 }
|
|
18
|
+
expect:
|
|
19
|
+
status: done
|
|
20
|
+
mustVisit: [pre-gate-join, traffic-gate-passed, publish, npm-publish, traffic-npm-published, docs-land, version-dev-bump, release-post-publish-join, verify, done]
|
|
21
|
+
mustNotVisit: [traffic-failed-restore]
|
|
22
|
+
- id: traffic-record-failure-still-completes-post-publish-work
|
|
23
|
+
mode: baseline
|
|
24
|
+
nodeOutcomes:
|
|
25
|
+
export-check: { outcome: ok, delayMs: 25 }
|
|
26
|
+
pwa: { outcome: ok, delayMs: 20 }
|
|
27
|
+
tsc: { outcome: ok, delayMs: 15 }
|
|
28
|
+
ratchet: { outcome: ok, delayMs: 10 }
|
|
29
|
+
gate: { outcome: ok, delayMs: 5 }
|
|
30
|
+
traffic-npm-published: { outcome: fail, delayMs: 1 }
|
|
31
|
+
expect:
|
|
32
|
+
status: done
|
|
33
|
+
mustVisit: [pre-gate-join, publish, npm-publish, traffic-npm-published, docs-land, version-dev-bump, release-post-publish-join, verify, done]
|
|
34
|
+
mustNotVisit: [traffic-failed-restore]
|
|
35
|
+
- id: two-gates-fail-together
|
|
36
|
+
mode: baseline
|
|
37
|
+
nodeOutcomes:
|
|
38
|
+
export-check: { outcome: fail, delayMs: 60 }
|
|
39
|
+
pwa: { outcome: fail, delayMs: 40 }
|
|
40
|
+
tsc: { outcome: ok, delayMs: 30 }
|
|
41
|
+
ratchet: { outcome: ok, delayMs: 20 }
|
|
42
|
+
gate: { outcome: ok, delayMs: 10 }
|
|
43
|
+
mac-smoke: { outcome: ok, delayMs: 5 }
|
|
44
|
+
expect:
|
|
45
|
+
status: failed
|
|
46
|
+
mustVisit: [export-check, pwa, tsc, ratchet, gate, checklist-gate, prefetch, mac-smoke, pre-gate-join, traffic-failed-restore, failed]
|
|
47
|
+
mustNotVisit: [publish, npm-publish]
|
|
48
|
+
overlap: [export-check, pwa]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
version: 1
|
|
2
|
+
kind: release-graph-simulation
|
|
3
|
+
id: release-heal-macrophage-bus
|
|
4
|
+
run:
|
|
5
|
+
graphId: release-loop
|
|
6
|
+
runId: sim-release-heal-macrophage
|
|
7
|
+
mode: simulation
|
|
8
|
+
inject:
|
|
9
|
+
- event: node-end
|
|
10
|
+
sourceNode: pre-gate-join
|
|
11
|
+
data:
|
|
12
|
+
macrophageScraps:
|
|
13
|
+
- id: stale-draft
|
|
14
|
+
kind: stale-draft
|
|
15
|
+
owner: seat-sim
|
|
16
|
+
evidence: { draftAction: close, ownerRunStatus: done }
|
|
17
|
+
- event: release.gate.failed
|
|
18
|
+
sourceNode: gate-triage
|
|
19
|
+
data:
|
|
20
|
+
version: 0.3.6
|
|
21
|
+
outcome: regression
|
|
22
|
+
commit: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
23
|
+
introduced: ["src/release.test.ts > injected regression"]
|
|
24
|
+
visitState: { gate: 1, gateTriage: 1 }
|
|
25
|
+
expect:
|
|
26
|
+
deliveries:
|
|
27
|
+
- { event: release.macrophage.decision, subscriber: simulation-ledger, action: plan-only }
|
|
28
|
+
- { event: release.gate.failed, subscriber: adaptive-gate-heal, action: append-repair-and-resume }
|
|
29
|
+
append:
|
|
30
|
+
afterNodeId: gate-triage
|
|
31
|
+
resumeFromPrefix: gate-repair-
|
|
32
|
+
rerunGateAt: gate
|
|
33
|
+
macrophage:
|
|
34
|
+
id: stale-draft
|
|
35
|
+
action: triage-draft
|
|
36
|
+
status: simulated
|
|
37
|
+
applied: true
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
version: 1
|
|
2
|
+
kind: release-graph
|
|
3
|
+
id: release-incident-events-execution-035
|
|
4
|
+
isolation: test
|
|
5
|
+
input:
|
|
6
|
+
version: '0.3.5'
|
|
7
|
+
previousVersion: '0.3.4'
|
|
8
|
+
cases:
|
|
9
|
+
- id: incident-01-tip-moved
|
|
10
|
+
mode: cut-tip-moved-after-resume
|
|
11
|
+
expect:
|
|
12
|
+
status: resume-refused
|
|
13
|
+
mustVisit: [version-release]
|
|
14
|
+
mustNotVisit: [cutoff, gate, publish]
|
|
15
|
+
events:
|
|
16
|
+
- { event: node-start, nodeId: version-release }
|
|
17
|
+
- { event: node-end, nodeId: version-release, ok: true }
|
|
18
|
+
- id: incident-02-pod-4-receipt-corrupt
|
|
19
|
+
mode: append-receipt-continuity
|
|
20
|
+
expect:
|
|
21
|
+
status: done
|
|
22
|
+
mustVisit: [cut, gate-cut, append-a, resume-a, gate-a, append-b, resume-b, gate-b, publish, done]
|
|
23
|
+
mustNotVisit: [failed]
|
|
24
|
+
events:
|
|
25
|
+
- { event: node-start, nodeId: cut }
|
|
26
|
+
- { event: node-end, nodeId: cut, ok: true }
|
|
27
|
+
- id: incident-03-gate-waiver-approval-mismatch
|
|
28
|
+
mode: owner-waive-unmeasured-gate
|
|
29
|
+
expect:
|
|
30
|
+
status: done
|
|
31
|
+
mustVisit: [gate, known-issues, publish, npm-publish, done]
|
|
32
|
+
mustNotVisit: [gate-triage, failed]
|
|
33
|
+
events:
|
|
34
|
+
- { event: node-start, nodeId: gate }
|
|
35
|
+
- { event: node-end, nodeId: gate, ok: false }
|
|
36
|
+
- id: incident-04-approval-graph-path-mismatch
|
|
37
|
+
mode: approval-graph-path-mismatch
|
|
38
|
+
expect:
|
|
39
|
+
status: resume-refused
|
|
40
|
+
mustVisit: [auto-approve, approve-publish]
|
|
41
|
+
mustNotVisit: [publish, done]
|
|
42
|
+
refusalIncludes: approval source changed
|
|
43
|
+
events:
|
|
44
|
+
- { event: node-start, nodeId: auto-approve }
|
|
45
|
+
- { event: node-end, nodeId: auto-approve, ok: false }
|
|
46
|
+
- id: incident-05-known-issues-ascii-fixed
|
|
47
|
+
fault:
|
|
48
|
+
node: known-issues
|
|
49
|
+
outcome: error
|
|
50
|
+
evidence: { claim: 'ASCII fixed without evidence' }
|
|
51
|
+
expect:
|
|
52
|
+
status: failed
|
|
53
|
+
mustVisit: [known-issues, traffic-failed-restore, failed]
|
|
54
|
+
mustNotVisit: [publish]
|
|
55
|
+
events:
|
|
56
|
+
- { event: node-start, nodeId: known-issues }
|
|
57
|
+
- { event: node-end, nodeId: known-issues, ok: false }
|
|
58
|
+
- id: incident-06-pwa-costly-opt-in
|
|
59
|
+
mode: pwa-costly-opt-in-required
|
|
60
|
+
expect:
|
|
61
|
+
status: done
|
|
62
|
+
mustVisit: [pwa, pre-prepare-join, prepare, publish, done]
|
|
63
|
+
mustNotVisit: [failed]
|
|
64
|
+
events:
|
|
65
|
+
- { event: node-start, nodeId: pwa }
|
|
66
|
+
- { event: node-end, nodeId: pwa, ok: true }
|
|
67
|
+
- id: incident-07-install-consent-missing-prepare
|
|
68
|
+
fault:
|
|
69
|
+
node: prepare
|
|
70
|
+
outcome: fail
|
|
71
|
+
evidence: { consent: false, source: prepare-e2e }
|
|
72
|
+
expect:
|
|
73
|
+
status: failed
|
|
74
|
+
mustVisit: [prepare, traffic-failed-restore, failed]
|
|
75
|
+
mustNotVisit: [upgrade, publish]
|
|
76
|
+
events:
|
|
77
|
+
- { event: node-start, nodeId: prepare }
|
|
78
|
+
- { event: node-end, nodeId: prepare, ok: false }
|
|
79
|
+
- id: incident-07-install-consent-missing-upgrade
|
|
80
|
+
fault:
|
|
81
|
+
node: upgrade
|
|
82
|
+
outcome: fail
|
|
83
|
+
evidence: { consent: false, source: upgrade }
|
|
84
|
+
expect:
|
|
85
|
+
status: failed
|
|
86
|
+
mustVisit: [prepare, upgrade, traffic-failed-restore, failed]
|
|
87
|
+
mustNotVisit: [publish]
|
|
88
|
+
events:
|
|
89
|
+
- { event: node-start, nodeId: upgrade }
|
|
90
|
+
- { event: node-end, nodeId: upgrade, ok: false }
|
|
91
|
+
- id: incident-08-version-dev-merge-marker-missing
|
|
92
|
+
fault:
|
|
93
|
+
node: version-dev-bump
|
|
94
|
+
outcome: fail
|
|
95
|
+
evidence: { mergeMarker: missing }
|
|
96
|
+
expect:
|
|
97
|
+
status: failed
|
|
98
|
+
mustVisit: [version-dev-bump, traffic-failed-restore, failed]
|
|
99
|
+
mustNotVisit: [verify, done]
|
|
100
|
+
events:
|
|
101
|
+
- { event: node-start, nodeId: version-dev-bump }
|
|
102
|
+
- { event: node-end, nodeId: version-dev-bump, ok: false }
|
|
103
|
+
- id: incident-09-verify-self-update-consent
|
|
104
|
+
fault:
|
|
105
|
+
node: verify
|
|
106
|
+
outcome: fail
|
|
107
|
+
evidence: { exitCode: 1, reason: installer-consent-required }
|
|
108
|
+
expect:
|
|
109
|
+
status: failed
|
|
110
|
+
mustVisit: [verify, traffic-failed-restore, failed]
|
|
111
|
+
mustNotVisit: [vault-note, release-story, done]
|
|
112
|
+
events:
|
|
113
|
+
- { event: node-start, nodeId: verify }
|
|
114
|
+
- { event: node-end, nodeId: verify, ok: false }
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
id: release-incident-events-035
|
|
2
|
+
version: 1
|
|
3
|
+
cases:
|
|
4
|
+
- id: incident-01-tip-moved
|
|
5
|
+
fault: { event: release.tip-moved, changedPaths: [scripts/release-loop/resume-release.ts] }
|
|
6
|
+
intendedEvents:
|
|
7
|
+
- { event: node-invalidated, node: export-check, reason: input-fingerprint-changed }
|
|
8
|
+
- { event: node-carried, node: gate, reason: input-fingerprint-unchanged }
|
|
9
|
+
- { event: node-carried, node: publish, reason: input-fingerprint-unchanged }
|
|
10
|
+
expect:
|
|
11
|
+
events: [{ event: node-start, nodeId: version-release }, { event: node-end, nodeId: version-release, ok: true }]
|
|
12
|
+
- id: incident-02-pod-4-receipt-corrupt
|
|
13
|
+
fault: { event: release.receipt-corrupt, shardId: pod-4 }
|
|
14
|
+
intendedEvents:
|
|
15
|
+
- { event: receipt-invalidated, shardId: pod-4 }
|
|
16
|
+
- { event: shard-rerun, shardId: pod-4 }
|
|
17
|
+
- { event: shard-carried, shardId: pod-3 }
|
|
18
|
+
- { event: publish-unblocked, after: gate-complete }
|
|
19
|
+
expect:
|
|
20
|
+
events: [{ event: node-start, nodeId: cut }, { event: node-end, nodeId: cut, ok: true }]
|
|
21
|
+
- id: incident-03-gate-waiver-approval-mismatch
|
|
22
|
+
fault: { event: release.gate-waived, waiver: owner-waive }
|
|
23
|
+
intendedEvents:
|
|
24
|
+
- { event: waiver-recorded, node: gate }
|
|
25
|
+
- { event: auto-approve-blocked, reason: gate-unmeasured }
|
|
26
|
+
- { event: publish-authorized, by: explicit-owner-waiver }
|
|
27
|
+
expect:
|
|
28
|
+
events: [{ event: node-start, nodeId: gate }, { event: node-end, nodeId: gate, ok: false }]
|
|
29
|
+
- id: incident-04-approval-graph-path-mismatch
|
|
30
|
+
fault: { event: release.approval-requested, graphPath: snapshot-path, cwdGraphPath: other-path }
|
|
31
|
+
intendedEvents:
|
|
32
|
+
- { event: approval-refused, reason: graph-path-mismatch }
|
|
33
|
+
- { event: publish-blocked, reason: approval-not-recorded }
|
|
34
|
+
expect:
|
|
35
|
+
events: [{ event: node-start, nodeId: auto-approve }, { event: node-end, nodeId: auto-approve, ok: false }]
|
|
36
|
+
- id: incident-05-known-issues-ascii-fixed
|
|
37
|
+
fault: { event: release.known-issues-checked, text: ASCII-fixed-without-evidence }
|
|
38
|
+
intendedEvents:
|
|
39
|
+
- { event: known-issue-unresolved, evidenceRequired: true }
|
|
40
|
+
- { event: publish-blocked, reason: known-issue-unresolved }
|
|
41
|
+
expect:
|
|
42
|
+
events: [{ event: node-start, nodeId: known-issues }, { event: node-end, nodeId: known-issues, ok: false }]
|
|
43
|
+
- id: incident-06-pwa-costly-opt-in
|
|
44
|
+
fault: { event: release.pwa-costly-requested, optedIn: false }
|
|
45
|
+
intendedEvents:
|
|
46
|
+
- { event: pwa-costly-skipped, reason: opt-in-required }
|
|
47
|
+
- { event: pwa-node-complete, costlyModelExecuted: false }
|
|
48
|
+
expect:
|
|
49
|
+
events: [{ event: node-start, nodeId: pwa }, { event: node-end, nodeId: pwa, ok: true }]
|
|
50
|
+
- id: incident-07-install-consent-missing
|
|
51
|
+
fault: { event: release.install-requested, consent: false, sources: [prepare-e2e, upgrade] }
|
|
52
|
+
intendedEvents:
|
|
53
|
+
- { event: install-blocked, source: prepare-e2e, reason: consent-required }
|
|
54
|
+
- { event: install-blocked, source: upgrade, reason: consent-required }
|
|
55
|
+
- { event: release-failed, before: publish }
|
|
56
|
+
expect:
|
|
57
|
+
events:
|
|
58
|
+
- { event: node-start, nodeId: prepare }
|
|
59
|
+
- { event: node-end, nodeId: prepare, ok: false }
|
|
60
|
+
- { event: node-start, nodeId: upgrade }
|
|
61
|
+
- { event: node-end, nodeId: upgrade, ok: false }
|
|
62
|
+
- id: incident-08-version-dev-merge-marker-missing
|
|
63
|
+
fault: { event: release.version-dev-bump-merge, mergeMarker: missing }
|
|
64
|
+
intendedEvents:
|
|
65
|
+
- { event: merge-marker-missing, node: version-dev-bump }
|
|
66
|
+
- { event: node-failed, node: version-dev-bump }
|
|
67
|
+
- { event: release-failed, after: verify }
|
|
68
|
+
expect:
|
|
69
|
+
events: [{ event: node-start, nodeId: version-dev-bump }, { event: node-end, nodeId: version-dev-bump, ok: false }]
|
|
70
|
+
- id: incident-09-verify-self-update-consent
|
|
71
|
+
fault: { event: release.verify-self-update, exitCode: 1, reason: installer-consent-required }
|
|
72
|
+
intendedEvents:
|
|
73
|
+
- { event: self-update-failed, exitCode: 1, reason: installer-consent-required }
|
|
74
|
+
- { event: verify-failed, node: verify }
|
|
75
|
+
- { event: release-failed, after: verify }
|
|
76
|
+
expect:
|
|
77
|
+
events: [{ event: node-start, nodeId: verify }, { event: node-end, nodeId: verify, ok: false }]
|
|
78
|
+
- id: subscription-tip-moved-invalidates-affected-only
|
|
79
|
+
fault: { event: release.tip-moved, changedPaths: [scripts/release-loop/resume-release.ts] }
|
|
80
|
+
expect:
|
|
81
|
+
events:
|
|
82
|
+
- { event: subscription-delivered, subscriber: release-loop, source: release.tip-moved }
|
|
83
|
+
- { event: node-invalidated, node: export-check }
|
|
84
|
+
- { event: node-carried, node: gate }
|
|
85
|
+
- id: subscription-gate-failure-wakes-bisection
|
|
86
|
+
fault: { event: release.gate-failed, introduced: 3 }
|
|
87
|
+
expect:
|
|
88
|
+
events:
|
|
89
|
+
- { event: subscription-delivered, subscriber: gate-bisect, source: release.gate-failed }
|
|
90
|
+
- { event: node-woken, node: gate-bisect, reason: subscribed-event }
|
|
91
|
+
- id: subscription-gate-failure-appends-arg-repair
|
|
92
|
+
fault: { event: release.gate.failed, introduced: 1, visitState: { gate: 1, gateTriage: 1 } }
|
|
93
|
+
expect:
|
|
94
|
+
events:
|
|
95
|
+
- { event: subscription-delivered, subscriber: arg-adaptive-heal, source: release.gate.failed }
|
|
96
|
+
- { event: arg-plan, action: append-repair-and-resume }
|
|
97
|
+
- { event: appendNode-request, nodeId: gate-repair-d3e23f6622bd, after: gate-triage }
|
|
98
|
+
- { event: resume-request, from: gate-repair-d3e23f6622bd, then: gate }
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
version: 1
|
|
2
|
+
kind: release-graph
|
|
3
|
+
id: release-introduced-repair
|
|
4
|
+
isolation: test
|
|
5
|
+
input:
|
|
6
|
+
version: '0.3.1'
|
|
7
|
+
previousVersion: '0.3.0'
|
|
8
|
+
cases:
|
|
9
|
+
- id: introduced-three-gate-regressions-hitl
|
|
10
|
+
fault:
|
|
11
|
+
node: gate
|
|
12
|
+
outcome: fail
|
|
13
|
+
evidence:
|
|
14
|
+
realGateTriage: true
|
|
15
|
+
introduced:
|
|
16
|
+
- 'src/auth/session.test.ts > rejects expired sessions'
|
|
17
|
+
- 'src/graph/runner.test.ts > preserves failed edge attribution'
|
|
18
|
+
- 'src/ux-sim/release.test.ts > blocks publish after a gate regression'
|
|
19
|
+
expect:
|
|
20
|
+
status: failed
|
|
21
|
+
mustVisit: [gate, gate-triage, traffic-failed-restore, failed]
|
|
22
|
+
mustNotVisit: [publish, npm-publish]
|
|
23
|
+
- id: missing-introduced-identity-stays-unmeasured
|
|
24
|
+
fault:
|
|
25
|
+
node: gate
|
|
26
|
+
outcome: fail
|
|
27
|
+
evidence: { realGateTriage: true, introduced: [] }
|
|
28
|
+
expect:
|
|
29
|
+
status: failed
|
|
30
|
+
mustVisit: [gate, gate-triage, traffic-failed-restore, failed]
|
|
31
|
+
mustNotVisit: [publish, npm-publish]
|
|
32
|
+
- id: absent-introduced-identity-stays-unmeasured
|
|
33
|
+
fault:
|
|
34
|
+
node: gate
|
|
35
|
+
outcome: fail
|
|
36
|
+
evidence: { realGateTriage: true }
|
|
37
|
+
expect:
|
|
38
|
+
status: failed
|
|
39
|
+
mustVisit: [gate, gate-triage, traffic-failed-restore, failed]
|
|
40
|
+
mustNotVisit: [publish, npm-publish]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
version: 1
|
|
2
|
+
kind: release-gate-receipt-inheritance
|
|
3
|
+
id: release-receipt-inheritance-0306
|
|
4
|
+
isolation: test
|
|
5
|
+
cases:
|
|
6
|
+
- id: same-head-zero-rerun
|
|
7
|
+
event: clean-full-rehearsal-receipt
|
|
8
|
+
cut: { head: same, runtime: same, host: different }
|
|
9
|
+
expect: { decision: reuse-zero, rerunFiles: 0 }
|
|
10
|
+
- id: one-file-after-rehearsal
|
|
11
|
+
event: clean-full-rehearsal-receipt
|
|
12
|
+
cut: { head: descendant, changed: [src/a.ts], runtime: same }
|
|
13
|
+
expect: { decision: partial-rerun, rerunFiles: [src/a.test.ts] }
|
|
14
|
+
- id: damaged-fingerprint-mismatch
|
|
15
|
+
event: receipt-fingerprint-mismatch
|
|
16
|
+
expect: { decision: full-sweep, reason: hard-rehearsal-receipt-or-execution-identity-differs }
|
|
17
|
+
- id: rehearsal-host-differs-from-cut-host
|
|
18
|
+
event: clean-full-rehearsal-receipt
|
|
19
|
+
rehearsalHost: aws1-rehearsal
|
|
20
|
+
cutHost: node-b
|
|
21
|
+
expect: { decision: partial-rerun, rerunFiles: [src/a.test.ts] }
|
|
22
|
+
- id: host-disconnect-while-saving
|
|
23
|
+
event: rehearsal-host-disconnect-before-stamp-commit
|
|
24
|
+
expect: { stamp: error, reusableReceipt: false }
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
version: 1
|
|
2
|
+
kind: release-graph
|
|
3
|
+
id: release-sim-chain-remaining-1108
|
|
4
|
+
isolation: test
|
|
5
|
+
input:
|
|
6
|
+
version: '0.3.7'
|
|
7
|
+
previousVersion: '0.3.6'
|
|
8
|
+
cases:
|
|
9
|
+
- id: export-check-failure-blocks-prepare-and-publish
|
|
10
|
+
fault:
|
|
11
|
+
node: export-check
|
|
12
|
+
outcome: fail
|
|
13
|
+
evidence: { publicArtifactLeak: true, classification: release-blocking }
|
|
14
|
+
expect:
|
|
15
|
+
status: failed
|
|
16
|
+
mustVisit: [export-check, gate, pre-prepare-join, traffic-failed-restore, failed]
|
|
17
|
+
mustNotVisit: [prepare, publish, npm-publish]
|
|
18
|
+
- id: incomplete-gate-shard-blocks-publish
|
|
19
|
+
fault:
|
|
20
|
+
node: gate
|
|
21
|
+
outcome: error
|
|
22
|
+
evidence:
|
|
23
|
+
realGateTriage: true
|
|
24
|
+
error: 'pod sweep incomplete: stalled shards 3'
|
|
25
|
+
summaryFailures: 1
|
|
26
|
+
identifiedOccurrences: 0
|
|
27
|
+
uniqueFailures: 1
|
|
28
|
+
baselineRecheck: true
|
|
29
|
+
stalledShards: [{ shard: 3, files: [src/example.test.ts], reason: no-output }]
|
|
30
|
+
expect:
|
|
31
|
+
status: failed
|
|
32
|
+
mustVisit: [gate, gate-triage, traffic-failed-restore, failed]
|
|
33
|
+
mustNotVisit: [publish, npm-publish]
|
|
34
|
+
- id: stopped-gate-waiver-resumes-existing-release-cli
|
|
35
|
+
mode: owner-waive-unmeasured-gate
|
|
36
|
+
unmeasuredGateShape: stopped
|
|
37
|
+
expect:
|
|
38
|
+
status: done
|
|
39
|
+
mustVisit: [gate, known-issues, publish, npm-publish, done]
|
|
40
|
+
mustNotVisit: [failed]
|
|
41
|
+
- id: publish-npm-verify-production-entrypoints-with-fake-boundaries
|
|
42
|
+
mode: owner-waive-0246-fixture
|
|
43
|
+
expect:
|
|
44
|
+
status: done
|
|
45
|
+
mustVisit: [gate, known-issues, publish, npm-publish, verify, done]
|
|
46
|
+
mustNotVisit: [failed]
|