Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
412 commits
Select commit Hold shift + click to select a range
608da0f
test(installer): check escaped controller paths with native separators
Oct 24, 2026
8067628
fix(installer): keep owned CLI EOF completion off protocol stdout
Oct 24, 2026
a9836cd
test(installer): fix CRLF preparation fixture and trace real reopen s…
Oct 24, 2026
3ca4139
docs(recovery): record full gates, bounded latency and capacity evidence
Oct 24, 2026
ac32f58
fix(acceptance): stream pinned native client binary verification
Oct 24, 2026
7556263
fix(acceptance): attest the actual disabled recovery runtime
Oct 24, 2026
25acc53
fix(acceptance): start Claude cases with their actual listener protocol
Oct 24, 2026
951a2cc
test(acceptance): preserve native reopen failure diagnostics
Oct 24, 2026
6261ac0
docs(recovery): retain Windows persistent commit deadline failure
Oct 24, 2026
2bb4325
fix(acceptance): honor private recovery during Codex seed
Oct 24, 2026
a8cce14
fix(acceptance): validate actual recovery LIST coverage
Oct 24, 2026
fbcaac6
fix(acceptance): require isolated Claude recovery phases
Oct 24, 2026
8f74184
fix(acceptance): accept bounded Claude MCP metadata
Oct 24, 2026
31e3bf0
test(recovery): bind physical owners to fresh launch receipts
Oct 24, 2026
901bdb3
test(acceptance): retain finite installed CLI turn phases
Oct 24, 2026
1de2903
fix(claude): retain declared empty-input stream tools
Oct 24, 2026
bb952a7
test(recovery): qualify legacy migration through default worker
Oct 24, 2026
af0d94a
docs(recovery): record installed clients and native legacy migration …
Oct 24, 2026
106c17f
fix(runtime): drain authenticated proxy stops before confirming exit
Oct 24, 2026
11ab5ee
fix(runtime): reject unconfirmed stopped process states
Oct 24, 2026
7f18e86
fix(runtime): route tray controls through confirmed command results
Oct 24, 2026
8225e2b
Verify installed native graceful stop and persistent reopen
Oct 24, 2026
68ce156
Keep persistent recovery timing tied to each reopened owner
Oct 24, 2026
2a5ce0e
Reuse validated cold scan facts in the first durable admission
Oct 25, 2026
cb1e357
Decode bounded chunked health replies in native proxy control
Oct 25, 2026
3a09cfd
Bind startup health confirmation to the launched proxy process
Oct 25, 2026
2910506
Preserve bounded native startup failure phases in installed qualifica…
Oct 25, 2026
611a20b
Prevent headless proxy control pipes from reaching background processes
Oct 25, 2026
b2a27b5
Use a byte string in the Windows control pipe I/O assertion
Oct 25, 2026
f2f5ebe
Record Windows pipe regression pass and retained Claude recovery timeout
Oct 25, 2026
6a7c767
Confirm Windows interactive GitHub authorization without credential e…
Oct 25, 2026
e341341
Record installed native stop and client qualification with retained t…
Oct 25, 2026
89d8c00
Reuse authenticated prior state within each SQLite operation
Oct 25, 2026
83043b0
Record private transfer identity for the pinned 582 runtime archive
Oct 25, 2026
db493bb
Qualify installed 582 layout migration from a pinned private runtime …
Oct 25, 2026
38c2d5e
Preserve the empty root package key when restoring the old npm lock
Oct 25, 2026
57f7d43
docs: retain current Windows gates and persistent timeout evidence
Oct 25, 2026
2f32016
test: exercise publication interruptions with default native storage …
Oct 25, 2026
0c7301a
docs: record installed legacy migration and native interruption quali…
Oct 25, 2026
48bd275
diagnostics: observe bounded Windows SQLite file flush pairs
Oct 25, 2026
a8b4324
diagnostics: bound trace command pipe completion
Oct 25, 2026
45419e6
diagnostics: classify bounded ETW decoding failures without raw event…
Oct 25, 2026
70f3991
diagnostics: fix file tracing resource bounds and retain final ACK ti…
Oct 25, 2026
7d56650
fix(recovery): reuse authenticated selected metadata within transaction
Oct 25, 2026
d2736ab
fix(diagnostics): decode retained event payload after rendering errors
Oct 25, 2026
d7dbad6
fix(test): restore blocking reads on accepted health fixture sockets
Oct 25, 2026
4ec842f
perf(recovery): seal anchored layout in the admitted startup transaction
Oct 25, 2026
2685fde
test(recovery): expose bounded startup phases on publication fixture …
Oct 25, 2026
9a13b44
fix(recovery): reject proxy traps before normalizing compaction data
Oct 25, 2026
4495a80
fix(context): reject proxy inputs before required-context reflection
Oct 25, 2026
4acbbf5
test(context): capture bounded persistent I/O during original coverage
Oct 25, 2026
3db4c70
fix(context): reject ambiguous key backend JSON replies
Oct 25, 2026
55e3d0d
perf(context): validate read reservation once per SQL transaction
Oct 25, 2026
600169b
test(context): observe bounded Windows file operations and invalidate…
Oct 25, 2026
94cc639
Bound and classify persistent I/O status observations
Oct 25, 2026
bdc214f
Reuse validated blob references within read settlement
Oct 25, 2026
78e332a
Measure native anchor stages without changing durable acknowledgments
Oct 25, 2026
b73d839
Use exact native paths in anchor probe fixtures
Oct 25, 2026
232dbdb
Persist unchanged recovery scan clocks through witnessed anchors
Oct 25, 2026
d3982a8
Reject new business requests after shutdown starts
Oct 25, 2026
2c9ce7a
Avoid clock-only SQLite writes for anchored observations
Oct 25, 2026
401752c
Reuse authenticated payload within combined read settlement
Oct 25, 2026
4a16e54
Require persisted Codex thread resume across owned CLI restart
Oct 25, 2026
4d600fd
Require Claude session resume across owned CLI restart
Oct 25, 2026
6c2ba7b
Reuse freshly sealed reference metadata in transaction quota checks
Oct 25, 2026
f59c0e4
Record failed native day terminal evidence and current Windows timing
Oct 25, 2026
69ff782
Preserve bounded capacity failure stages through cleanup
Oct 25, 2026
1339059
Avoid clock-only SQLite journals during anchored maintenance
Oct 25, 2026
c646156
Drain admitted upgrade transports during normal shutdown
Oct 25, 2026
3b427d7
Wait for asynchronous request log creation within the original deadline
Oct 25, 2026
4d2f743
Run a bounded native day-prefix diagnostic on disposable Windows
Oct 25, 2026
6106353
Expose bounded phases for the failing PowerShell control regression
Oct 25, 2026
17eff30
Close newly idle HTTP connections after durable shutdown drain
Oct 25, 2026
ea183a8
Exercise HTTP shutdown during durable publication and expose reopen p…
Oct 25, 2026
1f26027
Expose bounded legacy DPAPI and publication startup failure phases
Oct 25, 2026
5856d1a
Measure watermark thread CPU for persistent recovery timeout diagnosis
Oct 25, 2026
7d7cab2
Reuse identical authenticated header within readonly recovery snapshots
Oct 25, 2026
2ea100d
Distinguish bounded PowerShell control rejection failure causes
Oct 25, 2026
00bdbd7
Wait on fixture lifecycle events without busy polling
Oct 25, 2026
c8aa981
Expose bounded default-worker key file write startup phases
Oct 25, 2026
62bfe26
Capture bounded SQLite file-open failure evidence on Windows
Oct 25, 2026
37fd6ef
Reduce repeated canonical path resolution around durable anchor calls
Oct 26, 2026
5a3a842
Record actual Windows recovery timeout results after path optimization
Oct 26, 2026
b763f7a
Record authorized independent native 24-hour acceptance start
Oct 26, 2026
52ffd1d
Add bounded native anchor stream and retain isolated build sources
Oct 26, 2026
2c125a5
Add owned anchor channel lifecycle and continuous native-day health c…
Oct 26, 2026
19940db
Bind native anchor stream lifetime to its owning worker
Oct 26, 2026
b22305b
Preserve startup identity across asynchronous anchor commits
Oct 26, 2026
78d975e
Use asynchronous anchor commits in the default serialized storage worker
Oct 26, 2026
45fd6af
Record default async worker validation and retained Windows failures
Oct 26, 2026
8939f75
Preserve fixture key identity and await actual idle acknowledgement
Oct 26, 2026
4ef6b8a
Harden installed receipt checks and cover async transport I/O triggers
Oct 26, 2026
75edffe
Require independent natural-exit proof for installed daemon acceptance
Oct 26, 2026
fe81f2f
Require natural daemon exit in installed client matrix receipts
Oct 26, 2026
199b904
Qualify installed HTTP drain with a held upstream response
Oct 26, 2026
be868f7
Bound SQLite-associated scheduling diagnostics and preserve qualifica…
Oct 26, 2026
7dfd65c
Require partial SSE and JSON drain before installed client natural exit
Oct 26, 2026
30cf8b2
Report bounded unmapped ETW shapes and fix Windows trigger line parsing
Oct 26, 2026
ccb51a5
Decode observed Windows v5 thread scheduling prefixes with strict bounds
Oct 26, 2026
649f4d0
Decode observed empty v5 EventRecord properties from bounded XML
Oct 26, 2026
5819f43
Qualify installed payload publication interiors with original native …
Oct 26, 2026
3f61f74
Serialize installed probe observations without changing concurrent re…
Oct 26, 2026
2be6826
Decode observed empty v3 thread lifecycle metadata without crossing l…
Oct 26, 2026
56e1df6
Align bounded SQLite and ETW wait windows without changing clocks or …
Oct 26, 2026
2a8e068
fix: validate concurrent anchor ancestor creation safely
Oct 26, 2026
0b50814
fix: retain attested installed drain failure phase
Oct 26, 2026
86fe79a
docs: record installed recovery qualification and preserved failures
Oct 26, 2026
8e10c37
ci: qualify native key changes in recovery timing and I/O
Oct 26, 2026
fd3537b
diag: separate native startup anchor validation from SQL preparation
Oct 26, 2026
7a0f049
test: add bounded readonly witness for daemon publication barriers
Oct 26, 2026
3e3c9ca
test: bind daemon publication observations to actual storage requests
Oct 26, 2026
2f80e8f
test: exercise daemon prepared publication COMMIT interruption and re…
Oct 26, 2026
13d183f
docs: preserve seven-hour native READ failure and latest gate evidence
Oct 26, 2026
ac219bf
docs: record independent Windows native diagnostics and short-test fa…
Oct 26, 2026
e3b7dca
test: preserve physical owner failure when cleanup also fails
Oct 26, 2026
5d31402
docs: record fixed 2f installer and three-runner Windows results
Oct 26, 2026
1e88eac
fix: preserve bounded storage failure phases through worker cleanup
Oct 26, 2026
2b55ea2
fix: report exact hosted N09 qualification scope
Oct 27, 2026
c38c6de
docs: record pinned live native day and monitoring evidence
Oct 27, 2026
ff4b129
feat: add bounded installed WebSocket listener capability
Oct 27, 2026
5411ff7
feat: qualify installed Responses WebSocket shutdown alongside HTTP a…
Oct 27, 2026
d0119a5
ci: capture persistent I/O when full coverage workload changes
Oct 27, 2026
d6115de
test: locate persistent publication preparation stalls without relaxi…
Oct 27, 2026
198cee7
fix: preserve the first failed persistent request I/O window
Oct 27, 2026
d5438f0
fix: report failed native storage before the outer day process exits
Oct 27, 2026
17fff50
fix: retain observed native day failures across monitoring windows
Oct 27, 2026
742bd32
fix: preserve internal anchor failure boundaries through storage cleanup
Oct 27, 2026
7efb19a
fix: capture the actual Verify persistent failure I/O window
Oct 27, 2026
5c44423
perf: avoid clock-only SQL rewrites when reopening anchored storage
Oct 27, 2026
e5e9570
docs: record complete 5c gates and prelaunch source blocker
Oct 27, 2026
b79998e
test: pass coverage recorder fixtures through stdin
Oct 27, 2026
159f655
perf: reuse owned anchor channel for durable startup acknowledgment
Oct 27, 2026
29cb875
docs: record 159 Windows qualification and local timeout failures
Oct 27, 2026
4c42638
fix: count compaction bytes without serializing unknown arrays
Oct 27, 2026
66b4555
fix: count escaped compaction text without serializing originals
Oct 27, 2026
49fd13e
ci: qualify shared recovery parser changes in timing and I/O gates
Oct 27, 2026
209e13f
test: await identity-pinned physical owner fixture cleanup
Oct 27, 2026
8682b76
docs: retain 49 timing qualification and physical cleanup failure
Oct 27, 2026
41bf9e8
docs: record verified 868 day start and isolated installer qualification
Oct 27, 2026
0660f9c
docs: retain 868 controller exit and live child evidence
Oct 27, 2026
1d1b43a
docs: confirm 868 day child exit without final receipt
Oct 27, 2026
3773479
fix: retain native day failure receipts independently of supervisor p…
Oct 27, 2026
673eb36
fix: bind native day children to owned Windows job before startup
Oct 27, 2026
27c43da
docs: prioritize self-use candidate delivery and retain current failures
Oct 27, 2026
4bd57b1
docs: record self-use candidate artifacts and scoped client checks
Oct 27, 2026
2b20d9d
fix: fail closed when configuration secret protection fails
Oct 27, 2026
8bcede2
perf: isolate health and native control from unrelated management fea…
Oct 27, 2026
67f1429
fix: rebind configuration watcher after atomic replacement
Oct 27, 2026
fb7f732
test: isolate management race PID lifecycle and record self-use delivery
Oct 27, 2026
1b476ac
docs: record native publication and five-second recovery short accept…
Oct 27, 2026
25fbd86
docs: record full CI, compiler child diagnosis and installed qualific…
Oct 27, 2026
f224fb4
perf: reuse authenticated UTF-8 bytes within recovery snapshots
Oct 27, 2026
d5f31ea
docs: clarify snapshot encoding measurement scope
Oct 27, 2026
4a0e3d8
diagnostics: distinguish directory ACL startup stalls and retain qual…
Oct 27, 2026
6731fbd
diagnostics: classify zero-wait snapshot SQL contention safely
Oct 27, 2026
57d4dfe
diagnostics: trace bounded native persistence execution phases
Oct 27, 2026
1f4978e
fix: stop late configuration work after watcher close
Oct 27, 2026
69f1cd9
fix: release rejected N09 commit witnesses exactly once
Oct 27, 2026
4ca0ab3
test: observe synchronous publication SQL without changing durability…
Oct 27, 2026
4f2fa08
test: bind publication I/O capture to its own serial file window
Oct 27, 2026
167cb81
fix: require the publication I/O receipt at the client coverage gate
Oct 27, 2026
804cf24
fix: retain publication SQLite I/O in a selected native recording window
Oct 27, 2026
ab5ccdb
docs: record qualified I/O windows and isolated linker control results
Oct 27, 2026
15e9ae9
test: retain bounded persistent I/O operation intervals
Oct 27, 2026
2a38b92
perf: avoid redundant warm recovery scans with inventory fences
Oct 27, 2026
308f8a9
perf: bind observation file pins inside bounded reads
Oct 27, 2026
a0c9bdd
fix: preserve recovery inventory during daemon observation
Oct 27, 2026
7456f97
fix: register recovery inventory in N09 entry closure
Oct 27, 2026
651f84b
docs: record current installed recovery qualification and local build…
Oct 27, 2026
f5fed6f
docs: retain persistent timeout and bounded IO evidence
Oct 27, 2026
6646f59
fix: report native day failures before further clock waits
Oct 27, 2026
0c067a7
docs: retain Windows day preflight and native open evidence
Oct 27, 2026
ff3ac9d
docs: pin live native day run and retain Windows CI failures
Oct 27, 2026
22f6910
test: add controlled post-durable publication ACK boundary
Oct 27, 2026
3e5397d
test: authenticate private publication ACK control messages
Oct 27, 2026
e451ce4
test: wire authenticated post-durable ACK control channel
Oct 27, 2026
238ae76
test: add prepared publication pre-ACK business interruption cases
Oct 27, 2026
44673be
fix: align N09 summary and validate publication ACK predecessors
Oct 27, 2026
7ab7cb7
test: isolate sending publication ACK business controls
Oct 27, 2026
48a5da2
test: exercise transport-finished durable publication ACK boundary
Oct 28, 2026
9e26dfc
perf: avoid duplicate header decryption inside recovery transactions
Oct 28, 2026
1afe7b3
fix: preserve precise native-day advance failure phases
Oct 28, 2026
4bd3ffc
docs: preserve local short-run failures alongside complete CI
Oct 28, 2026
82d7522
docs: retain Windows stage observations and current CI failures
Oct 28, 2026
10f9886
fix: preserve bounded recorder failure phases without granting receipts
Oct 28, 2026
31e6510
feat: add fail-closed publication cancellation acceptance boundaries
Oct 28, 2026
222b11c
feat: bind signed publication cancellation to real transport witnesses
Oct 28, 2026
fb1f206
feat: orchestrate cancelled publication recovery with cleanup barriers
Oct 28, 2026
c5058da
feat: qualify withdrawn and uncertain publication ACK scenarios
Oct 28, 2026
b334d90
docs: preserve terminal Windows controls and independent startup evid…
Oct 28, 2026
c390e22
fix: distinguish publication ACK observation failure steps
Oct 28, 2026
01fbde7
fix: bind COMMIT observations to safe versions and exact transitions
Oct 28, 2026
ae306f2
feat: exercise daemon COMMIT interiors through real predecessor controls
Oct 28, 2026
e0e0f14
fix: service authenticated observations during held publication ACK
Oct 28, 2026
be6545e
docs: record ten Windows business groups and latest installer launch
Oct 28, 2026
6257b6b
fix: reject recovery state proxies before structural reflection
Oct 28, 2026
bb92902
docs: record qualified installer and latest timeout failures
Oct 28, 2026
a7cbd6f
ci: capture persistent I/O in the original Windows source gate
Oct 28, 2026
9708443
docs: record actual source-gate capture and local native checks
Oct 28, 2026
75030e4
ci: capture the failing graceful HTTP proxy window
Oct 28, 2026
6a69491
docs: retain Windows candidate delivery and CI failures
Oct 28, 2026
523d9e8
perf: overlap owned anchor process startup with initialization
Oct 28, 2026
af6d9d1
perf: reuse authenticated reference snapshot within startup transaction
Oct 28, 2026
8b2d90a
fix: consume anchor readiness before synchronous startup work
Oct 28, 2026
cd348d9
ci: trace native publication setup in failing coverage window
Oct 28, 2026
f1511ff
test: align actual coverage workflow with native publication capture
Oct 28, 2026
989a0bd
fix: publish installed observer requests only after completion
Oct 28, 2026
bc36aed
docs: record latest installed qualification and retained Windows fail…
Oct 28, 2026
2e94375
build: verify locked Cargo archives without copying expanded sources
Oct 28, 2026
8672855
docs: preserve complete CI and correlated persistent timeout evidence
Oct 28, 2026
ae664cc
fix: require normal SQLite locking for journal deletion
Oct 28, 2026
b7ab0ee
fix: reserve byte memo capacity for large compaction text
Oct 28, 2026
50f73e1
perf: admit checkpoint once during reference projection
Oct 28, 2026
eac2df8
perf: reuse bounded byte accounting for snapshot admission
Oct 28, 2026
a49fba8
perf: prestart idle recovery anchor before fresh key persistence
Oct 28, 2026
6c801fa
perf: read startup anchor over the owned native channel
Oct 28, 2026
757cc30
docs: preserve 6c persistent timeout and Windows diagnostic failures
Oct 28, 2026
45798f9
test: retain bounded fixture and issuer metadata in persistent I/O ev…
Oct 28, 2026
b92a5bb
ci: watch I/O association dependencies and preserve first matched trace
Oct 28, 2026
20e46c6
test: capture publication startup I/O and preserve refusal causes
Oct 28, 2026
90389ed
fix: require verified terminal state before native-day acceptance passes
Oct 28, 2026
7d06d88
test: align publication recording workflow assertion
Oct 28, 2026
ef3a48b
fix: combine native storage admission with effective path pinning
Oct 28, 2026
0610461
fix: keep offline legacy storage admission existing-only
Oct 28, 2026
1786de0
ci: cover shared storage admission changes in original diagnostics
Oct 28, 2026
a79b3a6
ci: record persistent Core recovery under full coverage
Oct 29, 2026
01b208c
fix: admit compound native calls in installed qualification
Oct 29, 2026
8588222
perf: avoid duplicate publication probe directory walks
Oct 29, 2026
ee161d4
fix: await seed output publication before hosted summary
Oct 29, 2026
b4753a8
diagnostics: distinguish installed Codex restart boundaries
Oct 29, 2026
56d1721
perf: avoid duplicate publication marker polling walks
Oct 29, 2026
428b69c
docs: preserve formal recovery results and startup failures
Oct 29, 2026
9b4bcdf
diagnostics: preserve installed Codex stop failure provenance
Oct 29, 2026
e4fe090
diagnostics: parallelize staged Codex stop and startup SQL observation
Oct 29, 2026
853b3a8
diagnostics: run Claude enhanced protocol independently alongside Codex
Oct 29, 2026
1a5ae1c
fix: start isolated Claude diagnostic with its native entry protocol
Oct 29, 2026
97d97d5
diagnostics: bind publication timeout failures to bounded fixture ide…
Oct 29, 2026
52c8e83
diagnostics: inspect Windows I/O capabilities independently of delivery
Oct 29, 2026
2b1fba6
diagnostics: discover bounded minifilter event schemas on an independ…
Oct 29, 2026
562ebcc
fix: resolve schema tools by command precedence and preflight the act…
Oct 29, 2026
67320fc
fix: validate the fixed read-only WPR tool independently of writable …
Oct 29, 2026
32cf9e8
diagnostics: sample native FilterIO metadata without event values
Oct 29, 2026
85708c9
diagnostics: distinguish bounded TDH metadata refusals
Oct 29, 2026
cdde3c5
diagnostics: honor typed ETW callback record layout
Oct 29, 2026
a7e0bfa
diagnostics: preserve bounded FilterIO correlation components
Oct 29, 2026
09d11e2
test: separate storage preparation from request deadline
Oct 29, 2026
c337261
docs: record verified local self-use installer delivery
Oct 29, 2026
bd7d510
fix: preserve exact readonly snapshot file identities
Oct 29, 2026
00feb44
test: keep exact directory identities in settings matrix
Oct 29, 2026
aaddfec
test: separate maintenance crash preparation from sweep deadline
Oct 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 56 additions & 0 deletions .github/workflows/client-coverage-resource-diagnostic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Client coverage resource diagnostic

