Skip to content

Update from cheese-work/gstack without a prompt, telemetry hard off (CHE-5564) [squash] - #5

Merged
congvc-bot-x99[bot] merged 2 commits into
mainfrom
che-5564-fork-update-no-telemetry
Nov 14, 2026
Merged

congvc-bot-x99[bot] merged 2 commits into
mainfrom
che-5564-fork-update-no-telemetry

Conversation

@congvc-bot-x99

@congvc-bot-x99 congvc-bot-x99 Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Status

Draft. Implements CHE-5564. Rollout to agents, CLIs and runtimes is out of scope (CHE-5565). Provider-neutral work is out of scope (CHE-5566).

Conditions

  • Cheese authorized changes to the public fork cheese-work/gstack on 14 Nov 2026.
  • Logic review PASS must come from a different model than the author (Sonnet 5.5).
  • Required checks must be green on the exact head before merge.

Change

  • bin/gstack-update-check reads versions only from cheese-work/gstack (raw VERSION, ls-remote, compare API). It never reads garrytan/gstack.
  • bin/gstack-config: auto_upgrade defaults to true. update_check stays on.
  • bin/gstack-skill-start: a newer fork version runs gstack-upgrade silently. It asks no question and emits no upgrade-flow question. JUST_UPGRADED <from> <to> still prints a one-line note. The telemetry-prompt block is gone. Telemetry is forced off.
  • bin/gstack-skill-end: telemetry is forced off; the local analytics and remote telemetry blocks are removed.
  • bin/gstack-telemetry-log and bin/gstack-telemetry-sync: exit 0 at the top, so no path writes or sends.
  • Generator: scripts/resolvers/preamble/generate-completion-status.ts renames "Telemetry (run last)" to "Skill end (run last)". The section keeps the gstack-skill-end call, which still releases the session lease and drains the artifacts-sync queue. It records no telemetry. scripts/resolvers/composition.ts uses the new section name in its skip list.
  • Templates: SKILL.md.tmpl and office-hours/sections/design-and-handoff.md.tmpl drop their gstack-telemetry-log commands. autoplan, plan-ceo-review and plan-eng-review templates use the new section name.
  • All SKILL.md files, golden fixtures and digest files were regenerated with bun run gen:skill-docs and bun run scripts/gen-ship-goldens.ts. No generated file was edited by hand.
  • test/telemetry.test.ts is deleted. It tested only the removed telemetry behavior.
  • Changelog fragment: changelog.d/che-5564-fork-update-no-telemetry.md.

Touched upstream files (for CHE-5029 weekly sync)

Scripts and generator:

  • bin/gstack-update-check, bin/gstack-config, bin/gstack-skill-start, bin/gstack-skill-end, bin/gstack-telemetry-log, bin/gstack-telemetry-sync
  • scripts/resolvers/preamble/generate-completion-status.ts, scripts/resolvers/composition.ts

Templates and section sources:

  • SKILL.md.tmpl, autoplan/SKILL.md.tmpl, plan-ceo-review/SKILL.md.tmpl, plan-eng-review/SKILL.md.tmpl
  • office-hours/sections/design-and-handoff.md.tmpl, office-hours/sections/design-and-handoff.md

Tests:

  • New: test/fork-update-no-telemetry.test.ts
  • Updated: test/gen-skill-docs.test.ts, test/skill-validation.test.ts, test/audit-compliance.test.ts, test/onboarding-moved-literals.test.ts, test/proactive-skill-start.test.ts, test/skill-ceo-section-ordering.test.ts, test/skill-fixture.test.ts, test/helpers/skill-fixture.ts
  • Deleted: test/telemetry.test.ts; its line is removed from scripts/free-test-durations.json

