Repository navigation
docs(oh-my-pi): design task advisory for worker-thread subagents (RIG-9802) - #76
Merged
mattwilkinsonn merged 2 commits intoNov 12, 2026
Conversation
…-9802) Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Rigel public design docs preview: https://harness-rig-9802-design-task.docs-2ui.pages.dev Deployed from |
Contributor
Author
|
Design-critic r1 on 845c2e1: 0 critical, 1 high, 2 medium, 1 low. All four are fixed in 7e09682.
|
rigel-mintaka
marked this pull request as ready for review
November 12, 2026 02:45
Contributor
Author
|
Paused 2026-11-11 for Factory self-hosting. |
mattwilkinsonn
deleted the
harness/rig-9802-design-task-advisory-for-worker-thread
branch
November 12, 2026 21:49
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.
Summary
Design record for RIG-9802. It redesigns the oh-my-pi task advisory (RigelBuild/oh-my-pi #241 and #243) so it works when subagents run on worker threads. It follows RIG-9774 option A: the parent thread owns lineage, and workers reach it over RPC.
AdvisoryHubholds timers, admission state and snapshots, and workers reach it throughadvisoryThreadService.AssignmentLineage.onMintis the only trigger that creates a snapshot source.releasecallsexpireParked.TaskAdvisoryis unchanged except forreadonly contractVersion: 1(RIG-9798).callSyncfor reads and mutations,notifyfor events; main never calls a worker synchronously. The hub builds every bound message, and redaction runs on the sender's home thread.Matt's merge freezes R1 to R4.
Verification
bun run gate: OK.bun run ref-gate: clean.Risks
Refs RIG-9802
Co-authored-by: Matt Wilkinson matt@rigel.build