Move lsp-probe batch under LspSession and Daemon roots per roles-lsp-probe.md #784
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#784
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
LSP-probe files sit in role directories with no concept root or with single-caller top-level objects.
The role table in roles-lsp-probe.md names the moves to consolidate LSP probe concepts under LspSession and Daemon roots.
Reproduce
n/a: structure-only refactor from a role-morph table.
Approach
Apply the move map in roles-lsp-probe.md with git mv; rename constants; update every caller in lib/, bin/, hooks/, agents/, skills/; move tests to mirror the new paths; update lib/os_sdlc.rb inflections and lint/inward_dependencies.rb tables as needed. Rulings adopted: the concept root the table calls OpenSession is named LspSession (a noun); Handshake, Transport, Framing, Poll, Document, LocationRequest, DefinitionRequest, ReferencesRequest, OutlineRequest, SymbolsRequest, AstDefinition, Readiness, Target nest under LspSession; Reply stays top-level; Resolver::TokenQuery and TokenResolution move to model/resolver/; ProcmanKind nests under Daemon; SourceSnippet under Gate; SharedRunner becomes Evidence::LspRunner; OutlineRenderer becomes LspProbe::Listing. Decide by the lens heuristics (skills/lens-architecture, lens-tactics, lens-principles); where an Accepted ADR conflicts with a lens rule, follow the lens and record the deviation in docs/crc/os-sdlc/deviations.md.
Required work:
Acceptance criteria
Owner sketch
Non-goals
No behavior change. No new tests. Dead-code deletion is ticket A.
Origin
10 commits (edb2f592..965cf480): LspSession namespace (Handshake/Transport/Framing/Poll/Document/LocationRequest/DefinitionRequest/ReferencesRequest/OutlineRequest/SymbolsRequest/AstDefinition/Readiness/Target), Resolver::TokenQuery+TokenResolution out of adapter/, Daemon::ProcmanKind, Gate::SourceSnippet, Evidence::LspRunner, LspProbe::Listing; two fixup commits corrected a stale multi-path
git addthat left three files' constant rewrites uncommitted, caught by re-diffing HEAD content.Rows applied 17 of 17 move-map rows (plus the two clarification additions, Readiness and Target, folded under LspSession) — 0 rows deviated/skipped from the move map itself.
Suite: 1300 runs, 2851 assertions, 0 failures, 0 errors, 10 skips. Inward-lint: 63 (baseline 64, net improvement). deviations.md gained one entry explaining the inward-lint count delta (mechanical LspSession self-reference lines matching the existing Resolver precedent, plus one previously-masked adapter/project/yaml.rb->parser crossing that the LspSession move's removal of a Document name collision now correctly surfaces) — no move-map row was skipped.
Resolution
Done: lsp-probe batch: LspSession root (was OpenSession) with 13 nested files, Resolver token objects to model/, Daemon::ProcmanKind, Gate::SourceSnippet, Evidence::LspRunner, LspProbe::Listing; 17 of 17 rows; Reply stays top-level.
Evidence: Commits edb2f592..965cf480 on crc-pass-os-sdlc; suite 1300 runs 0 failures; inward lint 64 -> 63.
Follow-ups: Server vs Daemon::Server name collision and Daemon::Client/Session kind splits are recorded in roles-lsp-probe.md follow-ups; not ticketed, dropped as no defect today.