Rename Map::Catalog to MapCatalog #896
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#896
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
OsSdlc::Map::Catalog(adapter/map/catalog.rb) shares theMapnamespace with the model in a different role, and more catalogs may come. ADR-0261 decision 4 renames it toOsSdlc::MapCatalogatadapter/map_catalog.rb(ADR-0222: one concept-named constant per file; two objects in different roles cannot share a name).Reproduce
n/a: mechanical rename, no behavior change.
Approach
git mv plugins/os-sdlc/lib/os_sdlc/adapter/map/catalog.rb plugins/os-sdlc/lib/os_sdlc/adapter/map_catalog.rb; defineOsSdlc::MapCatalog(not nested inMap). KeepPLUGIN_MAPS_DIR,CATALOG_KEY,default,default=,dir,path_for,load.Map::Catalogoutside docs/adr (docs/adr stay as written).Run after #895 lands; no behavior change.
Required work:
class MapCataloginplugins/os-sdlc/lib/os_sdlc/adapter/map_catalog.rbMap::Cataloginplugins/os-sdlc/lib/os_sdlc/**/*.rbMap::Cataloginplugins/os-sdlc/tests/**/*.rbAcceptance criteria
Map::Catalogis searched in plugins/os-sdlc lib and tests, then there is no match.OsSdlc::MapCatalog.new(dir).load("x"), whendir/x.yamlexists, then it returns the map as before.Owner sketch
Origin
Parent: #859
Blocked by: #895
jared referenced this issue2026-10-02 12:44:36 +00:00
jared referenced this issue2026-10-02 12:45:06 +00:00
Resolution
Done: Not done: user ruled 2026-10-02 to keep Map::Catalog
Evidence: ADR-0262 (
e67674ce) amends ADR-0261 decision 4Follow-ups: none