Skip to content

feat(pm-aggregator): #13507 item 4 — server-decision-routes migrates to needsUser identifiers - #17620

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/13507-item4-decision-routes
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/13507-item4-decision-routes

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Refs #13507 (item 4 remainder — consumer identifier migration, second sub-slice; does not close the issue).

Follows #17589 (needs-drew-answer migration). Migrates pm-stack/aggregator/src/server-decision-routes.ts onto the canonical identifiers:

  • Imports from the needs-drew module now use the feat(pm-aggregator): #13507 item 4 slice — needsUser alias surface for needs-drew module #17480 aliases: getNeedsUser, listOpenNeedsUser, NeedsUserQuestion; the answer validator import uses the feat(pm-aggregator): #13507 item 4 — needs-drew-answer migrates to needsUser identifiers #17589 alias validateNeedsUserChoice. All call sites updated; the local route-match variable is renamed needsUserAnswerMatch.
  • The module's own hook gains an identity alias in the same pattern: afterNeedsUserAnswered (= afterNeedsDrewAnswered), so consumers can migrate during the alias window.
  • Deliberately NOT touched: needsDrewIncidentKey (the legacy pre-A3 spelling, used to close incidents posted before the A3 prefix move — legacy by design, sits beside needsUserIncidentKey), the cfg.needsDrewFile config field (separate config-surface slice), and log-prefix strings.
  • Tests: needs-user-aliases-13507.test.ts gains the identity oracle for afterNeedsUserAnswered.

Verification: pending remote dispatch on this exact head — bun test over the aggregator needs-*/decision/edge suites + bunx tsc --noEmit. Merge on green, on my own verification of the exact head.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T20:27:38Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/github-work/code-13507-ej2",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/github-work/code-13507-ej2",
      "repo": "developing-today/code",
      "branch": "xaltha/13507-item4-decision-routes",
      "sha": "cabbea07bbdd1baa9752f9dd3ad0d22f11047d68"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b5e48642-df60-453a-a8cd-b22c49b4be11

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

1352-D (bravo SUSTAIN landings primary) claiming for merge: full-diff verified at head cabbea0 against stated purpose (#13507 item 4 server-decision-routes needsUser alias migration; legacy needsDrewIncidentKey/cfg.needsDrewFile untouched as stated; identity-alias test added). Mergeable clean. Merging under standing authority (CI not a gate).

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