Skip to content

fix(health): portable memory bytes for WineBot/WinBot conformance - #153

Merged
mark-e-deyoung merged 1 commit into
mainfrom
fix/health-system-memory-contract-20261114
Nov 14, 2026
Merged

mark-e-deyoung merged 1 commit into
mainfrom
fix/health-system-memory-contract-20261114

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Independently qualify read-only /health/system memory portability

Source authority: accepted main@6d278524ca3904ea1bafc44305f8bcb013492517, source/counters on draft WineBot #123 b926f74b4034c6ab69a14e34c61c9acefb44fa58, fixed external suite mark-e-deyoung/winebot-contracts@205666f7f0235cb0fc51ca8a5af84f9f67831a74. Prior #123 exact-head CI 43613226791 verified five bounded vNext category slices: portable core 16/16, unresolved 8 pass / 0 fail / 1 skip (vs prior 7 pass/1 fail/1 skip, single health CPU/memory failure resolved). Full legacy-v1 and unrelated extension gates remain RED; this PR does not waive them.

Atomic 3-file patch from accepted main: add memory: {total_bytes, available_bytes} to existing read-only /health/system, sourced from existing /proc KB summary and preserving old flat KB fields. Include tests/test_health_system_memory.py with only synthetic positive/missing-data fixtures, and enroll it in the actual enumerated scripts/ci/test.sh manifest. No new auth, API writes, host IDs, telemetry uploads, external dependencies, runtime image identity, game semantics or default release change.

Purpose: extract this independently READY correction from draft #123, so #123 retains lifecycle cancellation/automation and provisional conformance work without blocking a tested portable read-only health improvement. Exact-head $0 public focused and broad Actions must verify source, true unit execution, E2E/smoke and unchanged independent legacy contract hold. Retain draft until independent release/source gates pass; no private GHA minutes or image publication. DLE: mark-e-deyoung/winebot-research#1.

Copy link
Copy Markdown
Collaborator Author

R016 / 2026-11-14 — narrowly scoped health promotion candidate

Original candidate: exact draft head 0c7c79bd15e6e6a24a2fe3904b5285d15ae8e79b, 1 atomic commit / three paths from accepted main at creation. api/routers/health.py adds memory.total_bytes/memory.available_bytes to GET /health/system, while maintaining existing flat KB keys and all original auth/source semantics; new synthetic tests/test_health_system_memory.py included in real explicit scripts/ci/test.sh. Exact Git modes validated (100644 source/test, 100755 test manifest).

Public qualification so far: focused #43615017260 all 3 jobs TERMINAL SUCCESS, including actual unit execution and existing-base interactive health. full #43615017252 preflight SUCCESS; contract conformance only FAIL at existing external legacy-v1 step; integration smoke still pending at current checkpoint. Trust-pack, RPC redaction, public evidence safety and approved-PR guards TERMINAL SUCCESS. Earlier #123 source-exact five-slice public validated count shows unresolved 8pass/0fail/1skip, improving health1; no v1 compatibility waiver. Leave draft until exact head terminal smoke and source review.

Base changed independently: protected main now 658f4981606ecc631a78847da7e4c5f3314ea3c8 after security-only merged PR#152. Re-evaluate mergeability, ancestry, source and tests against new main before any integration. PR#123 remains owner of separate lifecycle/automation backlog and cannot be closed merely because health correction was promoted.

Copy link
Copy Markdown
Collaborator Author

R016 exact-head source admission — 2026-11-14

Protected main moved independently via verified redaction-only #152 to 658f4981606ecc631a78847da7e4c5f3314ea3c8. This PR remains disjoint and mergeable, one unique atomic source commit 0c7c79bd15e6e6a24a2fe3904b5285d15ae8e79b (1 ahead/1 behind current main), with exactly three intended files and unchanged git modes: read-only api/routers/health.py, synthetic test, enrolled real scripts/ci/test.sh. Source is identical to the qualified health portion of #123; no contract edits, broker bypass, host disclosure, or image publication. Focused #43615017260 ALL THREE jobs SUCCESS incl. actual unit and interactive health. Full CI #43615017252 preflight SUCCESS, integration/build-smoke SUCCESS; independent historical legacy-v1 conformance ONLY failed at unchanged Run conformance tests (no v1 waiver). Public custody/trust/provenance/RPC guards all SUCCESS. This is a source-scoped read-only health improvement; no production Wine 11 or broad conformance admission claimed. Safe to squash onto current main while preserving #123 lifecycle/automation work separately. No private billed runner or raw uploads.

@mark-e-deyoung
mark-e-deyoung marked this pull request as ready for review November 14, 2026 16:31
@mark-e-deyoung
mark-e-deyoung merged commit f5ba025 into main Nov 14, 2026
9 of 10 checks passed
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