docs: demonstrate cooperating-worker admission and cleanup - #49
Open
flyingrobots wants to merge 2 commits into
Open
flyingrobots wants to merge 2 commits into
flyingrobots wants to merge 2 commits into
Conversation
|
Warning Review limit reachedNext included review available in 23 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
flyingrobots
marked this pull request as ready for review
September 22, 2026 16:29
10 tasks
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.
Add a runnable launcher integration for two cooperating workers. Alice acquires two generated paths before mutation; Bob's overlapping launcher receives a refusal naming Alice and her note, while Bob's unrelated work completes. Deterministic gates retain Alice's live acquisition through that interaction.
The same example demonstrates renewal preserving acquisition identity, wrapper cleanup after renewal, a replacement surviving superseded cleanup, worker exit 17 releasing its reservation, and simulated TTL expiry while the command remains active. It retains JSONL command receipts and artifacts in a fresh isolated store. Partial file writes remain after failure; reservation cleanup is not rollback.
The runbook explains shared-artifact versus linked-worktree path meaning, the explicit store policy, and the lack of automatic renewal. It defines an external maintainer adoption experiment as unrun and schedules that evaluation after hardening and the unresolved #45 correctness gate. These controlled flows do not prove mixed-observation safety or establish external adoption. No production module or generated executable changed.
Validation on final head
834733721bf67973540e956d1ae83b3dce1acc2a:make test: 453 passed, 0 failed.recorded-run.jsonretains 30 schema-valid CLI records, artifacts and source hashes against implementation revision29249ff9166e5be8b937c5fdcf63248edef1b241.Run from this checkout:
Choose a fresh output directory. The executable example uses Bash and Git; Python is used only by the test oracle, with the existing
jsonschematest dependency. Seeexamples/cooperating-workers/README.mdfor the copyable runbook and experiment protocol.Closes #40 for the runnable integration and adoption-experiment definition. External adoption remains untested, and #45 remains open.