Repository navigation
v0.2.1 — React component orchestration density
Coach v0.2.1 — React component orchestration density
Patch release on the v0.2 local-pilot line. Headline: a new deterministic CodeSignal rule that names multi-responsibility React client components so pilots can extract panels/hooks before review.
Also includes local-LLM judgment packing improvements, Compose .env config, and a Tree-sitter backend bump.
What's new
structure.react_component_orchestration_density
Flags React client components (TS/TSX) that quietly become orchestration controllers: several independent UI state domains, coordinated multi-setter transitions, mutually exclusive workspace/panel branches, plus at least one of a strong transition shape, imperative DOM UI, or shared panel deps.
| Confidence | high only when the multi-indicator rule fires; otherwise silent |
| Severity | medium (refactor opportunity, not a defect) |
| Surfaces | coach codesignal and baseline-scan reports |
| Boundary | Raw facts in pkg/semantics (react_components); domain classification + emission in pkg/codesignal |
Evidence example:
domains=3;states=3;transitions=1;branches=3;imperative=2;shared=2;client=use_client_directive
Epic: #139 · PR: #150 (tasks #141–#146)
Out of scope (by design): class components, cross-file resolution, HOC unwrap beyond one-level memo/forwardRef, useReducer/external stores, custom-hook inlining, medium-confidence emissions, switch/&& branch forms.
Platform (local pilot)
- Local-LLM judgment packing — packing, caps, and partial agent-finding persist when the model path is constrained (#140)
- Local config —
.env+ bakedsecrets/mount for Compose (#147)
Dependencies
Try it
CLI (no Docker):
coach codesignal --baseline
# or against a base ref:
coach codesignal --base mainLook for structure.react_component_orchestration_density on React client components that coordinate multiple UI domains and workspace panels.
Local platform (unchanged from v0.2.0):
git clone https://github.com/lousy-agents/coach.git && cd coach
git checkout v0.2.1
mise install
mise run platform-up
mise run platform-smoke # expect: platform-smoke: okLimits (same as v0.2.0)
- Local / lab only — do not expose
:8080publicly - No writes to GitHub — no PR comments, checks, or status updates
- Languages: Go, TypeScript, TSX only
- Not in this release: hosted/AWS deploy,
pr_history_scan, web UI, harness hooks
Binaries
coach for darwin_arm64, darwin_x86_64, linux_x86_64, windows_x86_64, plus signed checksums.txt (cosign).
Related
| Area | Issue / PR |
|---|---|
| React orchestration density (epic) | #139 / #150 |
| Local-LLM judgment packing | #140 |
Local .env / secrets mount |
#147 |
| gotreesitter upgrade | #59 / #149 |
| Prior: local pilot platform | v0.2.0 |