Repository navigation
[DRAFT RDTE] Root-owned control-plane generation CAS — Go stdlib, adversarial replay - #212
Conversation
R040 Go protected-owner standalone offline tests — 2026-11-23Source current |
R040 exact test corrections and bounded acceptanceCurrent |
R040 housekeeping — exact-source superseded, not releasedThis independent source draft is wholly carried forward by integration PR #214, exact Decision: close this redundant review surface as superseded without merge. No code from this PR is thereby accepted on protected |
Independent R040 workcell: protected owner registry prototype (not runtime enabled)
Parent: security control-volume draft #211 source
55593c91b4bb5d0191f283130a891ba7d166b93b. Initial Go code5a63861f...; current head639a80a4b2d187b1267203c88016a8395dcb2f91corrects a literal newline rune before CI. All four files in standalonerdte/protected-control/and.github/workflows/protected-owner-cas-rdte.yml, no changes to the runtime/host/control service or owner PR.Implementation: Go stdlib Linux CLI and internal package, fixed
/winebot-controltrusted root for CLI, root identity required in production CLI, source-only tests use synthetict.TempDir()as their test user.claim(session_id,expected_generation,operation_id)andvieware nonblocking syscall.flock protected, strict v1 JSON schema, exact keys/dup rejection, opaque bounded session/operation IDs, monotone generation, idempotency conditional on same identity/generation, symlink/alien owner/bad perms refused, 0600 regular single-link files, atomic same-directory rename + file and directory sync. No source/witness pointer logging or network.Independent public workflow:
GO111MODULE=off go vet,go test -race -count=1,go buildon Ubuntu 24.04, no external Go modules, Docker/host runtime/install, publishing, artifacts or private Actions minutes. CI acceptance pending exact-head receipt.Not integrated or release-safe: current
api/core/persistent_owner.pyis still stored below guest-writable/artifacts/sessions; the Wine process and API still share a principal, CLI has no authenticated IPC/human STOP/lease handoff, and production mode lacks adversarial host mount attestation. #210 same-UID lock inode replacement remains a release STOP. Prove secure control/guest UID and mounts plus CAS state-machine integration before connecting this reference to user-state startup or promotion. DRAFT / no merge / no release.