chore: deslop compiled vocabulary validation - #24
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. Reviewed September 23, 2026, 3:50 AM ET / 07:50 UTC. ClawSweeper reviewWhat this changesThe PR simplifies telemetry name validation to use a private compiled set and updates documentation referring to the retired public dashboard. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: this is a focused, useful cleanup that is not implemented on main. No actionable code defect was found, but the supplied validation does not satisfy the contributor real-behavior proof gate. Priority: P3 Review scores
Verification
How this fits togetherThe telemetry Worker receives update checks with optional feature statistics, filters reported names against a compiled public vocabulary, and writes validated analytics rows before returning the latest version. flowchart TD
A[Update request] --> B[Parse optional feature statistics]
B --> C[Filter names against compiled vocabulary]
D[Reviewed public names] --> C
C --> E[Write analytics row]
E --> F[Return latest version]
Before merge
Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep one encapsulated compiled vocabulary while preserving accepted names, independent result arrays and the existing analytics format. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR removes obsolete implementation scaffolding rather than reporting broken existing behavior. Is this the best way to solve the issue? Yes: direct filtering against an unexposed compiled set is a narrow simplification, and all repository callers are updated without changing the vocabulary or storage contract. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning medium; reviewed against d57a65267837. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
The ingestion allowlist is compiled into the Worker, but its caller still used an asynchronous catalog loader and an unavailable-catalog fallback. Use one module-private set and filter directly, removing the obsolete loader without changing admitted names, canonicalization, sorting, or stored columns. Callers only receive fresh result arrays.
Update comments, package metadata, and vocabulary documentation that still described the retired public dashboard and seven-day stats window. Historical export formats remain supported.
Validation: on a remote Linux runner with Node 24.18.1,
npm ci && npm run check && npx wrangler deploy --dry-runpassed: vocabulary consistency, TypeScript, all 406 tests in 12 files, and the Worker bundle. Tests retain private-name rejection, canonicalization, caller-result isolation, and workerd HTTP coverage. Independent Codex review found no actionable P0–P2 findings. Production source shrinks; no collection or endpoint behavior changes.