You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enforce canonical outcomes and retryability at the Worker boundary - #88
Add explicit error_code and retryable fields to WorkerResult.
Introduce WorkerOutcome aligned with Loom's language-neutral outcomes and reject contradictory status/outcome pairs.
Preserve stable failure categories, evidence, artifacts, observations, and provenance across Arbiter composition.
Permit retries only for explicitly retryable failures; policy denial, cancellation, deadline expiry, and interrupted execution remain terminal.
Require an explicit canonical outcome when continuation is pending. An interruption without declared partial success is a failure, not a successful or partially successful result.
Make WorkerResult.successful true only for canonical succeeded; partial success no longer passes the full-success check.
Add regression coverage for retryability, terminal outcomes, interruption propagation, and preservation of evidence/artifacts/observations/provenance.
This is a focused runtime-contract change for Loom issue #5. Fleet-to-Orchestrator work remains parked until Action/Result semantics are complete.
Validation
Security audit passed on the prior revision; latest revision is running CI.
Python quality-gate checks are pending for the latest revision.
⚠️Quality gates failed! Fix issues before merging.
sfloess
changed the title
Enforce retryability at the Worker execution boundary
Enforce canonical outcomes and retryability at the Worker boundary
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
error_codeandretryablefields toWorkerResult.WorkerOutcomealigned with Loom's language-neutral outcomes and reject contradictory status/outcome pairs.WorkerResult.successfultrue only for canonicalsucceeded; partial success no longer passes the full-success check.This is a focused runtime-contract change for Loom issue #5. Fleet-to-Orchestrator work remains parked until Action/Result semantics are complete.
Validation