Skip to content

[CLOSED / DIAGNOSTIC] Exact-contract baseline (resolved by MVP comparison) - #172

Closed
mark-e-deyoung wants to merge 2 commits into
mainfrom
ci/pin-external-contracts-baseline-20261121
Closed

mark-e-deyoung wants to merge 2 commits into
mainfrom
ci/pin-external-contracts-baseline-20261121

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Diagnostic purpose

The otherwise unrelated formal broker PR #170 and crash-recovery PR #171 both pass unit/smoke and fail the external conformance job. CI currently checks out mark-e-deyoung/winebot-contracts at its floating default branch. This draft pins that dependency to the observed 205666f7f0235cb0fc51ca8a5af84f9f67831a74 on an otherwise unchanged WineBot main baseline to isolate external contract drift from the new runtime patches.

Do not merge or treat this exact ref as an approved permanent contract baseline until the external contract authority is reconciled. The same SHA must be used for the comparison runs. No tests are deselected, assertions changed, or sensitive raw test identifiers published. Failed conformance remains failed, with only the existing sanitized public evidence. All runs use free-tier public GHA, not private minutes.

Gate

Record exact-head CI verdict, compare prior source-exact MVP baseline and this controlled base, then decide whether external contract pin/authority change or application remediation is appropriate.

Copy link
Copy Markdown
Collaborator Author

2026-11-21 00:46+0100 independent diagnosis: exact external conformance source admission

Both independent cross-layer patches remain DRAFT and not merged: formal/broker #170 exact 542f7bc8 and crash-handover #171 exact 720f1dbe. Each has Pre-flight Lint+Unit SUCCESS, Integration Smoke SUCCESS, but Conformance (Contracts) FAILURE on full CI. The conformance job currently checks out mark-e-deyoung/winebot-contracts without ref, thus its evolving default-branch contents are not bound to the WineBot commit, compromising reproducibility. Historical owning #158 9809519b full CI 44666519926 SUCCESS does not establish the same external contract revision. Recent external contracts commits changed vNext test classification, but causal responsibility is not yet established.

Created separate public DRAFT diagnostic PR #172 based on otherwise unchanged main f5ba0256f330958dcf35710a822508cdb31fc40b, source exact HEAD 541f9765f4e6ba2469671646b66277b1d9a1d7a8. It only pins the external conformance checkout ref: 205666f7f0235cb0fc51ca8a5af84f9f67831a74 and disables persisted credentials. No contract assertions modified, no test skipped, no raw failure details published. New free public CI #44839445266 queued; source-independent public-safety workflows also queued. Compare exact SHA baseline verdict with same exact external contract SHA on #170/#171 before deciding contract authority and remedial code. Existing sensitive logs remain local/sanitized.

Release status unchanged: #158 baseline qualified but draft, #166 native WinInspect repaired executable not yet admitted; private #468 cloud-source C++ test/projection still blocked. Do not merge #170/#171/#172 or treat pinned ref as final authority without qualification. No paid/private runner, sovereign hardware, credentials, or private code used.

Copy link
Copy Markdown
Collaborator Author

2026-11-21 ~00:50+0100 — second broker authorization bypass fixed, exact conformance baseline isolated

At prior formal/broker PR #170 542f7bc8, source inspection of api/core/broker.py::check_access revealed new tickets could still be issued after STOP_NOW in headless or agent-only sessions: after a human emergency stop the function returned through the implicit not interactive / policy shortcut before STOP_NOW veto. This is independent of the earlier stale-queued-ticket race; generation invalidation alone was insufficient to prevent a fresh post-revoke ticket.

Actual corrective changes on the same DRAFT #170 branch current exact head d00d2110c5d40d7f8862063a3d7901f215da96bd: check_access now checks STOP_NOW first, prior to any human-only/agent-only/headless shortcuts, revoking lingering agent state and returning false. tests/test_input_revocation_interleaving.py adds synthetic direct broker regression asserting headless/HYBRID and headless/AGENT_ONLY access permitted before STOP_NOW, then new ticket denied and old ticket invalid after STOP_NOW. Documentation updated. This is the bounded in-process input admission fix; not a claim of native in-flight cancellation/OS effect linearizability. Exact-head CI #44839600357, formal #44839600564 and BuildKit #44839600398 newly queued/in progress, no new exact-head PASS claim.

