Skip to content

feat(rate): add shared Morris UI contract - #4399

Draft
d-sorgcodexagent[bot] wants to merge 1 commit into
codex/4142-morris-authority-hostfrom
codex/4142-morris-ui-contract
Draft

feat(rate): add shared Morris UI contract#4399
d-sorgcodexagent[bot] wants to merge 1 commit into
codex/4142-morris-authority-hostfrom
codex/4142-morris-ui-contract

Conversation

@d-sorgcodexagent

Copy link
Copy Markdown
Contributor

Summary

  • add the UI-neutral Morris request, capability/job/report, and presentation seam shared by Python and TypeScript
  • enforce canonical tee-aware factor ordering, full authority base/resource validation, exact scientific response invariants, and deterministic target-local ranking
  • harden direct IPv4-loopback Python and same-origin browser transports with strict statuses, redirect refusal, bounded bodies, UTF-8/JSON validation, stable IDs, and sanitized errors
  • keep base/GUI imports functional without SciPy, FastAPI, or Uvicorn through lazy package exports
  • pin one Python-verified cross-runtime request/job/presentation fixture

Verification

  • 68 exact-SHA Python authority/UI/transport/runtime review tests passed
  • 118 focused TypeScript Morris tests passed
  • TypeScript type-check, ESLint, and Vite production build passed
  • Ruff check/format and git diff-check passed
  • optional-dependency import subprocess passed with SciPy/FastAPI/Uvicorn blocked
  • independent adversarial review: GO on 71c771fb73143f1839449d1cf5a1f5472a55f098

Stack and scope

All four canonical handoff/SPEC documents are updated in the implementation commit.

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