Skip to content

[DRAFT MVP-IC1] Real Notepad++ GUI save and OpenTTD layered Wine11 acceptance - #160

Merged
mark-e-deyoung merged 10 commits into
mvp/ic1-integration-20261117from
mvp/ic1-windows-workloads-20261117
Nov 18, 2026
Merged

mark-e-deyoung merged 10 commits into
mvp/ic1-integration-20261117from
mvp/ic1-windows-workloads-20261117

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Workcell B — actual Windows workloads, source-bound public cloud

Base: IC1 candidate cff1ff7429fbbd6f604100061e03e3b2ccec8e1e. Scope: two new files only: public Actions workflow and isolated bounded test script. No source changes to #150/#154/#123 or main.

Use standard public Ubuntu hosted Actions to acquire and verify official upstream rights-cleared executables before staging; pin Notepad++ v8.9.9.1 portable x64 ZIP SHA-256 cbcefa34677e10fe6dd19802f7d6b3b9860cd6de62afeaae7680e09c51b47779, OpenTTD Windows 15.3 ZIP 61c0a6a43d81008c7ff4330fb56351bbf66a980cdad041f1d0e08b51f2eeb34c, and OpenGFX 8.0 43a0c1dabf39cb865394f3a6cc36d4da5c10ecfaaf55652043104806810903be. No assets are committed/uploaded. Bake files only into job-local, integrity-sealed application pack, distinctly separate from runtime and persistent six volumes. Build the exact pinned Wine 11 base, start the real disposable IC1 Docker Compose stack, verify Wine11/authenticated service, drive actual Notepad++ window using X11 GUI keyboard events to save a real user-volume document, open seeded-game OpenTTD Windows window and inject a bounded key, recreate runtime, then verify saved document and unchanged app payload. Every exit has a fixed stage marker without raw log, screenshot or identity publication.

Important limitations: the game is currently seeded-world/window/input smoke, not gameplay/save correctness. Editor input uses local X11 automation, not the WineBot broker; Workcell C separately owns broker-mediated control and takeover. A PASS here must not be described as full G2 MVP game/control acceptance. Real game save/reopen and broker-mediated editing remain future gates.

Controls: no paid/private GHA, no hardware, no image push, no persistent user prefixes, no secret upload, no claims of render FPS, generic compatibility or release qualification. All image IDs are job-local and OCI content-addressed. DLE: PASS/FAIL/UNQUALIFIED with exact head, run/job ID and first stage. This PR targets draft #158 for later reviewed integration, not main.

Copy link
Copy Markdown
Collaborator Author

R034 bounded real Windows workload workcell

Head 73e75e40df6aeb71b59e33e3e6ef4bccb606a4ee targets IC1 #158 only. New public Windows workload #44108798235 was IN_PROGRESS at actual layered Wine11 build/test stage; BuildKit publication guard #44108797907 PASS. Official publisher exact SHA-256-validated Notepad++ v8.9.9.1, OpenTTD 15.3 Windows, OpenGFX 8.0 are job-local; immutable OCI application pack distinct from runtime/persistent data. Planned effects: actual editor keyboard input/save, seeded game window/key smoke and saved data after runtime recreation. Even if job PASS, game save/reopen and broker-mediated action semantics remain unqualified. Do not publish raw game/program assets/logs, images or prefix.

Copy link
Copy Markdown
Collaborator Author

IC1 R036 first real Windows workload failure and bounded remedy — 2026-11-17

At initial #160 exact head 73e75e40df6aeb71b59e33e3e6ef4bccb606a4ee, public workload run #44108798235 TERMINAL FAILURE. Stages original_assets_pinned, harness_syntax_pass, and wine11_layered_ready passed; the first failure is exactly editor_gui_save. Do not infer whether it was executable launch, window discovery, focus, or file save from a deliberately suppressed raw program log. Game stage was NOT reached.

Scoped source correction d47799a3d6e37c94f1796f45192f281765cb6577 retains read-only immutable app store and puts Notepad++ portable configuration into a separate persistent user-data directory using its upstream-documented -settingsDir option; private editor-step output stays runner-local, while a fixed allowlist emits only identity_failure/window_absent/activation_failed/save_timeout/unknown. No relax of hashes, no writes to read-only app volumes, no screenshot/log/asset upload, no change to #158 parent or #154 source. Exact amended PR #160 public CI/workload retest pending at this receipt.

