You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(trace): switch --trace backend from claude-trace to cctrace
claude-trace's fetch hook only sees /v1/messages and is dead on
native Claude binaries. cctrace MITM-captures the full surface
(messages, OAuth, usage/credits, MCP) and auto-detects npm vs
native installs. Snapshots land in .cctrace/ in the workspace.
- run `cctrace --no-open -- <claude args>`; entrypoint injects
--dangerously-skip-permissions after the first "--"
- compile the cctrace standalone binary at image build; bun's CLI
eats a leading "--", the compiled binary receives argv directly
- install bun system-wide via BUN_INSTALL=/usr/local; the old
/root/.bun symlink was unusable by the deva user
- rename pin CLAUDE_TRACE_VERSION -> CCTRACE_VERSION=0.4.0 across
versions.env, Makefile, Dockerfiles, CI workflows, and registry
Close#396
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: DEV-LOGS.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,15 @@
13
13
- Minimal markdown markers, no unnecessary formatting, minimal emojis.
14
14
- Reference issue numbers in the format `#<issue-number>` for easy linking.
15
15
16
+
# [2026-07-07] Dev Log: switch --trace default from claude-trace to cctrace
17
+
- Why: claude-trace's node --require fetch hook only sees /v1/messages and dies on native Claude binaries; cctrace (thevibeworks/cctrace) MITM-captures everything (OAuth, usage/credits, MCP) and auto-detects npm vs native installs
18
+
- What:
19
+
-`--trace` now runs `cctrace --no-open -- <claude args>` in agents/claude.sh, claude.sh (local + docker), and docker-entrypoint.sh (dsp injected after the first `--` instead of after `--run-with`)
20
+
- install-agent-tooling.sh compiles cctrace from the npm tarball with `bun build --compile` into `~/.local/bin/cctrace`; compiled binary is required because bun's CLI eats the leading `--` separator
21
+
- bun now installed system-wide via `BUN_INSTALL=/usr/local` (was a symlink into /root/.bun, unusable by the deva user)
22
+
- pin renamed CLAUDE_TRACE_VERSION -> CCTRACE_VERSION=0.4.0 across versions.env, Makefile, Dockerfiles, CI workflows, release-utils registry, and tests
23
+
- Result: `deva.sh claude -- --trace` captures the full request surface; snapshots persist to `.cctrace/` in the workspace mount; claude-trace fully removed from images
24
+
16
25
# [2026-04-28] Dev Log: agent-context consolidation — ~/.claude as single source of truth [WIP]
17
26
- Why: agent customizations are scattered across three directories (=~/.claude/=, =~/.codex/=, =~/.agents/=), 10 concepts are duplicated between Claude Code agents and Codex skills and are already diverging, and the shared global instructions (GENERAL-AGENTS.md) copied into both =~/.claude/CLAUDE.md= and =~/.codex/AGENTS.md= are 30 lines out of sync
0 commit comments