Skip to content

feat(rate): host private Morris authority - #4398

Draft
d-sorgcodexagent[bot] wants to merge 1 commit into
codex/4142-morris-authority-bridgefrom
codex/4142-morris-authority-host
Draft

feat(rate): host private Morris authority#4398
d-sorgcodexagent[bot] wants to merge 1 commit into
codex/4142-morris-authority-bridgefrom
codex/4142-morris-authority-host

Conversation

@d-sorgcodexagent

Copy link
Copy Markdown
Contributor

Summary

  • host the existing Morris job router behind an authenticated, loopback-only FastAPI authority
  • launch it on a child-owned ephemeral IPv4 socket and inject a server-only same-origin Vite proxy
  • guarantee bounded graceful shutdown, exact registry ownership, cleanup under Ctrl-C/setup failures, and sanitized no-store API errors
  • keep static builds inspect-only and preserve the optional FastAPI/Uvicorn dependency boundary

Stack

Validation

  • 62 focused Python authority/lifecycle/shared-launcher tests
  • real child process: authenticated readiness, graceful return code 0, closed pipe
  • adversarial cleanup tests preserve original Ctrl-C/setup exceptions while attempting all cleanup once
  • 20 focused TypeScript proxy/client tests
  • Ruff format/check, scoped MyPy, TS type-check, zero-warning ESLint
  • Vite production build and private-token bundle scan
  • detect-secrets, optional-import boundary, dependency lock, minimum-test, diff, ancestry, and 500-LOC gates
  • independent exact-commit review: GO

Deliberate boundaries

  • no PyQt or React Morris presentation/polling controls in this PR
  • no persistence/export implementation in this PR
  • no static/deployed Python authority; the static bundle remains inspect-only without the local companion
  • no UpstreamDrift consumer or epic-completion claim

Refs #4142

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.

0 participants