Repository navigation
fix(crews): use upstream's access-mode names - #344
Conversation
Upstream's composer names the modes Supervised, Auto-accept edits, Auto, and Full access. The Crew seat editor, the runtime preview, and the ACP refusal said "Approval required" and "Accept edits". They now use upstream's labels and descriptions verbatim. The seat editor keeps its own J5 copy of the list rather than exporting upstream's module-private config. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: Jacksondr5/j5code/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: Comment |
|
[Review panel: Opus 5.5 + coordinator (Opus 5.5)] Code verified; no bugs.
Needed before approval: before/after screenshots. This PR changes labels users see, and the repo requires before/after images for UI changes (AGENTS.md, "UI changes need before/after images"). Please add before/after crops of:
Push them to FYI, not a finding: |
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
@Jacksondr5 The before/after screenshots are in the description now, pushed to |
Conflicts: AC3 keeps #347's approval flag and adds this branch's preview-binding sentence; the personas guide keeps #301's and #347's text and adds the preview and ACP sentences, now in #344's access-mode names (Supervised, Auto-accept edits); both 2026-09-24 History lines stay. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Problem
Upstream's composer names the access modes Supervised, Auto-accept edits, Auto, and Full access. J5's Crew surfaces said "Approval required" and "Accept edits", so the same mode had two names depending on where you looked. Jackson asked for the rename on #307; I split it out here because #307 is a docs PR and this changes UI labels and server strings (one concern per PR).
What I changed
apps/web/src/j5/crew/crewSeatRuntime.ts→CREW_ACCESS_OPTIONS: labels and descriptions copied verbatim from upstream'sruntimeModeConfig("Supervised: Ask before commands and file changes.", "Auto-accept edits: Auto-approve edits, ask before other actions.").apps/server/src/j5/a2a/crewRuntimePreview.ts: the access label in the runtime preview reads "Supervised" and "Auto-accept edits".apps/server/src/j5/a2a/CrewLaunchService.ts: both ACP refusals say "Choose Supervised or Full access."Screenshots
Both use the same seeded roster proposal on an isolated copy of real data, light theme, 1440×1000. The Captain runs in Supervised.
code-reviewersets no access,docs-writerasks for Supervised, andtest-authorasks for Auto-accept edits.Seat editor access menu, before (
j5/main):After: upstream's labels and descriptions.
Runtime preview on the roster card, before:
After:
Why this shape
Jackson's call was to keep the J5 copy of the list rather than export upstream's module-private one, since an upstream edit isn't worth it for four labels. So the strings are duplicated, verbatim.
Invariants
approval-required,auto-accept-edits,auto,full-access) are unchanged; only display text moves.apps/web/src/components/chat/runtimeModeConfig.tsexactly.Surfaces
packages/contracts)accessis a display string.j5/main; #307's docs take the new names once this lands.Out of scope
Upgrade and data
None. An older server still sends the old preview strings until it's updated.
Verification
apps/server,apps/web, andpackages/contractstypecheck (exit 0).vp test run apps/server/src/j5 apps/web/src/j5: 1,036 passed.Review focus
Claude Opus 5.5 via Claude Code in J5 Code
🤖 Generated with Claude Code