Skip to content

[ROB] Pin the status-line token under the name the collector reads (UM-1508) - #2121

Merged
swu-rob[bot] merged 6 commits into
mainfrom
Muse-Assist/um1508-statusline-token-name
Dec 4, 2026
Merged

swu-rob[bot] merged 6 commits into
mainfrom
Muse-Assist/um1508-statusline-token-name

Conversation

@jaywedgeworth22

@jaywedgeworth22 jaywedgeworth22 commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add ANTIGRAVITY_STATUSLINE_INGEST_TOKEN to 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.
  • Update the token-scoping rollout guide to call out that the live plist still needs to be renamed before scoped-token enforcement is enabled. The live configuration change and enforcement verification remain pending (UM-1508).
  • Add a test asserting the example plist uses the expected variable name and excludes the old one. The reported review notes that the test is under scripts/__tests__/, which no test runner collects, and that the example plist contains a placeholder token value.

…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.
@linear-code

linear-code Bot commented Dec 3, 2026

Copy link
Copy Markdown

UM-1508

@kody-ai

kody-ai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

⚠️ Note: some checks couldn't be completed in this run, so auto-approval (when enabled) was skipped. Check the details at https://app.kodus.io/pull-requests and then comment @kody review on this PR to retry once the issue is resolved.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ✅

Access your configuration settings here.

​

@swu-rob

swu-rob Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

@kody start-review

@kody-ai

kody-ai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Automatic approval held

Kody's assessment:

A newer commit arrived while Kody reviewed this one; Kody decides on the next reviewed commit.

@kody-ai

kody-ai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Code Review Completed! 🔥

The code review was successfully completed based on your current configurations.

⚠️ Note: some checks couldn't be completed in this run, so auto-approval (when enabled) was skipped. Check the details at https://app.kodus.io/pull-requests and then comment @kody review on this PR to retry once the issue is resolved.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ✅

Access your configuration settings here.

​

@swu-rob
swu-rob Bot enabled auto-merge (squash) December 3, 2026 02:30
…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.
@kody-ai

kody-ai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Code Review Completed! 🔥

The code review was successfully completed based on your current configurations.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ✅

Access your configuration settings here.

​

PR summary: generated, but it could not be written to the pull request description.

swu-rob Bot added 4 commits December 4, 2026 08:26
…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.
@github-actions
github-actions Bot disabled auto-merge December 4, 2026 08:29
@swu-rob
swu-rob Bot merged commit a879274 into main Dec 4, 2026
30 checks passed
@swu-rob
swu-rob Bot deleted the Muse-Assist/um1508-statusline-token-name branch December 4, 2026 08:47
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.

1 participant