Add container-native multiagent control server - #15
Merged
Conversation
areshand
force-pushed
the
codex/control-server-stateful
branch
from
August 21, 2026 23:03
c12d4da to
25ff9ef
Compare
areshand
commented
Aug 21, 2026
| const root = path.resolve(process.env.MULTIAGENT_REPOSITORY_ROOT || "/var/lib/multiagent/repositories"); | ||
| if (!fs.existsSync(configFile)) process.exit(0); | ||
| const config = JSON.parse(fs.readFileSync(configFile, "utf8")); | ||
| fs.mkdirSync(root, { recursive: true }); |
Owner
Author
There was a problem hiding this comment.
why we need this script? cannot we rely on image being updated if there is a change?
areshand
commented
Aug 21, 2026
| @@ -0,0 +1,15 @@ | |||
| #!/usr/bin/env bash | |||
| set -euo pipefail | |||
| export HOME="${HOME:-/var/lib/multiagent/home}" | |||
Owner
Author
There was a problem hiding this comment.
why we need this ? I think the deployment side will start the multiagent process and then server start in parallel as a socket to connect to the tmux
areshand
commented
Aug 21, 2026
| @@ -0,0 +1,6 @@ | |||
| #!/usr/bin/env bash | |||
| case "$1" in | |||
| *sername*) printf '%s\n' "x-access-token" ;; | |||
Owner
Author
There was a problem hiding this comment.
why is it called git-askpass?
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.
Adds a PID 1 control server for containerized tmux orchestration, password login, session listing/control, WebSocket pane streaming, durable session metadata, repository bootstrap, checkpoint hooks, and a GHCR image publication workflow.\n\nDeployment credentials are not included. The users JSON contains password hashes and a cookie-signing secret and must be supplied through the deployment secret.