Skip to content

Promote stage to bkmain (2026-11-17): sidebar groups, BK Add-ons settings, Toolyard default URL (#373) - #377

Merged
bk-agent-01 merged 18 commits into
bkmainfrom
promote/stage-2026-11-17
Nov 17, 2026
Merged

bk-agent-01 merged 18 commits into
bkmainfrom
promote/stage-2026-11-17

Conversation

@bk-agent-01

Copy link
Copy Markdown
Collaborator

Promote the full stage branch to bkmain (2026-11-17), at Tushar's request in the Clerk sender identity session: "can you make sure to do a full stage to bkmain push as well and make sure it publish the desktop app so that i can update my main desktop as well".

What reaches bkt3

git diff origin/stage HEAD = AGENTS.md only (the bkmain-only prompt copy from #374).

Decisions

Acceptance check

  • CI green on the head.
  • bkt3 deploy green and the live version contains the merge commit.
  • BK desktop release publishes the production desktop app for the merge commit.

How I tested

No new code: every change was tested in its own PR (#373, #376) and has run on stagebkt3. CI runs on this head.

Cross-review: skipped — promotion of already-reviewed stage commits, no new code.

🤖 Generated with Claude Code

bk-agent-01 and others added 18 commits November 13, 2026 08:35
…oups, device-local group mute

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s device and Maintenance

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rride, smoother team sign-in

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd Toolyard retry only on outages, removed webhooks' old deliveries stop flagging

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…w-session handlers, Toolyard test expects the default URL

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ld state in the toggle handler

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s-toolyard

feat(bk): group + button, drag into groups, local group mute, tidier BK Add-ons, Toolyard defaults
… user id

The provider environment and the Claude identity text carried only emails, and
Codex, OpenCode and the other adapters got no identity text at all.

- SessionIdentityEnvironment resolves name, email and T3 user id for the sender
  and the owner from environment_users: BK_SENDER_NAME/EMAIL/USER_ID and
  BK_OWNER_NAME/EMAIL/USER_ID. BK_MESSAGE_SENDER_EMAIL and
  BK_SESSION_OWNER_EMAIL stay as deprecated aliases. The fingerprint covers
  every key, so a name change restarts the provider session.
- identity/senderIdentityText.ts builds the one per-turn identity block,
  including the automation case and a missing Clerk name.
- Claude: system prompt append and UserPromptSubmit hook use the block.
- Codex: the block rides as t3_current_user developer additionalContext.
- Every other adapter: ProviderSessionManager appends the block to the
  provider copy of the message text; the stored message is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… slash commands

Cross-review round 1 on #375:
- r1-1: Clerk name and email are encoded as capped JSON strings with control
  characters removed and < > escaped; the block says quoted values are data.
- r1-2: the block is built from the exact message (sentByUserId plus
  createdBy, creationSource, scheduledTaskId, senderThreadId), not from the
  process environment. Schedules, agents, continuations and usage-limit
  resumes get the automation block. Credential and background behaviour is
  unchanged.
- r1-3: ProviderSessionManager resolves the block for steerTurn too. Codex
  injects it as a developer item before turn/steer; Claude records it for the
  hook; other adapters get it appended.
- r1-4: Claude and Codex take the block through context channels, so slash
  commands keep their text and still carry their own sender.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, slash commands

Cross-review round 2 on #375:
- r2-1: the Claude UserPromptSubmit hook names automation for prompts the CLI
  writes itself (source system, loop_wakeup, schedule_wakeup, poll_event:
  task notifications and auto-continuations). A native continuation turn no
  longer records a block, since it sends no prompt.
- r2-2: a failed thread/inject_items now fails the Codex steer; no turn/steer
  is sent without its sender identity.
- r1-4: text-only adapters get the block on slash commands too, after the
  command so the command name still parses; only /compact and /logout stay
  unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… for its own prompt

Cross-review round 3 on #375:
- r3-1: identity text never enters a slash command on any adapter (command
  templates and shells expand arguments). Text-only adapters remember whose
  block each provider thread last received and refuse a slash command from
  anyone else, or before any block was delivered, with SenderIdentityRequired
  ("Send a normal message first so the agent knows who you are, then repeat
  the command."). /compact and /logout still pass.
- r3-2: the Claude hook names a human only for an exact match of the prompt
  texts T3 queued (recorded from the SDK user message). Unmatched prompts,
  with or without a source, get the automation block; no fallback to the
  latest block or the process environment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…est literal type

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cross-review round 4 on #375 (r4-1): a failed steer left its human record
pending, so a later automation prompt with the same text could take it.
- record() returns the release of that one submission's record.
- recordClaudePromptSubmission records inside the start/steer scope and
  releases the record when the submission fails or is interrupted.
- take() removes every matching record and returns a block only when exactly
  one pending submission matches; no match or an ambiguous match gets the
  automation block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y-stage

feat(server): every provider knows the Clerk sender's name, email and user id (stage)
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 17, 2026
@bk-agent-01

Copy link
Copy Markdown
Collaborator Author

Merge record: merged by bk-agent-01, pinned to head 04d493e, at Tushar's explicit request in this session ("can you make sure to do a full stage to bkmain push as well and make sure it publish the desktop app"). All checks green on the head (Test re-run after a runner apt failure). Cross-review skipped: promotion of already-reviewed stage commits (#373, #376), no new code.

@bk-agent-01
bk-agent-01 merged commit ac4b519 into bkmain Nov 17, 2026
40 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant