Skip to content

Streamline sub-agents#582

Merged
OisinKyne merged 2 commits into
mainfrom
oisin/sell-agent-streamline
Jun 3, 2026
Merged

Streamline sub-agents#582
OisinKyne merged 2 commits into
mainfrom
oisin/sell-agent-streamline

Conversation

@OisinKyne
Copy link
Copy Markdown
Contributor

Summary

This PR takes a pass at lowering the overhead of sub-agents, to ensure they use less tokens and respond within the 100s cap.

OisinKyne pushed a commit that referenced this pull request Jun 3, 2026
Addresses review findings #1/#2/#3 on PR #582 "Streamline sub-agents".

- agentcrd: document the SeedHostFiles "sub-agents-for-sale only" contract
  and add TestMarkerOnlyWrittenBySeedHostFiles, locking that the
  .no-bundled-skills marker is written only by SeedHostFiles and never by
  the reusable seed primitives (WriteSoul, embed.WriteSkillSubset) a master
  or objective-only path could route through. [finding #2]
- serviceoffercontroller: lower the rendered terminal.timeout 180 -> 80 so a
  single operation can no longer outlive the 90s lifetime_seconds session;
  the render test now parses both and asserts timeout <= lifetime_seconds. [finding #3]
- agentcrd: add a //go:build integration test that deploys a real CRD
  sub-agent and verifies the Hermes image honors the contract end-to-end:
  the marker on the PVC and visible in-pod, the capped hermes-config keys
  (lifetime_seconds/max_turns/reasoning_effort/disabled_toolsets), and a
  behavioral bundled-skills-skipped signal. Skips gracefully without a
  cluster. [finding #1]
- plans/sell-agent-perf.md: post-review hardening section and corrected
  measured figures (SOUL.md 2128 -> 1460 bytes ~370 tok; 177 addresses
  preserved across 8 reference files).
OisinKyne and others added 2 commits June 3, 2026 17:03
Addresses review findings #1/#2/#3 on PR #582 "Streamline sub-agents".

- agentcrd: document the SeedHostFiles "sub-agents-for-sale only" contract
  and add TestMarkerOnlyWrittenBySeedHostFiles, locking that the
  .no-bundled-skills marker is written only by SeedHostFiles and never by
  the reusable seed primitives (WriteSoul, embed.WriteSkillSubset) a master
  or objective-only path could route through. [finding #2]
- serviceoffercontroller: lower the rendered terminal.timeout 180 -> 80 so a
  single operation can no longer outlive the 90s lifetime_seconds session;
  the render test now parses both and asserts timeout <= lifetime_seconds. [finding #3]
- agentcrd: add a //go:build integration test that deploys a real CRD
  sub-agent and verifies the Hermes image honors the contract end-to-end:
  the marker on the PVC and visible in-pod, the capped hermes-config keys
  (lifetime_seconds/max_turns/reasoning_effort/disabled_toolsets), and a
  behavioral bundled-skills-skipped signal. Skips gracefully without a
  cluster. [finding #1]
- plans/sell-agent-perf.md: post-review hardening section and corrected
  measured figures (SOUL.md 2128 -> 1460 bytes ~370 tok; 177 addresses
  preserved across 8 reference files).
@OisinKyne OisinKyne force-pushed the oisin/sell-agent-streamline branch from fe47093 to df5bc34 Compare June 3, 2026 15:03
@OisinKyne OisinKyne enabled auto-merge (rebase) June 3, 2026 15:04
@OisinKyne OisinKyne disabled auto-merge June 3, 2026 15:04
@OisinKyne OisinKyne merged commit f2f078d into main Jun 3, 2026
7 checks passed
@OisinKyne OisinKyne deleted the oisin/sell-agent-streamline branch June 3, 2026 15:04
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.

2 participants