Generated only (run the generator after a merge conflict; do not hand-merge): every */SKILL.md, SKILL.md, test/fixtures/golden/*-ship-SKILL.md, agents-digest/gstack-AGENTS.md, bin/gstack-doctor-components.sh, gstack/llms.txt.

Evidence

Test-first, observed on X99 with bun test test/fork-update-no-telemetry.test.ts.

Red, before the change: 0 pass, 4 fail.

(fail) gstack-update-check queries only the fork > curl and git requests name cheese-work/gstack, never garrytan
(fail) gstack-skill-start: silent fork upgrade, no telemetry prompt > newer fork version installs silently (lake intro seen: false)
(fail) gstack-skill-start: silent fork upgrade, no telemetry prompt > newer fork version installs silently (lake intro seen: true)
(fail) generated skills carry no telemetry section > no SKILL.md contains "Telemetry (run last)" or gstack-telemetry-log
 0 pass
 4 fail

Green, after the change: 4 pass, 0 fail. The file later gained a fifth test (hard-off telemetry-log and telemetry-sync) and now runs 5 pass.

Other checks on this head:

  • bun test test/gen-skill-docs.test.ts test/skill-validation.test.ts test/fork-update-no-telemetry.test.ts: 820 pass, 0 fail.
  • bun run typecheck: exit 0.
  • test/update-channel* and test/proactive-skill-start.test.ts ("first-run and first-loop tips" case): 18 fail on the unchanged base commit 9f5d67b too, with the same names. Cause: this host's git wrapper needs bot credentials, so tests that run git init fail. They are not caused by this change.
  • test/context-budget-ratchet, test/catalog-budget, test/host-config, test/skill-fixture, test/skill-ceo-section-ordering, test/audit-compliance, test/update-check-crash-sentinel and test/onboarding-moved-literals pass.
  • The full bun run test suite is NOT-RUN locally; CI runs it.

Refs CHE-5564

Round 3 (Terra P1): update-check telemetry ping removed

Head: 6e15871931ac022d403fcecf096ca1e1087cbfe7.

  • bin/gstack-update-check no longer sends the Supabase update-check POST, whatever telemetry holds. Removed the whole ping block (-26 lines). No new upstream file touched.
  • New test: gstack-update-check sends no telemetry ping (config telemetry: community, Supabase URL set, curl stubbed).

Red, before the fix (observed):

Expected to not contain: "supabase"
Received: "git ls-remote https://github.com/cheese-work/gstack.git refs/heads/main\ncurl -sf --max-time 5 -X POST https://example.supabase.co/functions/v1/update-check ..."
(fail) gstack-update-check sends no telemetry ping > no request to Supabase even with telemetry: community ...
 5 pass / 1 fail

Green, after the fix: bun test --timeout 60000 test/fork-update-no-telemetry.test.ts → 6 pass, 0 fail.

Not done (reviewer's non-blocking note): bin/gstack-upgrade still fetches from origin without checking it is the fork. Left out to keep the upstream diff small for CHE-5029.
Other update-check-* tests fail on this host before and after (the host git wrapper needs bot credentials in temp HOME); not caused by this change.

@congvc-bot-x99 congvc-bot-x99 Bot changed the title feat(fork): update from cheese-work/gstack without a prompt, telemetry hard off [squash] Update from cheese-work/gstack without a prompt, telemetry hard off [squash] Nov 13, 2026
@congvc-bot-x99
congvc-bot-x99 Bot marked this pull request as ready for review November 13, 2026 23:35
@congvc-bot-x99
congvc-bot-x99 Bot marked this pull request as draft November 13, 2026 23:47
@congvc-bot-x99 congvc-bot-x99 Bot changed the title Update from cheese-work/gstack without a prompt, telemetry hard off [squash] Update from cheese-work/gstack without a prompt, telemetry hard off (CHE-5564) [squash] Nov 14, 2026
@congvc-bot-x99
congvc-bot-x99 Bot marked this pull request as ready for review November 14, 2026 00:40
@congvc-bot-x99
congvc-bot-x99 Bot merged commit b28b342 into main Nov 14, 2026
27 of 29 checks passed
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.

0 participants