[codex] M4 progress: chain intelligence + deep live matrix evidence#97
[codex] M4 progress: chain intelligence + deep live matrix evidence#97Prekzursil wants to merge 16 commits intomainfrom
Conversation
Add SWFOC_FORCE_PROMOTED_EXTENDER override semantics in BackendRouter with default non-forced promoted routing, de-trap universal_auto backend preference, remove hardcoded user save-root metadata, and align tests/docs/TODO evidence for deterministic and tactical live validation runs. Co-authored-by: Codex <noreply@openai.com>
Implement helper bridge contracts/backend wiring, native helper plugin routing, strict tactical mode split, and launch automation in runtime/UI. Stabilize deterministic/live validation by isolating named-pipe tests, hardening repro bundle parsing, improving ROE auto-launch mod args, and recording latest evidence run IDs in docs/TODO. Co-authored-by: Codex <noreply@openai.com>
Continue M4 closure with installed workshop/submod intelligence, chain-aware launch orchestration, helper/mechanic gating, transplant scaffolding, and expanded evidence tooling. Includes full deep-chain live matrix artifacts for 25 installed items / 28 chains, plus targeted blocker reruns and TODO evidence synchronization. Co-authored-by: Codex <noreply@openai.com>
|
Unable to trigger custom agent "Code Reviewer". You have run out of credits 😔 |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reduce complexity/literal duplication in helper bridge, workshop inventory, runtime routing, and related tests without changing runtime semantics. Co-authored-by: Codex <noreply@openai.com>
Recompute/validate launch chains from items, preserve graph missing-parent diagnostics, and emit chainResolutionSource + launchAttempted metadata so unresolved chains fail closed before attach. Co-authored-by: Codex <noreply@openai.com>
Wire coverlet collector, deterministic coverage collection/assert scripts, strict codecov.yml policy, and CI workflow for PR/main coverage enforcement. Co-authored-by: Codex <noreply@openai.com>
Introduce provider-backed zero-issue assertions for Sonar/Codacy/DeepScan/Snyk/Applitools/Sentry with hard-fail missing config policy, plus PR/main workflows and Applitools gate integration. Co-authored-by: Codex <noreply@openai.com>
Finalize the follow-up Sonar cleanup by removing unused parameters, reducing code smells in workshop inventory URI/path handling, and scoping workflow permissions at job level for visual audit checks. Co-authored-by: Codex <noreply@openai.com>
Fix remaining Codacy complexity/NLOC findings, resolve Sonar workflow hotspots in Codecov analytics, and update auto-launch function semantics to satisfy script analyzer rules while preserving behavior. Co-authored-by: Codex <noreply@openai.com>
Move chain-resolution helpers into a partial class file so WorkshopInventoryService.cs stays under file-size/NLOC limits without changing runtime behavior. Co-authored-by: Codex <noreply@openai.com>
Set explicit job display names for Codecov, Snyk, Sentry, and Applitools workflows so branch protection required checks map to the exact expected contexts. Co-authored-by: Codex <noreply@openai.com>
Consume the cancellation token parameter in the test stub health overload to remove the final Codacy unused-parameter warning. Co-authored-by: Codex <noreply@openai.com>
|
Strict-zero recovery update (Codex)
|
Resolve Codacy partial-style notices by moving workshop chain logic into an internal static helper class while keeping WorkshopInventoryService focused and below file NLOC thresholds. Co-authored-by: Codex <noreply@openai.com>
|
Strict-zero recovery update (Codex):\n\n- Landed follow-up commits for PR #97:\n - chain16 unresolved-parent classification fix ( pre-launch)\n - Codecov 100/100 infrastructure\n - provider zero-backlog scripts/workflows\n - , , , Sonar/Codacy remediation wave\n - workflow job-name alignment for required strict-zero contexts\n\n- Current verification snapshots:\n - MSBuild version 17.8.3+195e7f5a3 for .NET Build succeeded. Time Elapsed 00:00:04.09 Starting test execution, please wait... Passed! - Failed: 0, Passed: 270, Skipped: 0, Total: 270, Duration: 2 s - SwfocTrainer.Tests.dll (net8.0) |
Use resolved dotnet executable path instead of relying on plain command lookup so coverage collection behaves consistently in PR validation shells. Co-authored-by: Codex <noreply@openai.com>
Force rebuild semantics for deep installed-chain matrices to avoid no-build artifact drift, and stage coverage collection under a temp root with explicit dotnet invocation handling. Co-authored-by: Codex <noreply@openai.com>
Add fallback TRX resolution when expected files are delayed/renamed and keep deep-chain runs build-safe under explicit NoBuild requests. Co-authored-by: Codex <noreply@openai.com>
|



Summary
This PR pushes the current M4 progress snapshot for installed workshop/submod intelligence and deep live evidence orchestration. It is intended as an intermediate integration point so we can review current behavior and plan the next closure slice.
User Impact
Before this change, installed-chain execution produced ambiguous submod-parent behavior and deep live coverage was not captured as a complete matrix artifact for the expanded inventory.
With this change:
STEAMMODchains)TODO.mdand runbook/test docsRoot Cause
The remaining gap was not core architecture, but closure-grade execution wiring and evidence coverage:
What Changed
Runtime/Core/Profile surface
SwfocTrainer.Transplantproject scaffoldingTooling and validation
tools/run-live-validation.ps1for full installed-chain deep execution + matrix outputTests
Verification
Deterministic:
dotnet build SwfocTrainer.sln -c Release --no-restore✅dotnet test tests/SwfocTrainer.Tests/SwfocTrainer.Tests.csproj -c Release --no-build --filter "FullyQualifiedName!~SwfocTrainer.Tests.Profiles.Live&FullyQualifiedName!~RuntimeAttachSmokeTests"✅ (Passed: 270)powershell.exe -File ./tools/validate-workshop-topmods.ps1 -Path tools/fixtures/workshop_topmods_sample.json -Strict✅powershell.exe -File ./tools/validate-generated-profile-seed.ps1 -Path tools/fixtures/generated_profile_seeds_sample.json -Strict✅Live/deep evidence:
LIVE-M4-DEEP-20260302TestResults/runs/LIVE-M4-DEEP-20260302/chain-matrix-summary.json2826 skipped,2 blocked_environmentLIVE-M4-RERUN-CHAIN16-20260303=>blocked_environment(persistent)LIVE-M4-RERUN-CHAIN27-20260303=>skipped(transient blocker cleared)LIVE-NEWMOD-1780988753-20260303LIVE-NEWMOD-2361944372-20260303Reason-Code Diagnostics
ATTACH_NO_PROCESSon chain2313576303(LIVE-M4-DEEP-20260302-chain16, rerun confirms)set_credits precondition unmet: hook sync tick not observedon ROE chain runsRisk and Rollback
Evidence References
TestResults/runs/LIVE-M4-DEEP-20260302/chain-matrix-summary.jsonTestResults/runs/LIVE-M4-DEEP-20260302/chain-matrix-summary.mdTestResults/runs/LIVE-M4-DEEP-20260302-chain16/repro-bundle.jsonTestResults/runs/LIVE-M4-DEEP-20260302-chain27/repro-bundle.jsonTestResults/runs/LIVE-M4-RERUN-CHAIN16-20260303/repro-bundle.jsonTestResults/runs/LIVE-M4-RERUN-CHAIN27-20260303/repro-bundle.jsonTestResults/mod-discovery/LIVE-M4-DEEP-20260302/installed-mod-graph.jsonTestResults/mod-discovery/LIVE-M4-DEEP-20260302/resolved-launch-chains.json