The source-exact MVP candidate #158 full CI #44107081794 PASS; its full 55m composite remains separately pending. B real editor/gui/game/program save acceptance remains HOLD until amended exact-head proof. This is free public GHA only. NOT_READY_FOR_HARDWARE_TEST; NOT_READY_FOR_MVP_RELEASE.

Copy link
Copy Markdown
Collaborator Author

R037 real Windows workload acceptance slice — source-exact PASS (2026-11-17)

Workcell B draft child PR #160 at exact d47799a3d6e37c94f1796f45192f281765cb6577 qualified via public GHA #44110637470 TERMINAL SUCCESS. Private job-local stage markers show: original_assets_pinned, harness_syntax_pass, wine11_layered_ready, real_windows_editor_gui_save, windows_game_seeded_world_smoke, editor_saved_state_replayed, bounded_qualification_pass. Exact official rights-cleared Windows assets: Notepad++ v8.9.9.1 portable x64; OpenTTD v15.3 Windows x64; OpenGFX 8.0, all SHA-256 verified. Actual immutable app pack separate from read-only, nonroot Wine11 runtime and persistent user data; Notepad++ GUI keyboard input generated a real saved document that survived runtime recreation. OpenTTD Windows executable generated a seeded world/window and accepted bounded input. The first B run #44108798235 failed specifically at editor_gui_save, after healthy Wine11. Source fix moved portable Notepad++ settings into persistent /userdata, never granting app pack writable access. Run #44110637470 passed after this fix. Source-exact B broad CI #44110637344 was still RUNNING at observation.

Do not overclaim: Game save/reopen and game-specific input effect are NOT qualified yet; editor used local X11 keyboard automation, not authenticated WineBot broker; actor identity/a11y still outstanding. Plan next game console save command and -q verify/load against same pinned runtime, then run game state after disposable recreation; separately move app input to authenticated broker route after actor-identity gate. No raw Wine logs, screenshots, assets, compiled images or private data published. No main merge, child remains draft. Release and hardware gates remain NOT_READY.

Copy link
Copy Markdown
Collaborator Author

R041 game-state acceptance failure and persistent config correction — 2026-11-17

Draft #160 deeper OpenTTD game-save source 8ac29e71218cf2a0998d528e84cf2a49f8cff805 public #44113670119 TERMINAL FAILURE at MVP_WORKLOAD stage=game_save_validation, fixed enumerated reason MVP_WORKLOAD_GAME_CAUSE=save_missing. Independently checked earlier gates PASS at same source: exact publisher assets hash/stage, Wine11 layered healthy, real Notepad++ GUI edit/save. No game-save file found in persistent Wine prefix, home, or userdata after trying the game console's save command; do not infer from public-safe stage whether console was closed, a save was rejected, or output was routed outside the searched user volumes.

Reviewed upstream OpenTTD command-line and directory docs confirm -c <file> config path and that game saves can resolve relative to the config location, distinct from immutable binary directory. New bounded correction e6b269d6c9031ffb76d867145b8b4aed20e831c4 adds explicit persisted /userdata/ic1-openttd/openttd.cfg and a writable save/ directory, passes that Wine-resolved path as -c to actual Windows OpenTTD for both generate and reload, and emits only fixed config_not_written|save_missing|... categories on failure. No app-pack writes, no wider permissions, no raw logs/screenshots, no real user state or purchased cloud resources. Current public requalification #44115029781 IN PROGRESS at comment, result NOT ASSUMED.

Bounded prior Notepad++ and OpenTTD seeded window smoke #44110637470 and full CI #44110637344 remain PASS for prior exact head d47799a3d6e37c94f1796f45192f281765cb6577. G2 real OpenTTD game save/reopen remains held until terminal current-head evidence. Child PR stays draft targeting #158; protected main and other running source-exact tests untouched. Hardware/MVP release NOT READY.

Copy link
Copy Markdown
Collaborator Author

R042 correction: OpenTTD 15.3 Win32 save validator — source-known modal behavior

