Repository navigation
Update from cheese-work/gstack without a prompt, telemetry hard off (CHE-5564) [squash] - #5
Merged
Conversation
…y hard off (CHE-5564)
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.
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-work/gstackon 14 Nov 2026.Change
bin/gstack-update-checkreads versions only fromcheese-work/gstack(raw VERSION, ls-remote, compare API). It never readsgarrytan/gstack.bin/gstack-config:auto_upgradedefaults totrue.update_checkstays on.bin/gstack-skill-start: a newer fork version runsgstack-upgradesilently. It asks no question and emits noupgrade-flowquestion.JUST_UPGRADED <from> <to>still prints a one-line note. Thetelemetry-promptblock is gone. Telemetry is forcedoff.bin/gstack-skill-end: telemetry is forcedoff; the local analytics and remote telemetry blocks are removed.bin/gstack-telemetry-logandbin/gstack-telemetry-sync: exit 0 at the top, so no path writes or sends.scripts/resolvers/preamble/generate-completion-status.tsrenames "Telemetry (run last)" to "Skill end (run last)". The section keeps thegstack-skill-endcall, which still releases the session lease and drains the artifacts-sync queue. It records no telemetry.scripts/resolvers/composition.tsuses the new section name in its skip list.SKILL.md.tmplandoffice-hours/sections/design-and-handoff.md.tmpldrop theirgstack-telemetry-logcommands.autoplan,plan-ceo-reviewandplan-eng-reviewtemplates use the new section name.bun run gen:skill-docsandbun run scripts/gen-ship-goldens.ts. No generated file was edited by hand.test/telemetry.test.tsis deleted. It tested only the removed telemetry behavior.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-syncscripts/resolvers/preamble/generate-completion-status.ts,scripts/resolvers/composition.tsTemplates and section sources:
SKILL.md.tmpl,autoplan/SKILL.md.tmpl,plan-ceo-review/SKILL.md.tmpl,plan-eng-review/SKILL.md.tmploffice-hours/sections/design-and-handoff.md.tmpl,office-hours/sections/design-and-handoff.mdTests:
test/fork-update-no-telemetry.test.tstest/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.tstest/telemetry.test.ts; its line is removed fromscripts/free-test-durations.jsonGenerated 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.
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*andtest/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'sgitwrapper needs bot credentials, so tests that rungit initfail. 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-sentinelandtest/onboarding-moved-literalspass.bun run testsuite is NOT-RUN locally; CI runs it.Refs CHE-5564
Round 3 (Terra P1): update-check telemetry ping removed
Head:
6e15871931ac022d403fcecf096ca1e1087cbfe7.bin/gstack-update-checkno longer sends the Supabaseupdate-checkPOST, whatevertelemetryholds. Removed the whole ping block (-26 lines). No new upstream file touched.gstack-update-check sends no telemetry ping(configtelemetry: community, Supabase URL set, curl stubbed).Red, before the fix (observed):
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-upgradestill fetches fromoriginwithout 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 hostgitwrapper needs bot credentials in temp HOME); not caused by this change.