Skip to content

feat: expose assigned single-trial execution - #1877

Merged
Brad-Edwards merged 7 commits into
devfrom
1870-assigned-trial-execution
Nov 3, 2026
Merged

Brad-Edwards merged 7 commits into
devfrom
1870-assigned-trial-execution

Conversation

@Brad-Edwards

@Brad-Edwards Brad-Edwards commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Allow an external coordinator to assign existing admitted entries to separate execution owners and ingest verified outcomes into the original experiment. Preserve hydration, attempt identity, capacity, cancellation, retry and replacement policy, and evidence validation in the existing runtime.

Requirement UIDs

  • (none: the issue carries the requirement)

Related Issues

Closes #1870

ADR Impact

  • No ADR required

Changes

  • Add selected-entry binding, assignment control, and checked outcome ingestion through the public runtime composition.
  • Retain assignment ownership and capacity atomically in existing memory, SQLite, and PostgreSQL decision stores.
  • Publish closed assignment, control, and outcome contracts with schema fixtures, API documentation, and wheel/sdist consumer coverage.
  • Recover completed assignments after host restart and preserve unresolved operation facts; reconcile concurrent duplicate delivery through one attached binding.

Test Plan

  • Unit tests pass
  • Integration tests pass if applicable
  • Full completion suite required in CI before merge
  • No coverage regression

Passed 49 focused assignment, policy, evidence, recovery and portable-contract tests, plus 4 native cancellation, retry and snapshot regressions. Documentation checks passed (17; two host-dependent fragments skipped), along with schema publication, generator parity, style, and structural checks. Capacity, ownership, and native-evidence mutations were detected. CI runs full suites and installed wheel/sdist acceptance. All current-head CI suites, coverage checks and installed wheel/sdist lanes passed. Sonar quality gate OK; zero open issues and hotspots.

Ground Control Checks

  • Repository policy checks required in CI before merge
  • Pre-push Codex review completed; all findings fixed or dispositioned

Traceability

Checklist

  • Code follows the project's coding standards
  • Changelog: owned by Release Please (generated from the Conventional Commit PR title; no per-PR fragment)
  • Architectural docs updated if stack, package structure, or key behaviors changed

Documentation

Updated: see diff.

@Brad-Edwards

Copy link
Copy Markdown
Collaborator Author

Ground Control delivery — this pull request delivers issue #1870; Phase E runs on merge.

@Brad-Edwards
Brad-Edwards merged commit d03fd62 into dev Nov 3, 2026
41 checks passed
@Brad-Edwards
Brad-Edwards deleted the 1870-assigned-trial-execution branch November 3, 2026 05:18
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