From 4faf399538d3217d3695c3447774fee2ebde23f5 Mon Sep 17 00:00:00 2001 From: garrytan Date: Thu, 8 Oct 2026 08:32:50 +0000 Subject: [PATCH] fix(build): name the installed-hosts record in the build's host line 'Rendering skills for: claude codex (recorded in /.gstack-installed-hosts; GSTACK_RENDER_HOSTS=all renders every host)' instead of a nested parenthesis. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- bin/gstack-host-renders.sh | 2 +- test/host-renders.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/gstack-host-renders.sh b/bin/gstack-host-renders.sh index 9c79a0ee7..1c5509eee 100644 --- a/bin/gstack-host-renders.sh +++ b/bin/gstack-host-renders.sh @@ -90,7 +90,7 @@ gstack_render_hosts_select() { for h in $(gstack_render_hosts_read "$root"); do [ "$h" = claude ] || GSTACK_RENDER_HOST_LIST="$GSTACK_RENDER_HOST_LIST $h" done - GSTACK_RENDER_HOST_REASON="the hosts installed from this checkout ($file); GSTACK_RENDER_HOSTS=all renders every host" + GSTACK_RENDER_HOST_REASON="recorded in $file; GSTACK_RENDER_HOSTS=all renders every host" } # _gstack_hr_link_abs LINK — absolute target of LINK, its directory part diff --git a/test/host-renders.test.ts b/test/host-renders.test.ts index 23ee14f69..6d954ee6c 100644 --- a/test/host-renders.test.ts +++ b/test/host-renders.test.ts @@ -67,7 +67,7 @@ describe.skipIf(process.platform === 'win32')('installed-hosts record (bin/gstac const select = (env: Record = {}) => sh(`gstack_render_hosts_select "${root}"; echo "$GSTACK_RENDER_HOST_LIST|$GSTACK_RENDER_HOST_REASON"`, env); expect(select().stdout).toBe('all|no installed-hosts record, so this is a development checkout\n'); sh(`gstack_render_hosts_add "${root}" codex`); - expect(select().stdout).toStartWith('claude codex|the hosts installed from this checkout'); + expect(select().stdout).toStartWith('claude codex|recorded in '); expect(select({ GSTACK_RENDER_HOSTS: 'all' }).stdout).toBe('all|GSTACK_RENDER_HOSTS=all\n'); const odd = select({ GSTACK_RENDER_HOSTS: 'codex' }); expect(odd.stdout).toStartWith('claude codex|'); @@ -102,7 +102,7 @@ describe.skipIf(process.platform === 'win32')('scripts/build.sh renders the reco const r = renderCalls(root); expect(r.status, r.stderr).toBe(0); expect(r.calls).toEqual(['run gen:skill-docs --host claude', 'run gen:skill-docs --host codex', 'run gen:skill-docs --host factory']); - expect(r.stdout).toContain('Rendering skills for: claude codex factory (the hosts installed from this checkout'); + expect(r.stdout).toContain(`Rendering skills for: claude codex factory (recorded in ${root}/.gstack-installed-hosts; GSTACK_RENDER_HOSTS=all renders every host)`); }); test('GSTACK_RENDER_HOSTS=all renders every host inside an install', () => {