Skip to content

feat(dashboard): isolate read-only reviewer HTTP entrypoint - #101

Merged
Robinlee0929 merged 3 commits into
mainfrom
codex/reviewer-http-isolation-v2-20261120
Nov 25, 2026
Merged

Robinlee0929 merged 3 commits into
mainfrom
codex/reviewer-http-isolation-v2-20261120

Conversation

@Robinlee0929

Copy link
Copy Markdown
Owner

Summary

  • Canonical python dashboard_app.py now uses create_reviewer_app(), which has no HTTP command execution route.
  • Legacy create_app() preserves the existing fixed-command registry and POST route for compatibility.
  • Both factories share the existing GET handlers; the dashboard was not rebuilt.
  • The PR feat(dashboard): simplify Stage-0 interview presentation #100 graphical homepage and existing evidence presentation remain unchanged.
  • Changes are limited to dashboard_app.py, tests/test_dashboard_app.py, tests/test_phase_2n_02_canonical_flask_demo_smoke.py, and README.md.

Safety

  • Reviewer does not register POST /commands/<command_id>/run; requests for valid command IDs are rejected too.
  • Factory selection is fixed when the app is created and cannot be switched by an HTTP request.
  • Negative tests guard runner, subprocess, execution-log, and report-write boundaries.
  • No Live Device, SSH, NETCONF, RESTCONF, Provider, or arbitrary-command capability is added.
  • Stage 2 remains CLOSED. This PR grants no new Live execution authority.

Validation

Previously completed local validation for this commit chain; these tests were not rerun during publication:

  • Full pytest: 4893 PASS.
  • Targeted: 32 PASS.
  • Regression: 76 PASS.
  • Report-index: ACCEPTABLE WARN, 13 optional reports missing, 0 failures.
  • Canonical localhost HTTP and desktop/narrow-screen browser validation: PASS during the implementation validation.
  • Fresh independent review of the complete three-commit chain: PASS, with no blocking findings.
  • Both P2 findings are RESOLVED: POST attempts and responses are recorded separately from command execution; incomplete lifecycle observations remain NOT_VERIFIED, preserving the original failure.

Reviewed commit chain:

  • Base: 4063c8832521cac061de549dea159cfbb51334ba
  • Implementation: 12ff42921d018a49d2ba084677891bfe35a8fcbd
  • POST evidence correction: e81ebe9589d3a608f6247b12d5ee8fdbdf3ebd44
  • Early-failure evidence correction / HEAD: 41c12b4164634d18bf0d753530a234a4fa85e76e

GitHub Safe CI is separate from the retained local evidence; no CI PASS is claimed here before its result is available.

Known Limitations

  • 13 Optional Reports Missing remain; report completeness is not claimed.
  • Command/runner/subprocess invocation counts inside the actual Flask child process were not independently measured. HTTP 404 alone does not prove all execution side effects are zero.
  • Child-process evidence uses immediate-child snapshots and captured-PID exit checks; it is not continuous monitoring of all processes or descendants.
  • External receipt consumer compatibility is NOT_VERIFIED.
  • Legacy Factory retains its existing local fixed-command execution capability; the repository still has CLI and legacy execution functionality.

@Robinlee0929
Robinlee0929 merged commit 4b3f139 into main Nov 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant