Repository navigation
feat(harness-guard): the agent chart renders the egress note, agent.systemMessage stays the person's - #250
Merged
Conversation
2 tasks done
Published Helm chart
|
| Chart | agent-manager |
| Version | 2.16.1-r38681f99t20261023102234h14b3769 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/agent-manager:2.16.1-r38681f99t20261023102234h14b3769 |
| Digest | sha256:f331d3b007be4c280f8994bc32ec560793e4521df779c6103b7f7f67a09e3ef3 |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-manager --version 2.16.1-r38681f99t20261023102234h14b3769Posted by architect-orb · build 5840 · commit 14b3769 · updated in place on every push
…ystemMessage stays the person's
…om values, hold back on older charts
marians
force-pushed
the
feat/platform-prompt-egress-note
branch
from
October 23, 2026 10:20
5724f7b to
2dfb796
Compare
marians
marked this pull request as ready for review
October 23, 2026 10:20
teemow
added a commit
that referenced
this pull request
Oct 23, 2026
* origin/main: feat(harness-guard): the agent chart renders the egress note, agent.systemMessage stays the person's (#250)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Moves the egress note out of the person's prompt. For an agent on a coding Harness,
create_agent,update_agentandvalidate_agentnow set the agent chart'sagent.platformPrompt.egressNote(giantswarm/agent#109) instead of appending the note toagent.systemMessage. The chart renders the note after the prompt.setEgressNotesets or clears the flag and takes a note out ofagent.systemMessage: a line that is its heading and the paragraph after it, up to the next blank line, in any line endings. Text after the note is kept; previously the prompt was cut at the heading, which silently dropped that text. Leading indentation is kept.get_agentandlist_agentsreport a managed agent'ssystemMessagefrom its release's values, without the note. Without a prompt in the values, they report the rendered prompt without the note (the chart default). An Agent no release renders is reported as is.agent.platformPrompt(an installation held below 2.4.0), values are written without the flag and without the note, instead of failing validation.What is the effect of this change to users?
## Network access (set by the platform)section, so the prompt cannot be edited or deleted by accident.You are a helpful agent.) before the note on its next write.Any background context you can provide?
giantswarm/giantswarm#38803
What is needed from the reviewers?
giantswarm/agent#109 is released as 2.4.0, and
internal/chart/embedded/agent.tgzis the published archive (oci://gsoci.azurecr.io/charts/giantswarm/agent:2.4.0, layersha256:24cb6c4689230b3a3375f1290f56e1576206ad859b17b66199b6f46675624b66). Agents pick 2.4.0 up through their2.xOCIRepository before this ships, which is the safe order: without the flag, the chart replaces the note agent-manager wrote with its own.The note pattern exists in both repositories: the chart uses it to replace a note it finds in
agent.systemMessage, agent-manager to take the note it wrote itself out of values and out of prompts pasted from them. Both copies go once no values carry the note any more.Do the docs need to be updated?
README's coding-agent section is updated.
Should this change be mentioned in the release notes?
Yes.