Skip to content

spike(ui): audit SECTION_META entries for schema orphans #2526

@alexey-pelykh

Description

@alexey-pelykh

Summary

Type: SPIKE — knowledge acquisition, not production code.

ui/src/ui/views/config-form.render.ts:213-244 defines SECTION_META with 24 entries. The config form is data-driven: each entry renders only when the backend config schema emits a matching section key. Several entries are suspected schema orphans (no backend section) from gutted subsystems.

Suspected orphan candidates

  • plugins (F4 already tracks removal, blocked on this audit)
  • talk — "Voice and speech settings" — any voice subsystem in current RemoteClaw?
  • broadcast — "Broadcast and notification settings" — any broadcast subsystem?
  • audio — "Audio input/output settings" — any audio subsystem?
  • discovery — "Service discovery and networking" — any discovery subsystem?
  • models — "AI model configurations and providers" — gutted per gut(session): remove vestigial model fallback system #2130, Dead LLM provider code + zero-caller stubs cleanup #2363 (LLM provider code gutted)

Approach

  1. Dump the runtime config schema — use existing schema inspection tool or add a short test that serializes the schema
  2. For each SECTION_META key, cross-reference against emitted section keys
  3. Classify each:
    • LIVE: schema emits; keep entry
    • ORPHAN: schema does not emit; candidate for SECTION_META removal
    • UNCLEAR: needs further investigation (e.g., conditionally emitted based on feature flag)

Deliverable

A classified inventory (markdown table in a project doc or PR description). For each ORPHAN, open a follow-up cleanup issue or consolidate into one sweep PR.

AC

  • Classified inventory produced (table of all 24 SECTION_META keys with LIVE / ORPHAN / UNCLEAR classification and evidence)
  • Follow-up issue(s) opened for each confirmed ORPHAN (or consolidated into one)
  • F4 unblocked (plugins orphan status resolved)

Typed exception

SPIKE — AC above is the investigation outcome, not mechanical verification. Follow-up fix items will have standard AC.

Context

Discovered during the post-#2336 UI remnants audit. The plugins entry (finding F4) is the first concrete orphan; the remaining five are suspected by pattern-matching to gutted subsystems and need confirmation.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions