feat(room): prx pod up verb — launch per-repo pod + rootless doorDir - #748
Merged
Conversation
- per-repo-pod: use DEFAULT_DOOR_DIR (rootless) instead of a comment placeholder
- pod-up-verb: inject process.cwd() as repo so /work bind-mount resolves
- tests: update hardcoded /run/prx/doors to use DEFAULT_DOOR_DIR / perRepoPod.doorDir
- changeset: pod-up-verb minor for @bounded-systems/prx
Verified live: prx pod up returns { pod: 'prx-pod', containers: 3, l2LaunchDigest: null }
The null digest is expected — best-effort attestation without a live keeper door socket.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Code Coverage OverviewLanguages: TypeScript TypeScript / unitThe overall coverage in the Show a code coverage summary of the most impacted files.
Updated |
|
|
||
| import { verbRegistry } from "../../src/cli/verb-registry.ts"; | ||
| import { podUpVerb } from "../../src/room/pod-up-verb.ts"; | ||
| import { perRepoPod } from "../../src/room/per-repo-pod.ts"; |
- pod.ts: replace process.env with getEnv (ambient authority guard) - openapi.json: regenerated to include pod up verb Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
run() calls the real podman stack; covered by e2e, not a unit test. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… gate) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
prx pod upverb: launches the per-repo pod (claude-room + beadsd-room + keeperd-room), attests the launch (best-effort L2), returns{ pod, containers, l2LaunchDigest }DEFAULT_DOOR_DIRis now rootless — prefers$XDG_RUNTIME_DIR/prx/doors, falls back to~/.local/run/prx/doors— no sudo required on macOS or rootless Linuxprocess.cwd()asspec.reposo the/workbind-mount resolves at launch timecli.ts(if (orchestratorVerb === "pod" && orchestratorRest[0] === "up"))DEFAULT_DOOR_DIR/perRepoPod.doorDirrather than hardcoded pathsLive verification
l2LaunchDigest: nullis expected — best-effort attestation without a live keeper door socket wired. The pod itself (3 containers) launched successfully.Test plan
bun x tsc --noEmit→ EXIT:0bun test test/room/→ 76 pass, 0 failprx pod up→ pod: prx-pod, containers: 3🤖 Generated with Claude Code