Make the REPO role see network stores and stop counting input reads as storage #1584
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#1584
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
The Repository role in the catalog cannot see a store that uses the network, and it counts every file read as storage.
ClassFacts#storage?is true only forFile,Dir, andFileUtilscalls.ForgejoBackenddoes the real ticket storage, but it fits Client. 13 os-backlog classes fit Repository, includingCliOptionsandJsonFile. The single R2 offense inos-backlog issue-editis an input read:File.read(options[:body_file])atplugins/os-backlog/lib/backlog/cli/issue_commands.rb:23. That one line changes 11 grid cells. A reader cannot judge the REPO column of the grid.Observed
The gauge gives
os-backlog issue-edita REPO distance of 1 / 19 = 0.053, band candidate. No class in its Repository role touches ticket data, and noTicketclass exists. Evidence:docs/system-design-format/proof/2026-11-06-repository-pattern-page.html.Reproduce
Origin
ForgejoBackendfits Client and input reads count as R2 ←storage?means file calls only (plugins/os-sdlc/lib/os_sdlc/system_model/class_facts.rb:42). End:DESIGN(plugins/os-sdlc/lib/os_sdlc/system_model/catalog/repository.rb).plugins/os-sdlc/lib/os_sdlc/system_model/catalog/repository.rbVERDICT: CREATE