Skip to content

feat(pm-aggregator): #13507 item 4 — needs-drew-answer migrates to needsUser identifiers - #17589

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

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

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; does not close the issue).

Bounded sub-slice of the item-4 remainder left by #17480 (lane 0900-CH's alias surface): migrate one consuming file onto the canonical needsUser* identifiers.

  • pm-stack/aggregator/src/needs-drew-answer.ts now imports getNeedsUser / NeedsUserQuestion from the needs-drew module (the feat(pm-aggregator): #13507 item 4 slice — needsUser alias surface for needs-drew module #17480 aliases) instead of the needsDrew* spellings; recordAnswer carries no person-name and is unchanged.
  • The module's own public identifiers gain identity aliases in the same pattern: NeedsUserChoice (type) and validateNeedsUserChoice (= validateNeedsDrewChoice), so its consumers (e.g. server-decision-routes) can migrate incrementally during the alias window. Old spellings stay until the alias-window close-out slice.
  • Tests: needs-user-aliases-13507.test.ts gains identity + behaviour oracles for the answer-module alias.

Out of scope (later slices, per the map on #13507): the file rename under a distinct name, the other consumers (model.ts, derive.ts, renderers), books + living references, alias-window close-out.

Verification: pending remote dispatch on this exact head — bun test over the aggregator needs-*/edge-answers/decision-answers 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:14:10Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "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: 17cefe68-4150-414f-8f3a-256c70437521

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

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