You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: materialize-skills uses template name for pool instances
The stage-2 PreStart hook for skill materialization passed the pool
instance's qualified name (e.g. rig/furiosa from polecat's namepool)
to `gc internal materialize-skills --agent`. That command calls
resolveAgentIdentity, which cannot map a namepool member back to its
pool template — it treats rig/furiosa as an unknown agent and exits
with code 1, failing pre_start[1] on every polecat start.
Fix: pass templateNameFor(cfgAgent, qualifiedName) which returns
cfgAgent.PoolName (the template's qualified name) for pool instances
and qualifiedName for singletons. Skills are per-template, not
per-instance; all members of a pool share the template's catalog.
Regression exposed by tier-C acceptance:
TestGastown_PolecatImplementsRefineryMerges on v0.15.1-rc1.
Adds TestResolveTemplatePoolInstanceMaterializeUsesTemplateName as a
focused unit regression so a future refactor can't silently reintroduce
the bug without tripping CI in milliseconds rather than 20 minutes.
0 commit comments