Repository navigation
docs(design): Make a Space metadata on its Lead's tree, and add the Lead design - #4428
Merged
Merged
Conversation
…ead design Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: David Cramer <[email protected]>
dcramer
reviewed
Nov 26, 2026
sentry-junior
Bot
requested review from
dcramer
and removed request for
dcramer
November 26, 2026 04:55
Member
|
Needs updated from main now |
# Conflicts: # design/agent-teams.md # design/child-agents.md
dcramer
reviewed
Nov 26, 2026
dcramer
pushed a commit
that referenced
this pull request
Nov 26, 2026
…not declined (#4437) On #4428, Junior agreed with two inline review comments on `design/lead.md`. It replied with the replacement text and asked the reviewer to confirm, because a `design/` line changes only after the person confirms its exact text. Then it marked both comments `declined`, which adds a -1 reaction. The reviewer read it as a rejection. ## Root cause The `status` param of `github_updatePullRequestFeedback` put "leave the decision to the author" under `declined` (-1), and it limited `addressed` (+1) to "you made the change or answered the question". An agreement that waits on the reviewer's confirmation fits only the `declined` text. #4305 added that clause. `design/github.md` says only that a comment Junior pushes back on or defers is declined. ## Fix - The `status` param now puts an agreement that waits on the reviewer to confirm or choose under `addressed`. `declined` covers only push-back and deferral to later work, and the text says that reviewers read -1 as disagreement. - New eval case in `pull-request-reviews.eval.ts`: the requester asks for a `design/` change that needs their confirmation of the exact text, and the mark must be `addressed`, never `declined`. The existing push-back case still expects `declined`. The review-again ask does not change. It counts both +1 and -1 as marked (`pull-request-review-again.ts`), so a comment that waits on the reviewer still puts the pull request back in their Inbox. <!-- junior-request-attribution:start --> via @dcramer. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3A1f134128a4bde1e5a67108f95b9d1415 --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3A1f134128a4bde1e5a67108f95b9d1415) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A1f134128a4bde1e5a67108f95b9d1415/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
dcramer
approved these changes
Nov 26, 2026
This branch was successfully deployed
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.
States where Spaces and the Lead are heading. A Space uses the core Conversation tree (parents, roots, Participants, access, stops, archives, Watches, updates), and only a few Space-specific layers sit on top of it.
design/spaces.mdis rewritten. The Lead is the root of the Space's tree. Every Space Conversation, whether the Lead starts it, a person starts it in the Space, or a person moves it in, is a child of the Lead and has the Lead as its root. Children inherit the Lead's Participants. Archive and snooze act per child. The file lists the Space layers explicitly: metadata, membership, configuration, the Lead's prompt and tools, moves, and rendering (the sidebar, the Threads panel, and top-level lists).design/lead.mdis new. It covers the Lead's role, its curated manager tool set (it runs Threads, reads, plans, and asks people, and it never writes or runs code), and the Turn gates: explicit reply on child and Event Turns, quietdoneupdates, and child results as claims. Gaps record what is not on main yet.design/agent-teams.md: a Lead's team is its Space, and the Lead gaps move tolead.md.design/child-agents.md: removes contradictions with Spaces. A move changes a child's parent, a moved Conversation delivers to its own Location, and the 8-child limit does not apply to a Lead's children.TERMINOLOGY.md: updates Lead, Space, Thread, Team, Delivery, and Participant, and adds Top-level Conversation (derived, not stored).Related: #4377 (
threadkind), #4411 and #4414 (moves), #4416 (Threads panel).#4413 edits some of the same lines. After this merges, it should drop those doc changes and delete only the gaps it closes.
via @dcramer.
--
View Session [Sentry]