Skip to content

feat(agent-platform): list and read skills through the installation's skill-manager - #3432

Merged
QuentinBisson merged 11 commits into
mainfrom
feat/skills-through-skill-manager
Nov 10, 2026
Merged

QuentinBisson merged 11 commits into
mainfrom
feat/skills-through-skill-manager

Conversation

@QuentinBisson

@QuentinBisson QuentinBisson commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

The portal runs its own GitHub discovery over its own repository list, which already differs from what agents see on gazelle. skill-manager now owns an installation's skill sources and lists plugins too (giantswarm/skill-manager#6), so the portal reads it through muster as the person, as it already does with agent-manager.

Changes

  • agent-platform: useSkillSource picks the installation's skill-manager where its muster lists it (the agent's installation in the wizard and agent pages, the home installation elsewhere). useSkillCatalog, useSkillContent and useSkillFile then call x_skill-manager_list_skills, get_skill and get_skill_file; elsewhere gs-backend's discovery answers, deprecated. Where muster's server list cannot be read, the skills step names that instead of falling back. The skills step says why a repository was skipped. Add skill offers skill-manager's writable sources that scan the whole repository and that the person can read.
  • gs-backend: POST /agent-skills/pull-request takes installation and then checks the target against that skill-manager's writable sources, read as the person through muster; a read-only source is a 403, and the pull request targets the source's ref when it names one.
  • muster: MusterApi.authHeaders(installation), the person's muster token as headers for a backend plugin that calls muster as them.

Effect on end users

The New agent page lists the skills and plugins of the installation the agent goes to, and a private skill repository you cannot read shows why instead of skills you cannot use.

Background and context

Towards giantswarm/giantswarm#38322. The chart stops giving the portal its own list from its floor on in giantswarm/agent-platform#1334. Conflicts are expected with #3355 and #3419, which both change the discovery that becomes the fallback.

Ask to reviewers

Whether MusterApi.authHeaders is the right seam for gs-backend to call muster as the person, or whether the pull request route should move behind muster-backend.

… skill-manager

The portal lists skills and plugins with x_skill-manager_list_skills and reads a skill with get_skill and get_skill_file, through the installation's muster as the person, where muster lists skill-manager. A skill pull request names the installation and is checked against its writable sources. Elsewhere gs-backend's own discovery of agentPlatform.skills.repositories answers, deprecated.
@circleci-architect

circleci-architect Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Published Helm chart backstage

3.34.6-r18a30589t20261110102351hd02f846
Chart backstage
Version 3.34.6-r18a30589t20261110102351hd02f846
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/backstage:3.34.6-r18a30589t20261110102351hd02f846
Digest sha256:f09b5b0d1891302c3c58158987b29e7113d6773086b88a10be5c0aa8732cfa57
Registry public — gsoci.azurecr.io
Git catalog giantswarm-operations-platform-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/backstage --version 3.34.6-r18a30589t20261110102351hd02f846

Posted by architect-orb · build 79639 · commit d02f846 · updated in place on every push

QuentinBisson and others added 7 commits November 10, 2026 01:25
…eway

gs-backend reads list_skill_sources with gs-node's MusterServerClient and
asConnected: a person not connected to skill-manager gets 401 with the
connect link, and an answer without sources is an error rather than a parse
failure. The missing muster token is an AuthenticationError, and the
configured-list check reuses slugOf. The agent page's skill descriptions
come from the agent's installation. MusterApi.authHeaders no longer sits
under signIn's comment.
…l's skill discovery

The portal's own discovery answers only once muster has said it lists no skill-manager, or there is no muster plugin: an unknown presence between two reads listed the portal's catalog first. The wizard keeps its skills step while skill-manager has not answered. A hidden directory holding a plugin.json (.codex-plugin, .cursor-plugin) is no plugin package. The agentlab suite gains skills-catalog-skill-manager.spec.ts.
…anager

Where muster's server list could not be read, the skill source is
unreachable: the catalog, the skill and file reads and the skill pull
request name it instead of waiting forever or answering from the portal's
own list.
# Conflicts:
#	plugins/agent-platform/src/components/NewAgentSkillsPage/NewAgentSkillsPage.tsx
… catalog

The wizard marks private repositories since main; skill-manager reports
private per repository, so its catalog fills privateRepositories too.
@QuentinBisson
QuentinBisson marked this pull request as ready for review November 10, 2026 08:34
@QuentinBisson
QuentinBisson requested a review from a team as a code owner November 10, 2026 08:34
QuentinBisson and others added 3 commits November 10, 2026 10:39
…reachable

