Files
T
bquarkz ea1cc26fe3
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
feat(studio): improve compiler reliability and AI diagnostics
Preserve structured diagnostics, source attribution, phase outcomes and revision context through compiler, Studio, LSP, MCP and JavaFX. Add project service discovery and resilient VS Code reconnection.

Correct all eight reproduced PBS production failures in expression context, sibling executable bindings and nominal owner identity. Consolidate specs, lessons, immutable baseline evidence and the maintained source-to-guest qualification runner.

Validation: required Gradle gate recorded 724 tests, with 711 passed and 13 skipped. Full corpus passed 168 compilation observations and 108 guest runs (104 successes and four deliberate faults); supplemental controls passed 42 compilations and 16 guest runs. TypeScript compilation, two Node discovery tests and discussion validation passed.
2026-11-10 12:36:25 +00:00

4.2 KiB

PBS production correction evidence

Owner: compiler/pbs; DSC-0111; accepted DEC-0088; completed PLN-0166; candidate observed on 2026-11-10. Start with qualification.json.

Location Meaning
baseline/ All 181 original AGD-0113 evidence files, moved byte-for-byte before housekeeping. The inventory records 168 compile observations and 76 pre-fix guest executions.
baseline-preserved-sha256.json Full file hashes captured before product changes and verified after archival. The baseline's original SHA256SUMS is also unchanged.
cases.json Exact original 28-case input; matches the maintained frontend test resource and baseline hash.
frontend-before.log The newly integrated regression initially reproduced eight failures among 28 cases. This expected pre-fix test failure is historical evidence.
nominal/before.json, nominal/after.json Four-context trace captured immediately before the nominal correction and after it. The before trace follows the earlier F1/F3 work; it is not a claim that the entire frontend was untouched at that point.
final/summary.json Complete post-fix 168-compilation/108-execution matrix; no failed expectations.
final/provenance.json Candidate JAR hashes/class freshness, actual runtime hash, Java version, worktree/source/tooling provenance and scratch isolation.
final/compilation/, final/execution/ Per-case/configuration structured diagnostics, phase results, source/artifact correlation, runtime protocol transcripts and process termination.
final/artifacts/ Retained emitted PBX and minimal cartridge manifests. Original scratch paths remain in the factual reports; these copies preserve the same bytes.
final/checksums.json Relative hashes of final matrix inputs/results/artifacts, verified after archival.
focused/, focused-cases.json Supplemental overload/order/storage/singleton/privacy matrix: 42 compilations and 16 normal guest runs.
tests/, gradle-final.log JUnit XML and successful log for all required Gradle tasks: 724 recorded, 711 passed, 13 skipped, zero failures/errors.
studio/frozen-corpus-after.json Ten observations through authenticated HTTP MCP and real project LSP: nine valid programs and one source-negative control. Previous first-delivery reports remain in LSN-0105 unchanged.
candidate-source-sha256.json Candidate product source/resource/build and maintained tooling hashes, complementing dirty-worktree and emitted JAR provenance.

The runtime executable is the existing debug prometeu-headless, SHA-256 a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6. The compiler/SDK candidate was built by the required Gradle gate. Each installed observation ran outside the checkout with only candidate product JARs/resources. Normal cases completed three frames without faults; all four trap-control runs faulted as intended. Every worker was terminated and waited for.

The full corpus command was:

python3 tools/pbs-production-corpus/run.py --corpus prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/resources/production-regressions/cases.json --distribution prometeu-app/build/install/prometeu-app --runtime-headless /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/target/debug/prometeu-headless --output build/pbs-production-corpus/pln166-final-v2-20261110

The focused run used focused-cases.json and build/pbs-production-corpus/pln166-focused-v2-20261110. Failed preflight attempts with earlier output directories never produced a qualifying matrix and are not counted. Use a fresh directory on rerun; never rerun the baseline's fixed-output research scripts. Those scripts retain their historical path assumptions as part of the unchanged baseline.

The investigation-only unoptimized variant is not a public compiler flag. This compiler matrix does not qualify an installed runtime distribution or a live Studio session. The separate integration test supplies the stated MCP/LSP evidence. No new interactive desktop run was performed. Historical BAD_RET/Scene failures remain not reproduced, and LSN-0105's explicit revision-coverage limits remain applicable. No runtime/game/memcard writes or commits occurred.