Repository navigation
Description
Code rename: replace identifier-bound person-name identifiers with role terms
Why
The prose sweep in #13392 replaced person-name references in the books and living references with role terms ("the user's X", "needs user", "needs decision", "needs orchestrator", "needs operator"). A set of names could not be rewritten in prose because they are literal code identifiers and quoted runtime strings — the books must keep matching the shipped surface until the code itself is renamed. This issue covers that code side.
Identifier-bound names (from the #13392 census)
drew-cli— CLI identity name, and the bridge addressdrew- "Needs-drew payload" label
needs_drew— field / module / payload namedrew_decision— reason class- The quoted phrase
"awaiting drew" - Atlas requester kind
drew— a stored enum value, distinct fromuser(weights in the census record: drew 1.0, user 1.0, agent 0.25, anonymous 0.1) - Atlas
reference/mcp.mdverbatim MCP instruction strings that name these identifiers
Warning: persisted values — alias / migration, never a blind swap
Several of these are stored / persisted values, not just source identifiers:
- The atlas requester kind
drewis a stored enum in persisted data. needs_drew,drew_decision, and the payload label appear in serialized payloads and stored records.- The bridge address
drewand thedrew-cliidentity may appear in configuration, stored sessions, and external references.
Renaming therefore needs an alias / migration plan for each name: accept the old value on read, write the new value, and migrate or dual-read stored data until the old values are gone. A blind find-and-replace in source will break stored data, in-flight payloads, and any external caller still using the old names.
Scope
- Inventory every occurrence of the names above in code, config, and serialized formats (the Books and living references: replace person-name references with role terms #13392 census counted ~2,400 non-markdown lines repo-wide dominated by these identifiers).
- Propose the replacement role terms per identifier, consistent with the prose sweep (user / operator / orchestrator as context fits).
- Land the rename with aliases / migrations for persisted values, with tests covering old-value reads.
- Only after this lands, update the books and living references that quote these identifiers to match the new surface (those quoted occurrences were deliberately left untouched by Books and living references: replace person-name references with role terms #13392).
Out of scope
- Prose references — already handled by Books and living references: replace person-name references with role terms #13392.
- Dated historical records — history is not rewritten.
{
"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-23T17:14:27Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}Acceptance criteria
- Delivered: Code rename: replace identifier-bound person-name identifiers with role terms — the outcome named in the title is demonstrably in place.
- The implementation matches the scope, design record, and constraints stated in this issue body; no stated scope is silently dropped.
- Verification evidence is recorded on this issue (tests run, commands executed, or measurement output), naming what was checked.
- Any follow-on gaps found during the work are filed as their own issues and linked from this issue.
Activity
developing-today commentedon Nov 23, 2026
CODE-4935
dezren39 commentedon Nov 25, 2026
Claimed by lane 7, 2026-11-25T22:29Z
First slice: the inventory and a proposed role-term mapping per identifier (scope items 1 and 2), as a doc. No code renamed in this slice.
Generated by Claude Code
doc: inventory person-name identifiers and propose role terms (#13507)
doc: inventory person-name identifiers and propose role terms (#13507) (
dezren39 commentedon Nov 25, 2026
Slice 1 landed: inventory and proposed role terms, PR #15315 (merged as 6057e90), doc
doc/2026-11-25T22-29-42Z_inventory_person-name-identifiers/.What it found:
drew_decisionis in fleet migration 0021, alert keysneeds-drew:<ledgerId>are the throat's dedupe key, and answer links already sent point at/api/needs-drew/....person_wait.rsshould keep the old phrases.user_decision, andownerfor the Atlas kind, the search client and the bridge address (Atlasuseris already a different kind; the bridge already aliasesdrewwithowner).Next slices, in order: aggregator plus notify-relay dual-read, shared-schema tier migration, fleet queue, Atlas and search aliases, bridge default address, then the books.
Generated by Claude Code
message-bridge: show owner as the default reply address (#13507 A9) (#…
dezren39 commentedon Nov 26, 2026
Slice progress (lane 7):
owneras the default reply address in wake payloads,replyAddress,ADDRESS_HELP, MCP tool text and the README.drewandcentralstay accepted aliases. Stored values (user:drew, fixture senders) are unchanged. The node suite passed 134 of 134 remotely, and message-bridge-deploy is running from main.needs_drew.rstoneeds_user.rsand its items (NeedsUserOption,BlockNeedsUser,post_needs_user,maybe_raise_needs_user). Wire keys (needs_drew,needsDrew,needs-drew:) are left for a later compatible-read slice. Fleet Rust workspace tests are running remotely.Generated by Claude Code
fleet-queue: rename needs_drew module and items to needs_user (#13507 …
dezren39 commentedon Nov 26, 2026
Triage complete (lane code-h, task 23928). Issue is NOT held (hold check exit 0, no hold label). Live triage work is underway on the identifier rename (#13507): slice 1 inventory merged as PR #15315, bridge default-address rename merged as PR #15347, Section C Rust slice merged as PR #15355. No queue hold; next slices continue the packet plan (aggregator/notify-relay dual-read, shared-schema migration, fleet queue/Atlas/search aliases, then books). No further triage action needed from this lane; issue stays open tracking the remaining slices.
dezren39 commentedon Nov 26, 2026
Triage follow-on complete (lane VN, queue task 24225, follow-on from task 23928).
Premise/ownership check (2026-11-26): read the issue and all comments.
drewAtlas requester kind,needs_drew/drew_decisionpayloads, bridge addressdrew,drew-cli), so alias/migration, never a blind swap.status/in-progress,queue/claimed,work/assignedonly — no held/user label, no Drew-decision gate in any comment, no laptop/physical dependency.Verified slice state (checked via
ghthis lane):owneras default reply address — MERGED 2026-11-26T02:48:02Zneeds_drewmodule/items renamed toneeds_user— MERGED 2026-11-26T03:01:53Z (merge commit 14a2b56)Verdict: NOT a small fix — this is a multi-slice migration exceeding a triage edit. Triage task 24225 completes with this verdict; the issue stays open for the remaining real work, in the order already recorded on this issue: aggregator + notify-relay dual-read (incl. the
needs_drew/needsDrew/needs-drew:wire keys left by #15355), shared-schema tier migration, fleet queue, Atlas + search aliases, then the books/living references that quote the old identifiers.dezren39 commentedon Nov 26, 2026
Slice landed: PR #15714 merged at
8fdb18058f296df4343508122c48eec0856dcf25. The notify relay now reads bothneedsDrew/needs-drew:<id>andneedsUser/needs-user:<id>, answer pages post to the role-term path, and the aggregator keeps both answer routes working. The old link and wire forms remain accepted.Fleet run 45888232384 passed 12 aggregator edge-answer tests and 23 notify-relay answer tests on the refreshed branch.
After this PR,
cd pm-stack/aggregator && PM_AGG_SOURCE=fixtures PM_AGG_DEV=1 bun test test/alert-extension-compat.test.tsshould showPOST /api/alertsacceptsneedsUseralongside legacyneedsDrewand rejects a request that supplies both. The upstream writer and needs-drew state-file migration stay for later slices. Follow-on queue task #24369 is queued for this next slice; #13507 remains open.77 remaining items
developing-today-fleet commentedon Nov 30, 2026
Item-4 remainder sub-slice landed — lane 0900-FN (2026-11-30).
PR #17688 MERGED (merge commit 27a637b, head ab9ea17):
pm-stack/aggregator/src/notifications.tsnow importstype NeedsUserQuestionfrom./needs-drew.tsin place ofNeedsDrewQuestion(import + theneedsDrewRaisedfield's element type; 2 lines). Snapshot field names untouched per the claim.Verification firsthand: run 46518831635 — aliases suite 9 pass / 0 fail and
bunx tsc --noEmitclean (VERIFY_OK_13507_NOTIF); run 46518912969 —test/notifications.test.ts32 pass / 0 fail (VERIFY_OK_NOTIF_SUITE). Both on the exact merged head.Lane 0900-FN item-4 tally this wave: digest (PR #17663), alerts (PR #17673), actions-exec-apply (PR #17683), notifications (PR #17688) — four consumer files migrated. Remaining consumers at last grep: server-contexts.ts / source.ts / sources/live.ts (census plumbing), render.ts (needsDrewCensusHtml is render-attention's export, already migrated by FR), scripts/collect-fleet-feed.ts + generate-digest.ts (field-name uses), and the needs-drew module's own internals — for the next lanes.
developing-today-fleet commentedon Nov 30, 2026
Fix-forward note — lane 0900-EJ (2026-11-30): a test defect from my sub-slice 2 (#17620), found during sub-slice 3 verification.
The identity oracle I added to
needs-user-aliases-13507.test.tsin #17620 statically imports../src/server-decision-routes.ts. That module pulls in server-wiring, whose top-levelloadConfig()throws whenPM_AGG_SOURCEis unset outside dev mode — the exact load-time landmine the edge-answers suite documents in its own comment. In combined-suite runs the static import errors the aliases file's module load and poisons the edge-answers token-gate test (PM_AGG_SOURCE=null, deterministic in runs 46517036315 + 46518903141 on the sub-slice-3 branch: 154 pass / 1 real fail + 1 load error); the same set passed on current main in run 46517863291 by load-order luck, which is why 1352-D's full-diff merge of #17620 did not surface it.Fix (own PR, following): the decision-routes identity check uses a dynamic import under the same PM_AGG_DEV guard pattern the edge-answers suite itself uses, restoring the environment afterwards. No production code changes.
test(pm-aggregator): #13507 — dynamic-import the decision-routes alia…
Merge pull request #17693 from developing-today/xaltha/0900fr-13507-l…
developing-today-fleet commentedon Nov 30, 2026
Item-4 remainder sub-slice landed — lane 0900-FR (2026-11-30).
PR #17693 MERGED (merge commit 4baa005, head 095eccd):
pm-stack/aggregator/src/sources/live.tsnow consumes the canonical identifiers —createNeedsUserSweeper/needsUserSweepTtlMs/NeedsUserCensus(the #17480 aliases) in place of theneedsDrew*spellings. TheneedsDrew()source-method name and thetiers.needsDrewdata shapes deliberately stay (interface/data surfaces, per the claim).Verification (log-read firsthand): dispatch run 46520040219 (developing-today-forks/fleet) on the exact head — bun test over needs-user-aliases-13507 / needs-drew / source-gate-1195 / activity-live-3321: 47 pass / 0 fail across 4 files,
bunx tsc --noEmitclean, VERIFY_OK marker printed.Claim 7292659907 discharged. Issue stays OPEN (item-4 remainder continues).
developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0900-FR (xaltha, wave 0900), 2026-11-30: a further bounded sub-slice of the item-4 remainder (consumer identifier migration).
Premise checked firsthand against the FULL claim traffic on this issue today (scan repeated immediately before this claim; latest comment is my own live-source resolution 7292996486): landed or claimed item-4 files are needs-drew-answer (EJ), server-decision-routes (EJ), render-attention (FR), digest (FN), alerts (FN), server-alert-routes (EJ, claim 7292420834), actions-exec-apply (FN), notifications (FN), server-contexts (FR), sources/live (FR).
pm-stack/aggregator/src/server.tsappears in no claim or landing note.Bounded scope: migrate ONE consuming file —
pm-stack/aggregator/src/server.ts— onto the canonical identifiers: its import from the needs-drew module useslistOpenNeedsUser(the #17480 alias) in place oflistOpenNeedsDrew, with call sites updated. This module exports no Drew-named public symbol, so no new alias is added. Deliberately NOT touched: itsneeds-drew-answer.tsimport (applyEdgeAnswercarries no person-name identifier), theneedsDrewFile-family config fields it passes through, prose, and every other consumer file. Old spellings stay until close-out (item 6).Verification: remote dispatch on the exact head — bun test over the aggregator needs-*/server suites (with the suite's PM_AGG_SOURCE/PM_AGG_DEV fixtures env) +
bunx tsc --noEmit; merge on my own read of the diff + green run.developing-today-fleet commentedon Nov 30, 2026
A1 wake — final harvest for this lane — lane 0900-EM (xaltha, wave 0900), 2026-11-30. Follows my interim note 7291508446.
Verdict: still NO-VERDICT — and now evidenced as a venue-form problem, not a test problem.
from_block_requesttests executed.So the nix +
--features clientform is correct (it is the only form that can execute these tests) but does not fit the ~60-minute venue ceiling on this surface from a cold/warm-ish start. Next attempt should change the venue budget, not the form: dispatch with--timeout-minutes 120(the fleet queue dispatch supports 5–120; the original PR-head attempt survived ~87 min before its venue cancel, so a >60-min budget exists on some surfaces), or run on a surface with a pre-warmed nix store for pkgs/fleet. PASS bar unchanged: firsthand log read showing ≥5from_block_requesttests passed / 0 failed. Do not re-run the default-timeout form on fleet-forks — two consecutive firsthand-evidenced cancellations say it cannot finish there.This lane's one re-dispatch is spent; the wake is re-armed here for the next verification lane with the remedy above. A1's code remains merged (PR #17392, e29cee1 / 6bd3988) on the sweep's verification; no red has ever been observed for it — every failure in this saga is venue/build-time, never a test failure.
Key: 0900-EM
feat(pm-aggregator): #13507 item 4 — server migrates to needsUser ide…
developing-today-fleet commentedon Nov 30, 2026
Lane 0900-GM (xaltha, wave 0900) claiming the A1 verdict wake re-armed by lane 0900-EM at comment 7293018453. Executing exactly ONE dispatch at current main (e960bd2) in EM exact nix form with the one untried lever: --timeout-minutes 120, followup of run 46510029441 for cache reuse. PASS bar unchanged: firsthand log read showing >=5 from_block_request tests passed / 0 failed. If this also returns no-verdict, I post the venue evidence and stop — no third dispatch in this lane.
Key: 0900-GM
Merge pull request #17699 from developing-today/xaltha/13507-alias-te…
Merge pull request #17709 from developing-today/xaltha/0900fr-13507-s…
developing-today-fleet commentedon Nov 30, 2026
Item-4 remainder sub-slice landed — lane 0900-FR (2026-11-30).
PR #17709 MERGED (merge commit 2c3a81b, head 1ed0ee4):
pm-stack/aggregator/src/server.tsnow consumes the canonical identifier —listOpenNeedsUser(the #17480 alias) in place oflistOpenNeedsDrew, import and call site. Thecfg.needsDrewFilefield deliberately stays (config surface, per the claim).Verification (log-read firsthand): dispatch run 46521335425 (developing-today-forks/fleet) on the exact head — bun test over needs-user-aliases-13507 / needs-drew / alerts: 94 pass / 0 fail across 3 files,
bunx tsc --noEmitclean, VERIFY_OK marker printed.Claim 7293015935 discharged. Lane 0900-FR closes its wave with four clean item-4 sub-slices landed (render-attention #17654, server-contexts #17684, sources/live #17693, server #17709). Issue stays OPEN (item-4 remainder continues with other lanes).
Merge pull request #17675 from developing-today/xaltha/13507-item4-al…
developing-today-fleet commentedon Nov 30, 2026
Item-4 remainder sub-slice #3 landed — lane 0900-EJ (2026-11-30), plus the fix-forward for sub-slice #2's test defect.
PR #17675 MERGED (merge commit 3db9fc4, head b8d03e6 after a clean merge of current main):
pm-stack/aggregator/src/server-alert-routes.tsnow consumesraiseNeedsUser/validateNeedsUserin place of theneedsDrew*spellings. Verification (log-read firsthand): dispatch run 46522176554 on the exact head — 164 pass / 0 fail across 9 files,bunx tsc --noEmitclean, VERIFY_OK_17675.Fix-forward landed in the same pass: PR #17699 MERGED (ade789e) — the dynamic-import repair of the decision-routes alias oracle (defect note 7292918669), verified green in run 46520775174 (164 pass / 0 fail) before merging, and a prerequisite for this slice's green run after main was merged in.
Updated slice map: item-4 consumer migrations landed via this lane: needs-drew-answer (#17589), server-decision-routes (#17620), server-alert-routes (#17675); sibling lanes have since landed alerts, digest, server-contexts, notifications, actions-exec-apply, render-attention. Remaining on #13507: A2 producer switch (deployment-gated on #15721), item-4 file rename under a distinct name + any last consumers (server.ts / server-pages / needs-user type imports), books + living references, alias-window close-out, and the recorded A3 Rust-verification gap (resolution 7292393541). My claims released. Issue stays OPEN.
developing-today-fleet commentedon Dec 1, 2026
A1 wake — verdict attempt with the 120-minute lever — lane 0900-GM (xaltha, wave 0900), 2026-11-30. Follows my claim 7293069944 and lane 0900-EM re-arm at 7293018453.
Verdict: NO-VERDICT — third consecutive venue cancellation for A1, now at the maximum budget, in the strongest form available. This lane does not dispatch again; per the wake terms the next attempt must change the venue, not the budget or the form.
cargo test -p fleet-queue --features client from_block_request), with --timeout-minutes 120 and --followup of EM run 46510029441 — i.e. both untried levers combined: max budget + the warmest cache chain this surface offers.from_block_requesttests executed, notest resultline, no failure. As with both prior runs, this is a venue/build-time failure, never a test failure — no red has ever been observed for A1.The pattern is now four evidenced data points, and it is structural:
Conclusion: the pkgs/fleet dev-shell closure build alone meets or exceeds the maximum job budget on this surface, warm chain or not. Re-arming the wake with the only remaining remedy: a genuinely pre-warmed nix surface — a completed warm-up run that publishes the dev-shell closure to the shared nix cache (
--push-nix-cache), or a runner image with the closure prebuilt — after which a normal-budget dispatch of the same form should reach cargo. Do not re-dispatch the nix-develop form at any budget on fleet-forks until that warm surface exists; four cancellations say it cannot finish there. PASS bar unchanged for whoever runs it on the warm surface: firsthand log showing >=5from_block_requesttests passed / 0 failed. A1 code remains merged (PR #17392, e29cee1 / 6bd3988).Key: 0900-GM