Repository navigation
[ROB] Pin the status-line token under the name the collector reads (UM-1508) - #2121
Conversation
…n the plist template (UM-1508) The session collector resolves only ANTIGRAVITY_STATUSLINE_INGEST_TOKEN then USAGE_INGEST_TOKEN; it never reads ANTIGRAVITY_INGEST_TOKEN, which is scoped to the antigravity-cli producer. The checked-in com.jays.antigravity-session-collector plist template pinned no token name at all, and the 2026-09-24 rollout doc still described the live plist's old-name pin as one pre-change code reads. The template now pins the token under ANTIGRAVITY_STATUSLINE_INGEST_TOKEN, the rollout doc states the live Mac plist entry must be renamed to that name before USAGE_INGEST_REQUIRE_SCOPED_TOKENS=true is set, and a regression test guards the template against the old name.
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀
Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
|
@kody start-review |
|
Automatic approval held Kody's assessment:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations.
Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
…ugh (UM-1508) The placeholder value REPLACE_WITH_SCOPED_STATUSLINE_TOKEN was returned as a real token by the scoped resolver, bypassing the store and USAGE_INGEST_TOKEN fallback. An empty string falls through, per the Kody high-severity finding on PR #2121.
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
…ugh (UM-1508) The placeholder REPLACE_WITH_SCOPED_STATUSLINE_TOKEN was returned as a real token by the scoped resolver, bypassing the store and the USAGE_INGEST_TOKEN fallback. An empty string falls through, per the Kody high-severity finding on PR #2121.
…UM-1508) The new guard only asserted the key name, so it blessed the literal placeholder value. It now also asserts the placeholder is absent and the shipped value is empty.
…r (UM-1508) scripts/__tests__/fleet-usage-collector-tokens.test.mjs was in no runner include list, so its guards never ran. Adding it to scripts/vitest.collectors.config.mjs, per the Kody medium finding on PR #2121.
Summary
ANTIGRAVITY_STATUSLINE_INGEST_TOKENto the status-line collector’s example LaunchAgent plist, matching the variable name the collector reads. This documents the required token configuration and prevents relying on the older name, which the current collector does not read.scripts/__tests__/, which no test runner collects, and that the example plist contains a placeholder token value.