Core Architecture & Invariant CI / validate (push) Successful in 16s
Reconcile repository documentation with the merged M2 capture implementation (#12 / PR #15, merge commitc7e2618) and its review remediation (61d2315, CR-01..CR-11). Resolves the CR-10 follow-up. - README.md: flip status banner, component table, capture channel, M2 milestone row, requirements, and doc index from "planned" to implemented; scope the remaining M2 work to #13. - ARCHITECTURE.md: extend scope to M1 + M2 capture; replace the dashed "None in M1" FrameCapturer seam with the real TvManager -> CaptureClient -> AsyncSshCaptureTransport edge; add a capture component row, correct data-flow step 3, document the Developer Mode SSH/SFTP device boundary and known_hosts policy, and record the 6.0s + 1.5s capture budget as a constraint. - ROADMAP.md: update Current Direction; reduce Near Term to #13 and #17; add a "M2: Capture & E2E Hardening (partial)" Completed section covering #11 (PR #14) and #12 (PR #15). - docs/designs/lg-smtv-mcp.md: drop all five planned markers; correct the sweep_temp_files signature to include `exclude`; fix the returnValue contract to "exactly True" -> otherwise SCREENSHOT_UNAVAILABLE (was: false -> COMMAND_FAILED); document the in-flight capture sweep exclusion; restructure the M2 plan into "Completed Milestone M2 Slices" so only #13 remains active; add a Last reconciled line. - docs/adr/0003: status -> implemented in M2 #12 / PR #15. - docs/adr/0004: status -> implemented, plus a dated Amendment (2026-11-16) recording CR-01's in-flight sweep exclusion and its rationale (the transport connects lazily after the capture request, so an unconditional sweep would delete the frame about to be read).
27 lines
2.4 KiB
Markdown
27 lines
2.4 KiB
Markdown
# Roadmap
|
|
|
|
## Current Direction
|
|
|
|
`lg-smtv-mcp` has completed its M1 MVP control plane (persistent SSAP, pointer input, WoL recovery, FastMCP tools, Bearer auth, `pair`/`serve` CLI, and full-stack offline E2E verification) and the M2 capture and E2E-hardening slices. Remaining M2 work is deployment packaging and its `systemd` hardening follow-up.
|
|
|
|
## Near Term (Milestone M2)
|
|
|
|
- **Systemd Unit & Deployment Docs ([#13](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/issues/13)):** Add `deploy/lg-smtv-mcp.service` template and document systemd + Developer Mode SSH setup in `README.md`.
|
|
- **Systemd Unit Sandboxing Hardening ([#17](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/issues/17)):** Follow-up to `#13`, tightening the unit's sandboxing directives once the baseline deployment template lands.
|
|
|
|
## Medium Term
|
|
|
|
- **Live-TV Operator Smoke Verification:** Execute the manual LAN smoke checklist in [`README.md`](README.md#operator-live-tv-e2e-smoke-test-checklist) and Developer Mode capture verification against the target `WebOS/4.1.0` TV.
|
|
|
|
## Completed
|
|
|
|
### M2: Capture & E2E Hardening (partial, 2026-11-16)
|
|
- **#11 (PR [#14](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/pulls/14)):** E2E harness hardening in [`tests/test_e2e_mvp.py`](tests/test_e2e_mvp.py) — fast-fail ASGI lifespan startup, `elapsed_ms` contract check, and post-`turn_off()` `1008` -> `get_state` stale parity.
|
|
- **#12 (PR [#15](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/pulls/15)):** `tv_core/capture.py` (`CaptureClient` + `AsyncSshCaptureTransport`), default `server.py` wiring, and offline capture contract tests; review remediation CR-01..CR-11 landed in `61d2315`.
|
|
|
|
### M1: MVP Core & End-to-End Verification (Completed 2026-11-16)
|
|
- **#1 (PR [#6](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/pulls/6)):** Nix flake packaging, `pyproject.toml`, Pydantic v2 `TvConfig`, and `ConfigError` / `TvError` taxonomy.
|
|
- **#2 (PR [#7](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/pulls/7)):** `tv_core` (`SsapClient` multiplexer, `PointerClient`, `TvManager` state machine, `FrameCapturer` seam).
|
|
- **#3 (PR [#9](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/pulls/9)):** `MCPServer` tools, `BearerAuthMiddleware` + `TransportSecuritySettings`, ASGI `lifespan`, and `pair` / `serve` CLI.
|
|
- **#4 (PR [#10](https://gitea.roadtotech.me/kiskaadee/lg-smtv-mcp/pulls/10)):** Full-stack offline MVP E2E test (`tests/test_e2e_mvp.py`) and live-TV operator smoke checklist (`README.md`).
|