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
Document unreleased PerfTrace, Codex, and session-global work
Fill the Unreleased section for the post-0.2.86 main tip (candidate 0.2.87):
PerfTrace stack, OTEL, attribution, session state under ~/.corbits/projects,
streaming stall detection, authz/UI polish, and planned/follow-up notes.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,57 @@ Format loosely follows [Keep a Changelog](https://keepachangelog.com/). Versions
6
6
7
7
## [Unreleased]
8
8
9
+
Patch-ready tip on `main` after the PerfTrace / Codex measurement stack and related polish. Candidate for **0.2.87**.
10
+
11
+
### New Features
12
+
13
+
-**Always-on PerfTrace** — in-process span API, ring buffer, and privacy-strict tag allowlist (`src/perf/`). One span model for turns, inference (TTFT/stream), tools, permission waits, and subagents. No settings required for local measurement. (CL-5160, #303; CL-5171, #305; CL-5170, #308)
14
+
-**Offline dump + rollup** — `dumpSpans` and pure rollups by phase/turn/session; TTFT vs stream shares. (CL-5169, #307)
-**Opt-in OTEL export** — settings/env surface (`OTEL_EXPORTER_OTLP_*`, `~/.corbits/settings.json``otel` block) plus OTLP HTTP JSON sink. Fail-closed config; dump-safe header redaction. Targets Phoenix, PostHog OTEL, or any OTLP collector — separate from PostHog product analytics. (CL-5175, #306; CL-5173, #309)
17
+
-**Latency eval harness** — assert phase presence and relative magnitudes in tests (`assert-spans`, multi-tool fixture). (CL-5174, #310)
18
+
-**Reasoning effort by agent role** — orchestrator vs task-leaf defaults so high-effort leaves stop multiplying wall time. (CL-5162, #302)
19
+
-**Session state under `~/.corbits/projects`** — project key from git toplevel (worktrees share); dual-read migrate from in-repo `.agent-state`; path-restriction exception for the global state root. (CL-5257, #313)
20
+
-**Streaming stall / loop detection** — trailing-window repetition detection; preserve partial streamed output in exec and TUI; partial-capture lifecycle owned by the cycle recorder. (#280, #281)
- Worktree preserve: do not drop stash when unknown or detached HEAD advanced; count gitignored-but-present files as content worth keeping. (related main commits)
31
+
- Judge shell auto-allow and restriction against the process cwd; queued-grant coverage uses the session path restriction.
32
+
33
+
### Changed
34
+
35
+
- Package rename: root package is `@corbits/code` (was `corbits`). (#282)
36
+
- Homebrew release tap points at `corbitsdev/homebrew-tap`. (#283)
37
+
- TUI root and event log split into focused modules (assembly vs presentation). (#285, #286)
38
+
- Sub-agent tool description no longer claims an incorrect working-tree isolation model.
39
+
40
+
### Docs / tooling
41
+
42
+
-`docs/PERFTRACE.md` — local sink, OTEL config, collector examples, relationship to product telemetry.
43
+
- Codex request parity checklist (spike, no production behavior change). (CL-5168, #304)
- Dogfood a real pain-session PerfTrace dump and write the transport prioritization decision (gates CL-5161 / CL-5164 / CL-5172).
57
+
- Live OTEL collector verify (Phoenix or equivalent) against the merged sink.
58
+
- Dogfood session migrate: new session under `~/.corbits/projects`, one legacy `.agent-state` migrate, write under state root still asks.
59
+
17
60
## [0.2.86] - 2026-07-30
18
61
19
62
Patch release: agents use the core tools. Every behavior change validated by a before/after eval matrix on grok-4.5 — pass rate 19/21 → 21/21, total turns 312 → 106, input tokens 2.8M → 1.1M, zero sub-agent churn on the stall fixture.
0 commit comments