An unknown presence that is not loading also occurs between two reads of muster's server list; the skill pages showed muster as unreachable there until the next read answered. useMusterServerAvailability gains failedOf, and useSkillSource waits unless the read failed. The agentlab spec fails when the unreachable message appears at all.
Add skill and the Customize tab's Add skill read their targets from the
catalog: skill-manager's writable sources that scan the whole repository
and that the person can read, else the configured github.com repositories.
The skill pull request targets the source's ref when it names one. While
the source is pending or unreachable, the catalog is empty rather than the
portal's. SkillManagerClient.authHeaders carries the person's muster token.
@QuentinBisson
QuentinBisson merged commit 6db0bbf into main Nov 10, 2026
16 checks passed
@QuentinBisson
QuentinBisson deleted the feat/skills-through-skill-manager branch November 10, 2026 10:43
Rotfuks added a commit that referenced this pull request Nov 11, 2026
Keeps #3452's JSON-safe catalog cache (private repositories restored after
reload) and #3432's skill-manager source. The catalog keeps main's
proposalTargets/unproposableRepositories API; on the portal path they now
come from the sources gs-backend describes (proposable, readOnly, path, ref),
which stay available as `sources` for the Add skill hand-off's path and
branch. createSkillPullRequest takes main's `base`, checked to be a branch;
the portal route adds the configured path and ref checks.
Rotfuks added a commit to giantswarm/agent-platform that referenced this pull request Nov 11, 2026
…settle the backstage skill floors

agent chart 2.6.0 is released: make sync-unreleased drops Chart.yaml's
agent-platform.giantswarm.io/unreleased, and verify-components-charts renders
default-agent against 2.6.0 (no UNRELEASED or RENDER_AGAINST entry).
skill-manager 0.1.0 is released too.

