Telemetry can count gstack's own use on Capy, opt-in and kept out of public numbers (GST-3311) (#4576)

Agent-driven Capy sessions still send no telemetry. If the owner's
`preferences.yaml` holds `telemetry_capy: anonymous`, each skill run
sends one anonymous row labelled `source=capy`, or `source=gt` from
Garry's own machines.

Why: we couldn't see our own gstack use on Capy, and if we had sent it,
it would have been counted as real use.

Nothing to do yet: nothing changes until the owner adds that line, and
the ingest change ships in a separate deploy.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-20 22:27:26 +00:00
1 parent 87a473e5aa
commit 14a84980ee
15 files changed
+250 -19

No files matched your search

+2 -1
View File
@@ -45,7 +45,8 @@ if [ -f "$RATE_FILE" ]; then
fi
# ─── Read tier ───────────────────────────────────────────────
TIER="$("$CONFIG_CMD" get telemetry 2>/dev/null || true)"
# gstack-telemetry-tier adds the Capy opt-in to this machine's setting.
TIER="$("$GSTACK_DIR/bin/gstack-telemetry-tier" 2>/dev/null || "$CONFIG_CMD" get telemetry 2>/dev/null || true)"
TIER="${TIER:-off}"
[ "$TIER" = "off" ] && exit 0