Files
lg-smtv-mcp/docs/adr/0005-opt-in-raw-ssap-tool-gating.md
T
kiskaadee 1ab5246fbf
Core Architecture & Invariant CI / validate (push) Successful in 15s
docs: reconcile M1 architecture, roadmap, ADRs, and design spec
- Add ARCHITECTURE.md documenting canonical present-state M1 topology, components, boundaries, and ADR index
- Add ROADMAP.md recording M1 (#1-#4) completion and M2 (#5, #11) trajectory
- Extract Alternatives A-E from docs/designs/lg-smtv-mcp.md into docs/adr/0001-0005 MADR records
- Update README.md milestone status (#1-#4 merged on main, #5/#11 in M2) and Documentation links
- Reconcile docs/designs/lg-smtv-mcp.md module statuses, FrameCapturer seam, and KeysResult/TextResult.image_bytes
2026-11-16 13:52:16 -05:00

22 lines
1.1 KiB
Markdown

# ADR-0005: Opt-In Raw SSAP Tool Gating
- Status: Accepted
- Date: 2026-11-15
- Deciders: kiskaadee
## Context and Problem Statement
Exposing an unrestricted SSAP pass-through tool allows calling arbitrary TV URIs, which expands the MCP tool schema and can bypass safety guardrails such as `MAX_VOLUME` and explicit `turn_off`.
## Decision Outcome
Chosen option: "Omit `raw_ssap` by default and register it only when `ENABLE_RAW_SSAP=true` is explicitly configured", because closed-set decision models stay within safe, bounded tools in normal operation while operators retain an escape hatch for debugging.
## Consequences
- Positive: Preserves `MAX_VOLUME` and input/power guardrails by default and keeps the MCP tool schema compact.
- Negative: Ad-hoc SSAP experiments require restarting the server with `ENABLE_RAW_SSAP=true`.
## Alternatives Considered
- Unconditional `raw_ssap` tool: Rejected because it weakens guardrails and enlarges the tool surface for decision-model callers.
## Related Decisions
- Documented in [docs/designs/lg-smtv-mcp.md](../designs/lg-smtv-mcp.md) (Alternative E).