Skip to content

[DRAFT MVP] Integrate persistent-owner CAS and cooperative layered state-init fencing - #205

Draft
mark-e-deyoung wants to merge 4 commits into
integration/mvp-early-owner-exact-union-r1-20261123from
integration/mvp-owner-stateinit-fence-r1-20261123
Draft

mark-e-deyoung wants to merge 4 commits into
integration/mvp-early-owner-exact-union-r1-20261123from
integration/mvp-owner-stateinit-fence-r1-20261123

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

R040 independent source-exact composition — not release approval

Strict acceptance

  1. New exact-head public CI lint+unit+conformance+smoke and unit-isolation green.
  2. New exact-head real Wine11 full 55-minute layered HIL, including competing state-init conflict refusal, SIGKILL recovery and persistent state replay.
  3. Formal TLC positive and deliberate negative case green on same union HEAD.
  4. Adversarial review for additional CAP_DAC_OVERRIDE in isolated CAP_CHOWN state-init, lock identity, user-owned volume handling, and no inter-container privileged escalation.
  5. Not solved: non-atomic handoff interval after state-init releases kernel flock but before runtime opens the same inode; persistent-owner CAS is not wired to active restart pointer; multi-host shared filesystem is out of model. Before promotion, design an owner-fenced controller hold-across-handoff or move privileged init behind admitted runtime control and test competing entire deployments. Human STOP priority and WinInspect/native WinBot external acceptance still independent.

Release BLOCKED / DRAFT ONLY. Public synthetic free-tier GHA only. No image push, raw heap pointers, tokens, private sources, private GHA minutes or merging protected main.

Copy link
Copy Markdown
Collaborator Author

R040 source-exact combined candidate checkpoint — 2026-11-23

Two-parent merge b520f5c419d1199ff536d5c6f8260dcadd2bc5ed retains #200 158cf3d... persistent-owner CAS/early writer admission and #201 2159807... state-init cooperative writer flock with tests for both. Fresh exact-head formal TLC #45174538428, disposable layer #45174538453, public safeguards, unit isolation and source provenance terminal SUCCESS. CI #45174538414 and real Wine11 layered HIL #45174538382 remain IN PROGRESS.
A separate source child draft PR #207 adds cooperative controller-held .winebot-deployment-gate.lock across state-init→runtime, plus two real Linux flock contenders and competing full Compose graph controls. Source-exact disposable replay #45175214300 terminal SUCCESS; full real Wine11 HIL and CI still running. Nothing merged; no inference from parent-only GREEN.

Copy link
Copy Markdown
Collaborator Author

R040 exact-head CI terminal receipt — 2026-11-23

New PR #205 CI #45174538414 is now terminal SUCCESS on exact source b520f5c419d1199ff536d5c6f8260dcadd2bc5ed: all mandatory workflow jobs completed successfully, not just unit micro-tests. Independently TLC #45174538428 and disposable replay #45174538453 SUCCESS. Real 55-minute Wine11 HIL #45174538382 still IN PROGRESS, so live combined HIL is not accepted. Separate controller-gate child #207 and formal protocol model child #209 remain DRAFT. Persistent owner CAS is not yet active in real restart. Protected main unchanged.

Copy link
Copy Markdown
Collaborator Author

R040 shared lock-file custody red-team gate

Independent synthetic same-UID test exposed actual unlink/replacement of the UID1000-writable /artifacts/sessions/.winebot-active-writer.lock path while its original OFD remains locked. Kernel allows second LOCK_EX against new inode. Both #205 entrypoint writer admission and child #207 gate must not be considered production-safe for untrusted guest applications without protected lock authority outside guest-writable mount/UID. This is a release STOP despite #205 full CI GREEN and the cooperative TLC proof; see #207 DLE comment for isolated reproduction and corrective protected control-plane architecture. Avoid merging on cooperative-only evidence.

This branch has not been deployed

No deployments
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