Skip to content

feat(foreman): ship default integrate/reconcile Agents for sliced workloads#1052

Merged
Defilan merged 1 commit into
defilantech:mainfrom
Defilan:feat/slicer-agents
Jul 10, 2026
Merged

feat(foreman): ship default integrate/reconcile Agents for sliced workloads#1052
Defilan merged 1 commit into
defilantech:mainfrom
Defilan:feat/slicer-agents

Conversation

@Defilan

@Defilan Defilan commented Jul 10, 2026

Copy link
Copy Markdown
Member

What

Add default integrate and reconcile Agent manifests under config/foreman/agents/, so a Sliced Workload (#1033) runs out of the box.

Why

The sliced pipeline dispatches an integrate step (run_integrate tool) and a reconcile step (run_reconcile tool). Both are deterministic Agents (no inferenceServiceRef, tool-only), but none were shipped, so a rendered sliced Workload failed at those steps with "agent not found." Every other pipeline role already has a checked-in reference manifest here (gate.yaml, coders, reviewers); these two were the gap.

How

Mirror config/foreman/agents/gate.yaml:

  • role: verifier, deterministic (no inferenceServiceRef/systemPrompt),
  • tools: [run_integrate] / [run_reconcile],
  • requiredCapability.roles: [coder] — unlike the gate (remote Job on a verifier node), integrate/reconcile do a local git clone/union/read in the agent workspace, so they must land on a node whose foreman-agent has --git-remote-url set. Operators adjust to match their fleet's FleetNode roles.

Per gate.yaml's own convention, these are checked-in workload-data applied with kubectl apply -f, not chart templates (the chart installs the controller). Chart-templating default agents is noted as a follow-up in #1051.

Testing

Both parse as valid Agent CRs (kind/role/tools present). Not covered by a codegen or sync check (sync-reviewer-prompts only touches *-reviewer.yaml).

Checklist

  • Deterministic Agent shape mirrors gate.yaml
  • Routing note for local-git scheduling
  • DCO sign-off

Fixes #1051


Assisted-by: Claude Code (Opus 4.8); reviewed and verified by the author.

…kloads

The Sliced Workloads pipeline (defilantech#1033) dispatches an integrate step (run_integrate)
and a reconcile step (run_reconcile), but no Agent CRs backed them, so a rendered
sliced Workload failed at those steps with 'agent not found'. Add the two
deterministic Agents under config/foreman/agents/ mirroring gate.yaml (no
inferenceServiceRef, tool-only). Unlike the gate (which runs a remote Job on a
verifier node), integrate/reconcile do LOCAL git in the agent workspace, so they
requiredCapability roles: [coder] to schedule onto a node whose foreman-agent has
--git-remote-url configured.

Fixes defilantech#1051

Signed-off-by: Christopher Maher <chris@mahercode.io>
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Defilan Defilan merged commit 00dd7c0 into defilantech:main Jul 10, 2026
8 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.

[FEATURE] Ship default integrate/reconcile Agents for Sliced Workloads

1 participant