To diagnose common conformance failure without suppressing tests, created independently scoped DRAFT PR #172 from unchanged main@f5ba0256, exact head 541f9765f4e6ba2469671646b66277b1d9a1d7a8; only change to CI checkout is ref:205666f7f0235cb0fc51ca8a5af84f9f67831a74 for external mark-e-deyoung/winebot-contracts, plus no persisted credentials. This is diagnostic pin, NOT frozen contract authority or proposed test relaxation. Baseline CI #44839445266 in progress; record exact comparison when terminal before attributing #170/#171 conformance failures. Both prior PRs passed full pre-flight unit+lint and integration smoke but failed conformance on moving default contract source. Historical #158 baseline prior green but no external contract SHA attested. No private Actions, paid compute, local hardware, private source declassification, merges or releases.

Copy link
Copy Markdown
Collaborator Author

2026-11-21 00:46+0100 — independent exact-contract baseline reproduced failure; custody admission implemented

Actual terminal baseline evidence: the source-only diagnostic draft PR #172, original candidate 541f9765f4e6ba2469671646b66277b1d9a1d7a8 based on otherwise unchanged main f5ba0256f330958dcf35710a822508cdb31fc40b, tested fixed external mark-e-deyoung/winebot-contracts@205666f7f0235cb0fc51ca8a5af84f9f67831a74. Real public CI #44839445266 terminal FAILURE with Pre-flight Lint/Unit SUCCESS, Integration Smoke SUCCESS, Conformance Contracts FAILURE. Its other independent public safety gates passed. Thus the baseline conformance failure is reproducible without any broker #170 or handover #171 runtime changes. This falsifies the hypothesis that either of those diffs is a necessary cause of the current common conformance failure. Exact underlying conformance assertion failure remains unclassified; do not presume contract source drift is the sole cause, or suppress any failures.

New exact-source custody improvement on PR #172 HEAD 7e6597eb8e31b677ae60e6c04f3ab9e838eeba1c: after checkout, CI explicitly compares git -C contracts rev-parse HEAD with authoritative diagnostic exact 205666f7f0235cb0fc51ca8a5af84f9f67831a74, checks a clean contracts checkout, fails closed on mismatch, and emits public-safe CONTRACTS_SOURCE=EXACT_COMMIT_VERIFIED / exact SHA plus a GitHub job summary. The test verdict remains separate and can still fail. New CI #44841649732 in progress at checkpoint; no claim of passed custody step yet. Do not treat chosen pin as approved permanent contractual authority. Pinning is a reproducibility diagnostic, not a workaround.

Broker PR #170 HEAD d00d2110c5d40d7f8862063a3d7901f215da96bd: fixed newly found STOP_NOW bypass for fresh tickets via non-interactive / agent-only mode early returns; check_access() now checks STOP_NOW before shortcuts. Added direct synthetic ticket issuance and invalidation tests for both headless HYBRID and AGENT_ONLY modes. Formal/TLC #44839600564 terminal SUCCESS. CI #44839600357 terminal FAILURE at Conformance Contracts with Pre-flight Unit/Lint and Integration Smoke both SUCCESS; independent unchanged baseline fails similarly. This still does not guarantee cancellation of an already-running external native input.

Handover PR #171 HEAD 720f1dbe73b51f3bad5b85caddf62f168f359e2a: independent fail-closed startup marker reconciliation and filesystem crash-point tests; exact CI #44795909932 unit/lint + smoke SUCCESS, conformance FAIL. All drafts unmerged; no private source/runner, hardware, paid compute, release, or bypass of WinInspect #468 C++/projection native admission gate.

Copy link
Copy Markdown
Collaborator Author

Final DLE disposition — diagnostic completed, do not merge

Controlled exact-source comparison is complete. Historical green MVP PR #158 already used the identical exact external contracts SHA 205666f7f0235cb0fc51ca8a5af84f9f67831a74 in GHA, with 62/0/9. Unchanged main + this pin and both main-based independent corrective branches give 55/7/9. Therefore contract drift did not cause the observed 7-test difference. The actual common cause is absent capabilities/behavior on main relative to qualified MVP; precise conformance assertion IDs remain deliberately redacted in public evidence. PR #158 remains authoritative product integration baseline. New stacked formal/control PR #173 incorporates the remaining safety correction onto MVP with same frozen fixture. The temporary diagnostic patch is closed unmerged to avoid another apparently release-authoritative CI variant. Do not publish raw failures or silently update the frozen fixture. See owning #158 DLE comment #7054123002.

@mark-e-deyoung mark-e-deyoung changed the title [DRAFT CI] Source-exact external conformance baseline diagnosis [CLOSED / DIAGNOSTIC] Exact-contract baseline (resolved by MVP comparison) Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant