Skip to content

plan-tune: applySignal and newDimensionTotals have no production caller after #3397 #3435

Closed

Description

@capy-ai

Follow-up from the /ship review of #3397.

#3397 moves gstack-developer-profile --derive onto the shared accumulateSignals (in bin/gstack-developer-profile), so applySignal and newDimensionTotals in scripts/psychographic-signals.ts (lines ~234 and ~274) lose their only production caller. Their only remaining references are three unit tests in test/plan-tune.test.ts, and their docstrings still describe them as the derivation pipeline ("starting point for derivation", "running dimension totals").

Options:

  • Retire both helpers and their three plan-tune.test.ts cases; the --derive/--trace boundary tests in test/gstack-developer-profile.test.ts cover the real accumulation.
  • Or move accumulateSignals into scripts/psychographic-signals.ts as an export that both bun -e blocks import, which also gives the per-day clamp a direct unit test.

Found by the maintainability, simplification and testing reviewers in #3397's /ship run.

Activity

  1. added
    enhancement
    S3
    on Oct 26, 2026
  2. capy-ai commented on Nov 2, 2026

    @capy-ai
    ContributorAuthor

    Fixed in #3738 (merged as 7762c39, v1.92.69.0): applySignal and newDimensionTotals are removed from scripts/psychographic-signals.ts along with their three unit tests; --derive uses accumulateSignals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S3enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions