Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
42e253e
fix(mcp): fail closed on unsupported Playwright isolated contexts
AKzar1el Nov 17, 2026
e16ac4a
fix(mcp): detect Playwright extension mode in JSON config
AKzar1el Nov 17, 2026
4b3d3ee
fix(mcp): satisfy strict Clippy lint for config parser
AKzar1el Nov 18, 2026
68be301
fix(single-lane): harden durable Windows goal writes on clean v2.4 base
AKzar1el Nov 18, 2026
554cd71
style(single-lane): satisfy Rustfmt in guarded Windows persistence
AKzar1el Nov 18, 2026
a91ced3
ci(single-lane): use supported help command for executable smoke check
AKzar1el Nov 18, 2026
126b886
fix(windows): bound self-update status reads across atomic rename gaps
AKzar1el Nov 18, 2026
3c16f13
style(windows): format bounded updater status retry
AKzar1el Nov 18, 2026
be9ce37
fix(goal): wake blocked input waits after owner goal activation
AKzar1el Nov 18, 2026
47db800
ci(goal): validate blocked-wait wake parity on clean v2.4 single lane
AKzar1el Nov 18, 2026
f034dcd
fix(goal): preserve terminal handoff receipts on the single-lane v2.4…
AKzar1el Nov 18, 2026
47ded8b
fix(goal): restore accepted-handoff warning and de-duplicate test imp…
AKzar1el Nov 18, 2026
c2706cd
fix(mcp): prevent server-bound upstream OAuth metadata from forcing G…
AKzar1el Nov 18, 2026
a8e4169
ci(mcp): exercise bounded upstream authorization and no-relink regres…
AKzar1el Nov 18, 2026
5f7b8f3
style(mcp): format Cloudflare upstream OAuth boundary regression tests
AKzar1el Nov 18, 2026
205a6eb
fix(mcp): prevent upstream Cloudflare whoami from impersonating God v…
AKzar1el Nov 18, 2026
51434f8
ci: check terminal-handoff regression exit status instead of constant…
AKzar1el Nov 18, 2026
99f28ae
ci: validate entire upstream-to-custom delta instead of last commit only
AKzar1el Nov 18, 2026
4b8349c
refactor(goal): drop unused handoff recovery code and simplify retire…
AKzar1el Nov 18, 2026
0b28642
ci: enforce upstream Clippy -D warnings before native release artifact
AKzar1el Nov 18, 2026
da8bbba
ci: compare Clippy regressions against pinned upstream baseline
AKzar1el Nov 18, 2026
ef323c1
ci: correct baseline-aware Clippy workflow serialization
AKzar1el Nov 18, 2026
a394ad8
fix(mcp): isolate Playwright upstream sessions by durable chat owner
AKzar1el Nov 19, 2026
cd4e483
docs(browser): document scoped Playwright and secure token enrollment
AKzar1el Nov 19, 2026
0013e61
merge(v240): retain verified Windows OAuth and goal recovery fixes
AKzar1el Nov 19, 2026
3c7cd8d
fix(automation): retain native provider Send gate across v2.4 migration
AKzar1el Nov 19, 2026
aed31a3
ci(windows): validate browser isolation and build review-only v2.4 ca…
AKzar1el Nov 19, 2026
1715600
perf(mcp): bound parallel upstream startup and preserve catalog order
AKzar1el Nov 19, 2026
cad7292
ci(windows): validate parallel-startup candidate on public runner
AKzar1el Nov 19, 2026
2f7c532
fix(config): preserve explicit per-chat MCP session scope
AKzar1el Nov 19, 2026
6ff8ce7
ci(windows): test MCP session-scope overlay before release
AKzar1el Nov 19, 2026
69167b5
feat(mcp): introduce isolated transactional upstream reload runtime
AKzar1el Nov 19, 2026
7feef36
refactor(mcp): own upstream services by immutable connection generation
AKzar1el Nov 19, 2026
6529804
fix(mcp): expose generation call lease within internal catalog
AKzar1el Nov 19, 2026
529c728
fix(mcp): share generation type with catalog router
AKzar1el Nov 19, 2026
b82396b
feat(mcp): pin catalog calls to their source generation
AKzar1el Nov 19, 2026
68beb01
feat(mcp): dispatch across atomic reloadable tool snapshots
AKzar1el Nov 19, 2026
405de74
fix(mcp): count reloadable bridge tools correctly in server banner
AKzar1el Nov 19, 2026
bb49f57
refactor(mcp): enforce per-source reload leases and remove unused state
AKzar1el Nov 19, 2026
3ce2d61
refactor(mcp): align generation construction with minimal state
AKzar1el Nov 19, 2026
43fcde4
test(mcp): exercise real upstream swapping, pinned calls, rollback an…
AKzar1el Nov 19, 2026
93ee0f8
test(mcp): enable isolated reload integration fixtures
AKzar1el Nov 19, 2026
755cb02
fix(mcp): make reload initialization future Send and update legacy as…
AKzar1el Nov 19, 2026
1034a6c
docs(mcp): document transactional reload behavior, limits and gated d…
AKzar1el Nov 19, 2026
09dcce8
test(mcp): expose immutable source snapshot to integration assertions
AKzar1el Nov 19, 2026
62f12eb
fix(mcp): keep direct and catalog tool registry unique across sources
AKzar1el Nov 19, 2026
c3fdffc
test(mcp): cover catalog/gateway rediscovery, reconnect, cancellation…
AKzar1el Nov 19, 2026
138abc1
style(mcp): apply rustfmt fixes confirmed by CI (src/bridge/hot_reloa…
AKzar1el Nov 19, 2026
cc4dcd4
style(mcp): apply rustfmt fixes confirmed by CI (src/bridge.rs)
AKzar1el Nov 19, 2026
8f0ee09
style(mcp): apply rustfmt fixes confirmed by CI (src/server.rs)
AKzar1el Nov 19, 2026
9c48bc8
fix(mcp): return structured failure and retained-generation diagnostics
AKzar1el Nov 19, 2026
cfbc295
docs(mcp): correct operator guide Markdown code spans
AKzar1el Nov 19, 2026
8281331
feat(mcp): expose reload phase timings and remaining in-flight calls
AKzar1el Nov 19, 2026
9c5367e
refactor(mcp): use one conversion for gateway function descriptors
AKzar1el Nov 19, 2026
8987a6c
refactor(mcp): reuse gateway metadata conversion on reload
AKzar1el Nov 19, 2026
f10b504
fix(mcp): honor cancellation after readiness but before registry publ…
AKzar1el Nov 19, 2026
f3d74c1
fix(mcp): release startup bridge tool snapshot to retire old processes
AKzar1el Nov 19, 2026
63d3257
test(mcp): assert drained generations and services are not retained
AKzar1el Nov 19, 2026
abd0697
docs(mcp): record phase timings and cross-generation resource-link ca…
AKzar1el Nov 19, 2026
49d93e3
style(mcp): apply CI rustfmt corrections in src/bridge/hot_reload_tes…
AKzar1el Nov 19, 2026
d5feede
style(mcp): apply CI rustfmt corrections in src/bridge.rs
AKzar1el Nov 19, 2026
3acf5cd
refactor(mcp): share individual dynamic tools independently of regist…
AKzar1el Nov 19, 2026
998130a
fix(mcp): store validated MCP tool descriptors as independently pinne…
AKzar1el Nov 19, 2026
8556193
fix(mcp): dispatch pins only the selected upstream generation to prev…
AKzar1el Nov 19, 2026
040e5e2
fix(mcp): propagate trait-object dispatch references after source-spe…
AKzar1el Nov 19, 2026
84a081d
fix(mcp): use trait object in owner-chat cleanup gate
AKzar1el Nov 19, 2026
15e0a99
test(mcp): verify unrelated long-running request cannot pin old sourc…
AKzar1el Nov 19, 2026
c89ee10
docs(mcp): clarify source-specific dispatch pinning and retirement
AKzar1el Nov 19, 2026
da24d1a
style(mcp): apply remaining format hints (src/bridge/hot_reload.rs)
AKzar1el Nov 19, 2026
a869594
style(mcp): apply remaining format hints (src/bridge.rs)
AKzar1el Nov 19, 2026
115576b
fix(mcp): report retained old source generations accurately after drain
AKzar1el Nov 19, 2026
f27c9bf
docs(mcp): describe per-tool dispatch ownership and honest draining r…
AKzar1el Nov 19, 2026
402c1bf
fix(mcp): remove duplicate stderr module and format bridge generation
AKzar1el Nov 19, 2026
bfb4ea2
style(mcp): apply CI rustfmt changes to live hot reload tests
AKzar1el Nov 19, 2026
a0c72d3
fix(mcp): satisfy strict Clippy in per-source dispatch fallback
AKzar1el Nov 19, 2026
cc92b3d
fix(mcp): preserve safe startup report wording for catalog and unsupp…
AKzar1el Nov 19, 2026
8833c5d
fix(mcp): register drain waiter before reading in-flight count
AKzar1el Nov 19, 2026
c85264f
style(mcp): apply exact rustfmt fix to unsupported-transport report
AKzar1el Nov 19, 2026
8a1540e
test(mcp): add isolated real stdio fixture with distinct process iden…
AKzar1el Nov 19, 2026
d2c4f64
test(mcp): verify real stdio process replacement, drain and rollback …
AKzar1el Nov 19, 2026
133b0e2
test(mcp): run isolated stdio process reload in Windows and macOS ser…
AKzar1el Nov 19, 2026
17b0d31
test(mcp): verify retired stdio OS child exits and apply CI rustfmt
AKzar1el Nov 19, 2026
832ecde
fix(browser): verify connector permissions against current settings UI
AKzar1el Nov 20, 2026
befca28
fix(windows): compare orphan parent timestamps in UTC
AKzar1el Nov 20, 2026
aa84b64
fix(browser): log redacted permission control shape on selector timeout
AKzar1el Nov 20, 2026
bd53da4
fix(browser): refresh connector tools without changing app permissions
AKzar1el Nov 20, 2026
d8ebe53
fix(automation): isolate missing historical worktrees from goal scans
AKzar1el Nov 20, 2026
4df4f73
test(mcp): cover real GodPrompt 1.0.3 to 1.1.1 reload and rollback
AKzar1el Nov 20, 2026
39c2189
ci(mcp): run isolated real GodPrompt npm version switch as required gate
AKzar1el Nov 20, 2026
eb029f3
style(mcp): apply exact Rustfmt spacing in GodPrompt canary
AKzar1el Nov 20, 2026
91cd90b
style(mcp): satisfy strict Clippy in real GodPrompt canary
AKzar1el Nov 20, 2026
1a6deb5
fix(owner-chat): use fresh browser readiness for manual refresh
AKzar1el Nov 20, 2026
d91e73d
ci: build isolated Windows hot reload preview artifact without deploy…
AKzar1el Nov 20, 2026
e0670de
test(mcp): allow Windows runner stdio startup under resource contention
AKzar1el Nov 20, 2026
ce590c5
fix(mcp): parse and validate existing browser Send gate config in pre…
AKzar1el Nov 20, 2026
29650c5
fix(mcp): preserve existing Send-gate environment for browser companion
AKzar1el Nov 20, 2026
85a6608
ci(mcp): rebuild Windows preview when browser Send-gate compatibility…
AKzar1el Nov 20, 2026
8c30540
style(mcp): apply CI Rustfmt for browser Send-gate compatibility
AKzar1el Nov 20, 2026
e69e393
fix(owner-chat): show manual connector retry over stale failure
AKzar1el Nov 20, 2026
4a3c179
fix(browser): reserve idle windows between handoff inspections
AKzar1el Nov 20, 2026
85d652f
fix(owner-chat): require verified idle browser before connector refresh
AKzar1el Nov 20, 2026
15bac78
ops(windows): guard local native readiness deployment with rollback
AKzar1el Nov 20, 2026
4e9d8c6
fix(windows): isolate native service replacement from its job
AKzar1el Nov 20, 2026
c4b311a
ops(windows): allow expressly authorized native command interruption
AKzar1el Nov 20, 2026
1ebc7ca
fix(windows): suspend native task recovery during atomic upgrade
AKzar1el Nov 20, 2026
980c9e5
fix(windows): require administrator consent for native service swap
AKzar1el Nov 20, 2026
e579775
fix(windows): allow guarded stop after native health becomes unavailable
AKzar1el Nov 20, 2026
d67274f
fix(windows): tolerate supervised listener exit during restart
AKzar1el Nov 20, 2026
de37d35
fix(windows): fail closed when native service processes survive task …
AKzar1el Nov 20, 2026
2b83d26
test(windows): exercise generated service lifecycle scripts offline
AKzar1el Nov 20, 2026
c818c4c
ops(windows): require detached elevated task for native replacement
AKzar1el Nov 20, 2026
c332ad7
ops(windows): preserve active native commands during maintenance by d…
AKzar1el Nov 20, 2026
0ecad14
ops(windows): guard offline native build against memory pressure
AKzar1el Nov 20, 2026
29d4b37
docs(mcp): clarify exact config source keys for hot reload
AKzar1el Nov 20, 2026
12edc54
merge: combine per-chat Playwright ownership with safe MCP hot reload
AKzar1el Nov 22, 2026
cd6600c
ci: build scoped Playwright and hot reload Windows candidate
AKzar1el Nov 22, 2026
a15e6cb
ci: verify per-task Playwright and hot reload remotely
AKzar1el Nov 22, 2026
b6f3072
ci: parse scoped browser test commands as YAML block scalars
AKzar1el Nov 22, 2026
1fb868d
fix: preserve bounded parallel MCP startup with hot reload registry
AKzar1el Nov 22, 2026
bf04c4f
fix: borrow source names in parallel MCP initialization
AKzar1el Nov 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,17 @@ jobs:
- name: Test
run: cargo test --all

- name: Test actual GodPrompt 1.0.3 to 1.1.1 hot reload and rollback
env:
CODEXIFY_CANARY_OLD_GODPROMPT: ${{ runner.temp }}/godprompt-old/node_modules/god-prompt-mcp/dist/stdio.js
CODEXIFY_CANARY_NEW_GODPROMPT: ${{ runner.temp }}/godprompt-new/node_modules/god-prompt-mcp/dist/stdio.js
run: |
npm install --prefix "$RUNNER_TEMP/godprompt-old" --no-save --no-package-lock --ignore-scripts --no-audit --no-fund god-prompt-mcp@1.0.3
npm install --prefix "$RUNNER_TEMP/godprompt-new" --no-save --no-package-lock --ignore-scripts --no-audit --no-fund god-prompt-mcp@1.1.1
test -f "$CODEXIFY_CANARY_OLD_GODPROMPT"
test -f "$CODEXIFY_CANARY_NEW_GODPROMPT"
cargo test --locked --lib service_local_godprompt_candidate_upgrade_and_failed_rollback -- --nocapture

- name: Test Rust and TypeScript browser companion contract
env:
CODEXIFY_TEST_BROWSER_COMPANION_BUN: ${{ steps.browser-bun.outputs.bun-path }}
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/perchat-integration-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Scoped Playwright and hot-reload integration checks

on:
push:
branches:
- fix/per-chat-playwright-hotreload-20261122
paths:
- .github/workflows/perchat-integration-validation.yml
- src/bridge.rs
- src/bridge/**
- src/playwright_sessions.rs
- src/mcp_catalog.rs
- src/upstream_control.rs

permissions:
contents: read

env:
CARGO_TERM_COLOR: always
CARGO_PROFILE_TEST_DEBUG: line-tables-only

jobs:
scoped-ownership:
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Rust formatting
run: cargo fmt --all -- --check
- name: Per-task browser session tests
run: |
cargo test --locked --lib playwright_sessions:: -- --test-threads=1
- name: Hot reload and real two-owner stdio tests
run: |
cargo test --locked --lib bridge::hot_reload_tests:: -- --test-threads=1
53 changes: 53 additions & 0 deletions .github/workflows/preview-hot-reload-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build experimental Codexify hot reload for Windows

on:
push:
branches:
- feat/per-mcp-hot-reload-20261119
- fix/per-chat-playwright-hotreload-20261122
paths:
- .github/workflows/preview-hot-reload-windows.yml
- src/markdown_chat/mod.rs
- src/agent_automation/install.rs
- src/bridge.rs
- src/bridge/**
- src/mcp_catalog.rs
- src/playwright_sessions.rs

permissions:
contents: read

jobs:
preview-windows:
name: Package pinned Windows feature binary
runs-on: windows-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build from exact branch commit
shell: pwsh
run: |
$ErrorActionPreference = 'Stop'
cargo build --release --locked --bin codexify
if ($LASTEXITCODE -ne 0) { throw 'Cargo build failed' }
$out = Join-Path $env:RUNNER_TEMP 'codexify-hot-reload-preview'
New-Item -ItemType Directory -Force -Path $out | Out-Null
$binary = Join-Path (Get-Location) 'target\release\codexify.exe'
if (!(Test-Path -LiteralPath $binary -PathType Leaf)) { throw 'Expected executable missing' }
Copy-Item -LiteralPath $binary -Destination (Join-Path $out 'codexify.exe')
& (Join-Path $out 'codexify.exe') --help | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Preview binary self-probe failed' }
$hash = (Get-FileHash -LiteralPath (Join-Path $out 'codexify.exe') -Algorithm SHA256).Hash.ToLowerInvariant()
Set-Content -LiteralPath (Join-Path $out 'SHA256SUMS.txt') -Value ("$hash codexify.exe") -Encoding ascii
Set-Content -LiteralPath (Join-Path $out 'SOURCE_COMMIT.txt') -Value "${{ github.sha }}" -Encoding ascii
Set-Content -LiteralPath (Join-Path $out 'PREVIEW_NOTICE.txt') -Value 'EXPERIMENTAL binary from integration branch PR #12. Not an official release. Activate only after backing up the existing executable; coordinate with other Codexify workers.' -Encoding ascii
- uses: actions/upload-artifact@v4
with:
name: codexify-pr12-perchat-hotreload-windows-preview
path: ${{ runner.temp }}/codexify-hot-reload-preview/*
if-no-files-found: error
retention-days: 7
151 changes: 151 additions & 0 deletions .github/workflows/single-lane-v240-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
name: Single-lane v2.4 validation (no deployment)

on:
push:
branches: [fix/single-lane-v240-stable-20261118, fix/single-lane-v240-goal-parity-20261118, fix/godv5-cloudflare-oauth-meta-v240-20261118]
workflow_dispatch:

permissions:
contents: read

jobs:
native-windows:
name: Verify single-lane native and durable goal state
runs-on: windows-latest
timeout-minutes: 120
defaults:
run:
shell: pwsh
env:
CARGO_BUILD_JOBS: '2'
CARGO_INCREMENTAL: '0'
CARGO_PROFILE_DEV_DEBUG: line-tables-only
CARGO_PROFILE_TEST_DEBUG: line-tables-only
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Bound changes to durability and Windows tests
run: |
$ErrorActionPreference = 'Stop'
$allowed = @('src/agent_automation/store.rs','src/project_clone.rs','src/self_update.rs','src/owner_chat.rs','src/agent_automation/supervisor.rs','src/agent_automation/turn_renewal.rs','src/bridge.rs','.github/workflows/single-lane-v240-ci.yml','docs/SINGLE_LANE_V240_RECOVERY.md')
$upstreamBase = 'b14eacde810531a451535ee546ca7e07c65c5a1d'
git merge-base --is-ancestor $upstreamBase HEAD
if ($LASTEXITCODE -ne 0) { throw 'Branch no longer descends from upstream v2.4.0; rebase required' }
$changed = @(git diff --name-only $upstreamBase HEAD)
if ($LASTEXITCODE -ne 0) { throw 'Failed to inspect commit scope' }
foreach ($file in $changed) {
if ($file -notin $allowed) { throw "Unexpected changed file: $file" }
}
git diff --check $upstreamBase HEAD
if ($LASTEXITCODE -ne 0) { throw 'Whitespace errors' }
rustfmt --check --edition 2024 --config skip_children=true src/agent_automation/store.rs src/project_clone.rs src/self_update.rs src/owner_chat.rs src/agent_automation/supervisor.rs src/agent_automation/turn_renewal.rs src/bridge.rs
if ($LASTEXITCODE -ne 0) { throw 'Rustfmt check failed' }
- name: Validate native source and test compilation
run: |
cargo check --locked --all-targets -j 2
if ($LASTEXITCODE -ne 0) { throw 'Cargo check failed' }
- name: Reject new Clippy findings relative to pinned upstream v2.4
run: |
$ErrorActionPreference = 'Stop'
$baselineSha = 'b14eacde810531a451535ee546ca7e07c65c5a1d'
$baselinePath = Join-Path $env:RUNNER_TEMP 'codexify-clippy-upstream-base'
if (Test-Path -LiteralPath $baselinePath) { throw 'Clippy baseline path is not empty' }
git worktree add --detach $baselinePath $baselineSha
if ($LASTEXITCODE -ne 0) { throw 'Failed to open pinned upstream baseline' }
$env:CARGO_TARGET_DIR = Join-Path $env:GITHUB_WORKSPACE 'target'
$baseLog = Join-Path $env:RUNNER_TEMP 'clippy-upstream.jsonl'
$headLog = Join-Path $env:RUNNER_TEMP 'clippy-candidate.jsonl'
try {
Push-Location $baselinePath
try {
cargo clippy --locked --all-targets -j 2 --message-format=json -- -D warnings 1> $baseLog
$baseExit = $LASTEXITCODE
} finally {
Pop-Location
}
cargo clippy --locked --all-targets -j 2 --message-format=json -- -D warnings 1> $headLog
$headExit = $LASTEXITCODE
function Get-FindingCounts {
param([string]$LogPath)
$counts = @{}
foreach ($line in [System.IO.File]::ReadLines($LogPath)) {
if (-not $line.StartsWith('{')) { continue }
try { $entry = $line | ConvertFrom-Json -ErrorAction Stop } catch { continue }
if ($entry.reason -ne 'compiler-message') { continue }
$diagnostic = $entry.message
if ($diagnostic.level -notin @('error', 'warning')) { continue }
$primary = $diagnostic.spans | Where-Object { $_.is_primary } | Select-Object -First 1
$file = if ($null -ne $primary) { [string]$primary.file_name } else { '<unknown>' }
$file = $file -replace '\\', '/'
if ($file -match '((?:src|tests|examples)/.*)$') { $file = $Matches[1] }
$code = if ($null -ne $diagnostic.code) { [string]$diagnostic.code.code } else { '<no-code>' }
$key = "${file}|${code}|$($diagnostic.message)"
$counts[$key] = [int]$counts[$key] + 1
}
return $counts
}
$upstream = Get-FindingCounts $baseLog
$candidate = Get-FindingCounts $headLog
if ($baseExit -ne 0 -and $upstream.Count -eq 0) {
throw 'Upstream Clippy failed without structured diagnostics; baseline unusable'
}
if ($headExit -ne 0 -and $candidate.Count -eq 0) {
throw 'Candidate Clippy failed without structured diagnostics'
}
$regressions = @()
foreach ($finding in $candidate.GetEnumerator()) {
$increase = $finding.Value - [int]$upstream[$finding.Key]
if ($increase -gt 0) { $regressions += "$($finding.Key) (+$increase)" }
}
Write-Output "Pinned upstream findings: $((@($upstream.Values) | Measure-Object -Sum).Sum)"
Write-Output "Candidate findings: $((@($candidate.Values) | Measure-Object -Sum).Sum)"
if ($regressions.Count -gt 0) {
$regressions | Sort-Object | ForEach-Object { Write-Output "NEW: $_" }
throw 'Candidate introduced Clippy/compiler diagnostic regressions'
}
Write-Output 'No new Clippy diagnostics. Existing upstream warnings are tracked, not claimed resolved.'
} finally {
git worktree remove -- $baselinePath
if ($LASTEXITCODE -ne 0) { Write-Warning 'Ephemeral CI worktree cleanup failed' }
}
- name: Verify Windows locked file and canonical path regressions
run: |
cargo test --locked --lib windows_state_publication_tests -j 2 -- --nocapture
if ($LASTEXITCODE -ne 0) { throw 'State publication test failed' }
cargo test --locked --lib rejects_ambiguous_matching_checkouts -j 2 -- --nocapture
if ($LASTEXITCODE -ne 0) { throw 'Windows path test failed' }
cargo test --locked --lib windows_worker_reports_start_and_completes_a_unicode_file_update -j 2 -- --nocapture
if ($LASTEXITCODE -ne 0) { throw 'Windows status publication test failed' }
cargo test --locked --lib owner_goal_commands_are_authenticated_idempotent_local_and_visible_in_state -j 2 -- --nocapture
if ($LASTEXITCODE -ne 0) { throw 'Goal activation wake test failed' }
cargo test --locked --lib completed_goal_renewal_tests -j 2 -- --nocapture
if ($LASTEXITCODE -ne 0) { throw 'Terminal handoff retirement regression failed' }
cargo test --locked --lib browser_action_lanes_default_to_one_and_are_bounded -j 2
if ($LASTEXITCODE -ne 0) { throw 'Single browser lane default test failed' }
- name: Run MCP bridge authorization metadata regressions
run: |
cargo test --locked --lib bridge::tests:: -j 2 -- --nocapture
if ($LASTEXITCODE -ne 0) { throw 'MCP authorization bridge tests failed' }
- name: Run full Rust library regression suite
run: |
cargo test --locked --lib -j 2
if ($LASTEXITCODE -ne 0) { throw 'Full library tests failed' }
- name: Build official-v2.4-based native candidate without installing
run: |
cargo build --locked --release --bin codexify -j 2
if ($LASTEXITCODE -ne 0) { throw 'Native build failed' }
& .\target\release\codexify.exe --help | Select-Object -First 5
if ($LASTEXITCODE -ne 0) { throw 'Binary help smoke failed' }
Get-FileHash .\target\release\codexify.exe -Algorithm SHA256 | Format-List | Out-String | Write-Output
- name: Retain reviewed native candidate for one day
uses: actions/upload-artifact@v4
with:
name: codexify-v240-minimal-single-lane-windows
path: target/release/codexify.exe
if-no-files-found: error
retention-days: 1
80 changes: 80 additions & 0 deletions .github/workflows/v240-playwright-compatible.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: v2.4 Playwright per-chat Windows candidate (validation only)

on:
push:
branches:
- fix/v240-playwright-compatible-20261119
- fix/v240-playwright-parallel-startup-20261119
- fix/v240-configured-playwright-scope-20261119

permissions:
contents: read

jobs:
windows-candidate:
runs-on: windows-latest
timeout-minutes: 90
defaults:
run:
shell: pwsh
env:
CARGO_BUILD_JOBS: '2'
CARGO_INCREMENTAL: '0'
CARGO_PROFILE_DEV_DEBUG: line-tables-only
CARGO_PROFILE_TEST_DEBUG: line-tables-only
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Verify source provenance and formatting
run: |
$ErrorActionPreference = 'Stop'
git merge-base --is-ancestor ef323c124f73396e5c3cdada6f471c4b2783d910 HEAD
if ($LASTEXITCODE -ne 0) { throw 'Missing verified v2.4 OAuth/goal baseline' }
git merge-base --is-ancestor cd4e483 HEAD
if ($LASTEXITCODE -ne 0) { throw 'Missing per-chat Playwright isolation baseline' }
git diff --check ef323c124f73396e5c3cdada6f471c4b2783d910 HEAD
if ($LASTEXITCODE -ne 0) { throw 'Diff whitespace validation failed' }
cargo fmt --all -- --check
if ($LASTEXITCODE -ne 0) { throw 'Rustfmt validation failed' }
- name: Validate all Rust test targets
run: |
cargo check --locked --tests -j 2
if ($LASTEXITCODE -ne 0) { throw 'Rust test targets do not compile' }
- name: Verify explicit per-chat configuration overlay
run: |
cargo test --locked --lib config::tests::explicit_playwright_session_scope_survives_json_overlay -j 2
if ($LASTEXITCODE -ne 0) { throw 'Playwright sessionScope was silently downgraded to global' }
cargo test --locked --lib config::tests::explicit_scope_overlay_preserves_or_overrides_imported_scope -j 2
if ($LASTEXITCODE -ne 0) { throw 'MCP imported scope overlay regression' }
- name: Verify browser ownership and preserved Send gate
run: |
cargo test --locked --lib playwright_sessions::tests -j 2
if ($LASTEXITCODE -ne 0) { throw 'Per-chat browser ownership regression' }
cargo test --locked --lib provider_send_gate -j 2
if ($LASTEXITCODE -ne 0) { throw 'Provider Send gate compatibility regression' }
cargo test --locked --lib bridge::tests -j 2
if ($LASTEXITCODE -ne 0) { throw 'Upstream MCP bridge regression' }
- name: Verify complete v2.4 library suite
run: |
cargo test --locked --lib -j 2
if ($LASTEXITCODE -ne 0) { throw 'Full library regression suite failed' }
- name: Build official v2.4-based Windows executable
run: |
cargo build --locked --release --bin codexify -j 2
if ($LASTEXITCODE -ne 0) { throw 'Windows native release build failed' }
& .\target\release\codexify.exe --help | Select-Object -First 5
if ($LASTEXITCODE -ne 0) { throw 'Built executable is not runnable' }
$sha = (Get-FileHash .\target\release\codexify.exe -Algorithm SHA256).Hash
Write-Output "Verified Windows candidate SHA256: $sha"
- name: Upload reviewable binary without installing
uses: actions/upload-artifact@v4
with:
name: codexify-v240-playwright-compatible-windows
path: target/release/codexify.exe
if-no-files-found: error
retention-days: 1
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ node_modules/
# Source archive drops (reference material, not part of the repo)
*.zip
/browser-companion/.browsers/
/browser-companion/dist/
/browser-companion/artifacts/
Loading
Loading