First failure: #160 e6b269d6c9031ffb76d867145b8b4aed20e831c4 public GHA #44115029781 TERMINAL FAIL at MVP_WORKLOAD stage=game_save_validation / MVP_WORKLOAD_GAME_CAUSE=save_unreadable. Earlier same-head gates PASS: official signed/hash-pinned asset acquisition, actual layered Wine11 health, Notepad++ real GUI save, actual OpenTTD console-generated .sav exists with >1KiB and SHA-256. Thus genuine game save creation was proven, but parser/reload was not.

Source diagnosis: Read OpenTTD v15.3 upstream src/openttd.cpp: -q performs SaveOrLoad(...SLO_CHECK...) then, on success, WriteSavegameInfo(...) and returns 0. Under Windows WriteSavegameInfo calls ShowInfoI; src/os/windows/win32.cpp shows ShowInfoI defaults to a synchronous MessageBox when _has_console is false. -d calls CreateConsole(). Consequently timeout 45 wine openttd.exe -q ... can time out on success due a modal info box; the previous stage cannot distinguish that from unreadable save. This is a source-grounded likely mechanism, not yet a proven runner-specific root cause.

Bounded fix: #160 d459ef95db74042b7568312083c776ebe670a5a3 prepends -d 0 before -q (order matters: -q returns immediately), retains actual -c persisted OpenTTD config and Windows path to real .sav. Added negative control: non-existent .sav must be rejected, then positive real decoder must exit successfully, both before and after disposable Wine11 runtime recreation; genuine game -g window and persistent SHA256 still required. No bypass or fake marker. Current exact-head workflow #44193827988 and ordinary CI #44193828044 IN PROGRESS at receipt. All program/Wine logs private to disposable runner. Do not upgrade the G2 game SAVE/RELOAD gate until exact-head terminal evidence.

Authority source: https://github.com/OpenTTD/OpenTTD/blob/15.3/src/openttd.cpp, https://github.com/OpenTTD/OpenTTD/blob/15.3/src/os/windows/win32.cpp. No data, assets, images or credentials published, child remains draft pending owner/security review.

Copy link
Copy Markdown
Collaborator Author

R046 — make OpenTTD 15.3 game-save actuation deterministic (2026-11-17)

Latest exact first failure: #160 d459ef95db74042b7568312083c776ebe670a5a3 public GHA #44193827988 TERMINAL FAIL at game_save_validation / config_not_written. Earlier same-head stages original_assets_pinned, harness_syntax_pass, wine11_layered_ready, real_windows_editor_gui_save PASS. That classifier fired because the expected .sav did not exist and the config file also did not exist. Upstream OpenTTD directory-structure docs state openttd.cfg may not be written until exit, so treating its absence during active gameplay as independent source failure was incorrect. The preceding e6b269d run did produce a real .sav, demonstrating that manually typing into the GUI console is nondeterministic in the public runner.

Source-grounded correction: #160 new 1f901472136574fb7504e9a7b2e8e977c115d4cf stages exactly one synthetic scripts/game_start.scr inside the immutable, hash-verified, CI-only application pack, containing only save ic1_winebot_mvp. OpenTTD v15.3 source src/openttd.cpp explicitly executes IConsoleCmdExec("exec scripts/game_start.scr 0") after generating a game world. That is a deterministic program-native hook, not artificial creation of a fake .sav or a bypass. The real GUI launch/window and bounded keyboard action remain separately tested; the resulting .sav must be nontrivial, SHA256 verified, rejected by missing-file decoder negative, decoded by actual OpenTTD -d 0 -q, persist after runtime reconstruction, decode again and load via -g. No raw logs or real assets published.

Exact-head public workload #44195659059 and broad CI #44195659077 IN PROGRESS at receipt. No game save/decoder/reload PASS asserted yet. Existing simpler GUI/editor/game-window slice #44110637470 PASS at older pinned head only. Child remains DRAFT, no protected-main merge, hardware, paid CI, security waiver or image publication.

Copy link
Copy Markdown
Collaborator Author

R047 correction of game-start-script harness syntax, not a product regression

