acceptance:container scenario pins the one-line self-host: fresh host, … - #962
Merged
Conversation
Scenario 42 falsifies plan pl-3007's headline: a fresh host boots warren with ONE docker run carrying exactly two secrets (ANTHROPIC_API_KEY, GITHUB_TOKEN), no security_opt flags, no cap_add, and no operator token. First boot mints WARREN_API_TOKEN (observed in docker logs via the mintedOperatorToken pino row, printed exactly once), the scenario adds a project with that minted token, dispatches a stub-agent claude-code run under WARREN_RUNTIME=docker, and rev-parses the pushed burrow/<runId> branch in the fixture repo. - scripts/acceptance/scenarios/42-self-host-one-liner.ts: builds its own tiny fixture repo + git-config insteadOf rewrite (runs in both harness modes), builds the control-plane image plus a stub agent image (shim COPYed over /usr/local/bin/claude, ENTRYPOINT reset), and cleans up container + image tags + temp root. - scripts/acceptance/lib/self-host-docker.ts: docker CLI seam, container log scrape, minted-token extraction. - Wired into acceptance:nightly (--only list) and the nightly workflow comment; PR CI stays fast. Skips cleanly without a docker daemon. - README quickstart rewritten: the two-secret docker run is the primary install path, first-boot token mint replaces the exported WARREN_API_TOKEN, and the security-flag posture moves to the local runtime note.
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
seeds: sync 2026-08-17
Run
run_09e0axf41qm2Seeds
Commits (3)
Files changed
Prompt
Show prompt
🤖 Opened by warren run
run_09e0axf41qm2