Skip to content

feat(agent-platform): default agent and skill-manager inputs - #821

Merged
fiunchinho merged 21 commits into
mainfrom
agent-manager-assistant-inputs
Nov 12, 2026
Merged

fiunchinho merged 21 commits into
mainfrom
agent-manager-assistant-inputs

Conversation

@Rotfuks

@Rotfuks Rotfuks commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Towards giantswarm/giantswarm#38970, giantswarm/giantswarm#38322

Rationale

The agent-platform chart (giantswarm/agent-platform#1265, released in v4.179.0) ships the default agent and the skill-manager, which owns the installation's skill sources. The platform manager needs inputs for both.

Changes

  • defaultAgent.enabled (default true; false writes components.default-agent.enabled: false) and defaultAgent.modelConfig (writes defaultAgent.modelConfig). 4 chart line only, where kagent and the agent-manager run. enabled: false works on any 4 chart release, because components is open in every values schema.
  • skillManager.sources: each a URL or {url, ref, path, readOnly}, written to the meta chart's skillManager.sources as read. Refused when an entry names the platform's own repository, because the chart fails on that entry (skills.platformSource).
  • skillManager.github.app.secretName: the Secret of the read-only skills GitHub App, named after the chart path it writes (skill-manager.github.app.secretName). Without it, the skill-manager reads only public sources.
  • The skill-manager inputs: 4 chart line only, where the agent-manager runs. The skill-manager inputs and defaultAgent.modelConfig need no versions.chart hold, or a hold that admits skillManagerChart (4.179.0-rc.9, the first candidate with the keys) or later.
  • agentManager.skills.repositories stays URLs only.
    • It is refused where a versions.components.agent-manager hold starts at agentManagerViaSkillManager (2.24.0) or later. There the agent-manager takes its skills from the skill-manager, and the chart fails on the list.
    • With the chart's default range (>=2.22.0 <3.0.0 on 4.179.0), the agent-manager keeps its own list, and the chart accepts it.
    • It is also refused beside skillManager.sources. This is the definition's choice, not the chart's: the chart takes both lists. With both lists set, an agent-manager below 2.24.0 reads its own list and the skill-manager reads the sources, and the two lists can differ. So one reconcile sets the sources and empties the agent-manager's list.
  • defaultAgent.modelConfig empty: the agent gets a model by itself only where the agent-manager's version range starts at 2.24.0 or later. Only there does the chart have agent-manager set the installation's default model. With the default range on 4.179.0 the agent has no model, and kagent reports Compatible=False | kagent ModelConfig is required (this is gazelle today). Set the input there.

Merge order

agent-platform v4.179.0 (carries #1265) and agent-manager v2.24.0 are released as stable (2026-11-12), so this can merge.

  • skillManagerChart is 4.179.0-rc.9. It is the first tag whose values schema has skillManager and defaultAgent, so holds on rc.9 to rc.13 and on the release get the inputs.
  • agentManagerViaSkillManager is 2.24.0, the same as the chart's agentManager.skillManagerFloor.
  • The earlier release-candidate gate (skillManagerChartReleased) is removed. It refused these inputs on every installation that runs stable releases only.

Rollout on gazelle (giantswarm/giantswarm#39167)

gazelle already runs 4.179.0. The order:

  1. Release this pull request.
  2. Run one reconcile that moves the skill list (below).
  3. Only after that, release feat(agent-manager): take agent-manager 2.24.0 or later, for the Dev Portal's organization pages agent-platform#1371, which raises the chart's agent-manager floor to 2.24.0. From that release, the chart fails on agent-manager.skills.repositories.

The values on record now render on 4.179.0. The new values render on 4.179.0 and after #1371. Before the move, a reconcile is not refused.

Default agent off (while gazelle still runs the hand-added swarm-operator):

platformctl installation reconcile gazelle agent-platform --dry-run \
  --input 'skillManager.sources=["https://github.com/giantswarm/agent-skills","https://github.com/giantswarm/agent-skills-internal","https://github.com/giantswarm/claude-code"]' \
  --input skillManager.github.app.secretName=giantswarm-agent-skills-app \
  --input 'agentManager.skills.repositories=[]' \
  --input defaultAgent.enabled=false

Default agent on, with a model:

platformctl installation reconcile gazelle agent-platform --dry-run \
  --input 'skillManager.sources=["https://github.com/giantswarm/agent-skills","https://github.com/giantswarm/agent-skills-internal","https://github.com/giantswarm/claude-code"]' \
  --input skillManager.github.app.secretName=giantswarm-agent-skills-app \
  --input 'agentManager.skills.repositories=[]' \
  --input defaultAgent.modelConfig=anthropic-sonnet-5-5

The agent-manager's skills.github.app.secretName and mintGitAuthSecret stay from the record. Below the 2.24.0 floor, the agent-manager still reads its repositories itself (its list is now derived from skillManager.sources).

Review

# Source Severity Finding Outcome
1 review blocking skillManagerChartReleased = false refused skillManager.sources, skillManager.github.app.secretName and defaultAgent.modelConfig on every stable-only installation, gazelle among them, after 4.179.0 was stable Fixed: the gate and its constant are removed; the tests take the inputs on a stable installation
2 Codex R1-1 blocking The gate admitted a stable-only hold (>=4.100.0 <5.0.0) on a chart that existed only as candidates Fixed by 1: 4.179.0 is stable, so such a hold resolves to a chart with the keys. Tests: a hold on 4.178 refuses the new inputs and keeps the agent-manager's list, which can still name giantswarm/agent-platform; holds >=4.100.0 <5.0.0, 4.179.0-rc.12 and ~4.179.0 take them
3 review non-blocking The body said the chart fails on both skill lists; the chart takes both Kept as the definition's choice; the refusal message, schema and README now say so
4 review non-blocking defaultAgent.modelConfig said the model comes "from agent-manager 2.24.0 on"; it comes only where the agent-manager's range starts at 2.24.0 Fixed in schema.json and README
5 review non-blocking Body out of date (constants, "Merge order", "chart fails on both") Fixed in this body
6 review non-blocking Copied chart rules (componentFloorAtLeast, takesSkillsFromSkillManager, namesPlatformSkills); after agent-platform#1371 an agent-manager list the chart refuses passes Deferred: #915
7 review non-blocking render-consumption pins agent-platform 4.178.0; the bump shows that a muster credentials rotation does not restart the skill-manager (musterConsumers) Deferred: #916
8 review non-blocking On 4.179.0 with the default agent-manager range, the default agent has no model unless defaultAgent.modelConfig is set Already covered by giantswarm/giantswarm#39150 (giantswarm/agent-platform#1371 gives defaultAgentModel at the default floor)

Effect on end users

Operators can turn off the platform's default agent, pick its model, list the skill sources the skill-manager offers, and name the GitHub App it uses to read private sources.

agentManagerAssistant.enabled (default true, false writes
components.agent-manager-assistant.enabled: false) and
agentManagerAssistant.modelConfig (writes agentManagerAssistant.modelConfig;
4 chart line, where kagent runs). agentManager.skills.repositories accepts
{url, ref, path, readOnly} entries. Defaults render nothing new.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
@Rotfuks
Rotfuks requested a review from a team as a code owner November 4, 2026 09:11
@circleci-architect

circleci-architect Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Published Helm chart giantswarm-platform-manager

0.86.2-rdeb4a050t20261112122411hbe4da34
Chart giantswarm-platform-manager
Version 0.86.2-rdeb4a050t20261112122411hbe4da34
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/giantswarm-platform-manager:0.86.2-rdeb4a050t20261112122411hbe4da34
Digest sha256:e2957c38f37ecabe322792d45712789ffe12f7449def8da0505be6d3fa8811a0
Registry public — gsoci.azurecr.io
Git catalog giantswarm-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/giantswarm-platform-manager --version 0.86.2-rdeb4a050t20261112122411hbe4da34

Posted by architect-orb · build 39695 · commit be4da34 · updated in place on every push

…bjects on their releases

Refuse agentManagerAssistant.enabled=false and modelConfig on the 3 line,
without kagent and with a versions.chart hold below 4.175.0; refuse skill
repository objects on the 3 line and with an agent-manager hold below
2.19.0. Write object entries back with the keys they were read with.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
@Rotfuks Rotfuks changed the title agent-platform: Agent Manager inputs and skill repository objects feat(agent-platform): Agent Manager inputs and skill repository objects Nov 4, 2026
Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
… repositories stay URLs

The skill-manager owns the skill sources (giantswarm/giantswarm#38322):
skillManager.sources (URLs or {url, ref, path, readOnly}, written as read)
renders the meta chart's skillManager.sources, on the 4 line where the
agent-manager runs, with no chart hold below the release with the
skill-manager (placeholder floor). The object form leaves
agentManager.skills.repositories.
@Rotfuks Rotfuks changed the title feat(agent-platform): Agent Manager inputs and skill repository objects feat(agent-platform): Agent Manager inputs and skillManager.sources Nov 5, 2026
Rotfuks and others added 3 commits November 9, 2026 12:37
…nt-inputs

# Conflicts:
#	CHANGELOG.md
#	definitions/agent-platform/README.md
#	definitions/agent-platform/features.yaml
#	internal/installations/readback_test.go
#	internal/verify/verify_test.go
#	render/agentplatform/input.go
#	render/agentplatform/render_test.go
…nt.*; skill sources must be http(s) URLs

Matches giantswarm/agent-platform#1265: the component is default-agent, the
meta value defaultAgent.modelConfig. skillManager.sources takes the meta
chart's URL pattern, so the render refuses what the chart's schema would.
The skill-manager reads its sources with the read-only skills GitHub App
named by skillManager.appSecretName (the meta chart's
skill-manager.github.app.secretName): a private source is listed only to
the people who can read it. Empty, anonymous reads of public sources.
Refused where skillManager.sources is: off the 4 line, without the
agent-manager, with a chart hold below the release with the skill-manager.
@QuentinBisson

Copy link
Copy Markdown
Contributor

Taking this over while Dominik is at a conference. Pushed 5be2c59 on top: skillManager.appSecretName writes skill-manager.github.app.secretName, so the skill-manager can read private sources. Same gates as skillManager.sources. No force-push, the earlier commits are unchanged.

…ne unreleased floor

The 4.175.0 floor admitted holds on 4.175.0 to 4.177.x, released without
the skill-manager: their values schema refuses skillManager, skill-manager
and defaultAgent. One floor, skillManagerChart, for both features of
giantswarm/agent-platform#1265.

Refuse a skillManager.sources entry naming the platform's own repository
and skillManager.sources beside agentManager.skills.repositories, both of
which fail the meta chart's render. skillManager.appSecretName must be a
Secret name.

Signed-off-by: QuentinBisson <quentin@giantswarm.io>
@QuentinBisson QuentinBisson changed the title feat(agent-platform): Agent Manager inputs and skillManager.sources feat(agent-platform): default agent and skill-manager inputs Nov 10, 2026
QuentinBisson and others added 4 commits November 10, 2026 12:17
…l-manager replaces

From the meta chart with the skill-manager and agent-manager 2.24.0 on, the
agent-manager takes its skills from the skill-manager and the chart fails on
agent-manager.skills.repositories. Refuse the input there, unless a
versions.chart or versions.components.agent-manager hold keeps it below.

The default agent renders only where kagent and the agent-manager both run;
its inputs are refused elsewhere.

Signed-off-by: QuentinBisson <quentin@giantswarm.io>
…nstallation's default model

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
…nager gates after the chart

refuseOffLineFour replaces the copied sentence; checkSkillManagerChart, skillManagerChartChoice and agentManagerViaSkillManager follow the meta chart's skillManagerFloor and viaSkillManager.

Signed-off-by: QuentinBisson <quentin@giantswarm.io>
…t refuses; the both-lists refusal names the agent-manager hold

Signed-off-by: QuentinBisson <quentin@giantswarm.io>
@QuentinBisson
QuentinBisson marked this pull request as draft November 10, 2026 21:23
@QuentinBisson

Copy link
Copy Markdown
Contributor

Back to draft: blocked until giantswarm/agent-platform#1265 is merged and released. Before then, an installation with no hold runs a meta chart whose values schema refuses skillManager, skill-manager and defaultAgent.

Order: giantswarm/agent#129 → giantswarm/agent#130 (promoted to 2.6.0) and giantswarm/agent-manager#290 (released as 2.24.0) → giantswarm/agent-platform#1265 released → here: set skillManagerChart to that release, check agentManagerViaSkillManager is 2.24.0, mark ready → giantswarm/giantswarm#39167 (gazelle).

@Rotfuks
Rotfuks marked this pull request as ready for review November 11, 2026 09:41
…nt-inputs

# Conflicts:
#	definitions/agent-platform/README.md
#	internal/verify/verify_test.go
…lt model once; name the chart's agent-skills source

agent-manager fills the default agent's model only while it has none and never re-points it (giantswarm/agent-platform#1265). The chart's skillManager.sources lists giantswarm/agent-skills, which a typed list replaces.
@Rotfuks

Rotfuks commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@QuentinBisson, I merged origin/main (77e5e34) into the branch for Dominik. No rebase and no force-push. CI is green on e126d34.

Conflicts. Both were unions with main's platform-tenant and musterMcpServerViewers inputs (#907):

  • definitions/agent-platform/README.md: the schema.json row now lists both sets of inputs.
  • internal/verify/verify_test.go: drivenInputs now expects both sets.

Nothing needed regenerating. schema.json and features.yaml merged cleanly.

Changes (7b1baf1), checked against agent-platform#1265 at 1a3d272:

  • defaultAgent.modelConfig: "none: follows the installation's default model at runtime" is now "none: gets the installation's default model once". agent-manager sets the model only while the agent has none and never re-points it.
  • skillManager.sources: says that the chart's list is giantswarm/agent-skills and that a typed list replaces it. It also names skills.platformSource as the platform's own source.
  • e126d34 is an empty commit. GitHub kept the PR "conflicting" on a stale merge ref after the merge, and the empty commit made it recompute.

These values already match #1265: skill-manager.github.app.secretName, the source object shape, components.default-agent.enabled, the agent-manager floor 2.24.0 and dependsOn.

Still open, as in your note: skillManagerChart is 4.179.0, but 4.179.0-rc.1 to rc.8 are already cut without #1265. Set it to the release that actually carries #1265. I left it and did not mark the PR ready. Note that the PR currently shows as ready for review, not draft.

… refuse agent-manager skill repositories only from a 2.24.0 hold

- skillManager.sources, skillManager.github.app.secretName and
  defaultAgent.modelConfig are refused on an installation that runs stable
  releases only while 4.179.0 is a release candidate
  (skillManagerChartReleased, flipped once it is stable).
- defaultAgent.enabled: false is accepted on any 4 chart release:
  components is open in every values schema.
- skillManagerChart is 4.179.0-rc.9, the first candidate with the keys.
- agentManager.skills.repositories is refused only where a
  versions.components.agent-manager hold has a floor at 2.24.0 or later
  (componentFloorAtLeast, as the meta chart reads it); the chart's default
  range (>=2.22.0) keeps the agent-manager's own list.
- an agentManager.skills.repositories entry naming the platform's own
  repository is refused on a chart that lists it itself, as the meta chart
  fails on it.
…79.0; the default model from agent-manager 2.24.0 on

- the inputs gated on 4.179.0 run only where the installation runs that
  release or a later one; defaultAgent.enabled: false on any release.
- an empty defaultAgent.modelConfig gets the installation's default model
  from agent-manager 2.24.0 on; below it, set it or the agent has no model.
- agentManager.skills.repositories: refused from a 2.24.0 agent-manager
  hold, and naming the platform's own repository.
@Rotfuks

Rotfuks commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@QuentinBisson review of e126d34, checked against giantswarm/agent-platform at 3b61dce (#1265, 4.179.0-rc.9). Fixes pushed on top as normal commits; nothing of yours rewritten.

Review summary

  1. Medium: with no versions.chart hold, holdAdmits returned true, so skillManager.* and defaultAgent.modelConfig passed on stable-only installations. Gazelle runs 4.178.0, whose closed schema rejects them, so the HelmRelease upgrade would fail.
  2. Medium: agentManager.skills.repositories was refused whenever no agent-manager hold existed. The chart routes skills through the skill-manager only when the floor of components.agent-manager.versionRange is ≥ 2.24.0, and the default range is >=2.22.0. This also blocked gazelle's list, which is on record.
  3. Low/medium: the docs said an unset defaultAgent.modelConfig gets the default model. That is true only from agent-manager 2.24.0 on.
  4. Low: skillManagerChart was 4.179.0. The first RC with the keys is 4.179.0-rc.9.
  5. Low: the platform-repository check covered skillManager.sources only. The chart (_helpers.tpl skills.repositories) also fails on an agent-manager list naming giantswarm/agent-platform.

Commits

  • c7f9d8f fix(agent-platform), findings 1, 2, 4 and 5, with tests:
    • The skill-manager inputs and defaultAgent.modelConfig are refused with "needs agent-platform 4.179.0, a release candidate so far; this installation runs stable releases only" when !in.ReleaseCandidates. This sits behind one constant, skillManagerChartReleased = false, which flips once 4.179.0 is stable.
    • defaultAgent.enabled: false is accepted on any 4 chart release, because components is open on 4.178.0.
    • skillManagerChart is now 4.179.0-rc.9.
    • agentManager.skills.repositories is refused only under a versions.components.agent-manager hold whose floor is ≥ 2.24.0. The new componentFloorAtLeast mirrors the chart's helper, so the pre-release is stripped. The test hold added in TestAgentManagerSkills is reverted.
    • An agent-manager entry naming giantswarm/agent-platform is refused on a chart that lists it itself.
  • 3339156 docs(agent-platform), finding 3 plus the doc side of 1, 2 and 5:
    • schema.json and README say "only where the installation runs 4.179.0 or later".
    • The default model is set "from agent-manager 2.24.0 on; below that, set it or the agent has no model".
    • The refusal rules for agentManager.skills.repositories are corrected.

Please confirm or adjust

Findings 1 and 2 are design choices:

  • Finding 1: a stable-only installation is refused outright. An exact RC hold doesn't unlock it, and defaultAgent.enabled is gated by no chart at all.
  • Finding 2: without a hold, the agent-manager keeps its own list. We could instead refuse the list proactively and steer people to skillManager.sources.

Gazelle rollout note

Once 4.179.0 is stable, gazelle gets the default agent automatically. If gazelle should keep its current setup (the hand-added swarm-operator), set defaultAgent.enabled: false first. That works today, since 4.178.0 takes it.

Gazelle is also the only installation with agentManager.skills.repositories on record. With this fix the list stays accepted. It has to move into skillManager.sources before gazelle's agent-manager floor reaches 2.24.0.

…on stable installations

agent-platform 4.179.0 and agent-manager 2.24.0 are stable (2026-11-12).
skillManagerChartReleased refused skillManager.sources,
skillManager.github.app.secretName and defaultAgent.modelConfig on every
installation that runs stable releases only, gazelle among them. It is gone:
a versions.chart hold below 4.179.0-rc.9 is the only chart gate left, and
holds that admit the stable release or a candidate with the keys take them.

The refusal of skillManager.sources beside agentManager.skills.repositories
is this definition's choice, not the chart's: the meta chart takes both. Its
message and the docs now say so.

defaultAgent.modelConfig: the agent gets a model by itself only where the
agent-manager's version range starts at 2.24.0; elsewhere it has none and
kagent reports it not ready.

Signed-off-by: Jose Armesto <github@armesto.net>
Signed-off-by: Jose Armesto <github@armesto.net>

@fiunchinho fiunchinho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this, the inputs are what gazelle needs. I pushed two commits on top: the release-candidate gate is removed now that agent-platform 4.179.0 and agent-manager 2.24.0 are stable (it refused the new inputs on every stable-only installation), the model text for the default agent matches what the chart does, and main is merged in. Details and the rollout order for gazelle are in the description. Approving.

@fiunchinho
fiunchinho merged commit 55c0788 into main Nov 12, 2026
16 checks passed
@fiunchinho
fiunchinho deleted the agent-manager-assistant-inputs branch November 12, 2026 13:13
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.

3 participants