The first #160 game-start-script head 1f901472136574fb7504e9a7b2e8e977c115d4cf GHA #44195659059 failed at preflight bash -n, before real Wine/game execution. First explicit error: scripts/ci/qualify-mvp-windows-workloads.sh:189 syntax error near unexpected token start_script_missing. Source diagnosis: newly added comment pack's embedded an unescaped apostrophe inside an outer single-quoted docker compose ... /bin/bash -c '...' payload; the parser later reached an unquoted regex with parentheses. This is an invalid harness source and must not be classified as OpenTTD product failure.

Single-line correction f9983e343ef7159ad518b45e3daf0e5179c05653 removes the apostrophe. The bounded job still verifies SHA-pinned rights-cleared Notepad++/OpenTTD/OpenGFX, layered Wine11 + three-layer immutable app separation, real editor GUI save, real game GUI launch/input, game_start.scr-created save, negative invalid-save -d 0 -q control, positive decoder, state persistence across recreate and -g reload. No false/fake tests/waivers or external data. New workload #44196284413 and full CI #44196284388 IN PROGRESS. Keep exact-head acceptance held.

#158 main IC1 integration and its 55-minute HIL remain TERMINAL PASS at cff1ff7429fbbd6f604100061e03e3b2ccec8e1e. #161 real layered six-volume recovery and full CI are TERMINAL PASS at b48b5b43e9108464d1b6f97b06fb4d0f527ba67e. #159 session-handover safety at 99de3d75b527868f0b362de4bc832173b9788e9f has focused unit/startup PASS but full CI still processing. Do not integrate unverified children into parent; maintain free public GHA and existing security/publication approval holds.

Copy link
Copy Markdown
Collaborator Author

MVP-IC1 R049 — current first failure and bounded replay correction (2026-11-18)

Authority: accepted main unchanged f5ba0256f330958dcf35710a822508cdb31fc40b; candidate #158 cff1ff7429fbbd6f604100061e03e3b2ccec8e1e full CI #44107081794 and 55-minute layered composite #44107081011 both TERMINAL PASS. Children #159 99de3d75b527868f0b362de4bc832173b9788e9f and #161 b48b5b43e9108464d1b6f97b06fb4d0f527ba67e full CI and respective focused control/recovery TERMINAL PASS, still separate draft branches.

Game first failure: current #160 before correction 1a31e2d46c36c704ca41d91aa6b71cb3bf6e893d, public real workload #44273209796 TERMINAL FAIL at MVP_WORKLOAD stage=workload_state_replay. Accepted, exact-run PASS stages preceding it: official binary hashes, layered Wine11 health, real Notepad++ GUI edit/save, real OpenTTD game-start-script generated .sav and OpenTTD's successful -d 0 -q semantic decode. Thus the game-save creation and pre-replacement parser gate are proven, but relaunch and durable save replay are not yet accepted. The public test intentionally suppressed raw Wine/game output; exact failed subphase is not known.

Bounded correction: #160 exact new head 03332cd95edf577d6b0b292ee7a345997a008bf6 quiesces Wine with wineserver -k before force-recreating only the disposable runtime, while retaining external state and app volumes. It gates each post-restart step via fixed, allowlisted categories: real editor data; immutable app seal/executables; nonroot UID; saved game existence and SHA256; a second real OpenTTD Windows -q decode; and actual game window/process after -g reload. Raw process logs stay runner-local, never uploaded. It retains all prior positive/negative game decode and GUI state requirements. The new exact-head public workload #44318649236 and full CI #44318649302 are IN PROGRESS. No green result inferred until terminal checks.

Hygiene and next gate: #159/#161 have disjoint changes and are qualified, but remain drafts pending controlled integration with accepted #160; do not re-run 55m on each separate child or claim all are integrated. After a PASS on B source, combine into a new frozen #158 candidate, qualify all required CI/55m/G2/G3 on one exact head, then release-security/identity/a11y. No protected main merge, private Actions, paid GPU/services, host credentials, raw user-state artifacts, image publication or hardware. NOT_READY_FOR_MVP_RELEASE / NOT_READY_FOR_HARDWARE_TEST.

@mark-e-deyoung
mark-e-deyoung merged commit d5bf81b into mvp/ic1-integration-20261117 Nov 18, 2026
5 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