[nomad-step-4] S4.1 — nomad/jobs/agents.hcl (7 roles, llama, vault-templated bot tokens) #955
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#955
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the Nomad+Vault migration. Step 4 — Agents (all 7 roles, llama backend).
Goal
Add
nomad/jobs/agents.hcl— the main bot polling loop running all 7 agent roles (review, dev, gardener, architect, planner, predictor, supervisor) against the local llama server athttp://10.10.10.1:8081.Scope
Create
nomad/jobs/agents.hcl:job "agents",type = "service", 1 group × 1 task.docker/agents/Dockerfilebuild. Usebuild:context or a pre-built image tag if one exists. Check currentdocker-compose.ymlagents service for the image source.agent-data→/home/agent/data,project-repos→/home/agent/repos,ops-repo→/home/agent/repos/_factory/disinto-ops(read-only).vault { role = "bot-dev" }(or a composite role covering all 7 bot identities — check ifvault/roles.yamlhas a combined role, or use the primarybot-devand extend later).FORGE_URL=http://forgejo:3000(or use Nomad service discovery address),ANTHROPIC_BASE_URL=http://10.10.10.1:8081,ANTHROPIC_API_KEY=sk-no-key-required,CLAUDE_MODEL=unsloth/Qwen3.5-35B-A3B,AGENT_ROLES=review,dev,gardener,architect,planner,predictor,supervisor,POLL_INTERVAL=300,DISINTO_CONTAINER=1.checkstanza: process-based or heartbeat file check (match what P5 prep added to docker-compose healthcheck).resources { cpu = 500, memory = 1024 }— agents run Claude/llama sessions that need headroom.Also create
tools/vault-seed-agents.sh:vault-import.sh).Acceptance criteria
nomad job validate nomad/jobs/agents.hclclean.nomad alloc logs <agents>shows review-poll + dev-poll iterations.shellcheckclean on seed script.Non-goals
--with agentswiring (S4.2).Labels / meta
[nomad-step-4] S4.1— no hard dependencies. Blocked by #953 (S3-fix-perms) for host-volume write perms.