Skip to content

Add container-native multiagent control server - #15

Merged
areshand merged 3 commits into
mainfrom
codex/control-server-stateful
Aug 21, 2026
Merged

Add container-native multiagent control server#15
areshand merged 3 commits into
mainfrom
codex/control-server-stateful

Conversation

@areshand

Copy link
Copy Markdown
Owner

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.

@areshand
areshand force-pushed the codex/control-server-stateful branch from c12d4da to 25ff9ef Compare August 21, 2026 23:03
Comment thread bin/sync-repositories.mjs Outdated
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 });

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need this script? cannot we rely on image being updated if there is a change?

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
export HOME="${HOME:-/var/lib/multiagent/home}"

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread bin/git-askpass.sh Outdated
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
case "$1" in
*sername*) printf '%s\n' "x-access-token" ;;

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it called git-askpass?

@areshand
areshand merged commit f6a37d1 into main Aug 21, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant