Repository navigation
fix(site): show a subagent the root chat's project plugin packs - #245
Conversation
|
@codex review
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a416af48bc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
I checked these on head a416af4: all check runs passed (fork-ci 43240615698, including the site job), the branch is 0 commits behind main, and 0 review threads are unresolved. Codex review 5876520415 raised 3 P2 findings, all declined (only normal-path P1s are fixed). The ops validation passed tsc, oxlint, lint:compiler and vitest (19/19). Biome failed on one formatter line, which a416af4 fixed. The negative control turned red as intended: removing the root project fallback fails only the new subagent test. No live UAT. This is a 3-file site fix to the toggle that #243's UAT covered (5/5), and the new unit test exercises the subagent path. |
A subagent chat has no
project_idof its own, so its plugin packs pill showed no project packs and could not turn off the root chat's project pack. The pill now loads the root chat (throughroot_chat_id) when the chat has no project and is not its own root. It waits for the root chat and then passes the root chat'sproject_idto the pack toggles.Follow-up to #243 (Codex P1 on subagent root project).
Validation (container, pnpm on Linux):
tsc,oxlint --deny-warnings,lint:compiler: passvitestForkComposerSlot.test.tsx: 19/19 pass, including the new test "turns off the root chat's project pack for a subagent"?? rootChatQuery.data?.project_id, only the new test failsbiome checkprinted one formatting change (one JSX prop collapsed to a single line). I applied that exact change by hand in the last commit, and the fork-ci site job runs Biome again.