Skip to content

Add a DevOps agent for systemd service investigations - #3

Merged
asim merged 1 commit into
mainfrom
codex/devops-agent
Nov 1, 2026
Merged

asim merged 1 commit into
mainfrom
codex/devops-agent

Conversation

@asim

@asim asim commented Nov 1, 2026

Copy link
Copy Markdown
Member

Add devops, following the support agent's service-attached structure. Run it on the host to inspect with DEVOPS_SERVICES=api.service,worker.service and a model configuration, then connect with micro chat devops.

The reusable services/systemd handler exposes Systemd.List, Systemd.Status and Systemd.Logs. It accepts only configured unit names, invokes fixed commands without a shell, bounds log windows/line counts/output, and enforces a command timeout. Permission errors and journal warnings remain visible. There are no restart, deployment or arbitrary command tools.

Instructions require actual status/log evidence, distinguish hypotheses from confirmed facts, and explain missing evidence. Documentation covers host permissions, model data access, RPC scope and a disposable-service diagnostic check.

Validation: go test -race ./..., go build ./..., go vet ./... and git diff --check passed locally. Tests exercise command limits/errors/cancellation and real loopback RPC, including rejecting unconfigured services. Live systemd diagnosis with a model has not been verified in this environment.

@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-01T11:20:20.675303Z 10077a6 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 f15e6d2 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