1
00:00:01,281 --> 00:00:04,322
Code Mode can finally run alongside agent
teams.

2
00:00:04,742 --> 00:00:09,184
That's the headline in Claude Code
2.1.326, released November 16th,

3
00:00:09,604 --> 00:00:11,585
and it's brought to you by Jellypod AI, by
the way.

4
00:00:12,965 --> 00:00:18,647
Last time we covered 2.1.323, and the
catch was that Code Mode and teams just

5
00:00:18,827 --> 00:00:19,708
couldn't coexist.

6
00:00:20,268 --> 00:00:20,988
That catch is gone.

7
00:00:22,389 --> 00:00:24,370
Good news for anyone who hit that wall.

8
00:00:25,190 --> 00:00:27,271
So what actually changed?

9
00:00:28,391 --> 00:00:34,053
If you'd already turned Code Mode on,
sessions with teams enabled now just start in

10
00:00:34,153 --> 00:00:34,734
Code Mode.

11
00:00:35,134 --> 00:00:37,855
No extra flag, as far as the changelog
says.

12
00:00:38,502 --> 00:00:40,303
Right, and the mechanism matters.

13
00:00:41,163 --> 00:00:44,985
Normally Claude runs a loop, one Bash
call, one Read, one Edit,

14
00:00:45,345 --> 00:00:46,025
each a round trip.

15
00:00:46,665 --> 00:00:50,186
In Code Mode it writes JavaScript instead,
run locally in your session.

16
00:00:50,747 --> 00:00:54,788
Something like a shell call with ripgrep,
listing files matching a pattern under

17
00:00:54,908 --> 00:00:59,410
src, then filtering inside the script, so
only the distilled result goes back to the

18
00:00:59,430 --> 00:00:59,710
model.

19
00:01:00,270 --> 00:01:02,051
Less context burn, fewer turns.

20
00:01:03,117 --> 00:01:06,658
So with a team, each worker can batch its
own steps.

21
00:01:07,939 --> 00:01:11,800
Picture three teammates each sweeping a
different part of a codebase.

22
00:01:12,401 --> 00:01:16,362
Before, that's a pile of little tool calls
eating context.

23
00:01:17,022 --> 00:01:20,383
Now each one can do a multi file pass in
one go.

24
00:01:21,884 --> 00:01:23,044
That's the pitch, anyway.

25
00:01:23,825 --> 00:01:27,286
I'd measure it on your own repo before
promising anyone miracles.

26
00:01:28,181 --> 00:01:29,022
Fair to be cautious.

27
00:01:29,762 --> 00:01:30,922
Now, how do you use it?

28
00:01:31,482 --> 00:01:35,324
Turn on Code Mode, keep agent teams
enabled, and start a session.

29
00:01:35,884 --> 00:01:40,045
To see what Claude actually ran, press
Ctrl+O in the transcript viewer.

30
00:01:40,625 --> 00:01:44,046
The generated script is hidden from the
chat, so that's your audit trail.

31
00:01:45,066 --> 00:01:47,967
I'd look at it early, just to know what
your agents are really executing.

32
00:01:48,979 --> 00:01:51,919
Which leads into the caveats, because
there are real ones.

33
00:01:53,580 --> 00:01:59,041
The dollar sign shell helper in Code Mode
now refuses some values with an error,

34
00:01:59,321 --> 00:02:00,341
and nothing runs.

35
00:02:01,021 --> 00:02:06,302
Permission checks are tighter too, so some
commands that ran before will ask or get

36
00:02:06,362 --> 00:02:06,922
refused.

37
00:02:07,583 --> 00:02:11,483
If your unattended workflows suddenly
stall, start there.

38
00:02:12,524 --> 00:02:14,824
And the wider release is heavy on
permissions.

39
00:02:15,444 --> 00:02:20,285
Auto mode now ignores some wildcard shell
allow rules, like ones naming no program

40
00:02:20,445 --> 00:02:24,426
or starting with dollar HOME, so the
safety classifier decides those instead.

41
00:02:25,046 --> 00:02:29,047
Windows backslash path wildcards can get
blocked, though exact rules keep their

42
00:02:29,087 --> 00:02:29,387
allow.

43
00:02:30,247 --> 00:02:33,728
The changelog says they plan to restore
rules starting with dot backslash.

44
00:02:34,738 --> 00:02:40,979
Also sandboxed commands on macOS, Linux
and WSL no longer write to some sensitive

45
00:02:41,039 --> 00:02:42,420
home folders by default.

46
00:02:43,940 --> 00:02:49,761
If you need one, allow it with sandbox dot
filesystem dot allowWrite in user or

47
00:02:49,821 --> 00:02:50,741
managed settings.

48
00:02:51,582 --> 00:02:57,472
And Claude's file tools now refuse writes
to sign in files like dot credentials dot

49
00:02:57,472 --> 00:02:57,903
json.

50
00:02:57,903 --> 00:02:59,003
Sensible, honestly.

51
00:02:59,808 --> 00:03:00,909
One more for team users.

52
00:03:01,489 --> 00:03:06,110
Subagents isolated in a worktree now
refuse some git commands in Bash that could

53
00:03:06,190 --> 00:03:08,070
rewrite branches shared with your
checkout.

54
00:03:09,070 --> 00:03:11,911
That's a nice guardrail when several
agents are working at once.

55
00:03:12,638 --> 00:03:13,639
Quick small stuff.

56
00:03:14,159 --> 00:03:16,980
Ctrl+O now shows hidden startup notices.

57
00:03:17,821 --> 00:03:22,743
/status gets a row telling you when a
provider or something like DISABLE_TELEMETRY

58
00:03:22,903 --> 00:03:24,064
turns features off.

59
00:03:24,784 --> 00:03:28,166
Subagent views show an esc to stop hint.

60
00:03:28,806 --> 00:03:35,470
There's a new OTEL_RESOURCE_INCLUDE_HOST,
off by default, that adds host name and

61
00:03:35,530 --> 00:03:37,951
host id to OpenTelemetry attributes.

62
00:03:38,571 --> 00:03:43,834
And you get a startup warning when an
allowedTools, disallowedTools or tools entry

63
00:03:44,254 --> 00:03:45,835
doesn't look like a complete rule.

64
00:03:46,675 --> 00:03:50,437
So the takeaway: update, turn on Code Mode
with your teams,

65
00:03:50,918 --> 00:03:55,840
peek at the script with Ctrl+O, and
re-check any allow rules that relied on loose

66
00:03:55,880 --> 00:03:56,561
wildcards.

67
00:03:58,361 --> 00:03:59,042
That's it for today.