agent-platform.backstage.skillManagerFloor 3.36.0 is the first release with
giantswarm/backstage#3432, so it is no placeholder. skillSourcesFloor 3.31.0
is: object-form skill repositories (giantswarm/backstage#3355) are in no
release yet. agentManager.skillManagerFloor says that a 2.24.0 release
candidate before agent-manager#290 refuses the keys.

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
Rotfuks added a commit to giantswarm/agent-platform that referenced this pull request Nov 11, 2026
…lls with the chart (#1265)

* feat: ship the Agent Manager and the platform skills with the chart

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* fix: gate the Agent Manager on agent-manager, and harden the skill sources and the release stamp

Review of #1265: the assistant needs agent-manager on and installs into the
kagent namespace; the platform skill source is optional
(skills.platformSource.enabled), reaches a consumer only at its object-form
floor and names no ref on a pre-release; a consumer's own deprecated list
replaces skills.repositories; sources dedupe on url+ref+path and an entry for
the platform repository fails; an unstamped release fails its render; release
names follow the components key everywhere; the Agent is labelled managed-by;
the skills validator checks layout only.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* fix: one published-release predicate for the platform skill source's ref and the stamp check

A working-tree chart (appVersion 0.1.0) got ref v<version>, a tag that does
not exist, while its skills were treated as unreleased.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* skills(overview): current components, connectors, Dev Portal rail and the Agent Manager

Connectors and tool-group labels instead of three fixed server groups; the
Dev Portal's rail (New session, Sessions, Customize, Usage); the platform's
own Agent Manager (managed: platform, read-only). Live recipes use
agent-manager and core tools instead of installation-specific workflows;
component table replaced with the live HelmRelease recipe; Giant
Swarm-internal assumptions removed.

* skills(tools): Connectors UI, sign-in via servers_requiring_auth, core_mcpserver_list

Fixes giantswarm/giantswarm#38776: no more Servers page; connectors live
under Customize -> Connectors. Adds the Awaiting Session state, the
session-bound toolset, filter_tools' servers_requiring_auth. model-manager is
on by default. Drops installation-specific workflow names and runtime and
token-expiry claims that could not be verified.

* skills(agent-management): managed platform/gitops modes, get_agent_status, egress, skill sources

Follows agent-manager main and #290: managed: platform is read-only, gitops
changes through mode commit, get_agent_status replaces the internal
workflow, egress and EgressPolicies, list_skills' ref/path/readOnly,
refreshSkills follows the source's ref, private skills via
gitAuthSecretName, start_session and get_session's current maxBytes range.

* skills(skill-authoring): skill sources, read-only platform skills, current runtime

Skills come from skillsSources (url, ref, path, readOnly); the platform's
skills are a read-only source pinned to the release. Runtime section follows
the Go ADK (scratch directory, skills/ link, egress-limited network, unknown
frontmatter dropped). Private repositories work with gitAuthSecretName or the
installation's credential.

* skills(skill-review): report-only for read-only sources, current runtime paths

A skill from a read-only source gets a report without a pull request
(backstage#3355). Local paths, network and frontmatter checks follow the
current runtime.

* feat: the Agent Manager serves every portal role and manages agents' building blocks

Every agentPlatform.metaAgents role the portal reads (generalInformation,
agentManagement, workflowManagement, platformOperations, skillEvaluation,
skillCreation) defaults to the Agent Manager; backstage.metaAgents.<role>
points a role elsewhere. The prompt covers each role and names only
agent-manager and Muster core tools.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* skills(overview): trigger-only description; components and connectors as one sentence plus live lookup

* skills(tools): trigger-only description; tool-group label lives here; Awaiting Session recovery hint

* skills(agent-management): trigger-only description; credential rules and call_tool contract point to their owning skills; session export runs from a laptop

* skills(skill-authoring): trigger-only description; unambiguous unoffered-skill sentence; one home for private-repo rules

* skills(skill-review): trigger-only description; authoring checks link to the authoring skill; where the previous pin comes from

* docs: a platform change updates the affected skills in skills/ in the same pull request

* fix: the Agent Manager's release does not wait for its Agent to be Ready

ATS: the Agent stays InProgress until its model answers, so helm-controller's
wait timed out and the platform install failed. components.<name>.disableWait
renders install and upgrade disableWait; the Agent reports its own status.

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* test: verify-meta exempts the Agent Manager's no-wait release

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* test(ats): the smoke counts the Agent Manager's Agent, which the ordered teardown removes

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* test(ats): the smoke counts the Agent Manager's RemoteMCPServer too

Towards giantswarm/giantswarm#38970

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* feat: the skill-manager component and skillManager.sources

skill-manager (giantswarm/giantswarm#38322) follows agent-manager, registers
with muster and owns the skill sources: skillManager.sources (URLs or
{url, ref, path, readOnly}) after the platform's skills/, also fed to the
portal. agent-manager gets skillManager.url from its skill-manager floor (a
placeholder for the release with giantswarm/agent-manager#290), else the
deprecated URL list. The connectivity chart admits muster and agent-manager
to it. The range and the BOM pin are placeholders until its first release.

* test: render the skill-manager's forwarded values against its dev build until 0.1.0

* feat: the skill-manager admits its callers' namespaces; agent-manager's migrate run calls it with a generated service token

skill-manager#2 turns its NetworkPolicy on and OAuth off by default: the
meta chart keeps oauth.enabled, derives networkPolicy.ingressNamespaces
(muster's, the portal's, agent-manager's and the kagent namespace) and,
while agent-manager pins through it, serviceToken.secretName. The
connectivity release generates that Secret in the skill-manager's and the
kagent namespace and gives the migrate run its URL, the token and egress.

* skills(skill-authoring): skill sources and listings from skill-manager; pins resolve through it as the person; agent-manager's list_skills deprecated

* skills(agent-management): list skills with skill-manager; get_info reports skillManager; refreshSkills runs the caller's read check

* skills(overview): skills and their sources from skill-manager's tools

* skills(skill-review): offered skills and sources from skill-manager's tools

* agent-manager-assistant: choose skills from skill-manager's list_skills

* feat(skills): agent-platform-agent-routing: find the right agent, when a task deserves one, the start link

* feat: default-agent "Assistant" replaces agent-manager-assistant: triage prompt, preset:full, default label, routing skill pinned

* fix: agent-platform.agentManager.skillManagerFloor 2.22.0: main's agent-manager range (>=2.20.0) passed the 2.19.0 placeholder before agent-manager#290 is released

* feat(default-agent): display name "General Assistant"

* feat(default-agent): installation name from agent-manager's get_info, not the prompt

* test(ats): skill-manager off until 0.1.0 is published: the dev build refuses its install while the range waits

* skills(tools): the agent signs in to a connector from the conversation; a portal sign-in carries over only with grantScope: subject

* fix(default-agent): run on the kagent namespace's annotated default model, not the default-model-config no chart renders

* fix(default-agent): no schedules or automations in the prompt and routing skill; ask_user where the harness has it; why a specialist agent; cheapest model, toolchains and workspace rules

* test: render the skill-manager's forwarded values against skill-manager#2 at 7c37d35

* feat(default-agent): the prompt names its audience and two jobs; a bare Slack mention reaches the default agent

* feat(skills): four newcomer skills for the default agent: building blocks, portal, Slack, organizations

* docs(default-agent): Slack's agent picker preselects the default agent; a mention opens no conversation since klaus-gateway 4.13.0

* docs(skills): start link brief goes in the URL fragment (#prompt=) so it stays out of server logs

* fix: skill-manager 0.1.0 is released; agent-manager switches to it from the release with agent-manager#290

skill-manager drops its unreleased marking (UNRELEASED, RENDER_AGAINST, the
Chart.yaml annotation) and runs in the ATS round trips. main's agent-manager
floor 2.22.0 met skillManagerFloor 2.22.0, whose closed values schema refuses
skillManager and installation: the floor is now the placeholder 2.24.0 until
agent-manager#290 is released.

* feat(default-agent): display name and description per installation (defaultAgent.displayName, defaultAgent.description)

The system message names the agent by its display name ([[ .DisplayName ]]).
The Agent's labels come from components.default-agent.labels.

* skills: name the default agent in the third person and by its technical name

Any agent can pin these skills; the display name is read live.

* test(ats): the smoke expects the skill-manager release, which follows agent-manager

* feat: the portal reads skills from the skill-manager from its floor on (#1334)

* feat: the portal reads skills from the skill-manager from its floor on

From agent-platform.backstage.skillManagerFloor on, with the skill-manager on, the portal gets no skill repositories of its own (backstage.skillsRepositories []) and backstage.skillPullRequests keeps its GitHub egress for the skill pull requests it opens. An own backstage.skillsRepositories then fails the render. The platform skills name the skill-manager's plugin listing and its get_skill and get_skill_file tools.

* test: golden render of the portal's GitHub egress comment

* fix: keep backstage.skillPullRequests out of the backstage release

components.backstage.omitKeys drops backstage.skillPullRequests like the other wiring keys, so a value set on the meta chart does not reach the backstage chart's closed schema. The skill-source docs say a portal list fails the render from agent-platform.backstage.skillManagerFloor on.

* feat(default-agent): follow the kagent namespace's default model at runtime

The Helm lookup of the default ModelConfig is gone. Unset,
defaultAgent.modelConfig renders modelConfig.name "" (no model, agent chart
2.6.0, giantswarm/agent#130) and the label
agent-platform.giantswarm.io/follows-default-model: "true"; agent-manager
(defaultAgentModel.agent: default-agent, from
agent-platform.agentManager.skillManagerFloor, giantswarm/agent-manager#290)
sets the model. Set, it pins modelConfig.name without the label.

components.default-agent.versionRange and agent-manager.agentChart.semver move
to >=2.6.0 <3.0.0 (unreleased: Chart.yaml annotation, UNRELEASED, render
against the agent#130 build). managed-by and default are always set on the
Agent; components.default-agent.labels add to them.

* test(default-agent): render against the giantswarm/agent#130 build; UPGRADE names the 2.6.0 floor for pinned agent chart ranges

* fix(default-agent): install without agent-manager or skill-manager; pin platform skills to the build's commit

- default-agent dependsOn kagent only: its skills are pinned at render and
  its model is set by defaultAgent.modelConfig or later by agent-manager, so
  a failed agent-manager, skill-manager or muster never holds its install.
- agent-manager no longer dependsOn skill-manager: it calls the
  skill-manager only when it pins a skill and answers that call unavailable
  while it is down.
- The platform skill source of a dev build reads the commit it was built
  from (the h<sha> of its version) instead of the default branch.
- skills.platformSource.ref (a full commit id) pins both the platform
  source and the default agent's skills to it, over the release tag and
  the dev build's commit.

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

* feat(default-agent): the default model fills the default agent once; drop the follows-default-model label

agent-manager#290 sets the default agent's modelConfig.name only while it is
empty and never re-points it. The empty name is the signal; set
defaultAgent.modelConfig to pin or change the model.

* chore(default-agent): render against the released agent chart 2.6.0; settle the backstage skill floors

agent chart 2.6.0 is released: make sync-unreleased drops Chart.yaml's
agent-platform.giantswarm.io/unreleased, and verify-components-charts renders
default-agent against 2.6.0 (no UNRELEASED or RENDER_AGAINST entry).
skill-manager 0.1.0 is released too.

agent-platform.backstage.skillManagerFloor 3.36.0 is the first release with
giantswarm/backstage#3432, so it is no placeholder. skillSourcesFloor 3.31.0
is: object-form skill repositories (giantswarm/backstage#3355) are in no
release yet. agentManager.skillManagerFloor says that a 2.24.0 release
candidate before agent-manager#290 refuses the keys.

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>

---------

Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
Co-authored-by: QuentinBisson <quentin@giantswarm.io>
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