Skip to content

Fix: Enforce worker execution limits and preserve research lifecycle evidence - #13

Merged
jtaroreh merged 11 commits into
mainfrom
fix/cloud-worker-research-lifecycle
Oct 29, 2026
Merged

jtaroreh merged 11 commits into
mainfrom
fix/cloud-worker-research-lifecycle

Conversation

@jtaroreh

@jtaroreh jtaroreh commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Fix cloud workers reporting success before verification or artifact delivery succeeds. Verification runs even without source changes, provider requests and shell commands have finite budgets, and failed work retains diagnostics and safe evidence.

Limits come from task manifests or explicit environment variables, then defaults. The extra CLI and runtime-JSON limit configuration has been removed. Artifact uploads share path and credential checks, reject unsafe patch destinations before writing, and publish final status after delivery attempts. Harvesting requires the exact session and complete task coverage.

Regression tests cover provider exhaustion, descendant-process cleanup, no-change verification, credential rejection, upload failure, nested byte-preserving transport, and harvest quarantine. Repeated canary cases and scientific package fixtures are outside this worker repair. The generated-package tests are preserved on a separate branch.

Validation: 389 passed, 3 skipped, and 153 subtests passed. The final exit-code assertion passed all eight finalization cases; independent fix review passed 86 tests and direct validation probes. Ruff and git diff --check passed. Deployment and live canary validation remain separate work.

@jtaroreh
jtaroreh merged commit 65fffd7 into main Oct 29, 2026
2 checks 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