Skip to content

Add monitor and defaults for running the agents together - #5

Merged
asim merged 1 commit into
mainfrom
codex/self-contained-agents
Nov 1, 2026
Merged

asim merged 1 commit into
mainfrom
codex/self-contained-agents

Conversation

@asim

@asim asim commented Nov 1, 2026

Copy link
Copy Markdown
Member

Support now covers micro/go-micro and micro/agents by default. DevOps and the new Monitor target this repository's four systemd units. Each target set is overridable; legacy GITHUB_REPOSITORY configuration still selects a single support repository.

Monitor samples systemd state once a minute without model calls, records the last 100 state changes in memory, logs transitions, and exposes Status and History over RPC and chat. It reports process state, not application/model health, and has no external alerting or automatic repairs. DevOps remains read-only.

Adds a one-host deployment guide and systemd units for the four ordinary Go binaries. Systemd supervises the processes; Go Micro provides discovery, RPC and the agent loop. Support and DevOps now bind to loopback like Release and Monitor. Release still needs an explicitly configured existing workflow; this repo does not yet contain a deployment pipeline. No Mu integration or new runtime is introduced.

Validation: go test -race ./..., go build ./..., and go vet ./... pass. Tests cover repository scope/overrides, deployment defaults, monitor state transitions, bounded history, cancellation, concurrent reads and loopback RPC. A local executable smoke check verified background sampling, RPC status and SIGTERM shutdown with a fixture systemctl. systemd-analyze verified unit syntax with a substituted local executable; units were not installed and no live model or real host deployment was tested.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T13:49:26.803455Z 4fd887a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@asim
asim merged commit b5b895c into main Nov 1, 2026
2 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