Repository navigation
feat(node-lxc): unprivileged LXC rootfs artifact lane (OSS-378) - #528
Merged
Merged
Conversation
Add a separate OSS-378 artifact lane for an unprivileged LXC/Proxmox rootfs template that reuses the shared ADR0019 control contract without forking it. - Read-only nested-runtime capability gate refuses unsupported hosts with distinct reason codes; no global host config or live provisioning. - Reproducible build with pinned provenance/platform matrix, SHA256SUMS, operator RSA/SHA-256 signature, CycloneDX SBOM and secret guard. - Ed25519 first-boot identity with digest-only scoped enrollment material; private key and enrollment secret stay on the persistent volume. - Persistent volume import/backup/restore and staged upgrade/rollback with data-preserving refusals. - Offline fixture suite (10 scenarios) plus mode docs, ADR0034 and knowledge concept. No merge, registry push or release.
ADR 0034 is centrally allocated/merged as the MCP server distribution ADR. Rename this lane's ADR to 0036-node-lxc-template.md and update its title, self references, mode docs, knowledge concept source link and lane README. knowledge/decisions/adrs.md remains orchestrator-owned and untouched. Re-verified: 10/10 offline fixtures OK, py_compile clean, knowledge-lint -fix then final lint clean (65 concepts, 38/38 queries).
…ings Rebasing onto current main checked the fixture tree out with CRLF on Windows, which changed the pinned digest. Normalize CRLF to LF for both content and recorded size in canonical_files, SHA256SUMS and the detached signature so a Linux LF checkout and a Windows CRLF checkout produce identical artifacts. Adds a regression fixture (LF vs CRLF trees build and verify against the same pin). Re-verified after rebase: 11/11 fixtures, py_compile, diff --check and knowledge-lint -fix + final (70 concepts, 38/38 queries).
athNdev
force-pushed
the
codex/node-lxc
branch
from
November 18, 2026 09:01
5fb5846 to
084fc06
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a separate, offline-qualified artifact lane for an unprivileged LXC / Proxmox rootfs template (OSS-378, under OSS-368). The lane reuses the shared ADR0019 enrollment/control contract from PR 516/517/518 and does not fork it: no new RPC, credential type, TLS stack or product release.
Exact head:
084fc06fe40510909efebf1917700ebca2b3bc34(branchcodex/node-lxc, rebased onto main14a348b8, force-with-lease pushed).Why separate from VM mode
An unprivileged LXC guest shares the host kernel, so its isolation boundary and host prerequisites differ from the dedicated VM mode.
docs/node-lxc-mode.mddocuments those differences and ADR 0036 records the decision. A read-only nested-runtime capability gate refuses unsupported hosts with distinct reason codes; it never changes global host configuration or provisions a host.Included
packaging/node-lxc/CLI with build, verify, capability gate, first-boot identity, volume import/backup/restore and staged upgrade/rollback.SHA256SUMS; operator RSA/SHA-256 detached signature; CycloneDX 1.5 SBOM binding the payload digest; fail-closed verification; secret-material guard.Verification evidence
python -m unittest discover -s packaging/node-lxc/tests -p 'test_*.py' -v: 11/11 OK (signed build/verify; unsigned, tampered, wrong-key, secret-material, provenance-digest and platform refusals; supported + 7 unsupported capability snapshots; unique first-boot identity with verified CSR_PRE signature and no secret in metadata; volume import/backup/restore with tamper refusal; staged upgrade/rollback with state preserved on refusal; LF vs CRLF portability regression).go run ./cmd/knowledge-lint -root . -fixthen plain lint:OK: 70 concept(s), indexes current, 38/38 queries pass.git diff --checkclean; Python modules compile.mergeable=MERGEABLE,mergeStateStatus=CLEAN.Rebase maintenance resolved one conflict in
knowledge/repo-map.md(kept both main's node-VMpackagingrow and this lane'spackaging/node-lxcrow); generated architecture index regenerated by knowledge-lint.knowledge/decisions/adrs.mdremains orchestrator-owned and untouched. ADR0036, the capability gate, digest-only enrollment, signing/SBOM, volume backup/restore and two-slot rollback are intact.Limits (explicitly not claimed)
Offline, disposable fixture qualification only. No live host provisioning, no global host config change, no image import/boot, no effective kernel-enforcement evidence, no gameplay compatibility claim. Upstream pins are synthetic fixture values; live import/boot qualification (M5) is a later milestone. No merge, registry push or release is requested here.