Repository navigation
Telemetry records why skill runs end, which host and model ran them, and how upgrades went (GST-3234) - #4542
Merged
Merged
Conversation
… them Adds migration 009 (new columns with value checks, a session index, the refreshed live-events view, and service-role-only grants), teaches the ingest function to accept and normalize the fields, and fixes migration 007 so it can be applied after this lands. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…grades went gstack-skill-end and gstack-telemetry-log take the approved new fields, gstack-upgrade reports its outcome, the consent text names them, and the skill telemetry step asks for them without growing any skill's size. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
The previous wording matched every skill's byte size but grew the character count by 4, which the per-host size pins count. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
A reinstall whose only failure is the stale Drive wrapper now reports success instead of setup_failed, and a test pins one upgrade_completed event per run. Review-Finding: p1/specialist-batched#2 reader=specialist-batched Review-Finding: p1/specialist-batched#3 reader=specialist-batched Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…t hosts send no session id Each upload now stops adding events before 45,000 bytes, so a backlog of the larger events can no longer be refused forever with 413. Under a host that runs every session in one process (Capy's capy-server), skill runs send no harness_session_id, so separate sessions are never linked. Review-Finding: p1/adversarial-native#1 reader=adversarial-native Review-Finding: p1/outside-voice#2 reader=outside-voice Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
host keeps the approved seven values (other gstack hosts report other), checks drops the unapproved none, the skill prompt lists claude_other, the telemetry step no longer claims it writes only to analytics, and migration 009's header records that 007 has not been applied yet. Every generated skill keeps its byte and character size. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…s id never inherits an old session id The 45,000 limit on each upload now counts bytes (LC_ALL=C), so batches with multi-byte text no longer pass 50,000 bytes and stall on 413. gstack-skill-start deletes stale session markers before touching the current one, so a new process that reuses an old pid gets a fresh harness_session_id. Review-Finding: v1/outside-voice#1 reader=outside-voice Review-Finding: v1/outside-voice#2 reader=outside-voice Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 20, 2026
- Two /ship approval records stop needing workarounds. (#4549) - For contributors: the paid auto-decide check counts a start step that ran while the skill loaded. (#4543) - The destructive-command check closes three ways past its disk-wipe and force-push blocks. (#4534) - A green CI run still counts when the repository's artifact storage is full. (#4536) - `/cso` now audits repositories that track symlinks. (#4567) - A doc-sync eval stops failing when the audit child drops one field from its result line. (#4555) - The browse daemon no longer picks port 10080, which Chromium refuses to open. (#4554) - Opted-in telemetry now says why a skill run ended, which coding agent and model family ran it, and whether an upgrade worked. (#4542) - A preregistration with only its write-up and plain data now gets the write-up review: one reviewer, one round. (#4544) - When owner rulings don't clear a stopped review, `gstack-review-read` now says which findings are left. (#4553) - The prompt-routing hook now names your installed bug-fix skill on bug reports, alone, and never puts /verify ahead of it. (#4539) - Owner rulings now close a stopped review whose findings were logged in a findings file. (#4568) - /ship can finish after the owner accepts a stopped review's findings as open notes. (#4552) - /ship no longer starts the full test suite on your machine when CI's earlier run can't be reused (GST-3277). (#4565) - The prompt-routing hook no longer acts on words inside backticks. (#4566) - In Claude Code, a gstack skill's start step now runs when the skill loads, so the model can't skip it. (#4509) - gstack's telemetry backend only accepts writes through its own validated endpoint, and the community dashboard now counts real use. (#4537) - gstack now says what it's adding before it adds a background job or a browser extension. (#4538) - For contributors: every flaky pass in Free Tests is now recorded. (#4572) - For contributors: Free Tests on pull requests starts its test shards one round of small jobs sooner. (#4570) - Secret values written as `name=value` at the end of a path are now hidden. (#4571) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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.
gstack's anonymous usage telemetry now records nine more fields: the host and model family, how a skill was started, why it ended, whether checks passed, how skill routing is set up, a random per-session id, and for upgrades the version left and any error.
This tells us where skills stop working and which setups break upgrades, which the current outcome-only data can't show.
Deploy in order after merge: apply migration 009, deploy the telemetry-ingest function, then release the client; apply migration 007 after that.
What each new field holds
hostmodel_familyinvokedexit_reasonchecksroutingharness_session_idfrom_versionupgrade_errorAn empty value is stored as null and a value outside the list as
unknown, on both the client and the server, so a wrong guess from a model can't add new categories. The session id is sent on both the community and anonymous tiers; the consent text now says so: "Anonymous mode sends the same usage with no device ID; a random id per agent session that is never reused." docs/privacy.md lists every field.Other fixes in this change
evalorciinstead oflive(an explicit flag still wins, then GSTACK_TELEMETRY_SOURCE).outcome_rawand maps known spellings to the four standard outcomes.backup_versionvalues, so it can be applied cleanly after this merges.Deploy steps and notes from the live project
supabase/migrations/009_next_telemetry_fields.sql.supabase/functions/telemetry-ingest(verify_jwt off, as today).The previous change (#4537) is already deployed. While deploying it we also deleted the unused community-benchmarks and community-recommendations functions; their sources are saved and both now return 404. Two things seen on the live project, left as they are: default privileges set by supabase_admin in the public schema still grant anon and authenticated, because the postgres role can't change them; and a handful of rows arrived with source "other" after the deploy.
Known limits left open
--ff-only-no-reinstall(how Capy sessions upgrade) reports success before the install check runs, and/gstack-upgradegoes through gstack-ff-update, which sends no upgrade event.sourceand count as live.outcome_rawkeeps the raw outcome cut to 20 characters.gstack-skill-end --helplists--checks none, which is sent asunknown; an outcome spelled like a built-in object key (constructor) can fail an ingest batch; two skill ends racing on an empty session marker can split one session's id; migration 009 adds CHECK columns and an index without CONCURRENTLY, so inserts wait while it runs; an upload batch over 45,000 bytes is not tested past the first POST.Agent notes
Approvals
Approved: yes (record r-363fc947c1db). The full approval record stays private.
Plan: approved (record r-f52780186857)
Plan check: approved (record r-f52780186857)