on:
push:
branches:
- acceptance/context-recovery/**
paths:
- .github/workflows/client-coverage-resource-diagnostic.yml
- scripts/diagnose-client-coverage-resources.js
- scripts/lib/client-coverage-resource-command.js
workflow_dispatch:

permissions:
contents: read

jobs:
compare:
runs-on: windows-latest
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
order: ['1,4', '4,1']
defaults:
run:
shell: pwsh
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: npm
- name: Prepare unchanged client coverage prerequisites
run: |
$ErrorActionPreference = 'Stop'
npm ci
if ($LASTEXITCODE -ne 0) { throw 'Dependency preparation failed.' }
npm ci --prefix plugins/hpm-local-evidence --ignore-scripts
if ($LASTEXITCODE -ne 0) { throw 'Fixture preparation failed.' }
rustup default stable
if ($LASTEXITCODE -ne 0) { throw 'Toolchain preparation failed.' }
npm run pretest:client:coverage
if ($LASTEXITCODE -ne 0) { throw 'Client prerequisite preparation failed.' }
- name: Compare identical full workloads in counterbalanced order
env:
PROBE_ORDER: ${{ matrix.order }}
run: |
$ErrorActionPreference = 'Stop'
$failed = $false
foreach ($concurrency in $env:PROBE_ORDER.Split(',')) {
node scripts/diagnose-client-coverage-resources.js $concurrency
if ($LASTEXITCODE -ne 0) { $failed = $true }
}
if ($failed) { throw 'Resource diagnostic observed a failure; original qualification gates remain unchanged.' }
99 changes: 99 additions & 0 deletions .github/workflows/codex-stop-diagnostic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Independent staged Codex and Claude enhanced diagnostics

on:
push:
branches:
- acceptance/context-recovery/**
paths:
- .github/workflows/codex-stop-diagnostic.yml
- scripts/diagnose-codex-stop.js
- scripts/diagnose-claude-context.js
- scripts/lib/claude-context-diagnostic*.js
- scripts/lib/staged-client-diagnostic-policy.js
- scripts/lib/staged-client-diagnostic*.js
- test/claude-context-diagnostic*.test.js
- scripts/lib/codex-stop-diagnostic*
- test/codex-stop-diagnostic*.test.js
- test/fixtures/codex-stop-diagnostic*.ps1
- scripts/lib/nsis-client-*.js
- scripts/lib/nsis-client-*.cjs
- scripts/lib/nsis-client-*.ps1
- scripts/lib/nsis-installed-client-case.js
- scripts/lib/nsis-installed-client-matrix-contract.js
- scripts/lib/nsis-installed-business-reply.js
- scripts/lib/nsis-installed-daemon-http*.psm1
- scripts/lib/nsis-runtime-boundary*
- scripts/lib/nsis-encrypted-contract.js
- scripts/lib/nsis-installation-parallel.js
- scripts/lib/nsis-baseline-transfer.js
- scripts/lib/native-loopback-rpc.js
- scripts/lib/context-recovery-daemon-*
- scripts/context-hosted/shared/**
- scripts/prepare-release-runtime.js
- scripts/release-proxy-sources.json
- scripts/prepare-context-recovery-native.js
- scripts/prepare-evidence-gateway.js
- lib/release/**
- lib/proxy/**
- native/context-recovery-key/**
- tools/nsis-clients/package.json
- tools/nsis-clients/package-lock.json
- plugins/hpm-local-evidence/package.json
- plugins/hpm-local-evidence/package-lock.json
- package.json
- package-lock.json
workflow_dispatch:

permissions:
contents: read

jobs:
diagnostic:
name: Staged ${{ matrix.client }} enhanced diagnostic
strategy:
fail-fast: false
matrix:
client: [codex, claude]
runs-on: windows-latest
timeout-minutes: 15
defaults:
run:
shell: pwsh
working-directory: current
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: current
ref: ${{ github.sha }}
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22.22.3
- run: rustup default stable
- name: Restore original locked dependencies and stage actual runtime
run: |
$ErrorActionPreference = 'Stop'
npm ci
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic dependency restore failed.' }
npm ci --prefix plugins/hpm-local-evidence --ignore-scripts
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic plugin restore failed.' }
npm ci --prefix tools/nsis-clients --ignore-scripts
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic fixed client restore failed.' }
npm run release:prepare
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic runtime staging failed.' }
node -e "require('./scripts/lib/codex-stop-diagnostic-staging').prepareDiagnosticStaging()"
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic runtime identity failed.' }
- name: Execute original enhanced CLI behind original Jobs and WFP
run: |
$ErrorActionPreference = 'Stop'
Import-Module ./scripts/lib/codex-stop-diagnostic-run.psm1 -Force
Invoke-HpmCodexStopDiagnostic -Client '${{ matrix.client }}'
- name: Record diagnostic scope only
if: always()
run: |
@(
'Staged ${{ matrix.client }} enhanced diagnostic status: ${{ job.status }}'
'No full verify, Tauri build, NSIS installation or installed qualification is granted.'
'The original installed lifecycle workflow and all of its gates remain unchanged.'
'No real provider request, daily-instance change, or 24-hour run is performed.'
) >> $env:GITHUB_STEP_SUMMARY
69 changes: 69 additions & 0 deletions .github/workflows/context-business-boundary-diagnostic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Context business boundary diagnostic

on:
push:
branches:
- acceptance/context-recovery/**
paths:
- .github/workflows/context-business-boundary-diagnostic.yml
- scripts/context-hosted/**
- scripts/lib/nsis-runtime-boundary.psm1
- scripts/lib/nsis-runtime-boundary-job.cs
- scripts/qualify-context-hosted.ps1
- scripts/prepare-context-hosted-run.js
workflow_dispatch:

permissions:
contents: read

jobs:
diagnose:
runs-on: windows-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
scenario: [n08, n09, n09-sending-ack, n09-finished-ack, n09-withdrawn-ack, n09-uncertain-ack, n09-sending-commit, n09-finished-commit, n09-withdrawn-commit, n09-uncertain-commit]
defaults:
run:
shell: pwsh
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.sha }}
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: npm
- name: Prepare fixed diagnostic prerequisites
run: |
$ErrorActionPreference = 'Stop'
npm ci
if ($LASTEXITCODE -ne 0) { throw 'Source dependency preparation failed.' }
npm ci --prefix plugins/hpm-local-evidence --ignore-scripts
if ($LASTEXITCODE -ne 0) { throw 'Fixture dependency preparation failed.' }
rustup default stable
if ($LASTEXITCODE -ne 0) { throw 'Native toolchain preparation failed.' }
- name: Prepare original pinned payload and plan
env:
SCENARIO: ${{ matrix.scenario }}
run: |
$ErrorActionPreference = 'Stop'
node scripts/prepare-context-hosted-run.js $env:SCENARIO
if ($LASTEXITCODE -ne 0) { throw 'Diagnostic payload preparation failed.' }
- name: Diagnose original bounded business execution
env:
SCENARIO: ${{ matrix.scenario }}
run: |
$ErrorActionPreference = 'Stop'
./scripts/qualify-context-hosted.ps1 -Case $env:SCENARIO
- name: Preserve diagnostic evidence boundary
if: always()
run: |
@(
'Diagnostic execution only; no qualification or publication is granted.'
'The original pinned payload, network boundary, owned Job and business assertions are reused.'
'Formal Verify and the complete source-gates plus business chain remain required.'
'No payload, credential, original content, native reply or database is uploaded.'
) >> $env:GITHUB_STEP_SUMMARY
34 changes: 31 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
- run: npm ci --prefix plugins/hpm-local-evidence --ignore-scripts
- run: rustup default stable
- run: npm run test:unit

coverage:
Expand All @@ -54,9 +56,33 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
- run: npm run test:coverage
- run: npm run test:client:coverage
- run: npm run test:frontend:coverage
- run: npm ci --prefix plugins/hpm-local-evidence --ignore-scripts
- run: rustup default stable
- name: Execute complete original coverage commands with owned file recording windows
shell: pwsh
env:
HPM_COVERAGE_IO: ${{ github.sha }}
run: |
$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $false
$env:HPM_COVERAGE_IO_STAGE = 'proxy'
$env:HPM_COVERAGE_IO_PROXY_WINDOW = 'publication-interruption'
npm run test:coverage
$coverageExit = $LASTEXITCODE
if ($coverageExit -ne 0) { [Console]::Error.WriteLine('coverage_original_stage_failed:stage=' + $env:HPM_COVERAGE_IO_STAGE) }
node scripts/check-coverage-io-receipt.cjs
if ($LASTEXITCODE -ne 0) { throw 'Coverage I/O observation was not completed safely.' }
if ($coverageExit -ne 0) { throw 'Original proxy coverage failed; I/O evidence does not override its failure.' }
Remove-Item Env:\HPM_COVERAGE_IO_PROXY_WINDOW
$env:HPM_COVERAGE_IO_STAGE = 'client'
npm run test:client:coverage
$coverageExit = $LASTEXITCODE
if ($coverageExit -ne 0) { [Console]::Error.WriteLine('coverage_original_stage_failed:stage=' + $env:HPM_COVERAGE_IO_STAGE) }
node scripts/check-coverage-io-receipt.cjs
if ($LASTEXITCODE -ne 0) { throw 'Client coverage I/O observation was not completed safely.' }
if ($coverageExit -ne 0) { throw 'Original client coverage failed; I/O evidence does not override its failure.' }
npm run test:frontend:coverage
if ($LASTEXITCODE -ne 0) { throw 'Original frontend coverage failed.' }

integration-tests:
runs-on: windows-latest
Expand Down Expand Up @@ -85,8 +111,10 @@ jobs:
workspaces: src-tauri
- run: npm ci
- run: npm run release:prepare
- run: npm run test:recovery-native
- run: cargo fmt --manifest-path src-tauri/Cargo.toml -- --check
- run: cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings
- run: npm run test:rust
- run: cargo install cargo-audit --version 0.22.2 --locked
- run: node scripts/check-windows-rust-audit.js
- run: cargo audit --file native/context-recovery-key/Cargo.lock
42 changes: 42 additions & 0 deletions .github/workflows/windows-baseline-artifact-bridge-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Review branch private old NSIS artifact bridge

on:
push:
branches:
- acceptance/windows-baseline-bridge/**

permissions: {}

jobs:
resolve:
runs-on: windows-latest
timeout-minutes: 5
permissions:
contents: read
outputs:
release_id: ${{ steps.route.outputs.release_id }}
installer_asset_id: ${{ steps.route.outputs.installer_asset_id }}
identity_asset_id: ${{ steps.route.outputs.identity_asset_id }}
target_sha: ${{ steps.route.outputs.target_sha }}
transfer_tag: ${{ steps.route.outputs.transfer_tag }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.sha }}
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
- id: route
run: node scripts/resolve-nsis-review-route.cjs bridge
bridge:
needs: resolve
permissions:
contents: write
uses: ./.github/workflows/windows-baseline-artifact-bridge.yml
with:
release_id: ${{ needs.resolve.outputs.release_id }}
installer_asset_id: ${{ needs.resolve.outputs.installer_asset_id }}
identity_asset_id: ${{ needs.resolve.outputs.identity_asset_id }}
target_sha: ${{ needs.resolve.outputs.target_sha }}
transfer_tag: ${{ needs.resolve.outputs.transfer_tag }}
Loading
Loading