Move SystemModel::Extractor constant definitions onto CodeShape #1731
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#1731
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
SystemModel::Extractorkeeps its own definition table and misses 328 internal names that exist inlib, so the system model drops collaborator edges (#1718). Blocked by #1729.Observed
The resolver comparison of 2026-11-12 (
/home/jared/dev/house-explore-replay/pilot10/constant-names-2026-11-12/resolvers/report.txt) shows the extractor walk (P1a) with 1,201 names against 1,823; most misses are constants assigned with plain=. The extractor keeps only the first file of a reopened class. It parseslib/**/*.rbfour times in one run:extractor.rb:57,extractor.rb:69,base_namespaces.rb:13, andCopOffenses.Reproduce
n/a: design finding; the comparison script is outside the repository.
Approach
Not decided; the takedown designs it. Ruling 142 (predicted, 74): collaborator edges may change where the present rule is wrong; element ids stay byte-identical (ADR-0300); record the before and after edge diff on os-sdlc and show it to Jared.
Required work: none beyond the acceptance criteria.
Origin
docs/decisions/rulings.tsv, 2026-11-12) after takedown rundocs/takedown/1718-20261112-160038/failed green-suite; parent #1718docs/system-design-format/README.md:242)plugins/os-sdlc/lib/os_sdlc/system_model/extractor/(walk.rb,fact_scan.rb,class_visitor.rb,resolver.rb)VERDICT: CREATE
REASON: Jared ruled the split of #1718 (ruling 146); the backlog search found no open ticket with the same mechanism.
Also blocked by #1741 (CodeShape::Definitions). #1729 builds only CodeShape::LexicalScope.