Repository navigation
Fix failure-remedy hint, orphan run dirs, and close documentation gaps - #3
Merged
Merged
Conversation
- Failed durable runs now print the documented 'piw resume' remedy instead of an internal run_steps.py invocation (legacy bundles keep the low-level --from hint). - A run missing its required --input fails before creating a run directory; regression test added. - Document concurrent dispatch (workers:), run directory location, judge, qa, cwd, preview, retry_jitter, retry_max_delay_seconds, and the input.description rule. - README: expand piw, show a real run bundle + ledger sample, add a LangGraph/Temporal/Prefect/Make positioning table. - Examples/CHANGELOG notes.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Addresses the five clarity findings from the external-review pass.
Code
run_steps.py:1451): a failed durable run printed a site-packagesrun_steps.pypath with undocumented--from/--run-dirflags. It now prints the documentedpiw resume WORKFLOW RUN_DIRremedy (legacy non-durable runs keep the low-level hint). Covered by an assertion in the recovery test.--inputcreated aruns/<id>/directory stuck ininitialized. The guard now fires before any directory is created. New regression test.Docs
workers:(default 4, max 16),needs:as the only serialization guarantee — README bullet, USAGE §5, ARCHITECTURE.judge,qa,cwd,preview,retry_jitter,retry_max_delay_seconds(USAGE, verified against schema + runner).ledger.jsoncost line; run directory location;piwexpanded; LangGraph/Temporal/Prefect/Make positioning table; 'hosted workers' → 'hosted worker fleets'.input.descriptionrequirement stated; examples README notes gitignoredruns//approvals.Verification
ruff check src scripts testsclean;unittest: 29 tests OK (was 28).runs/dir; quickstart (create/run hello) unchanged.