feat(agent-org): add multi-target Group work and Linked Inbox - #1085
Draft
ShiboSheng wants to merge 4 commits into
Draft
feat(agent-org): add multi-target Group work and Linked Inbox#1085ShiboSheng wants to merge 4 commits into
ShiboSheng wants to merge 4 commits into
Conversation
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
from
August 31, 2026 17:36
3a97ebc to
430820a
Compare
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
from
August 31, 2026 17:56
430820a to
153649b
Compare
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
from
August 31, 2026 18:13
153649b to
46b993f
Compare
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
from
September 1, 2026 03:07
46b993f to
2791b26
Compare
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
from
September 1, 2026 03:22
2791b26 to
f3901fd
Compare
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
from
September 1, 2026 03:33
f3901fd to
3aa1d98
Compare
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
2 times, most recently
from
September 1, 2026 04:15
0f5312c to
b77a336
Compare
Persist source-neutral user-directed receipts, frozen limits, causal context, lifecycle state, and recovery ownership while preserving formal-work boundaries and Direct Member compatibility.\n\nVerification:\n- cargo test -p agent_core --lib — 3413 passed, 0 failed, 2 ignored\n- cargo clippy -p agent_core --all-targets -- -D warnings — passed Pre-commit hook ran. Total eslint: 5, total circular: 0
Validate ordered Member targets as one transaction, allocate independent receipts and FIFO positions, and route every source through the existing Member runtime without disturbing formal task execution.\n\nVerification:\n- cargo test -p agent_core --lib — 3413 passed, 0 failed, 2 ignored\n- packaged BuildFast Group, Working, Paused, retry, and 10-target scenarios — passed Pre-commit hook ran. Total eslint: 5, total circular: 0
Authorize linked Member and Coordinator side quests from persisted turn context, make call receipts transactional and idempotent, keep formal claims isolated, and delete causal user-directed rows safely before Team sessions.\n\nVerification:\n- cargo test -p agent_core --lib — 3413 passed, 0 failed, 2 ignored\n- packaged BuildFast linked side quest, restart recovery, and Delete scenarios — passed Pre-commit hook ran. Total eslint: 5, total circular: 0
Submit canonical Member pill snapshots through the multi-target RPC, preserve immutable retry envelopes after unknown transport outcomes, surface typed limits, and expose isolated fault/evidence support for packaged-app acceptance.\n\nVerification:\n- pnpm exec vitest run src/engines/ChatPanel/hooks/groupChatRouting.test.ts src/engines/ChatPanel/hooks/useAgentOrgGroupChatController.test.ts src/engines/ChatPanel/hooks/useInputArea/__tests__/composerMemberPillSnapshot.test.ts src/engines/ChatPanel/hooks/useInputArea/__tests__/submissionErrors.test.ts — 17 passed\n- pnpm typecheck — passed\n- targeted ESLint and Prettier — passed Pre-commit hook ran. Total eslint: 5, total circular: 0
ShiboSheng
force-pushed
the
codex/issue-764-group-inbox
branch
from
September 1, 2026 04:31
b77a336 to
46966c6
Compare
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.
Problem
Related to #764.
The stabilized Agent Org stack can preserve formal Task execution and Root FIFO ordering, but Group composer Member mentions still lack one atomic, durable user-directed-work ingress. A transport retry can therefore not rely on one immutable multi-target envelope, and Members cannot safely delegate linked side quests through
org_send_messagewithout mixing them into formal Task/work-episode authority.PR9 must add that missing execution layer without replacing the PR8 Stabilization formal trigger, exact formal Inbox drain, work episode, completion, or Root queue behavior. The design document is the controlling specification; final Group-feed projection and default rollout remain PR10 work.
Solution
member://<canonical_member_id>composer pills. The first send freezes the body, ordered targets, and per-target IDs; Retry after an unknown transport outcome reuses that envelope instead of creating duplicate work.The rollout gate remains off by default. Zero-Member and Coordinator-only composer sends continue through the stabilized Root path; mixed Coordinator/Member selection is rejected. Final N-channel Group projection removal, localization sweep, default rollout, and PR10 feed performance work are deliberately excluded.
Potential risks
codex/agent-org-pr8-stabilization). If that base advances, this branch needs a deliberate rebase plus affected schema, formal-path, packaged-app, and recovery checks.Verification
Automated
pnpm exec vitest run src/engines/ChatPanel/hooks/groupChatRouting.test.ts src/engines/ChatPanel/hooks/useAgentOrgGroupChatController.test.ts src/engines/ChatPanel/hooks/useInputArea/__tests__/composerMemberPillSnapshot.test.ts src/engines/ChatPanel/hooks/useInputArea/__tests__/submissionErrors.test.ts— 4 files, 17 tests passed.pnpm typecheck— passed.pnpm run lint— exited 0 with 0 errors and 5 pre-existing warnings in unchanged ProjectManager files.cd src-tauri && cargo fmt --all --check— passed.cd src-tauri && cargo test -p agent_core --lib— 3,413 passed, 0 failed, 2 ignored.cd src-tauri && cargo clippy -p agent_core --all-targets -- -D warnings— passed.cd src-tauri && cargo check -p org2— passed.git diff --check 6ffddb8b1e3814ca8caf080915048a91e2322f10..HEAD— passed.pnpm run check:circular— blocked before cycle analysis because Madge cannot resolve two existing?rawimports in unchangedsrc/engines/ChatPanel/blocks/CanvasInlineCard/reactArtifactDocument.ts.cd src-tauri && cargo clippy --all-targets -- -D warnings— PR9 owners passed, then the workspace test target stopped on pre-existingclippy::items-after-test-modulein unchangedsrc-tauri/src/api/agent/test/workspace.rs.Packaged Tauri App and real Provider
ORGII_AGENT_ORG_REDESIGN=1 pnpm run tauri:build:fast.ORG2-PR9-BuildFast-Handoff-v2.app; executable SHA-256e473c056c04618349f5b047841cfc12b018de87aae605f274ac3f52c57cf9cc0.codexmaggie / gpt5.4miniprovider work in an isolated discount-calculator repository. Implementer and Reviewer received independent Group roots, edited/checked the real fixture, used realorg_send_message, and produced persisted linked replies and test results.quick_checkreturnedok. Relaunch confirmed the deleted Team stayed absent.Lifecycle and performance
Review structure
feat(agent-core): add user-directed work authorityfeat(agent-core): add atomic group member deliveryfeat(agent-core): add linked inbox routingfeat(chat): wire structured group member deliveryArchitecture ownership/types/wire/persistence/lifecycle and the background-work lifecycle matrix were audited. Frontend design-system usage was reviewed manually because the configured
frontend-ui-auditskill file was unavailable; no audit report is claimed.