registry-language-server does not index BReg or Casework projects
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- developer-experience, tooling
Research direction
Start with ProjectFamily and the existing Relay V2 and Evidence indexing paths, then trace how IndexedSymbol, IndexedLocation, and IndexedDiagnostic are produced. Compare registry.yaml and casework.yaml handling with the bregctl check and caseworkctl check entry points. Done means BReg and Casework expose the requested symbols, ranged diagnostics, and a shared mapping suitable for explain locations.
Written by the indexing model from the issue text.
Description
Problem
registry-language-server indexes Relay V2 and Evidence projects. ProjectFamily has no BReg variant, so editing registry.yaml or casework.yaml gets no symbol index, no go-to-definition, no diagnostics with ranges.
This also means the only component in the tree that already knows how to map a construct to an IndexedLocation does not know about the two configuration formats people edit most.
Request
Add BReg (and Casework) as project families in the language server, producing IndexedSymbol entries for entities, fields, constraints, operations, actions, change-request types, hooks, and access profiles, with IndexedLocation ranges, and surfacing bregctl check / caseworkctl check findings as IndexedDiagnostic with ranges.
Relationship to source provenance
This overlaps with the request for source provenance in explain output. They can be solved together: whatever resolves a structural path to a file range for the language server can back a bregctl explain locations map, and vice versa. Solving either one first is fine; solving them with two independent implementations of the same mapping is the outcome to avoid.
Size
Larger than the other tooling requests and worth a separate decision on whether the editor experience for registry and casework configuration is something we want to own now.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 3h 45m
- Merged PRs (30d)
- 134
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from registrystack/registry-stack
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
registrystack/registry-stack#1239 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
registrystack/registry-stack#1235 ·
-
area:breg bug good first issue rust
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
registrystack/registry-stack#1227 ·
-
area:casework documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
registrystack/registry-stack#1217 ·
-
area:breg documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
registrystack/registry-stack#1213 ·
All issues in registrystack/registry-stack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100