Rename WorkOrder#map_path to map_name end to end #900
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#900
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Dispatch::WorkOrder#map_pathholds a map name, not a path. The user ruled on 2026-10-02 thatMap#namecomes from the file basename and that the database stores only the name. Themap_pathfield, theArgsHolder#map_path!parser method, and theWorkOrder.new(... map_path: ...)call sites carry that name from the implementation-open CLI intoImplementation.create. The namemap_pathnow misleads readers. #895 renames the database column tomap_name; this ticket renames the work-order side to match.Reproduce
n/a: naming change, nothing to reproduce.
Approach
Rename the field and its readers in one change.
fixture_map_pathinplugins/os-sdlc/tests/support/tmpdir_test_case.rbstays as it is: it holds a real path.Required work:
Dispatch::WorkOrderfieldmap_pathtomap_name— check: absentmap_pathinplugins/os-sdlc/lib/os_sdlc/model/dispatch/work_order.rbArgsHolder#map_path!tomap_name!and its use — check: absentmap_pathinplugins/os-sdlc/lib/os_sdlc/parser/dispatch_commands/args_holder.rbcommand/implementation/open.rbline 18 to read@work_order.map_name— check: absentmap_pathinplugins/os-sdlc/lib/os_sdlc/command/implementation/open.rbImplementation.createto readwork_order.map_name— check: absentmap_pathinplugins/os-sdlc/lib/**/*.rbWorkOrder.new(... map_path: ...)call in the tests — check: absentmap_path:inplugins/os-sdlc/tests/**/*.rbAcceptance criteria
Dispatch::WorkOrder.new(session_id: "s", ticket: 1, map_name: "toy"), when it is built, thenmap_namereturns "toy" andmap_pathis not defined.implementation-openCLI with a map name argument, when it runs, then the new implementation row stores that name inmap_name.map_path, then the only match isfixture_map_pathintests/support/tmpdir_test_case.rb.Owner sketch
Origin
Parent: #859
Blocked by: #895
VERDICT: CREATE (user-directed 2026-10-02)
Work started on branch ticket-900 through /os-sdlc:implement (poodr-ticket-implementation, target os-sdlc).
Resolution
Done: Dispatch::WorkOrder#map_path renamed to map_name in the implementation-open parser (args_holder.rb), Command::Implementation::Open and Implementation.open; test call sites updated; new WorkOrder test.
Evidence: Branch ticket-900:
3e484ecb(Runner commit, implementation 7, 12 dispatches, 13 min 49 s, no dirty paths, no LENS lines). Full os-sdlc suite on the clean tree: 1427 runs, 0 failures, 0 errors. grep: no map_path left in lib/, bin/, agents/, skills/; the remaining test hits are the fixture_map_path helper and the schema-30 test that refutes the column.Follow-ups: none