Skip to content

feat(rate): persist capability optimizer requests in workspaces - #4348

Draft
d-sorgcodexagent[bot] wants to merge 4 commits into
feat/4144-workspace-variation-studyfrom
feat/4197-workspace-capability-request
Draft

feat(rate): persist capability optimizer requests in workspaces#4348
d-sorgcodexagent[bot] wants to merge 4 commits into
feat/4144-workspace-variation-studyfrom
feat/4197-workspace-capability-request

Conversation

@d-sorgcodexagent

Copy link
Copy Markdown
Contributor

Summary

  • persist the existing capability-optimization request contract in explorer-session v5 workspaces
  • retain the full validated request as application authority while overlaying only fields represented by PyQt6 and React controls
  • reject unsupported interactive bases, alternate units, covariance matrices, and reordered parameters before UI or File/Open mutation
  • invalidate stale optimizer results after workspace replacement and gate native worker publication by identity and generation

Stack

Verification

  • 71 focused Python workflow, workspace, File/Open, PyQt6, and manifest tests
  • 70 focused React contract, workspace, File/Open, and UI tests
  • Ruff check/format and pinned MyPy 1.13
  • TypeScript type-check, zero-warning ESLint, and Vite production build (211 modules)
  • campaign-manifest, docs-governance, module-size, changed-file, and diff gates
  • independent exact-head review: PUBLISH

Deliberate limitations

  • workspace persistence covers reproducible request inputs, not results, observations, progress, workers, or cancellation handles
  • optimizer execution parity, wind-aware optimization inputs, UpstreamDrift parity, protected CI/review, integration, and release remain open
  • legacy v1-v4 workspaces require an explicit current capability fallback; the application does not fabricate one

Closes no issue.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ SPEC.md Update Required

Source files were modified in this PR but SPEC.md was not updated.

Per the Specification-Driven Development Policy:

  • Any PR that adds, removes, or changes functionality must update SPEC.md
  • Update the relevant sections (features, architecture, tests, dependencies, etc.)
  • Bump the Spec Version if making substantive changes

To resolve:

  1. Update SPEC.md to reflect your changes, OR
  2. Add the spec-exempt label if this PR genuinely doesn't affect the spec (e.g., pure refactor with no behavior change)

This check is enforced by the spec-check CI workflow.

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