diff --git a/CHANGELOG.md b/CHANGELOG.md index ef8877a5c..f3a314208 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,42 +7,56 @@ follow [Semantic Versioning](https://semver.org/) from the first npm release. Each release opens with a short summary. The list under it has one line per change, grouped by area, with links to the docs for the details. -## [0.1.8] - Unreleased +## [0.1.8] - 2026-11-28 + +This release adds formal-verification proof review, telemetry, and proof-step dataset mining, alongside live telemetry steering with human direction-pivot tamper awareness, multi-day work queues, and $0 handoff briefs. It also adds a local prompt registry, dataset curation, typed score metrics, workflow impact validation, and capture, store, and viewer reliability fixes. ### Added -- **Prompts.** `coding.sh prompt set|get|list|label|diff` manages local versioned text and chat prompts under `~/.coding.sh/prompts/` with SHA-256 content deduplication, optional model config, mutable labels (`production`, `staging`, `latest`), single-pass `{{var}}` rendering, and unified line diffs. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#prompt-registry)) -- **Impact.** `coding.sh impact` reports local store disk size and spool errors, sessions flagged for test tampering, supervision risk, unverified edit streaks, and formal proof issues, plus eval artifact counts and 14-day before/after comparisons for applied refinements (marked `insufficient-data` below 5 sessions per side). ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#workflow-impact)) -- **Query.** `--where` adds session keys `risk`, `risk.reason`, `proof.lang`, `proof.escapes`, `proof.oscillating` and `unverified.edits` (plus `risk`, `risk.reason` and `proof.lang` facets) across `sessions`, `dataset mine`, `export`, `usage`, `stats`, the viewer and MCP. [Query language](https://coding.sh/docs/query#session-keys) -- **Datasets.** `coding.sh dataset mine --proof-steps` mines redacted, deduplicated formal-verification proof-step cases (solved error-to-diff transitions and stuck proof goals) across Lean, Rocq, Dafny, Verus, Isabelle, and TLA+/TLC, with `--proof-lang` and `--proof-outcome` filters. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#mining-formal-proof-steps)) -- **Work.** `coding.sh handoff --work ` builds a deterministic $0, secret-redacted multi-day handoff brief across every session in a work item, with direction pivots, timeline, changed files, passing checks, deduplicated dead ends, proof rollup, and context resets. `work show ` adds a `Timeline` (`timeline` in `--json`) and suggests `handoff --work` on multi-session high-risk items. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#resetting-context-with-a-handoff-brief)) -- **Viewer.** At-risk sessions (`#/s/`) show a collapsible Live Steer card (expanded on `intervene`, collapsed on `nudge`) with prioritized directives, a copyable `suggestedSteer` prompt, and a `coding.sh handoff` hint on context resets; blocked, failed, or at-risk work items (`#/w/`) show the same advice for their cause session, while healthy items make zero `/steer` requests. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#live-session-steering) -- **Steer.** `coding.sh steer ` and `GET /api/sessions/{id}/steer` read live verification, proof loop, context hygiene, tamper and wait telemetry to return `continue`, `nudge` or `intervene` with prioritized directives and a paste-ready steer prompt (`--prompt`, `--strict`, `--fresh`, `--json`). [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#live-session-steering) -- **Viewer.** `GET /api/sessions/{id}/proof` returns a trace-only formal-verification integrity report with checker milestones for `ui` and `serve`. On `#/s/`, the header adds a verification and context hygiene strip when relevant, and proof sessions show a collapsible Proof Review card with verdict, spec status, escapes, tamper findings, jumpable milestones, and copyable audit hints. [API reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsidproof) -- **Handoff.** `coding.sh handoff ` builds a deterministic $0, secret-redacted Markdown or `--json` context-reset brief with the original goal, changed files, passing checks, deduplicated failed approaches under Do Not Repeat, supervision risk, and formal-proof status. Supports `--out` and `--max-dead-ends`; `work show` suggests it on high-risk items. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#resetting-context-with-a-handoff-brief)) -- **Work.** Work items surface `supervisionRisk` (`medium` or `high`), `riskReasons`, and aggregated formal-verification `proof` stats across `coding.sh work`, `work show`, `GET /api/work`, the MCP `work` tool, and the Work page (`#/work`, `#/w/`). `--risk` and `risk=` include still-running sessions matching that risk. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#supervision-risk-and-proof-status) -- **Work.** `coding.sh work`, `GET /api/work` and the MCP `work` tool filter by `--kind`, `--bucket` and `--q`. `coding.sh work ack` and `POST /api/work/ack-batch` acknowledge items in batch by `--probably-closed`, `--group` or `--bucket` with `--dry-run`. The Work page adds search, kind filters, one-click batch ack banners and a snooze duration picker. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) -- **Scores.** `coding.sh export scores` streams typed scores as JSONL or CSV (with `--name`, `--source`, `--since`, `--until`, `--out` and text redaction). `GET /api/metrics?measure=score:`, `coding.sh stats --measure score:` and the viewer's Explore page compute bucketed and grouped means over numeric and boolean session scores. [API reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apimetrics) -- **Compare.** `compare --signals` reads each signal within each arm too: `--json` adds `byArm` with each arm's AUROC, pairs, tasks and CI, the table prints one line per arm, and a signal whose arms' CIs sit on opposite sides of 0.5 is `differs-by-arm` instead of `no-signal`. [Eval methods](https://github.com/jackulau/coding.sh/blob/main/docs/reference/eval-methods.md) -- **Work.** `coding.sh status` says how old the index is (`Index updated 4m ago`). When no ingest has finished for 15 minutes and none runs, `work` judges waits and stalls as of the last ingest and says so in its header, so a stopped ingest no longer looks like a fleet of stalled agents. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#an-old-index) -- **Tool evals.** Each arm summary counts silent failures, failed trials with no rejected call, failed call or retry, and target calls per success. The arm table prints both when an arm has them. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#6-metrics) +- **Alerts.** `coding.sh alert add` sets a threshold on failure rate, cost, sessions or one flag over the last hour, day or week. Each change of state sends a signed JSON POST to a webhook or the same JSON to a command. `alert check` runs from cron, and `coding.sh serve` runs it every minute. [CLI reference](https://coding.sh/docs/cli/alert) +- **Alerts.** `coding.sh alert add --measure score:` alerts on the mean of a numeric or boolean session score over the window, and `--under` with `--warn-under` fires when the value falls below the threshold, so a falling eval score notifies. The webhook body adds `direction: "under"` for these alerts. [CLI reference](https://coding.sh/docs/cli/alert) - **Capture.** The Claude Code status line shows how full the context window is (`ctx 62%`, `ctx 87% full` from 85%) and the Claude apps gateway spend limit (`spend 63%`). `quota --json` lists a `spend` row with `usedUsd`, `limitUsd` and `period`, and `quota wait --window spend` waits on it. [Agents](https://coding.sh/docs/agents#status-line) -- **Evals.** Gemini judges, grades and monitors (`"provider": "gemini"`, `monitor add --provider gemini`) with `GEMINI_API_KEY`. `coding.sh monitor add --http ` scores each new session with your own service: a POST signed with a secret printed once, retried on 5xx, 408, 425, 429 or a network error; a 2xx `{"value"}` answer becomes the score. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors) -- **Work.** Each `coding.sh work` item has a stage (planning, executing, review, approval or done), a kind (research or change) and a line of evidence. The header counts items per stage, and `--stage approval` lists every item in that stage, hidden ones too. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#stages-and-kinds) -- **Work.** Each work item names the pull requests its sessions opened, merged, closed or linked, read from their own tool calls: `work` prints "PR #12 merged" on the item's line, `work show` lists each with its URL, and `work --json`, the MCP `work` tool and the Work page carry them. Sessions get `stats.prs`. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items) -- **OTel.** The OTel receiver keeps the trace tags an SDK sends on a span or its resource: each tag becomes a `tag:` session flag, so `--where 'flag:tag:prod'` finds the session. At most 20 tags of 64 characters each. [OpenTelemetry](https://coding.sh/docs/otel#public-path) -- **MCP.** A `work` tool pages the queue `coding.sh work --json` prints, with the index's age, which `status` now carries too. `session_current` finds a running subagent or worktree delegate, `sessions_list` counts the child sessions it leaves out (`hiddenChildren`), and a `session_get` tail cursor past 20,000 events keeps its place while the session grows. [MCP](https://coding.sh/docs/mcp) -- **Evals.** `coding.sh compare` prints claim rate, claim precision and silent failures per arm: how often the final answer says the work is done, how often the verifier agrees, and how often it claimed success on a failed run. The rows and `claims` in `--json` appear only when some arm claims. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab) +- **Capture.** Devin CLI: `coding.sh init` installs its hooks and registers the MCP server, and the OTel receiver reads its logs. Its permission prompts show in `coding.sh work`, and eval runs read tokens and cost from its `--export` file. Devin also runs Claude Code's hooks; those calls are stored as Devin's, once. Past sessions are not imported. [Agents](https://github.com/jackulau/coding.sh/blob/main/docs/guides/agents.md) +- **Capture.** Serve and the collector also take OTel traces at `/api/public/otel/v1/traces`, where Basic auth with an ingest key as username or password works, so an SDK that sends there changes only its host. `--where user:`, `env:` and `release:` filter by the user, environment and release a trace names. [OTel](https://coding.sh/docs/otel#public-path) +- **Compare.** `compare --signals` reads each signal within each arm too: `--json` adds `byArm` with each arm's AUROC, pairs, tasks and CI, the table prints one line per arm, and a signal whose arms' CIs sit on opposite sides of 0.5 is `differs-by-arm` instead of `no-signal`. [Eval methods](https://github.com/jackulau/coding.sh/blob/main/docs/reference/eval-methods.md) - **Cost.** Plan usage for the 5-hour and weekly windows: the Claude Code status line ends with `5h 62% 7d 41%` when Claude Code sends it, `coding.sh quota` prints each agent's windows with the reset time, `quota wait` blocks until a window has room, and the MCP `status` tool includes the same rows. [CLI reference](https://coding.sh/docs/cli/quota) - **Cost.** `coding.sh usage --by mcp`, `--by skill` and `--by subagent` show what each MCP server, skill tag and subagent type costs; an MCP server's cost is its result tokens at the session model's input price. Every `--json` row has `"basis": "attributed"`. [Track cost](https://coding.sh/docs/cost#cost-by-mcp-server-skill-or-subagent) - **Cost.** `coding.sh budget set day|week|month ` sets a spend budget for every session, one agent or one repo, and `budget status` shows the estimated spend, limit, percent and reset. The status line adds `budget 82%` past 80%, and `proxy --enforce-budget` answers 429 to a call over a budget. [Track cost](https://coding.sh/docs/cost#set-a-budget) - **Cost.** `coding.sh budget set day 5 --where 'user:alice'` gives the sessions a query matches a budget of their own, with their subagents' cost; `budget status --json` adds `where`. The status line counts only day budgets on session keys, and `proxy --enforce-budget` never applies them. [Track cost](https://coding.sh/docs/cost#set-a-budget) - **Cost.** `usage --cache`, `show` and the MCP `usage` tool split the estimated cost into cache reads, cache writes, uncached input and output, with each part's share; `usage --json` adds `estimatedCostByTokenType`. Reported and gateway-billed costs are not split and are named apart. [Track cost](https://coding.sh/docs/cost#cost-by-token-type) -- **Alerts.** `coding.sh alert add` sets a threshold on failure rate, cost, sessions or one flag over the last hour, day or week. Each change of state sends a signed JSON POST to a webhook or the same JSON to a command. `alert check` runs from cron, and `coding.sh serve` runs it every minute. [CLI reference](https://coding.sh/docs/cli/alert) -- **Alerts.** `coding.sh alert add --measure score:` alerts on the mean of a numeric or boolean session score over the window, and `--under` with `--warn-under` fires when the value falls below the threshold, so a falling eval score notifies. The webhook body adds `direction: "under"` for these alerts. [CLI reference](https://coding.sh/docs/cli/alert) +- **Cost.** `coding.sh usage --repo ` keeps one repo, read as `sessions --repo` and a repo budget read it, so `usage` with a budget's `--agent` and `--repo` over its period gives the total `budget status` shows. `-r` is its short form. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#set-a-budget)) +- **Datasets.** `coding.sh dataset mine --proof-steps` mines redacted, deduplicated formal-verification proof-step cases (solved error-to-diff transitions and stuck proof goals) across Lean, Rocq, Dafny, Verus, Isabelle, and TLA+/TLC, with `--proof-lang` and `--proof-outcome` filters. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#mining-formal-proof-steps)) +- **Datasets.** `coding.sh dataset mine` harvests sessions into versioned datasets with `--where`, `--min-turns`, `--min-score`, `--exclude-flagged`, `--dedupe-near`, and deterministic difficulty metadata. `dataset stats` reports split, tag, difficulty, input length, and near-duplicate pair counts, and `dataset filter --out ` curates filtered child datasets. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#mining-and-curating-datasets)) +- **Evals.** Gemini judges, grades and monitors (`"provider": "gemini"`, `monitor add --provider gemini`) with `GEMINI_API_KEY`. `coding.sh monitor add --http ` scores each new session with your own service: a POST signed with a secret printed once, retried on 5xx, 408, 425, 429 or a network error; a 2xx `{"value"}` answer becomes the score. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors) +- **Evals.** `coding.sh compare` prints claim rate, claim precision and silent failures per arm: how often the final answer says the work is done, how often the verifier agrees, and how often it claimed success on a failed run. The rows and `claims` in `--json` appear only when some arm claims. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab) +- **Handoff.** `coding.sh handoff ` builds a deterministic $0, secret-redacted Markdown or `--json` context-reset brief with the original goal, changed files, passing checks, deduplicated failed approaches under Do Not Repeat, supervision risk, and formal-proof status. Supports `--out` and `--max-dead-ends`; `work show` suggests it on high-risk items. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#resetting-context-with-a-handoff-brief)) +- **Harness.** `coding.sh harness tools` lists every MCP and built-in tool the proxy saw across sessions, with a hash of its description and schema. `--changed` exits 1 when a tool had more than one description or schema, differs from the hashes `harness tools pin` saved, or first showed up after the last pin. Needs the proxy with request capture. [Proxy](https://coding.sh/docs/how-to/capture-with-proxy#catch-a-tool-description-that-changed) +- **Harness.** After a pin, `harness tools --changed` also keeps a pinned tool that the sessions since no longer offer (`removed since pin`), and `--json` names up to 20 `sessionIds` that saw each change. Pinning again drops a removed tool's pin. [Proxy](https://coding.sh/docs/how-to/capture-with-proxy#catch-a-tool-description-that-changed) +- **Impact.** `coding.sh impact` reports local store disk size and spool errors, sessions flagged for test tampering, supervision risk, unverified edit streaks, and formal proof issues, plus eval artifact counts and 14-day before/after comparisons for applied refinements (marked `insufficient-data` below 5 sessions per side). ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#workflow-impact)) +- **MCP.** A `work` tool pages the queue `coding.sh work --json` prints, with the index's age, which `status` now carries too. `session_current` finds a running subagent or worktree delegate, `sessions_list` counts the child sessions it leaves out (`hiddenChildren`), and a `session_get` tail cursor past 20,000 events keeps its place while the session grows. [MCP](https://coding.sh/docs/mcp) +- **MCP.** The `work` tool takes `id` (a work id, a prefix of one, or a session id) and answers with that one item, found as `coding.sh work show` finds it, hidden items too. Before, reading one item meant paging every item. An unknown id is a tool error, and so is a shared prefix, which lists the matches. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces)) +- **MCP.** The `eval_candidates` tool answers with `rejected`, the count `coding.sh eval candidates --json` gives, and `rejectedBy`, the count for each reject reason. Both cover every session it considered, not only the rows it lists. Before, it could not say how many sessions it turned down or why. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval)) +- **OTel.** The OTel receiver keeps the trace tags an SDK sends on a span or its resource: each tag becomes a `tag:` session flag, so `--where 'flag:tag:prod'` finds the session. At most 20 tags of 64 characters each. [OpenTelemetry](https://coding.sh/docs/otel#public-path) +- **Prompts.** `coding.sh prompt set|get|list|label|diff` manages local versioned text and chat prompts under `~/.coding.sh/prompts/` with SHA-256 content deduplication, optional model config, mutable labels (`production`, `staging`, `latest`), single-pass `{{var}}` rendering, and unified line diffs. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#prompt-registry)) +- **Proofs.** `coding.sh proof ` summarizes formal-verification integrity (languages, spec edits, escape hatches, checker runs, tamper findings, verdict, and audit hints) with read-only `--check-disk` scanning and `--strict` gating. `refine mine` adds a `proof-failure` detector that clusters recurring Lean, Rocq, Verus, Dafny, Isabelle, and TLA+ checker failures. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#reviewing-formal-proofs)) +- **Query.** `--where` adds session keys `risk`, `risk.reason`, `proof.lang`, `proof.escapes`, `proof.oscillating` and `unverified.edits` (plus `risk`, `risk.reason` and `proof.lang` facets) across `sessions`, `dataset mine`, `export`, `usage`, `stats`, the viewer and MCP. [Query language](https://coding.sh/docs/query#session-keys) +- **Scores.** `coding.sh export scores` streams typed scores as JSONL or CSV (with `--name`, `--source`, `--since`, `--until`, `--out` and text redaction). `GET /api/metrics?measure=score:`, `coding.sh stats --measure score:` and the viewer's Explore page compute bucketed and grouped means over numeric and boolean session scores. [API reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apimetrics) - **Scores.** `coding.sh monitor add --judge rubric.md` or `--run ""` scores each session once after it ends, in `coding.sh ingest`, the viewer and `coding.sh serve`, with `--where`, `--sample` and a daily judge spend limit. The MCP tool `score_add_batch` writes up to 100 scores, all or none. [CLI reference](https://coding.sh/docs/cli/monitor) - **Scores.** `coding.sh review create --where --config ` makes a queue of sessions to score by hand, with `--sample` and `--assign`. `review next`, `done`, `skip`, `status` and `list` work through it, and `/api/review` does the same in `coding.sh ui` and `serve`. Each answer is a human score. [CLI reference](https://coding.sh/docs/cli/review) - **Sessions.** `stats.compactionRefetches` counts read-only calls that fetched again a result a compaction took out of the context, with no write to it in between, and the tokens they sent again. It is absent when there are none. [API reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md) +- **Sessions.** Sessions get `stats.waiting`, the permission prompt, question, plan or next prompt a session waits on when its events end, and `stats.endInferred`, set when `endedAt` is only the last event seen. [API reference](https://coding.sh/docs/api) +- **Sessions.** `coding.sh views save --where ` keeps a query under a name, and `views list` and `views rm` manage them. `sessions --view ` lists its sessions, ANDed with `--where` when both are given; the MCP `sessions_list` tool takes `view`, and the viewer API serves `/api/views`. [Query](https://coding.sh/docs/query#saved-views) +- **Sessions.** `coding.sh show` prints a Retrieval line: the session's reads and the files they named, its searches and how many found nothing, how many of the files read it later edited, and the reads and searches before its first edit. Sessions get `stats.retrieval`, and `stats --json` adds totals over the window. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) +- **Sessions.** Each session records how often and how long it waited on you, and on what: permission prompts, questions, plans, host app requests and turns. Steers, and the waits an agent's message ended, count apart. `coding.sh show` prints one line with the median wait, and `coding.sh stats --json` adds the window's totals by kind. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) +- **Sessions.** `test-tamper` and the `no-test-tamper` check now read proofs in Rocq, Lean, Dafny, Verus, TLA+ and Isabelle: a theorem statement or spec change, made after a proof check failed, that turned it green; an escape hatch such as `sorry` the agent added and left in; or `--no-verify` on a check that had failed. Stored sessions are checked again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#checklists-and-trace-checks)) +- **Sessions.** Sessions record intermediate verification discipline and proof loop stats in `stats.verification` (checks, unverified edit streaks, check latency, escape hatches, oscillating checks, whole-project builds) and context degradation signals in `stats.contextHygiene` (compactions, post-compaction failed repeats, dead-end streaks, failed output size, supervision risk). `coding.sh show` prints Verify and Context rows when relevant. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) +- **Site.** The GitHub link in the header shows the repository's star count, and so does the menu on a phone. The count is read when the site is deployed, so a page makes no request to GitHub. [coding.sh](https://coding.sh) +- **Stats.** `coding.sh stats --scorecard` compares the models you used, on your own sessions: turns, and counts with a 95% interval for pushback and its kinds, cancelled turns, the median turn, and failed file edits and shell commands. With two columns, a DIFFERENCE column says no clear difference where its interval includes 0. Stored sessions are folded again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/compare-models.md)) +- **Status.** `coding.sh status` names each agent's last capture on a Last capture row and says when an update is out, as the MCP `status` tool does. `status --json` adds `version`, `update`, `lastCapture` and `index.ageMs` with the tool's values; the update comes from the update check's cache, with no network. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-status)) +- **Steer.** `coding.sh steer ` and `GET /api/sessions/{id}/steer` read live verification, proof loop, context hygiene, tamper and wait telemetry to return `continue`, `nudge` or `intervene` with prioritized directives and a paste-ready steer prompt (`--prompt`, `--strict`, `--fresh`, `--json`). [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#live-session-steering) +- **Tool evals.** Each arm summary counts silent failures, failed trials with no rejected call, failed call or retry, and target calls per success. The arm table prints both when an arm has them. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#6-metrics) +- **Viewer.** At-risk sessions (`#/s/`) show a collapsible Live Steer card (expanded on `intervene`, collapsed on `nudge`) with prioritized directives, a copyable `suggestedSteer` prompt, and a `coding.sh handoff` hint on context resets; blocked, failed, or at-risk work items (`#/w/`) show the same advice for their cause session, while healthy items make zero `/steer` requests. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#live-session-steering) +- **Viewer.** `GET /api/sessions/{id}/proof` returns a trace-only formal-verification integrity report with checker milestones for `ui` and `serve`. On `#/s/`, the header adds a verification and context hygiene strip when relevant, and proof sessions show a collapsible Proof Review card with verdict, spec status, escapes, tamper findings, jumpable milestones, and copyable audit hints. [API reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsidproof) - **Viewer.** A Work tab (`#/work`, g w) in `coding.sh ui` shows what needs you, from the same queue as `coding.sh work`: each bucket's items with their reason, age, next step, cost and session links, and agent, repo and time filters in the URL. Ack and Snooze 1h write the same `work.json` as the CLI. [Open the viewer](https://coding.sh/docs/explore#open-the-viewer) - **Viewer.** On a session page, `}` and `{` move to the next and previous user turn, and the help sheet and hint bar list them. Each turn's row shows the first line of the prompt and its time into the session, and the strip beside the step list marks each turn start. [Concepts](https://coding.sh/docs/concepts#turn) - **Viewer.** In a session of more than three turns, each finished turn starts folded to one row with its prompt, what it did ("read 2 files, 1 edit"), tool calls, errors and length. A turn with a failure and the last turn stay open. Enter, a click or a link to a step inside opens it. [Concepts](https://coding.sh/docs/concepts#turn) @@ -52,47 +66,35 @@ grouped by area, with links to the docs for the details. - **Viewer.** Each row in the session list is a link: a middle click, Ctrl or Cmd click, or "Open link in new tab" opens the session in a new tab and leaves the list where it was. A plain click and the keys work as before. [Concepts](https://coding.sh/docs/concepts#session) - **Viewer.** The top bar has a Workflows tab (Flows on a phone) beside Benchmarks, so every page of the viewer is one click away. The tab of the page you are on is marked. [Explore](https://coding.sh/docs/explore#open-the-viewer) - **Viewer.** A Review page (`#/review`, g r) works through review queues: progress, the next session, a control for the score config, a comment, and keys for Done, Skip and opening the session. Work items show their stage and kind, with a stage filter. [Review queues](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#review-queues) -- **Work.** `coding.sh work` lists what needs you across every agent: items blocked on a prompt, failed, stalled, waiting for your next prompt or ready for review, each with a reason and a next step. `work show`, `work ack` and `work snooze` act on one item. `status` and the statusline count them; the MCP `status` tool lists the first 5. [CLI](https://coding.sh/docs/cli/work) -- **Sessions.** Sessions get `stats.waiting`, the permission prompt, question, plan or next prompt a session waits on when its events end, and `stats.endInferred`, set when `endedAt` is only the last event seen. [API reference](https://coding.sh/docs/api) -- **Site.** The GitHub link in the header shows the repository's star count, and so does the menu on a phone. The count is read when the site is deployed, so a page makes no request to GitHub. [coding.sh](https://coding.sh) -- **Capture.** Devin CLI: `coding.sh init` installs its hooks and registers the MCP server, and the OTel receiver reads its logs. Its permission prompts show in `coding.sh work`, and eval runs read tokens and cost from its `--export` file. Devin also runs Claude Code's hooks; those calls are stored as Devin's, once. Past sessions are not imported. [Agents](https://github.com/jackulau/coding.sh/blob/main/docs/guides/agents.md) -- **Harness.** `coding.sh harness tools` lists every MCP and built-in tool the proxy saw across sessions, with a hash of its description and schema. `--changed` exits 1 when a tool had more than one description or schema, differs from the hashes `harness tools pin` saved, or first showed up after the last pin. Needs the proxy with request capture. [Proxy](https://coding.sh/docs/how-to/capture-with-proxy#catch-a-tool-description-that-changed) -- **Harness.** After a pin, `harness tools --changed` also keeps a pinned tool that the sessions since no longer offer (`removed since pin`), and `--json` names up to 20 `sessionIds` that saw each change. Pinning again drops a removed tool's pin. [Proxy](https://coding.sh/docs/how-to/capture-with-proxy#catch-a-tool-description-that-changed) -- **Capture.** Serve and the collector also take OTel traces at `/api/public/otel/v1/traces`, where Basic auth with an ingest key as username or password works, so an SDK that sends there changes only its host. `--where user:`, `env:` and `release:` filter by the user, environment and release a trace names. [OTel](https://coding.sh/docs/otel#public-path) -- **Work.** A T3 Code thread that waits on an approval or a question is blocked on you in `coding.sh work`, with the prompt or question, whichever agent the thread runs. The wait comes from T3's store and clears when T3 resolves the request. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#waiting-state) -- **Sessions.** `coding.sh views save --where ` keeps a query under a name, and `views list` and `views rm` manage them. `sessions --view ` lists its sessions, ANDed with `--where` when both are given; the MCP `sessions_list` tool takes `view`, and the viewer API serves `/api/views`. [Query](https://coding.sh/docs/query#saved-views) - **Viewer.** Comment on a session or one step in `coding.sh ui`: each comment is a text score named `comment`, shown as text with its author and time, and `coding.sh show` prints them under their step (`comments` in `--json`). The session list's Views menu applies and deletes saved views, and Save view keeps the current filter. [Explore](https://coding.sh/docs/explore#open-the-viewer) - **Viewer.** On the Work page a workflow run shows each phase's agents by state, with its agents grouped by phase and each phase's cost. A superseded failure links the session that superseded it. Work and the session list say how old the index is, as a warning when stale. Worktree sessions show their main checkout's repo. [Explore](https://coding.sh/docs/explore#open-the-viewer) -- **Cost.** `coding.sh usage --repo ` keeps one repo, read as `sessions --repo` and a repo budget read it, so `usage` with a budget's `--agent` and `--repo` over its period gives the total `budget status` shows. `-r` is its short form. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#set-a-budget)) -- **Status.** `coding.sh status` names each agent's last capture on a Last capture row and says when an update is out, as the MCP `status` tool does. `status --json` adds `version`, `update`, `lastCapture` and `index.ageMs` with the tool's values; the update comes from the update check's cache, with no network. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-status)) -- **MCP.** The `work` tool takes `id` (a work id, a prefix of one, or a session id) and answers with that one item, found as `coding.sh work show` finds it, hidden items too. Before, reading one item meant paging every item. An unknown id is a tool error, and so is a shared prefix, which lists the matches. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces)) -- **MCP.** The `eval_candidates` tool answers with `rejected`, the count `coding.sh eval candidates --json` gives, and `rejectedBy`, the count for each reject reason. Both cover every session it considered, not only the rows it lists. Before, it could not say how many sessions it turned down or why. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval)) - **Viewer.** Each Work item has its own page (`#/w/`), built by the same code as `coding.sh work show`: its reason, next step, sessions, PRs, files and a run's agents by phase, with Ack and Snooze. Every card links to it, and back returns to the list where it was. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) -- **Sessions.** `coding.sh show` prints a Retrieval line: the session's reads and the files they named, its searches and how many found nothing, how many of the files read it later edited, and the reads and searches before its first edit. Sessions get `stats.retrieval`, and `stats --json` adds totals over the window. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Sessions.** Each session records how often and how long it waited on you, and on what: permission prompts, questions, plans, host app requests and turns. Steers, and the waits an agent's message ended, count apart. `coding.sh show` prints one line with the median wait, and `coding.sh stats --json` adds the window's totals by kind. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Stats.** `coding.sh stats --scorecard` compares the models you used, on your own sessions: turns, and counts with a 95% interval for pushback and its kinds, cancelled turns, the median turn, and failed file edits and shell commands. With two columns, a DIFFERENCE column says no clear difference where its interval includes 0. Stored sessions are folded again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/compare-models.md)) -- **Sessions.** `test-tamper` and the `no-test-tamper` check now read proofs in Rocq, Lean, Dafny, Verus, TLA+ and Isabelle: a theorem statement or spec change, made after a proof check failed, that turned it green; an escape hatch such as `sorry` the agent added and left in; or `--no-verify` on a check that had failed. Stored sessions are checked again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#checklists-and-trace-checks)) -- **Datasets.** `coding.sh dataset mine` harvests sessions into versioned datasets with `--where`, `--min-turns`, `--min-score`, `--exclude-flagged`, `--dedupe-near`, and deterministic difficulty metadata. `dataset stats` reports split, tag, difficulty, input length, and near-duplicate pair counts, and `dataset filter --out ` curates filtered child datasets. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#mining-and-curating-datasets)) -- **Proofs.** `coding.sh proof ` summarizes formal-verification integrity (languages, spec edits, escape hatches, checker runs, tamper findings, verdict, and audit hints) with read-only `--check-disk` scanning and `--strict` gating. `refine mine` adds a `proof-failure` detector that clusters recurring Lean, Rocq, Verus, Dafny, Isabelle, and TLA+ checker failures. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#reviewing-formal-proofs)) -- **Sessions.** Sessions record intermediate verification discipline and proof loop stats in `stats.verification` (checks, unverified edit streaks, check latency, escape hatches, oscillating checks, whole-project builds) and context degradation signals in `stats.contextHygiene` (compactions, post-compaction failed repeats, dead-end streaks, failed output size, supervision risk). `coding.sh show` prints Verify and Context rows when relevant. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) +- **Work.** `coding.sh handoff --work ` builds a deterministic $0, secret-redacted multi-day handoff brief across every session in a work item, with direction pivots, timeline, changed files, passing checks, deduplicated dead ends, proof rollup, and context resets. `work show ` adds a `Timeline` (`timeline` in `--json`) and suggests `handoff --work` on multi-session high-risk items. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#resetting-context-with-a-handoff-brief)) +- **Work.** Work items surface `supervisionRisk` (`medium` or `high`), `riskReasons`, and aggregated formal-verification `proof` stats across `coding.sh work`, `work show`, `GET /api/work`, the MCP `work` tool, and the Work page (`#/work`, `#/w/`). `--risk` and `risk=` include still-running sessions matching that risk. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#supervision-risk-and-proof-status) +- **Work.** `coding.sh work`, `GET /api/work` and the MCP `work` tool filter by `--kind`, `--bucket` and `--q`. `coding.sh work ack` and `POST /api/work/ack-batch` acknowledge items in batch by `--probably-closed`, `--group` or `--bucket` with `--dry-run`. The Work page adds search, kind filters, one-click batch ack banners and a snooze duration picker. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) +- **Work.** `coding.sh status` says how old the index is (`Index updated 4m ago`). When no ingest has finished for 15 minutes and none runs, `work` judges waits and stalls as of the last ingest and says so in its header, so a stopped ingest no longer looks like a fleet of stalled agents. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#an-old-index) +- **Work.** Each `coding.sh work` item has a stage (planning, executing, review, approval or done), a kind (research or change) and a line of evidence. The header counts items per stage, and `--stage approval` lists every item in that stage, hidden ones too. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#stages-and-kinds) +- **Work.** Each work item names the pull requests its sessions opened, merged, closed or linked, read from their own tool calls: `work` prints "PR #12 merged" on the item's line, `work show` lists each with its URL, and `work --json`, the MCP `work` tool and the Work page carry them. Sessions get `stats.prs`. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items) +- **Work.** `coding.sh work` lists what needs you across every agent: items blocked on a prompt, failed, stalled, waiting for your next prompt or ready for review, each with a reason and a next step. `work show`, `work ack` and `work snooze` act on one item. `status` and the statusline count them; the MCP `status` tool lists the first 5. [CLI](https://coding.sh/docs/cli/work) +- **Work.** A T3 Code thread that waits on an approval or a question is blocked on you in `coding.sh work`, with the prompt or question, whichever agent the thread runs. The wait comes from T3's store and clears when T3 resolves the request. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#waiting-state) ### Changed +- **Alerts.** `alert list --json` and `alert add --json` give an alert's `states` as a list, one entry per group with `agent` under `--by agent`, so Windows PowerShell 5.1's `ConvertFrom-Json` reads them. Before, the states were keyed by group, and the empty key of an alert without `--by` made it fail. alerts.json is unchanged. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#check-on-a-schedule)) +- **Capture.** Ingest and backfill fold the next sessions while git reads repo state, instead of waiting on each git command. A fresh backfill of 358 sessions spent 6.2 s instead of 16.5 s writing sessions. The stored sessions are the same. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-ingest) +- **Capture.** Ingest no longer rewrites a past day's spool file with nothing to redact, and SQLite folds the WAL into the index every 64 MB and into the blob pack every 16 MB, not every 4 MB. Dogfood ingest went from 3,388 to 4,165 events/s (+778, 95% CI +83 to +1,437). The stored sessions are the same. [Architecture](https://github.com/jackulau/coding.sh/blob/main/docs/design/architecture.md#storage) +- **Capture.** A large ingest compresses its small blobs on a worker thread, and commits every 20,000 events instead of 5,000 when no sink is configured. In a paired run, dogfood ingest went from 3,761 to 4,935 events/s (+1,174, 95% CI +707 to +1,635). The stored blobs and sessions are byte for byte the same. [Architecture](https://github.com/jackulau/coding.sh/blob/main/docs/design/architecture.md#efficiency) +- **Capture.** The node hook loads its redaction rules only for a payload whose text may hold a secret, or when your `config.toml` sets other rules; the rules would leave any other payload as it is. A 2 KB tool call with no secret runs the hook 0.7 ms faster than 0.1.7 did (95% CI 0.1 to 0.9, Windows). [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#redaction-in-the-node-hook) +- **Capture.** A node hook call no longer loads Node's stream modules or `node:os`, so a 2 KB tool call runs the hook 3.4 ms faster (95% CI 2.2 to 5.9, Windows). A node older than 22.3 still runs it. [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#built-in-modules-in-the-node-hook) +- **Capture.** Each import of T3 Code's store finds changed threads by counting their messages and turn items from T3 Code's indexes, not by reading every turn item. An edit in place counts by the thread's `updated_at` or its newest event, also when a command writes back an older `updated_at`. The first import after the upgrade reads its threads again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code)) +- **Capture.** Ingest redacts raw blobs faster: it runs only the secret rules a payload's text can match, finds them in one pass, and copies only the strings a rule changes. Stored events, blobs and sessions are the same. In a paired run, dogfood ingest went from 3,399 to 4,666 events/s (+1,267, 95% CI +799 to +1,712). ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#redaction-of-raw-blobs)) +- **Capture.** Redaction copies a value nested thousands of levels deep once in each pass over it, and follows an array as deep as an object. Past the depth the stack allows, a few thousand levels, the rest of a value is stored as `[redacted:too-deep]`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Checks.** `npm run gate`, and CI's static gate with it, also runs the dogfood scorecard's own tests (`npm run dogfood:test`). Before, no check ran them. [Contributing](https://github.com/jackulau/coding.sh/blob/main/CONTRIBUTING.md) +- **Checks.** `npm run gate`'s site step builds the site with the star count CI uses, then runs the site's perf budget and checks each page's HTML against Site perf's budgets. Before, a page over either budget passed the gate and failed only in CI. Site perf now builds with the same star count. [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md) +- **Checks.** `npm run gate`, and CI's static gate with it, also runs the changelog helper's tests (`npm run changelog:test`) and `node scripts/changelog/add.mjs --check` on the unreleased lines. Before, no check ran them. [Contributing](https://github.com/jackulau/coding.sh/blob/main/CONTRIBUTING.md) +- **Checks.** In CI and `npm run gate`, a test file still running after 5 minutes is stopped and fails under its own name, so it is rerun alone like any failed file. Before, a hung file held its CI job until the job's time limit. `CODING_SH_TEST_FILE_LIMIT_MS` sets another limit; 0 turns it off. [Contributing](https://github.com/jackulau/coding.sh/blob/main/CONTRIBUTING.md) - **CLI.** Read commands such as `sessions` and `usage` no longer load the OTLP receiver or Node's HTTP client before they read, so each runs about 30 ms faster (`sessions` 33 ms, 95% CI 26 to 43; `usage` 30 ms, 95% CI 26 to 35; Windows). [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#read-commands) -- **Query.** `sessions --facets` and the viewer's filter list count sessions per repo by folder first, then name each folder once. On a 3,600-session store the agent, model, repo and flag counts take 8.9 ms instead of 35.2 (95% CI 25.3 to 27.2 ms less, Windows), with the same counts. [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#repo-facet) -- **Viewer.** A link to a session (`#/s/`) asks for the session's record and its first events at once, as the page starts, instead of one after the other once the page script has run. On loopback its first rows show 45 ms sooner (95% CI 12 to 82 ms, Windows). [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#session-links) -- **MCP.** The tools that take a session id, and `coding.sh work show`, take a unique prefix, a subagent's own id or `latest`; an ambiguous prefix lists its matches. Hints and `session_tree` and `subagents` rows use the shortest id that resolves, so more rows fit on a page. `search` and `status` keep full ids, with `shortId` beside them. [Concepts](https://coding.sh/docs/concepts#session) -- **Export.** The OTLP sink follows GenAI semantic conventions v0.1.0: schema URL 1.45.0, the package version as scope version, and `gen_ai.provider.name` on every chat span, transcript-only Claude Code and Codex sessions included. Chat spans carry `gen_ai.request.reasoning.level`; Skill calls carry `gen_ai.skill.name`. [Sinks](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#sinks) -- **Work.** Each workflow run is one `coding.sh work` item, apart from the session that started it, with a line per phase counting running, failed and done agents. A failure older than 12 hours, or one a later passing item on the same branch replaced, no longer counts in "need you". [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#workflow-runs) - **Compare.** A trial timeout counts in an arm's `attrition.timedOut`, not as infrastructure, and gets no re-run hint; `ETIMEDOUT` stays infrastructure. When the arms' timeout counts differ, `exp compare` and `--json` name the cases and note that the verdict depends on the time limit. [Eval methods](https://github.com/jackulau/coding.sh/blob/main/docs/reference/eval-methods.md#more-checks-exp-compare-prints) -- **OTel.** The receiver reads GenAI semconv v0.1.0: an `invoke_workflow` span is a subagent named by `gen_ai.agent.name`, `gen_ai.request.reasoning.level` is a model call's `reasoningEffort`, `mistral_ai` is stored as `mistral`, and an MCP tool span whose `rpc.status_code` is not `OK` is a failed call. Older names still work. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#43-plain-opentelemetry-no-sdk) -- **OTel.** With `mode = "full"`, the `otlp` sink sends a tool call's arguments and result as structured OTLP values (`kvlistValue`, `arrayValue`) when they are an object or array of 8192 characters or less as JSON, so OTLP backends show their fields. Larger values and plain strings are still sent as text cut at 8192 characters. [Config](https://coding.sh/docs/config#sinks) -- **Sessions.** A session whose events stop on a tool call with no result, and with no session end, has no `endedAt`: it did not finish. Before, its last event counted as its end, and for a transcript so did the marker written after 30 quiet minutes. [API reference](https://coding.sh/docs/api) -- **Viewer.** A code block's language label sits in the block's top-right corner instead of on a loose line above it, and Chat no longer opens with a "1 step" line when the only step before the first prompt is the session starting. [Concepts](https://coding.sh/docs/concepts#turn) -- **Viewer.** On a phone, a session's Pass and Fail buttons and its eval command wait under "More details" with the other facts, so the steps start higher on the first screen. `p` and `f` still label the session. [Concepts](https://coding.sh/docs/concepts#session) -- **Viewer.** In a session's Chat view, `}` and `{` bring the next or previous prompt to the top and `j` and `k` the next or previous message, and the hint bar lists them. Before, every step key did nothing there. [Concepts](https://coding.sh/docs/concepts#turn) -- **Viewer.** A folded turn's row has no timing bar, so its prompt and summary run on over the timing column and more of the prompt shows. On a phone the row keeps the turn number, the prompt and its error count, and leaves the length and tool count to the turn's detail. [Concepts](https://coding.sh/docs/concepts#turn) -- **Viewer.** The theme follows the system's light or dark setting, and changes when the setting does, until you pick one with the theme button. A picked theme is remembered and wins. The first paint already has the right theme. [Explore](https://coding.sh/docs/explore#open-the-viewer) - **Docs.** The docs sidebar folds by group on wide screens, as the phone menu does: the first group and the one that holds the page start open, the rest closed, so every group name fits on screen. [Docs](https://coding.sh/docs) - **Docs.** The "On this page" rail lists each section's subheadings under it, shows them for the section being read, and marks both; it scrolls itself to keep the current entry in view. [SDKs](https://coding.sh/docs/sdk) - **Docs.** Below 1280px, where the rail does not fit, "On this page" is a closed dropdown at the top of the article with the same entries, on tablets and phones. [SDKs](https://coding.sh/docs/sdk) @@ -100,260 +102,122 @@ grouped by area, with links to the docs for the details. - **Docs.** The FAQ folds each answer under its question, and each question is one control named by its words. A link to a closed fold, or to a section inside one such as a question or an optional step, opens it and scrolls to it, from the same page or another. [FAQ](https://coding.sh/docs/faq) - **Docs.** The `--help` text on each CLI page, and every terminal output block, has a Copy button. Copying a block whose lines start with `$ ` copies only the commands, without the prompt or the output. Shell blocks colour the command, its flags, quoted strings and comments. [CLI](https://coding.sh/docs/cli) - **Docs.** The Quickstart opens with a prompt to paste into your coding agent, with tabs for coding agents and for TypeScript and Python agents: each says how to install, how to set up and how to check that it records, then gives a first task. The home page's install button copies the same setup prompt. [Quickstart](https://coding.sh/docs/quickstart) -- **Site.** The install box at the top and bottom of the home page offers three ways to set up: the setup prompt for your coding agent (picked first), `npx coding.sh init` and the install script. Its copy button copies the one picked, and a note under it says where it runs. [Install](https://coding.sh/docs/install) -- **Harness.** `coding.sh harness audit` checks for each Claude Code project's `memory/` dir with a stat instead of a directory listing that fails. With 25,800 project dirs, 12 of them with memory, listing the memory files took 0.56 s instead of 1.45 s. [Explore](https://coding.sh/docs/explore) -- **Capture.** Ingest and backfill fold the next sessions while git reads repo state, instead of waiting on each git command. A fresh backfill of 358 sessions spent 6.2 s instead of 16.5 s writing sessions. The stored sessions are the same. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-ingest) -- **Storage.** `coding.sh gc` walks the blob folders once instead of twice: the temp files it sweeps are the ones the blob listing passed. On a store of 37,697 blobs, `gc --dry-run` took 5.9 s instead of 9.4 s. It removes the same blobs and temp files. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-gc) - **Docs.** Command blocks drop their "shell" title bar: the Copy button sits in the block's corner. Blocks with a file name or output keep their title. The star beside the GitHub link is yellow. [Install](https://coding.sh/docs/install) -- **Capture.** Ingest no longer rewrites a past day's spool file with nothing to redact, and SQLite folds the WAL into the index every 64 MB and into the blob pack every 16 MB, not every 4 MB. Dogfood ingest went from 3,388 to 4,165 events/s (+778, 95% CI +83 to +1,437). The stored sessions are the same. [Architecture](https://github.com/jackulau/coding.sh/blob/main/docs/design/architecture.md#storage) -- **Capture.** A large ingest compresses its small blobs on a worker thread, and commits every 20,000 events instead of 5,000 when no sink is configured. In a paired run, dogfood ingest went from 3,761 to 4,935 events/s (+1,174, 95% CI +707 to +1,635). The stored blobs and sessions are byte for byte the same. [Architecture](https://github.com/jackulau/coding.sh/blob/main/docs/design/architecture.md#efficiency) -- **Capture.** The node hook loads its redaction rules only for a payload whose text may hold a secret, or when your `config.toml` sets other rules; the rules would leave any other payload as it is. A 2 KB tool call with no secret runs the hook 0.7 ms faster than 0.1.7 did (95% CI 0.1 to 0.9, Windows). [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#redaction-in-the-node-hook) -- **Capture.** A node hook call no longer loads Node's stream modules or `node:os`, so a 2 KB tool call runs the hook 3.4 ms faster (95% CI 2.2 to 5.9, Windows). A node older than 22.3 still runs it. [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#built-in-modules-in-the-node-hook) -- **Serve.** `coding.sh serve --json` no longer has `keys.ingest` and `keys.read`; read the keys from the file `keys.file` names. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) -- **Checks.** `npm run gate`, and CI's static gate with it, also runs the dogfood scorecard's own tests (`npm run dogfood:test`). Before, no check ran them. [Contributing](https://github.com/jackulau/coding.sh/blob/main/CONTRIBUTING.md) -- **Checks.** `npm run gate`'s site step builds the site with the star count CI uses, then runs the site's perf budget and checks each page's HTML against Site perf's budgets. Before, a page over either budget passed the gate and failed only in CI. Site perf now builds with the same star count. [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md) -- **Checks.** `npm run gate`, and CI's static gate with it, also runs the changelog helper's tests (`npm run changelog:test`) and `node scripts/changelog/add.mjs --check` on the unreleased lines. Before, no check ran them. [Contributing](https://github.com/jackulau/coding.sh/blob/main/CONTRIBUTING.md) -- **Checks.** In CI and `npm run gate`, a test file still running after 5 minutes is stopped and fails under its own name, so it is rerun alone like any failed file. Before, a hung file held its CI job until the job's time limit. `CODING_SH_TEST_FILE_LIMIT_MS` sets another limit; 0 turns it off. [Contributing](https://github.com/jackulau/coding.sh/blob/main/CONTRIBUTING.md) -- **Site.** coding.sh is served by Vercel instead of a Cloudflare Worker, which had hit its daily request limit and answered 429. Moved pages, `www`, the headers and the installer behave as before. [Release](https://github.com/jackulau/coding.sh/blob/main/docs/RELEASE.md#deploying-the-site) - **Dogfood.** A perf or site budget missed by a little gets partial credit: the target divided by the reading for a ceiling, and the reverse for a floor. One reading near a budget moved the headline by 4 points before. `compare` scores the previous scorecard again with the current scorer and keeps its stored headline as `prevStored`. [Dogfood design](https://github.com/jackulau/coding.sh/blob/main/docs/design/dogfood.md) -- **SDK.** In Python, `coding_sh.flush()` waits at most 5 s by default, as `flush()` does in TypeScript; `flush(timeout=None)` still waits until the queue is sent or given up. Before, a script that ended with `coding_sh.flush()`, as the quick start shows, could hang for over a minute when the server did not answer. [SDK](https://coding.sh/docs/sdk) +- **Export.** The OTLP sink follows GenAI semantic conventions v0.1.0: schema URL 1.45.0, the package version as scope version, and `gen_ai.provider.name` on every chat span, transcript-only Claude Code and Codex sessions included. Chat spans carry `gen_ai.request.reasoning.level`; Skill calls carry `gen_ai.skill.name`. [Sinks](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#sinks) +- **Harness.** `coding.sh harness audit` checks for each Claude Code project's `memory/` dir with a stat instead of a directory listing that fails. With 25,800 project dirs, 12 of them with memory, listing the memory files took 0.56 s instead of 1.45 s. [Explore](https://coding.sh/docs/explore) +- **Improve.** `improve fix` rewrites an earlier wording of a line in place rather than adding the new wording beside it. The `test-tamper` line now names theorem statements, escape hatches and `--no-verify` too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#add-the-line)) +- **MCP.** The tools that take a session id, and `coding.sh work show`, take a unique prefix, a subagent's own id or `latest`; an ambiguous prefix lists its matches. Hints and `session_tree` and `subagents` rows use the shortest id that resolves, so more rows fit on a page. `search` and `status` keep full ids, with `shortId` beside them. [Concepts](https://coding.sh/docs/concepts#session) +- **OTel.** The receiver reads GenAI semconv v0.1.0: an `invoke_workflow` span is a subagent named by `gen_ai.agent.name`, `gen_ai.request.reasoning.level` is a model call's `reasoningEffort`, `mistral_ai` is stored as `mistral`, and an MCP tool span whose `rpc.status_code` is not `OK` is a failed call. Older names still work. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#43-plain-opentelemetry-no-sdk) +- **OTel.** With `mode = "full"`, the `otlp` sink sends a tool call's arguments and result as structured OTLP values (`kvlistValue`, `arrayValue`) when they are an object or array of 8192 characters or less as JSON, so OTLP backends show their fields. Larger values and plain strings are still sent as text cut at 8192 characters. [Config](https://coding.sh/docs/config#sinks) - **Proxy.** `proxy stop` asks the proxy to stop over its own port, with a secret from its state file, so the calls in flight finish before it exits. Before, it sent a signal, which on Windows ended the proxy at once and cut those calls. A proxy still running after 10 seconds is ended. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#undo)) -- **Alerts.** `alert list --json` and `alert add --json` give an alert's `states` as a list, one entry per group with `agent` under `--by agent`, so Windows PowerShell 5.1's `ConvertFrom-Json` reads them. Before, the states were keyed by group, and the empty key of an alert without `--by` made it fail. alerts.json is unchanged. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#check-on-a-schedule)) +- **Query.** `sessions --facets` and the viewer's filter list count sessions per repo by folder first, then name each folder once. On a 3,600-session store the agent, model, repo and flag counts take 8.9 ms instead of 35.2 (95% CI 25.3 to 27.2 ms less, Windows), with the same counts. [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#repo-facet) +- **SDK.** In Python, `coding_sh.flush()` waits at most 5 s by default, as `flush()` does in TypeScript; `flush(timeout=None)` still waits until the queue is sent or given up. Before, a script that ended with `coding_sh.flush()`, as the quick start shows, could hang for over a minute when the server did not answer. [SDK](https://coding.sh/docs/sdk) +- **Serve.** `coding.sh serve --json` no longer has `keys.ingest` and `keys.read`; read the keys from the file `keys.file` names. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) +- **Sessions.** A session whose events stop on a tool call with no result, and with no session end, has no `endedAt`: it did not finish. Before, its last event counted as its end, and for a transcript so did the marker written after 30 quiet minutes. [API reference](https://coding.sh/docs/api) - **Sessions.** `coding.sh tree` on a subagent shows that subagent and its own subagents, below a line naming the sessions above it. Before, it printed the whole run, which `--all` still shows. From a subagent, `--json` adds `ancestors`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#subagents-and-the-run-tree)) -- **Viewer.** The viewer page and every JSON answer of 32 KB or more go gzipped when the browser takes gzip, with `Vary: Accept-Encoding`. On a seeded store the page drops from 705 KB to 213 KB, and a 200-item Work answer from 145 KB to 19 KB. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#read-api)) - **Sessions.** A T3 Code thread whose first prompt a person sent is now interactive, also when T3 runs Claude Code through its SDK, unless the OpenCode, Cursor or Pi import reads it. `--where launch:interactive`, the launch facet and `coding.sh improve`'s default sessions include it, and `coding.sh work` lists it as your turn, not stalled, once its turn ends. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) - **Sessions.** Shell lines that took seconds to fold, such as an unclosed quote followed by many escaped quotes, a long `cd` chain, a long PowerShell comma list or a failed `cat` of many files, take milliseconds. On synthetic sessions the retrieval stats take 29% less time to fold (95% CI 28% to 32%). The stats are the same. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Capture.** Each import of T3 Code's store finds changed threads by counting their messages and turn items from T3 Code's indexes, not by reading every turn item. An edit in place counts by the thread's `updated_at` or its newest event, also when a command writes back an older `updated_at`. The first import after the upgrade reads its threads again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code)) -- **Capture.** Ingest redacts raw blobs faster: it runs only the secret rules a payload's text can match, finds them in one pass, and copies only the strings a rule changes. Stored events, blobs and sessions are the same. In a paired run, dogfood ingest went from 3,399 to 4,666 events/s (+1,267, 95% CI +799 to +1,712). ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#redaction-of-raw-blobs)) -- **Capture.** Redaction copies a value nested thousands of levels deep once in each pass over it, and follows an array as deep as an object. Past the depth the stack allows, a few thousand levels, the rest of a value is stored as `[redacted:too-deep]`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **Improve.** `improve fix` rewrites an earlier wording of a line in place rather than adding the new wording beside it. The `test-tamper` line now names theorem statements, escape hatches and `--no-verify` too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#add-the-line)) +- **Site.** The install box at the top and bottom of the home page offers three ways to set up: the setup prompt for your coding agent (picked first), `npx coding.sh init` and the install script. Its copy button copies the one picked, and a note under it says where it runs. [Install](https://coding.sh/docs/install) +- **Site.** coding.sh is served by Vercel instead of a Cloudflare Worker, which had hit its daily request limit and answered 429. Moved pages, `www`, the headers and the installer behave as before. [Release](https://github.com/jackulau/coding.sh/blob/main/docs/RELEASE.md#deploying-the-site) +- **Storage.** `coding.sh gc` walks the blob folders once instead of twice: the temp files it sweeps are the ones the blob listing passed. On a store of 37,697 blobs, `gc --dry-run` took 5.9 s instead of 9.4 s. It removes the same blobs and temp files. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-gc) +- **Viewer.** A link to a session (`#/s/`) asks for the session's record and its first events at once, as the page starts, instead of one after the other once the page script has run. On loopback its first rows show 45 ms sooner (95% CI 12 to 82 ms, Windows). [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#session-links) +- **Viewer.** A code block's language label sits in the block's top-right corner instead of on a loose line above it, and Chat no longer opens with a "1 step" line when the only step before the first prompt is the session starting. [Concepts](https://coding.sh/docs/concepts#turn) +- **Viewer.** On a phone, a session's Pass and Fail buttons and its eval command wait under "More details" with the other facts, so the steps start higher on the first screen. `p` and `f` still label the session. [Concepts](https://coding.sh/docs/concepts#session) +- **Viewer.** In a session's Chat view, `}` and `{` bring the next or previous prompt to the top and `j` and `k` the next or previous message, and the hint bar lists them. Before, every step key did nothing there. [Concepts](https://coding.sh/docs/concepts#turn) +- **Viewer.** A folded turn's row has no timing bar, so its prompt and summary run on over the timing column and more of the prompt shows. On a phone the row keeps the turn number, the prompt and its error count, and leaves the length and tool count to the turn's detail. [Concepts](https://coding.sh/docs/concepts#turn) +- **Viewer.** The theme follows the system's light or dark setting, and changes when the setting does, until you pick one with the theme button. A picked theme is remembered and wins. The first paint already has the right theme. [Explore](https://coding.sh/docs/explore#open-the-viewer) +- **Viewer.** The viewer page and every JSON answer of 32 KB or more go gzipped when the browser takes gzip, with `Vary: Accept-Encoding`. On a seeded store the page drops from 705 KB to 213 KB, and a 200-item Work answer from 145 KB to 19 KB. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#read-api)) +- **Work.** Each workflow run is one `coding.sh work` item, apart from the session that started it, with a line per phase counting running, failed and done agents. A failure older than 12 hours, or one a later passing item on the same branch replaced, no longer counts in "need you". [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#workflow-runs) ### Fixed -- **Proofs.** Formal proof checker commands (`lake env lean`, `coqc`, `dafny verify`, `verus`, `isabelle build`, `tlc`, `tlapm`) now clear `no-verification`, keeping clean verified proof sessions unflagged in `sessions`, `impact`, and `dataset mine --proof-steps --exclude-flagged`. `coding.sh steer` emits high-priority `resolve-escapes` instead of test-tamper `audit-tamper` on standing proof escapes with no test edits. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#live-session-steering)) -- **Sessions.** `test-tamper` and `coding.sh proof` now recognize explicit human direction pivots in `user.message` events and record matching post-steer test, statement, and spec edits at `info` severity with `steeredBy` instead of flagging `test-tamper` or `tampered`, while generic prompts and unrequested bypass flags stay `high`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#checklists-and-trace-checks)) -- **Proofs.** `coding.sh proof --check-disk` resolves real paths so symlinks and junctions outside the repo are never read, escalates on-disk kernel-bypass hatches to `tampered`, and matches idless checker calls. `stats.verification.proof`, `coding.sh proof`, and `refine mine` share one whole-project check rule, skip test/example/scratch escapes, classify only slow or timed-out whole builds as slow, and normalize Windows drive-letter casing. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#reviewing-formal-proofs) -- **Work.** `coding.sh work ack` supports `--risk` to narrow batch acknowledgements. CLI `work`, `/api/work`, and the MCP `work` tool anchor relative `since` windows to the last ingest when the index is stale, and risk-filtered running items render under `Running` instead of `Hidden` without counting as hidden in the Work page summary. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) -- **Work.** `GET /api/work` and the MCP `status` tool settle shown items' changed files, `status` and `work snooze` judge a stale index as of its last ingest, `POST /api/work/ack` sets shortened session ids (`causeShortId`) as `work ack --json` does, and `git -C diff` quotes paths with spaces or shell metacharacters. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) -- **Refine.** `--trial-timeout` now reaches every refine call: `--proposer-command` (reporting the active limit on timeout), model proposers, decision-point continuations and judges, `refine distill`, `refine recheck`, and `refine diagnose`, keeping each command's default when omitted. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#refine-loop)) -- **Cost.** `coding.sh work show`, `work --json` and the Work page count a session's whole cost when part of it is estimated from token counts. Before, an item, a workflow phase or an agent with some reported and some estimated cost counted only the estimated part. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#workflow-runs) -- **Sessions.** When a shell line that reads files fails, `stats.retrieval` drops a file only when an error line names its base name whole. Before, an error about `data.ts` or `a.tsx` also dropped `a.ts`, so a file the agent read counted as not read. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Sessions.** Compaction, a retried workflow step and a resumed run are notes, not failures. Every count of failed or flagged sessions now leaves out the flags compaction, step-retried and resumed. On /metrics, `coding_sh_session_flags_total` no longer counts them, and fewer sessions count as `outcome="failed"` in `coding_sh_sessions_total`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#flag)) -- **Stores.** Upgrade `coding.sh-store-postgres` and `coding.sh-store-clickhouse` with coding.sh: an older plugin still counts compaction, step-retried and resumed as failures in `is:flagged`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/stores.md)) -- **Evals.** For a `coding.sh run --` session, `eval new` and `eval candidates` no longer take code (`sh -c "npm run build"`), a `NAME=value` setting or a path with a space in it for the task prompt. A session whose command has no other prompt argument is left out as having no prompt. [docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/session-to-eval.md#one-session-at-a-time) +- **Alerts.** Alert webhooks and `monitor add --http` evaluators get `X-Coding-Sh-Timestamp` and `X-Coding-Sh-Signature-V2`, which signs the timestamp and the body, so a receiver can refuse a request more than 5 minutes old. `X-Coding-Sh-Signature` still signs the body alone; a copy of a request still passes it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) +- **Alerts.** When an alert command fails, the error `alert list` and `alert check` show keeps the start and the end of its stderr, where cmd, PowerShell and Python name the problem. Before, it kept one line, so a missing program read `operable program or batch file.` with no program named. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-alert)) +- **Alerts.** A notification that was not delivered is sent again. Each `alert check` sends the change until a delivery gets through, with `previous` set to the state the target last got; before, the new state was saved and the change was lost. The cut-off after 5 failed deliveries in a row still applies. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#when-a-delivery-fails)) +- **Alerts.** `alert add --help` shows a command target for Windows, `"command:node C:\alerts\notify.mjs"`, beside the `notify-send` one, and on Windows the error for an empty `--notify command:` suggests it. A command target runs in cmd.exe there, where `notify-send` fails. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#run-a-command)) +- **Bench.** `bench schedule` writes a crontab line that keeps a `%` in a path. cron reads a bare `%` as the end of the command, so a working directory, CLI path, report folder or log path with one ran a cut-off command. A path with a line break is now an invalid argument. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/benchmarks.md#budget-schedule-and-report)) +- **Budgets.** `budget set` with a mistyped period, such as `dya`, now suggests the command it meant (`Did you mean coding.sh budget set day 20?`), like `--by` and `--window` do. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-budget) +- **Budgets.** `budget status` reports every budget when one can't be read, such as a stored `--where` query that no longer parses: that budget shows its error, in text and as `error` in `--json`, and the command exits 1. Before, one such budget failed the command for all of them. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#set-a-budget)) +- **Budgets.** `proxy --enforce-budget` reads only the spend of budgets it can match a call to, so a `--where` or `--repo` budget no longer slows calls. A budget whose spend can't be read is named in a warning and the others still apply; a failed read is tried again 30 s later, not on every call. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) +- **Budgets.** On Windows, `budget set` with `--repo` updates the budget for that folder when the path differs only in case, as in `C:\Work\web` and `c:\work\web`. Before, it added a second budget, such as `month-web-2`, that counted the same sessions. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-budget-set)) +- **Budgets.** `budget set 20 day`, with the amount before the period, suggests `budget set day 20`. Before, it said only that the period must be day, week or month. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-budget-set)) +- **Budgets.** A repo budget counts the sessions `sessions --repo` lists for its path: set on a checkout's root, or on a folder in a linked worktree, it takes in every worktree of the repo. Before, it counted only the sessions at or under the path, so a repo budget's spend may rise. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#set-a-budget)) +- **Budgets.** The 429 from `proxy --enforce-budget` names `budget status` as the shell the proxy started in runs it: `codingsh budget status` in PowerShell or cmd, where `coding.sh budget status` fails. Before, it always said `coding.sh budget status`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) +- **Budgets.** `proxy --enforce-budget` matches a call to the agent the proxy stores it under. A Codex call that sends no session id is stored as agent `proxy`, so a `--agent proxy` budget now blocks it and a `--agent codex` budget no longer does. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) +- **Cache.** `diff-calls` on two calls read from an agent's transcript no longer tells you to turn on capture mode full, which cannot store their requests; it says to run the agent through `coding.sh proxy` to log them. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-diff-calls) +- **Cache.** `cache doctor` names the CLI in its `diff-calls` examples, in text and in `--json`, as your shell runs it: `codingsh` in PowerShell, and through `npx` when npx started it, where `coding.sh` fails. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-cache-doctor)) +- **Cache.** `diff-calls` warns when the second call ran before the first, and names the command with the two swapped, or when the two calls come from different sessions. Before, its Cache and Why rows read such a pair as one call after the other in one conversation. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-diff-calls)) - **Capture.** T3 Code threads an import left when it ran out of time are read by the next import. Before, they waited until T3 Code wrote to its store again, and an import out of time from the start read none of them. [Host apps](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) -- **Evals.** A tool eval trial whose agent took turns and then exited 127 counts as a failing trial in its arm's pass rate. Before, it was taken for an agent that never started and left out. Only a spawn error, or a non-zero exit before the first turn, means the agent never ran. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#31-task-kinds-bad-guard-control) -- **Serve.** `coding_sh_session_cost_usd_total` counts a session's cost when one of its turns ends too, so an OpenTelemetry trace with a conversation id counts its root's own cost, not only its subagents'. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#17-metrics-and-logs) -- **Work.** A session that merged more than 20 pull requests keeps every PR it opened, merged or closed; only the PRs it just viewed or linked are capped at 20. An orchestrator's early merges no longer leave their items "open" in Ready for review. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items) -- **Work.** Work whose session pushed to a pull request or linked it to its T3 Code thread leaves Ready for review once another session merges that PR. Sessions get `stats.prs.own`. A PR the work only viewed still does not count. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#the-queue) -- **CLI.** `stats --since` with a time counts from that time, not its midnight. In PowerShell every command `improve` prints, `--json` included, names `codingsh`; `improve check` counts the headless sessions it leaves out. An unreadable config file is named as such. `serve healthcheck` takes `--port`, and `--limit` past 2^53 is a usage error. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help) -- **Viewer.** Find in steps also matches a step's output and error, as the event search does. The picked `agent:t3code` chip counts the sessions listed. `coding.sh ui` starts the refold an upgrade needs and says "Rebuilding stats…" while it runs. A workflow run's error keeps its line breaks. [API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apiingest) -- **OTel.** Batching no longer changes OTLP sessions: an AI SDK subagent exported before its `ai.toolCall` gets its own session, a GenAI root or subagent takes its prompt from its first chat span whatever the export, timed at the agent's start, and a subagent's answer shows once. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#43-plain-opentelemetry-no-sdk) -- **OTel.** The receiver rejects only a span whose trace id or span id is not hex or base64 of the right length, answers 200 with partialSuccess, and stores the rest of the request, over JSON and protobuf. A bad parent span id or log record id is read as not set. `coding.sh collector import` reads ids the same way. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **Evals.** `eval new` with a new `--name` drafts a second task instead of replacing the first, and names a moved or deleted repository with the way on. A grader with no answer to compare with leaves the run ungraded (`judge grade` exits 2), and a grader key it does not read is refused. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#grader-fields) -- **Work.** A PR merge reaches every item that lists the PR, and an item whose PRs all merged is done, not ready for review. PRs only viewed in another repo, or named in fetched text such as release notes, no longer link. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items) -- **Search.** A Codex code-mode cell no longer doubles its calls in search: when a call the cell ran matches, the cell's copy of its command or output is left out, so each match is listed once and a page holds distinct hits. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#search-every-session) -- **Improve.** For a failing command, the "Find every time it failed" step now runs `coding.sh search "" --where 'kind:tool.end ok:false'`, which lists the failed calls instead of every call that mentions the command. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) -- **MCP.** The first calls after an upgrade answer within a few seconds. While the index is folded again, every result carries `index.refolding: true`, and a session not yet refolded shows its older stats whole. `latency` keeps to its time budget on very large stores, where it could fail before. [Configuration](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#output-and-updates) -- **Viewer.** A long session's page moves a fraction of the bytes: events load as compact, gzipped rows with long tool output clipped, and opening a step reads its events whole. The timeline, deep links and Find in steps are unchanged. [API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsidevents) -- **Sessions.** `show --json` reads cut prompts and outputs back whole from their blobs. A failed model call shows in `show` with its error and sets the `llm-error` flag. An SDK session of model calls only prints `-` under TOOLS. `sessions` leaves out eval, compare and exp trials unless `--include-runs`, and keeps titles on one line off a terminal. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#read-one-session) -- **CLI.** In PowerShell and cmd, next steps and error hints name `codingsh`, the bin that runs there, in text and `--json`. So do help pages, whose examples put JSON in a file, `status`'s hint for a stopped ingest, the MCP `status` tool's update `command`, and on Windows the update pill in `coding.sh ui`. [Windows](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows) -- **Privacy.** `coding.sh purge` waits for a job still recording model calls (`exp run --record` or `--replay`), then exits 1 naming its experiment if it still runs; `--dry-run` names such jobs. A job marks its `llm-cache/` folder with a `.recording.lock` file while it records. Before, purge missed what the job wrote after it. [Privacy](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#remove-a-leaked-secret) -- **Workflows.** A workflow run's stored agent outputs and run output go through your redaction rules, and an imported run in metadata mode keeps none. A case whose planted bug's `patch` sits inside `repoRoot` or `snapshot` is refused with a folder to move it to. A failed run's page in `coding.sh ui` shows its error. [Workflows](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers) -- **Workflows.** `workflows import` reads a run's script from its record or from the copy Claude Code keeps in the session folder, not from the path the run names, which may have changed since. The script is stored redacted, and `workflows replay` redacts yours to compare them. A run imported in metadata mode keeps no script. [Workflows](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#replay-from-a-recorded-run) -- **Store.** A migration checks who owns the index under its write lock, before it copies the index. An index another process finished migrating while this one waited opens instead of failing with `store_owned`, and a refused migration makes no copy and leaves the lock free. [Troubleshooting](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#store-version-errors) -- **Sessions.** A session T3 Code ran now has the agent that ran (`claude-code`, `codex`) and `host: "t3code"`, so `usage --by agent`, `status` and the viewer's Agent facet compare Claude Code with Codex. The header says "via T3 Code", and `--agent t3code` still lists these sessions. [Host apps](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) -- **Work.** `coding.sh work`, `work --json` and the MCP `work` tool give the review step `work show` gives: an item whose changed files are all outside its repo names them, not an empty `git diff`. A file a shell call edited by absolute path from a subfolder counts once, so `work`, `work show` and `show` agree. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-work) -- **Improve.** A failed command's sample is an error line: a notice such as taskkill's `SUCCESS: …`, a status line (`exit: 0`), a `key: value` field or a line of code is not one, so an issue with no error line shows no sample. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) -- **MCP.** `sessions_list` says which time window it read: a `window` with the `since` and `until` from its arguments and any `since:` or `until:` clause in `where`, the tighter of each. Given only `until`, it still lists every session before it. [MCP](https://coding.sh/docs/mcp#tools) -- **Improve.** Failures no longer land on `cat`, `git status`, `bash` or `python -` when the line did not parse, a removal was denied or the command was cut short. `improve check` names sessions with no git HEAD. Model-driver toolevals runs get a price; `scriptPath` workflow runs and T3 delegated tasks get readable titles. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) - **Capture.** A `node --test` run reports node's own pass and fail counts, not a pytest or cargo line from an assertion, diff or printed fixture, and waiting on a log is no test run. A git checkout, switch or merge no longer counts as Claude Code or T3 Code editing the files it brought in. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#test-results) -- **CLI.** `statusline install` and `uninstall` print one JSON document with `--json`. On Windows `sessions --repo DEMO` matches every worktree, as `demo` does. `improve --repo ` reads that repo's git history, or fails on an unknown name. `tree` names the role once. `stats`, `harness audit` and `work show` say how subagents' numbers roll up. [CLI](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-stats) -- **Install.** Uninstall's help says `--scope` picks the config to remove coding.sh from, and `uninstall --dry-run` ends with `Dry run: nothing written.` after the changes it prints, as `init --dry-run` does. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-uninstall)) -- **OTel.** An AI SDK `ai.streamText` or `ai.generateText` run inside an `ai.toolCall` is a subagent with its own child session. A Claude Code prompt logged a few ms before its interaction span no longer opens a resume phase, and a root whose model calls all moved to subagents keeps no model from them. [OpenTelemetry](https://coding.sh/docs/otel#sessions) -- **Viewer.** The session list's query bar no longer jumps beside the title when nothing matches; the Run tree's Fix first link names the subagent by title; the empty Workflows page says runs on Work need `coding.sh workflows import`; and a failed subagent's next step resumes its parent session, not a `:sub:` id. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md) -- **Evals.** When a task has no reference patch, the `eval new` note and the `eval validate` error name the steps that add one: `coding.sh eval export -o `, write `/reference.patch`, then `eval import ` and `eval validate `. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval) -- **Docs.** The `sessions.repo` column in the query reference lists the keys it stores (`root`, `head`, `branch`, and `main` for a linked worktree) instead of `commit` and `remote`, and says a bare repo's worktree has no `main`. [Query](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#sessions) -- **Sessions.** A subagent's title skips workflow frame lines before it takes one line, and a `Project:` line is skipped only in a framed prompt. A workflow agent with only a frame is titled by its phase and label. A phase is titled by its first prompt that is not a harness notice or frame. [Query](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#sessions) -- **Improve.** `improve` reads subagents and delegates, reads PowerShell as PowerShell so a failure is filed under its program rather than the launcher or `Select-Object`, keys issues on the program or error class instead of output text, and says how many sessions past the 2000 cap it did not read. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) -- **Sessions.** `sessions --repo` and `export --repo` take a repo name or a path, as `work` does, and a name includes every worktree. The list ends with how many child sessions it hides (`hiddenChildren` in `--json`). Repo roots are stored in one spelling on Windows, and a bare repo's worktree has no main checkout. [Explore](https://coding.sh/docs/explore#list-your-sessions) - **Capture.** A shell call gives a test result only when its command runs tests, so `tail ci.log` or `grep "test result" log` no longer reports an old run. T3 Code instance ids such as `claudeHub` map to their agent, and workflow agents carry their run id, name, phase and label. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#test-results) -- **Install.** The site and README give Windows readers `npx -p coding.sh codingsh` wherever they show `npx coding.sh`. The install page has a Windows tab, and the agent setup prompts tell an agent to type `codingsh` in PowerShell and cmd, where `coding.sh` opens npm's sh script instead of running it. [Install](https://coding.sh/docs/install) -- **MCP.** `session_get`, `session_current` and `sessions_list` add `repoMain`, the main checkout's root, for a session in a linked worktree, as `show --json` does. The session resource's Repo line names it too. [MCP](https://coding.sh/docs/mcp#tools) -- **Viewer.** Review stays a top tab on a phone, where tabs scroll sideways with no name cut. The Run tree shows every name on a phone, the activity cell fits "5,050 tools · 45 failed", and an unknown session logs no 404. A skip refused because the item was scored elsewhere moves on; Review buttons are 44px on touch. [Explore](https://coding.sh/docs/explore#open-the-viewer) -- **CLI.** `cost`, `spend` or `tokens` suggest `usage`, and `waste` suggests `usage --cache`. `ui` starts no background ingest with `CODING_SH_NO_AUTO_INGEST=1`, and `show` writes nothing to the store. `harness audit` applies Claude Code's or Codex's rules to a T3 Code session by the agent it ran. `usage --by subagent` keeps a T3 Code agent switch with its parent. [Cost](https://coding.sh/docs/cost#cost-by-mcp-server-skill-or-subagent) -- **Improve.** The error line under a failing command comes from that command's own output, not from another part of the same shell line, and the title says "fails the same way" only when the errors match. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md) -- **Work.** For a session in a worktree nested inside its repo, `work show` names the worktree, its review step diffs the worktree, and its file list uses one path base. [Work tracking](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) -- **CLI.** `show --json` and `sessions --json` add `repoMain` for a session in a linked worktree. `doctor` counts the sessions tagged by the gateway an agent routes through. `exp ab`, `refine` and `refine diagnose` take `--provider gemini`. `quota wait` says why it did not wait, and the status line creates no store. [CLI reference](https://coding.sh/docs/cli/sessions) -- **OTel.** `coding.sh serve` merges the span and the log record Claude Code sends for one model call, as the collector does: the call keeps the reported cost from the log and the TTFT from the span, in either arrival order. Before, it kept only the first copy. [OpenTelemetry](https://coding.sh/docs/otel#claude-code) -- **Evals.** A grader spec with a mistyped `provider` ("gemnii") suggests the close one, as `monitor add --provider` does. A `--judge` monitor whose `--provider` has no API key records which key to set (`no judge provider: gemini: set GEMINI_API_KEY`) in `monitor run` and `monitor list`. [CLI reference](https://coding.sh/docs/cli/monitor) -- **Sessions.** A session in a git worktree counts under its main repo: `repo:`, `--repo .`, `usage --by repo`, the viewer's repo group, `improve` and the MCP tools include it. `repo.main` names the main checkout; `cwd` and `repo.root` stay the same. [Query](https://coding.sh/docs/query#session-keys) -- **MCP.** `session_get` with `tail` pages back to the first entry with `nextCursor`. A `since` after `until` is an error naming both times. A 2024-11-05 client gets 2024-11-05 and results without `structuredContent`. Error results carry no `structuredContent`; details are in `_meta`. `status` lists the top 5 work items, not 10. [MCP](https://coding.sh/docs/mcp#protocol) -- **MCP.** `session_get` reads a session once when it shrinks a page to fit, about 8 times faster on long sessions. `harness_changes`, `exp_session_summary` and `eval_from_session` answer an error for a missing repo path or unknown id, and `since` equal to `until` no longer advises a swap. [MCP](https://coding.sh/docs/mcp#tools) - **Capture.** The status line prints from what arrived when stdin stays open for 1 s, instead of waiting forever. It leaves out `$0.0000 session` for a session it has not stored, and `statusline --json` and `quota --json` round amounts and percents to 4 decimals. [Agents](https://coding.sh/docs/agents#status-line) - **Capture.** A T3 Code Codex session built from T3's store judges an `exec` cell as Codex does: a script that completed with exit code 0, or still runs, is a success, and a tool request that "has no active turn" counts as interrupted, not a tool error. Stored sessions are parsed again. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation) -- **Evals.** An eval instruction that starts with a dash (`- fix the bug`) no longer fails as an unknown option: OpenCode and Cursor runs pass it after `--`, and Pi reads it on stdin. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation) -- **Sessions.** A session's title skips a workflow harness's frame line, a `Project:` header line and pasted blocks, so a work item shows its task instead of a preamble many sessions share. A prompt that is only a paste is titled by its first line. [Session](https://coding.sh/docs/concepts#session) -- **CLI.** `init --dry-run` and `doctor` no longer run another tool's `agent` command (Grok's made `~/.grok`). `uninstall` warns and exits 1 when an OpenCode install sits under another `OPENCODE_CONFIG_DIR`. Blame and attribution credit edits made in a removed worktree, and `diff-calls` says "not recorded" instead of "same" without stored requests. [CLI reference](https://coding.sh/docs/cli/uninstall) -- **Viewer.** The command menu lists a session whose title holds the typed word first, even when newer sessions on a branch named for it fill the results. A t3code subagent's badge reads "subagent", not "subagent · subagent", whole-minute axis ticks read "1m", and a phase chip no longer pushes a step into its duration. [Open the viewer](https://coding.sh/docs/explore#open-the-viewer) -- **Work.** A second Claude Code permission prompt with the same message, for the next tool call and under 2 s after the first, is kept. Before, it was taken for a copy of the first, and `coding.sh work` showed the session running while it waited on you. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#waiting-state) -- **Stats.** `stats` and `/api/metrics` over top-level sessions count each subagent's p95 model-call time and TTFT, so an agent whose model calls all run in subagents, as OpenInference and Agents SDK runs do, no longer shows `-` for P95 LLM and TTFT. [API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md) -- **Evals.** A tool-eval state assertion `{ command, contains }` now checks the command's stdout, as `stdoutContains` does; before, it passed whenever the command exited 0. A key an assertion does not read is refused when the task loads. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#3-task-format) -- **MCP.** Reading `codingsh://latest` on an empty store returns the "No sessions captured yet" next step instead of Resource not found. `session_get` refuses `turn: 0` rather than returning the whole session, and the session digest says "1 turn". [Ask your agent](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent) - **Capture.** A Claude Code or Codex session T3 Code ran, stored by an older `--since` import without its T3 link, gets the link and thread title back from the next re-parse, which reads T3's store once after an upgrade. `ingest --rebuild` does it too. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) - **Capture.** A Claude Code, Codex or T3 Code transcript line that holds a raw U+2028 or U+2029 character inside a string is no longer dropped, so its tool call, result and file change are kept and the session gets its end time. Stored sessions are parsed again while their sources are on disk. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around) - **Capture.** A Pi tool call stopped with Esc (`Operation aborted`) and a Gemini CLI tool call the user cancelled count as interrupted calls, not tool errors, so they no longer raise `toolErrors` or `repeated-tool-failure`. Stored sessions are parsed again while their sources are on disk. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around) -- **Viewer.** A diff the agent's log cut short says so where it stops, with how many changed lines it leaves out and a button that loads the whole diff, and no longer ends on a blank line that was not in the file. [Open the viewer](https://coding.sh/docs/explore#open-the-viewer) -- **Viewer.** Steps and Chat number prompts ("Prompt 3"), so a session whose background tasks started extra turns no longer reads "Turn 23" under "33 turns". A session opened from the command menu goes back to Sessions. A Work card's age matches its reason's, and its next step shows commands as code. [Open the viewer](https://coding.sh/docs/explore#open-the-viewer) -- **Improve.** A Codex or T3 Code code-mode `exec` call no longer counts as a failing command of its own, so a failure counts once, under the command it ran, and no issue is named after `text` or "Script completed". A command run as `powershell.exe -Command ` is filed under ``. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md) -- **Sessions.** In `show`, a T3 Code session no longer opens with an empty start phase and a "resumed after 1 min" that never happened, and a gap under a minute reads in seconds. `harness audit` lists a file an agent named as `/c/Users/...` once, under its `~` path. [Explore](https://coding.sh/docs/explore) -- **Evals.** `eval import` keeps every file under a task dir's `tests/` as a hidden file, so a test added to a dir `eval export` wrote is no longer dropped. `eval validate` builds its impossible variant from a file the verifier runs, such as `node check.js`, whatever the file is named, as the reference tamper check already treats it. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#hand-written-tasks) - **Capture.** `ingest --backfill --since` imports a Codex rollout or a T3 Code thread with activity in the window whole, as it already did a Claude Code transcript, so a session begun before the cutoff keeps its start, its title, every turn and its T3 Code link. `uninstall` removes the Codex config folder `init` created once it is empty. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md) -- **MCP.** `session_get` on a session whose last turn is still under way now gives one turn count: `turnCount` and the out-of-range turn error count closed turns, as `session.turns` and `coding.sh show` do, and the turn under way stays in the index marked `open`, reachable with `turn: -1`. [MCP](https://coding.sh/docs/mcp) -- **Work.** `coding.sh work` counts a file that several sessions of one item changed once, so its files-changed count matches `work show`; a reason's age floors like the Started row's ("1h ago" in both), and a wait under a minute reads in seconds, not "0m". `config get` on an unknown key suggests the closest one, as `config set` does. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-work) -- **Evals.** A toolevals `calls` check on a CLI subcommand (`must = [{ tool = "dataset add" }]`, `order = ["sessions", "show"]`) now matches a call with positionals after it (`dataset add smoke`), and the surface crawl reads a help page printed on stdout when `--help` exits non-zero, as npm's does. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md) -- **Cache.** `diff-calls` on two calls read from an agent's transcript no longer tells you to turn on capture mode full, which cannot store their requests; it says to run the agent through `coding.sh proxy` to log them. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-diff-calls) -- **Budgets.** `budget set` with a mistyped period, such as `dya`, now suggests the command it meant (`Did you mean coding.sh budget set day 20?`), like `--by` and `--window` do. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-budget) - **Capture.** One parser reads test summaries for every agent: Gemini CLI, Antigravity, Copilot CLI, Amp, Pi, Droid, Goose and Devin CLI now record a `test.result` for `pytest -q`, and every agent takes the last Jest, Vitest, node:test or Mocha summary. Long outputs no longer take seconds. Stored sessions are parsed again while their sources are on disk. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#test-results) -- **Dogfood.** The scorecard comparison reads a rise in LCP, in the dev to held-out gap or in any perf ceiling from `bench.mjs` as worse. Before, a slower LCP and a wider gap showed as better. [Dogfood design](https://github.com/jackulau/coding.sh/blob/main/docs/design/dogfood.md) -- **Evals.** The verifier-corrected pass rate in `exp show` and `exp compare` builds its 95% interval from the Wilson intervals of the pass rate and the audited precision, so it carries the uncertainty of both and no longer collapses to zero width, such as [100.0%, 100.0%], at a 0% or 100% rate. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md) -- **Viewer.** In the session list, the row `j` and `k` move to scrolls in below the sticky header and column titles instead of under them. Jump to (Ctrl K) lists sessions whose title matches before sessions that match only in their events, and opens one of those on the step that matched, with the query's matches marked. [Explore](https://coding.sh/docs/explore#open-the-viewer) -- **CLI.** `init` and `doctor` read Gemini CLI's and OpenCode's version from their npm package instead of launching them, so they no longer leave `~/.gemini/projects.json..tmp` files or empty OpenCode cache dirs behind. [Troubleshooting](https://coding.sh/docs/troubleshooting) -- **CLI.** `attribution` and `blame` print a subagent as `a03d2f6b:sub:a7d49789`, which `show` opens, not as its parent's id. `bench show`, `history` and `report` on a benchmark that does not exist say they can't find it, as `bench run` does. `upgrade-store --json` reports `"status": "owned"` when it only took ownership of the store. [Troubleshooting](https://coding.sh/docs/troubleshooting) -- **OTel.** A GenAI semconv trace whose `invoke_agent` root span has no input takes its prompt and title from the `gen_ai.input.messages` of a chat span under it. Messages on a chat span's `gen_ai.client.inference.operation.details` event are read like those on span attributes. Before, both sessions had no user message and took the span name as their title. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md) -- **Tool evals.** `toolevals surface` counts once a CLI whose root `--help --json` already holds every command's options and subcommands, so coding.sh's surface is about half what it was. `toolevals init --cli` with a binary not on PATH exits 1 and writes nothing, and a crawl that finds no help page is an error, not a 0-byte surface. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#21-cli) -- **Sessions.** A T3 Code session takes the title of the T3 thread that ran it, in `sessions`, `show`, `tree` and `improve`. Before, it took its first prompt, so handoff and delegated threads were titled with T3's handoff or sub-agent preamble. In `show`, T3's link event names the thread instead of printing an empty `notification` line. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) -- **MCP.** The `search` tool's `agent` picks sessions by the session's agent and each hit's `agent` is the session's, as `coding.sh search --agent` and `sessions_list` do. Before, it went by each event's agent, so `agent: "t3code"` found nothing in Claude Code sessions run from T3 Code and their hits said `claude-code`. [Ask your agent](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent) -- **Evals.** `eval new` on a session backfilled from a transcript with no start commit says how to fix it: record the task again with hooks or `coding.sh run --` inside the repository. `eval candidates` labels its replay penalty `compacted context (harder to replay)`, so it no longer reads as `+1 compaction` and `-1 compaction` on one session. [Troubleshooting](https://coding.sh/docs/troubleshooting) -- **MCP.** The `latency` tool lists T3 Code's `request_secret` card under `waitingTools` with `waitsOn: "human"`, like `AskUserQuestion`. Before, the minutes it stayed open until you pasted the secret topped `slowestTools` and `slowestCalls`. [Ask your agent](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent) -- **Dogfood.** On Windows the scorecard validates the CLI suite's 37 dev tasks, runs the site's Lighthouse, and measures `perf.viewerTti` in Chrome; before, every task was invalid and the viewer bench broke. `cli.tasks.invalidReasons` names each invalid task's failed check, command, exit code and error line, and a missing Lighthouse or Chrome is a skip naming what to install. [Dogfood design](https://github.com/jackulau/coding.sh/blob/main/docs/design/dogfood.md) -- **Dogfood.** The scorecard's tests gate runs the tests as CI does: when five or fewer test files fail, each is run again alone, and a file that passes then does not fail the gate. The notes name it. Before, one timing test slowed by a busy machine failed the gate and left the scorecard without a headline. [Dogfood design](https://github.com/jackulau/coding.sh/blob/main/docs/design/dogfood.md) - **Capture.** The node hook (`hook.mjs`) redacts a payload with your `capture.redact` settings before it writes it to the spool, inline or in a side file. Before, secrets sat on disk unredacted until ingest. Ingest stores the same event, with the same redaction counts. The sh hook (`hook.sh`) still leaves redaction to ingest. [Privacy](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool) -- **Experiments.** `exp show` and `exp run` print why a task failed in the failures table: the exit code and stderr, such as `error: exited 3: model file missing`. Before, the task's command filled the 100-character reason column and cut the cause off. `--json` keeps the whole error in `runs[].error`. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md) -- **Experiments.** `exp list` names each run that has stored no experiment yet after its table, with the command to continue it or see its progress, and `--json` lists them under `unfinished`. `exp show` on such a run says where it stands instead of `Can't find experiment`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md)) -- **Improve.** `improve` marks an issue "Not seen since" a harness change only when that many clean sessions on the new harness are unlikely by chance at the issue's rate ((1 - rate)^n below 0.2). Before, one clean session hid the Fix line of every issue. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md) -- **Site.** The files a page loads (scripts, fonts, search, images and icons) are served without running the site's edge Worker, so they no longer count toward its daily request limit. Past that limit, coding.sh answered every request with a 429 error until midnight UTC. [Release](https://github.com/jackulau/coding.sh/blob/main/docs/RELEASE.md#deploying-the-site) -- **Sessions.** A Gemini CLI permission prompt counts for the `unapproved-action` flag: a risky call the user approved there is not flagged, whether the prompt came while the call was open or before it started, as in Gemini CLI 0.35 and older. Before, only Claude Code's prompts counted. [Flags](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md) +- **Capture.** A backfill skips Gemini CLI chat files that have not changed since the last one. Before, it read every chat file again each time and counted all of their sessions as updated. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation) +- **Capture.** A copy of T3 Code's store that a killed read left in the temp directory, up to 1.7 GB each, is removed by the next read, even when the store is unchanged. A copy that fails, such as on a full temp volume, is a backfill error, not an import of nothing. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) +- **Capture.** A T3 Code subagent thread is stored once when its run sits under a later Claude session of the thread, after a resume or a session switch, and so are Workflow-tool runs and their agents. A re-parse removes the t3code copies. A model call built from T3's store names its turn's model, not the thread's default. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) +- **Capture.** `capture.redactPatterns` in a repo's own `.coding.sh/config.toml` are literal text. Regular expressions count only from your own config, so move a repo's regular expression there to keep it working. [Configuration](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md) +- **Capture.** A private key whose `END` line is missing, as in a tool output cut short, is redacted from its `BEGIN` line to the end of the text when key data follows that line. [Privacy](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction) +- **Capture.** Redaction reaches values nested more than 64 levels deep in an event or a blob, with the same rules as any other value. A value too deep to copy is stored as `[redacted:too-deep]`. [Privacy](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction) +- **Capture.** On Windows with Node 24, a read that kills its import child at its deadline waits up to a second for the child to let go of its SQLite store copy, then removes it. Before, `rmSync` gave up at once, so the copy (T3 Code's is 1.7 GB) stayed in the temp folder until the next read. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) +- **Capture.** `coding.sh run --` takes no repo snapshots when `snapshot.enabled` is `false`, and records the repo's HEAD and branch only. Before, it still snapshotted the repo before and after the command, with built-in limits. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#snapshot)) +- **Capture.** In PowerShell or cmd, `codingsh proxy env` and `codingsh proxy` print PowerShell's `$env:` lines, so `codingsh proxy env | Invoke-Expression` points a PowerShell session at the proxy. Before, they printed `export` lines, which PowerShell and cmd can't run. Git Bash and other sh shells still get `export` lines. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#2-point-your-client-at-it)) +- **Capture.** When `coding.sh proxy --background` can't start, it says why, such as a port in use or a budgets.json it can't read, and names the same command on a free port, keeping `--background` and `--enforce-budget`. Before, it said only that the proxy did not start. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#1-start-the-proxy)) +- **Capture.** On Windows, `statusline install` writes `codingsh.cmd statusline`, which runs whether Claude Code uses Git Bash or PowerShell. Before, it wrote `coding.sh statusline`, which PowerShell cannot run, so a machine without Git Bash showed no status line. Run `codingsh statusline install` again to update a line installed before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/status-line.md#install-it)) +- **Capture.** T3 Code's store is read where it is while T3 Code has it open, each thread in one short read transaction, instead of copied to the temp directory on every read. A SQLite store is copied only when the temp directory keeps room to spare, and a refused T3 copy names the space needed and free. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code)) +- **Capture.** A sink gets the events that an ingest stored and could not send because it crashed on a Postgres or ClickHouse store or lost its lock in a stall. A session that ends during an ingest's last pass no longer waits for the next hook: that ingest starts another. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#sinks)) +- **Capture.** Redaction replaces a private key whose `BEGIN` line overlaps another `BEGIN` line, as in a header repeated without a line break. Before, the key data after it could be kept. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Capture.** A vendor token after a secret name, as in `GITHUB_TOKEN=...`, `"api_key": "..."`, `?token=...` or a password in a URL, keeps its own kind in the redaction counts, so the session gets the `secret:exposed` tag. Before, the name's rule replaced the token's marker and it counted as a generic secret. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Capture.** Redaction covers more secret formats: keys from more than twenty other services and tools with a fixed prefix, private keys in base64, Azure storage account keys, `Authorization` headers with any scheme, cookies, URL signatures, `.netrc` passwords, passwords in URLs with no user name, and values set after names like `client_secret` or `aws_secret_access_key` in config files. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Capture.** The node hook redacts a JSON document inside a string as that document also when a rule has changed the text around it, so a value that only its key marks as secret is replaced before it reaches the spool, and each value is counted once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) +- **Capture.** Matching a `capture.exclude` glob takes time in proportion to the glob and the path, so a glob with many stars, such as one a repo's `.coding.sh/config.toml` sets, no longer stalls ingest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#capture)) +- **Capture.** A repo's `.coding.sh/config.toml` can turn snapshots off or lower `snapshot.maxFiles` and `snapshot.timeoutMs`, but no longer turn snapshots on or raise their limits over your own config. A snapshot keeps files as they are, not redacted. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#snapshot)) +- **Capture.** The OTLP receiver that `coding.sh collector` and `compare --otel` start gives a client 20 seconds to send its request headers and 120 seconds for the whole request, as `coding.sh serve` does, instead of the 60 seconds and 5 minutes Node allows by default. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#which-process-serves-what)) +- **Capture.** Spans and logs an agent exports during `compare --otel` are redacted with your `capture.redact` and `capture.redactPatterns` rules, as ingest does, instead of only the built-in secret rules. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#opentelemetry-per-run)) +- **Capture.** The node hook, and ingest when it rewrites a spool side file, replace a value nested too deep to copy with `[redacted:too-deep]`, as the index does. The node hook now writes a payload with a JSON document that deep inside a string, instead of dropping it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Capture.** On Windows, the node hook writes an event whose agent name Windows keeps for a device, such as `con` or `nul.txt`, or ends in a dot, which Windows drops from a folder name, under `spool/unknown`, as it does for other names that are not safe folder names. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) +- **Capture.** After `ingest --backfill --since`, a later import skips each Claude Code transcript, Codex rollout and T3 Code thread the window imported whole while it is unchanged. Before, an import with no window, such as the one a read runs for T3 Code, read all of them again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation)) +- **Capture.** When a transcript import stores a prompt, a reply, a session start or end, or a compaction before the spool is read, a sink no longer also gets the hook's copy, and a prompt two hooks spooled no longer reaches it twice. A sink catching up on spool lines already stored still gets both. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#sinks)) +- **Capture.** Hook capture now reads the model calls of a Claude Code turn you stopped, which it missed before, and counts the turn as cancelled. A hook prompt takes the time on its transcript entry, so the turn's first model call stays in its turn. Claude Code sessions are parsed again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around)) +- **Capture.** A Claude Code turn you stopped ends once in a transcript import, at the stop. Before, it ended again under the same id, at the next prompt or the end of the transcript, which `coding.sh doctor --conformance` reported as a duplicate id. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#check-what-the-adapters-read)) +- **Capture.** On Windows, `coding.sh init` no longer writes a hook command that cmd.exe or PowerShell would read differently: for a hook path with `%`, `$`, a backtick or a curly double quote, it says to set `CODING_SH_HOME` to a folder without them. Claude Code, Amp, OpenCode and Pi keep their hooks, and Copilot CLI's PowerShell command single-quotes the path. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#hook-command)) +- **Capture.** Email redaction, which `email` or `pii` in `capture.redact` turns on, takes time in proportion to the text it reads. It redacts the same addresses. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Capture.** During a Devin session, the node hook finds coding.sh's own hooks among Devin's hook commands in time proportional to each command. It finds the same hooks as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around)) +- **Capture.** Reading a test runner's summary (Jest, Vitest, pytest) and a shell call's command takes time in proportion to its length. The test results, and the files a shell call is said to have changed, are the same as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#test-results)) +- **Capture.** A spool file that ends in a blank line is now read to its end, so `coding.sh gc` can delete it and ingest stops opening it again on every run. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) +- **Capture.** A spool line that the POSIX sh hook wrote right after a torn fragment ending inside a character is now read at the byte where it starts, so ingest and a re-parse give its events the same ids. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) +- **Capture.** The scrub of a past day no longer blanks a whole spool line that the POSIX sh hook wrote right after a torn fragment when either holds a secret: the line is redacted in place like any other, and only a fragment that holds a secret is blanked, so a re-parse still reads the line. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) +- **Capture.** A Cursor subagent whose `agent_transcript_path` names no file, such as `/`, gets a child session of its own (`:sub:`), and ingest stores its start and end. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#subagents)) +- **Capture.** An OpenCode session that two files under `storage/session` name is read once, from the first file, so backfill gives each of its events once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation)) +- **Capture.** A Droid or Pi line whose transcript path names a folder keeps its events, as does a Droid, Gemini CLI, Pi or Antigravity line whose transcript cannot be read. Before, ingest skipped such a line, for a folder only on Linux and macOS. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#live-capture)) +- **Capture.** A time out of the Date range (more than 8.64e15 ms from 1970) is read as missing, as when the agent gives none, and so is a duration whose start would fall out of it. Ingest reports an event whose time is still out of the range. `coding.sh quota` reads such times as missing too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around)) +- **Capture.** A hook payload of exactly 64 MB no longer logs `stdin truncated at 67108864 bytes` to `spool/errors.log`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) +- **Capture.** A Codex or T3 Code subagent thread whose rollout session record has no id keeps its own thread id, read from the rollout's file name, so it stays its own session with its parent link. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#subagents)) +- **Capture.** In JSON text held in a string, such as an OTLP log body, redaction finds a secret right after an escape such as `\n` and keeps each escape whole. Events stored earlier keep their text; `coding.sh ingest --rebuild` redacts a session again when its transcript or spool lines are still on disk. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Capture.** Phone number redaction, which `phone` or `pii` in `capture.redact` turns on, reads the digits after a `+` in one pass and then checks how they are grouped, so it takes time in proportion to the text it reads. It redacts the same numbers. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **Capture.** In JSON text held in a string, a value in double quotes after a secret name, as in `export API_KEY="..."`, `api_key = "..."` or `"api_key": "..."`, and an assignment's value that holds a backslash are redacted whole at every level. A quote at either end of a `redactPatterns` match stays. Each level still parses. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) +- **CLI.** `stats --since` with a time counts from that time, not its midnight. In PowerShell every command `improve` prints, `--json` included, names `codingsh`; `improve check` counts the headless sessions it leaves out. An unreadable config file is named as such. `serve healthcheck` takes `--port`, and `--limit` past 2^53 is a usage error. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help) +- **CLI.** In PowerShell and cmd, next steps and error hints name `codingsh`, the bin that runs there, in text and `--json`. So do help pages, whose examples put JSON in a file, `status`'s hint for a stopped ingest, the MCP `status` tool's update `command`, and on Windows the update pill in `coding.sh ui`. [Windows](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows) +- **CLI.** `statusline install` and `uninstall` print one JSON document with `--json`. On Windows `sessions --repo DEMO` matches every worktree, as `demo` does. `improve --repo ` reads that repo's git history, or fails on an unknown name. `tree` names the role once. `stats`, `harness audit` and `work show` say how subagents' numbers roll up. [CLI](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-stats) +- **CLI.** `cost`, `spend` or `tokens` suggest `usage`, and `waste` suggests `usage --cache`. `ui` starts no background ingest with `CODING_SH_NO_AUTO_INGEST=1`, and `show` writes nothing to the store. `harness audit` applies Claude Code's or Codex's rules to a T3 Code session by the agent it ran. `usage --by subagent` keeps a T3 Code agent switch with its parent. [Cost](https://coding.sh/docs/cost#cost-by-mcp-server-skill-or-subagent) +- **CLI.** `show --json` and `sessions --json` add `repoMain` for a session in a linked worktree. `doctor` counts the sessions tagged by the gateway an agent routes through. `exp ab`, `refine` and `refine diagnose` take `--provider gemini`. `quota wait` says why it did not wait, and the status line creates no store. [CLI reference](https://coding.sh/docs/cli/sessions) +- **CLI.** `init --dry-run` and `doctor` no longer run another tool's `agent` command (Grok's made `~/.grok`). `uninstall` warns and exits 1 when an OpenCode install sits under another `OPENCODE_CONFIG_DIR`. Blame and attribution credit edits made in a removed worktree, and `diff-calls` says "not recorded" instead of "same" without stored requests. [CLI reference](https://coding.sh/docs/cli/uninstall) +- **CLI.** `init` and `doctor` read Gemini CLI's and OpenCode's version from their npm package instead of launching them, so they no longer leave `~/.gemini/projects.json..tmp` files or empty OpenCode cache dirs behind. [Troubleshooting](https://coding.sh/docs/troubleshooting) +- **CLI.** `attribution` and `blame` print a subagent as `a03d2f6b:sub:a7d49789`, which `show` opens, not as its parent's id. `bench show`, `history` and `report` on a benchmark that does not exist say they can't find it, as `bench run` does. `upgrade-store --json` reports `"status": "owned"` when it only took ownership of the store. [Troubleshooting](https://coding.sh/docs/troubleshooting) - **CLI.** `config set` takes the `[proxy]` keys. [Configuration](https://coding.sh/docs/config) - **CLI.** `blame` and `improve check` outside a git repo name `--repo ` with their own command (`improve check` exits 1, `not_a_repo`). [CLI](https://coding.sh/docs/cli) - **CLI.** An empty `work`, `eval candidates` or `attribution` list ends with a next step that keeps your filters and looks further back. `attribution` says when no captured session ran in the repo. The `exp run` commands that `exp compare` and `exp run --replay` suggest name a dataset and a grader. `review create` gives its fix once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md)) -- **MCP.** Following the search tool's `nextCursor` returns every hit once, in the order of `coding.sh search --json`. Before, hits that ranked the same could repeat on one page and never show on any. The session_get summary and the session resource also report failed model calls (`llmErrors`: count, first status and error). [MCP](https://coding.sh/docs/mcp#tools) - **CLI.** `coding.sh update --dry-run` checks for a new release without rewriting `~/.coding.sh/update.json`, as its help says. Before, it replaced the cached result with the new one. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-update) - **CLI.** `harness audit` counts a file that the agent's loaded instructions file imports with `@path` (`@AGENTS.md`) as loaded, adds its size to the load cost and no longer flags it never-read or write-only. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md) -- **Cost.** The status line's `today` cost counts subagent sessions, so it matches `budget status`, `usage --since today` and the budget percent next to it. [Status line](https://coding.sh/docs/agents#status-line) -- **Cost.** `usage --reprice` and the refresh that runs when prices change update the events and sessions in a Postgres store. Before, both skipped Postgres: estimates kept old prices, calls to a newly priced model kept no cost, and older estimates had no split by token type. [Where cost comes from](https://coding.sh/docs/cost#where-cost-comes-from) - **CLI.** `config get refine` prints the section like `config get retention`; `ingest` shows each monitor error once; `monitor add` with both `--run` and `--judge` says they cannot go together; `workflows list`, `dataset list` and `exp list` name the command that fills them; tables say `0s ago`, not `just now`. [CLI reference](https://coding.sh/docs/cli) -- **MCP.** `sessions_list` lists subagent sessions when its `where` names `id:`, `parent:` or `is:child`, as `sessions --where` does, instead of an empty list without `includeSubagents`. On Windows, `session_current` and the `repo` argument match paths whatever their case and slash direction, so `c:/work/app`, `C:\work\app` and a session stored with forward slashes are one folder. [Query language](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md) -- **Harness.** Ctrl-C stops `harness audit` while it lists files on disk, and it exits 130. Before, the listing held the process until it finished, which took about 50 s on WSL's `/mnt/c`. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-harness-audit) -- **Harness.** `harness snapshot --agent claude-code` stores the files Claude Code's instructions and rules pull in with `@path` imports, such as an imported AGENTS.md, followed up to 5 hops as Claude Code does. It leaves out dot directories under `skills/`, such as Claude Code's `.trash` of deleted skills. [Compare agents](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/compare-agents.md) -- **Evals.** `--hidden-test` also hides a matching test file that is already in the start tree: the task starts from a snapshot without it, and the verifier gets it at check time. Before, only test files the session changed were hidden, so the agent could read the tests that grade it. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-eval-new) -- **Evals.** `eval init --sessions` names a command that works for a session with no prompt, such as one `coding.sh run` recorded: `eval new --instruction "…"` with the same `--verifier`. Before, it said to pass `--instruction`, which `eval init` does not take. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval) -- **Evals.** `eval validate` fails a task whose reference patch edits, deletes or skips the tests the verifier runs, as `eval init` already treats such a diff, and names each file. Before, a reference that only rewrote the expected value validated. A file the verifier only reads, such as `f.txt` in `grep -q b f.txt`, is not a test. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval) -- **Install.** Uninstall for OpenCode also removes the `plugins/` folder init made for its plugin, and the OpenCode config folder, when nothing else is left in them. A folder that holds any other file stays. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#uninstall) -- **Install.** Uninstall removes the folders init made to hold the files it deletes, once they are empty. After init and uninstall, the home holds the same folders as before, apart from ~/.coding.sh, and doctor lists the same installed agents. A folder that was there before init, or that holds anything else, stays. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#uninstall)) -- **Status line.** `statusline` reads at most 1 MiB of stdin, then prints its fallback line, so endless input such as `` resource stays under 25,000 characters: it lists the first 40 subagent lines, with descriptions cut to 120 characters, names the `subagents` and `session_tree` tools for the rest, and shortens the timeline to fit. Before, a session with many subagents could return a resource past the limit. [MCP server](https://coding.sh/docs/mcp) -- **MCP.** `session_get` and the session resource split a session into the turns `stats.turns` counts: a turn a background task's notification starts is its own turn, and a prompt sent while a turn runs stays in it. Before, `turnCount` could disagree with the turn list, and those turns could not be opened. [MCP server](https://coding.sh/docs/mcp) -- **OpenTelemetry.** `coding.sh collector` stores a Claude Code model call sent both as an `api_request` log record and, with `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA`, as a span, as one call with the reported cost and the span's TTFT. Before, it kept whichever copy came first, and a prompt logged before its trace read as a resume. [OpenTelemetry](https://coding.sh/docs/otel) -- **OpenTelemetry.** When a batching exporter sends the span that names the conversation, such as the root `invoke_agent` with `gen_ai.conversation.id`, after the trace's other spans, those spans and their subagents move into the conversation. Before, they stayed in a session named after the trace id, and the conversation had no subagent. [OpenTelemetry](https://coding.sh/docs/otel) -- **OpenTelemetry.** Spans of eve's own Workflow runtime, such as `workflow//eve//workflowEntry` and its steps, are dropped like the other `workflow` scope spans. Before, they added span rows to the eve session, stretched it to the last delivery, and added 0-turn sessions for session timeouts and workflow tool runs. [eve](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/eve.md) -- **Install.** On Windows, `install.sh` and `init` tell you to type `codingsh` in PowerShell and cmd, where `coding.sh` opens npm's sh script instead of running it. Run from Git Bash, `init` keeps `coding.sh`. The install guide says the same. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md) -- **Install.** `install.sh` warns when another `coding.sh` comes first on PATH, such as an older global install, and names its version, its path and the folder to put ahead of it. Before, `coding.sh` went on running the other one without a word. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md) -- **Install.** Started with npx on Windows, `init` names `npx -p coding.sh codingsh ui` and `npx -p coding.sh codingsh improve` as its next steps. npx runs the command through cmd there, where the `npx coding.sh ui` it named before opens npm's sh script instead of running the CLI. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#install) -- **Install.** Every command `init`, `uninstall` and `update` print, including the `--yes` rerun they ask for without a terminal, names `codingsh` in PowerShell and cmd, and the npx command when started with npx. Before, most named `coding.sh`, which fails there. To reinstall, PowerShell and cmd get `npm install -g coding.sh`, not `curl … | sh`. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows) -- **Install.** Without a terminal, the rerun `init` and `uninstall` ask you to approve is the command you ran, flags included, plus `--yes`. Before, it dropped the flags: `init --agent claude-code` named `coding.sh init --yes`, which set up every detected agent, and `uninstall --agent opencode` named a rerun that removed coding.sh from all of them. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#what-init-changes) -- **Tool evals.** A CLI target whose binary name has a dot, such as `coding.sh`, runs and records through its tap. The tap is now a sh launcher next to a `..tap.mjs` module; before, node refused the name with `ERR_UNKNOWN_FILE_EXTENSION`. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md) -- **Judges.** `judge calibrate` reports a κ of exactly 0 when the judge agrees with your labels no more than chance would, in the estimate and its interval. Before, rounding could print it as `-0.00`. [Judges](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#judges) -- **Docs.** The durable workflow guide sets up tracing with OpenTelemetry JS 3.x (`@opentelemetry/sdk-trace`, `new BatchSpanProcessor({ exporter })`), and the Agent Runs guide pins the 2.x packages durable-harness and eve need. Before, their unpinned installs failed with `ERESOLVE`. [Trace a durable workflow](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/trace-durable-workflow.md) -- **Evals.** Codex eval runs pass `--trust` when the installed Codex has it (0.169 and later), so a harness's project `.codex/config.toml` and its MCP servers load in the eval work dir. Only runs in their own `CODEX_HOME` pass it, never a run that uses `--ignore-user-config`, and it writes no hook trust hash. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md) -- **Serve.** Behind a TLS proxy with `trust_proxy` set, every HTTPS answer carries `Strict-Transport-Security: max-age=31536000`, and a sign-in sets the read cookie as `__Host-csh_rk`, marked `Secure`. Plain HTTP keeps `csh_rk`, and a browser signed in before the upgrade stays signed in. A browser that has seen the header refuses plain HTTP to that host for a year. [REST API](https://coding.sh/docs/api) -- **Viewer.** The sign-in form posts the key instead of putting it in the URL. A `/?t=` link followed from another site no longer signs in by itself: the viewer shows an Open button that posts the key. A link from the address bar, a bookmark or another app signs in as before. [REST API](https://coding.sh/docs/api) -- **Serve.** First-start keys are printed once, on the start that makes them. Later starts name `serve-keys.json` instead, a start that fails leaves no keys file behind, and a wrong `CODING_SH_INGEST_KEYS` or `CODING_SH_READ_KEYS` entry is named by its position. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) -- **Capture.** `capture.redactPatterns` in a repo's own `.coding.sh/config.toml` are literal text. Regular expressions count only from your own config, so move a repo's regular expression there to keep it working. [Configuration](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md) -- **Serve.** Forwarded spans send an attribute whose key names a secret, such as `db.password` or `http.request.header.authorization`, as `[redacted:secret-field]`, whatever its value, and ingest stores such a key's value the same way. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#19-forward-and-sinks) -- **Capture.** A private key whose `END` line is missing, as in a tool output cut short, is redacted from its `BEGIN` line to the end of the text when key data follows that line. [Privacy](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction) -- **Capture.** Redaction reaches values nested more than 64 levels deep in an event or a blob, with the same rules as any other value. A value too deep to copy is stored as `[redacted:too-deep]`. [Privacy](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction) - **CLI.** Text output and messages drop terminal escape sequences and control characters from captured text, such as a line `blame` prints or an error that quotes it, so printed text cannot move the cursor, set the window title or add a link. CSV and JSONL do the same when written to a terminal. [Concepts](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#event) -- **Viewer.** Commands the viewer copies (`eval new`, `replay --fork --with`, `bench show`) quote each session id, path and name for the shell, in double quotes on Windows, where cmd reads no single quotes. A command with a value the shell would still read is not copied. On Windows the empty Experiments page gives `exp run` a task file. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer) -- **Serve.** A viewer `POST` that carries an `Origin` is accepted only when the Origin's host is the host the request was sent to, on a public bind as well as on loopback. Behind nginx, add `proxy_set_header Host $host;`: the 403 says so. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) -- **Serve.** Every route but `/healthz` answers 403 to a `Host` header serve was not set up for, as the viewer already did. The new `serve.allowed_hosts` setting (`CODING_SH_ALLOWED_HOSTS`) adds names on loopback, such as `host.docker.internal` for an agent in a container, and limits a public bind to its list (`/readyz` still answers probes). [Configuration](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md) -- **Serve.** On loopback with no keys, serve answers only requests that no proxy passed on: a request with an `X-Forwarded-*`, `Forwarded` or `Via` header gets 401, and serve logs a warning the first time. With `serve.trust_proxy` set, a loopback serve with no keys stops at start and names the keys to add. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) -- **Scores.** `POST /api/scores` with an id that is already stored replaces the score only when the caller wrote it and can see its session. Other callers get 404 and the score is unchanged. [Scores API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md) -- **Viewer.** A session opened from a link or a reload, not only from the list, opens on its first failing step; a session with no failure opens on its first prompt instead of "Session starts". [Concepts](https://coding.sh/docs/concepts#session) -- **Docs.** Below 1280px the "On this page" dropdown lists every subheading of every section, such as each function on the SDKs page. Only the wide rail keeps to the section being read. [SDKs](https://coding.sh/docs/sdk) -- **Docs.** An API path in "On this page" wraps after a slash or a comma, so entries such as `GET /api/sessions/{id}/events` no longer split in the middle of a word. [REST API](https://coding.sh/docs/api/read) -- **Docs.** A name in a reference table's first column, such as `CODING_SH_INGEST_KEY`, stays on one line; the table scrolls sideways instead. [SDKs](https://coding.sh/docs/sdk) -- **Docs.** On Quickstart and Install, a block that shows what a command prints is captioned "output" instead of "shell", so each step reads as the command to run and what to expect. [Quickstart](https://coding.sh/docs/quickstart) -- **Docs.** On phones the "Copy page" and "View as Markdown" buttons above the title are as short as on a desktop, with the same 44px touch target, so the title sits higher on the first screen. [Quickstart](https://coding.sh/docs/quickstart) -- **Viewer.** Esc or a link pressed within 80 ms of a step key (`j`, `k`, `n`) leaves the session. Before, the step's late update of the pane could put the session's URL back, and the page stayed on the session. [Explore sessions](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md) -- **Self-host.** In the Compose stacks that run serve, Postgres and ClickHouse are healthy only when they answer on the address serve connects to. The old checks passed against the image's first-start setup server on loopback or the unix socket, so `docker compose up -d --wait` could fail on the ClickHouse stack with `clickhouse at http://clickhouse:8123/ is unreachable`. [Deploy](https://github.com/jackulau/coding.sh/blob/main/docs/production/deploy.md#docker-compose) -- **Examples.** `examples/plugin-ab/check-tasks.py` removes the temp files it makes. Before, each run left 20 answer files and 2 folders in the temp directory. [examples/plugin-ab](https://github.com/jackulau/coding.sh/tree/main/examples/plugin-ab) -- **Search.** `coding.sh search` and bare words in `--where` find the error a subagent or a session ended with, such as a failed Copilot CLI or Droid subagent or a Cursor session that ended with an error. Before, only error events, failed model calls and tool errors were searchable. Ends stored before are indexed once on upgrade. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md) -- **Stores.** The Postgres and ClickHouse store plugins index error text stored before it was searchable: error events, failed model calls, tool errors and the error a subagent or a session ended with. Before, search there found only errors stored after an upgrade. Each store does this once, on its next open. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md) -- **Evals.** Copilot CLI, Droid, Gemini CLI, Goose and Pi eval runs keep the agent's home next to the work dir, not inside it, so they read the bundle's `~/` files and the `--carry` state, and logins and the agent's files stay out of the start commit and the diff. Aider and Amp read the bundle's config files too. [Harness A/B](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab) -- **Capture.** On Windows with Node 24, a read that kills its import child at its deadline waits up to a second for the child to let go of its SQLite store copy, then removes it. Before, `rmSync` gave up at once, so the copy (T3 Code's is 1.7 GB) stayed in the temp folder until the next read. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) -- **Evals.** An `--http` monitor whose evaluator can't be reached (a network error, a timeout, or a 5xx, 408, 425 or 429 on every try) keeps its place, and the next pass starts at that session again, unless the evaluator answers for a later session in the same pass. A pass stops after 2 such sessions in a row. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) -- **Evals.** Ctrl-C in `monitor run`, or `coding.sh serve` stopping, while a monitor scores a session no longer counts that session as failed or moves past it: the next pass scores it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) -- **Evals.** `monitor list`, `monitor list --json` and `monitor add --json` show an `--http` URL without its query string, as the monitor's errors do, so a token in the query stays out of the output. Each POST still goes to the whole URL. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) -- **Alerts.** Alert webhooks and `monitor add --http` evaluators get `X-Coding-Sh-Timestamp` and `X-Coding-Sh-Signature-V2`, which signs the timestamp and the body, so a receiver can refuse a request more than 5 minutes old. `X-Coding-Sh-Signature` still signs the body alone; a copy of a request still passes it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) -- **Harness.** `harness tools --changed` calls a pinned tool `removed since pin` only when every tools array offered since the pin leaves it out. A session whose latest call offered fewer tools, such as a subagent's, no longer makes a tool still in use look removed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#catch-a-tool-description-that-changed)) -- **Harness.** `harness tools pin` no longer pins a removed tool again on the next pin, and `--changed` no longer keeps it for its old versions, so an accepted removal stays accepted. Before, every second pin brought the removal back. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#catch-a-tool-description-that-changed)) -- **Budgets.** `budget status` reports every budget when one can't be read, such as a stored `--where` query that no longer parses: that budget shows its error, in text and as `error` in `--json`, and the command exits 1. Before, one such budget failed the command for all of them. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#set-a-budget)) -- **Budgets.** `proxy --enforce-budget` reads only the spend of budgets it can match a call to, so a `--where` or `--repo` budget no longer slows calls. A budget whose spend can't be read is named in a warning and the others still apply; a failed read is tried again 30 s later, not on every call. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) -- **SDK.** Without `CODING_SH_URL`, the TypeScript SDK's `observe()` and `observeFetch()` pass each call through untouched, as the docs say. Before, `observe()` still added `stream_options` to OpenAI chat streams, and `observeFetch()` still read every request and response body, so `flush()` waited on open streams. [SDK](https://coding.sh/docs/sdk) -- **SDK.** In an Anthropic tool loop, the TypeScript SDK's `observe()` records the user's prompt as each call's `user.message` and session title, as the Python SDK does. Before, it took the text of the last `tool_result` block, so the sessions were titled with a tool's output. [SDK](https://coding.sh/docs/sdk) -- **SDK.** In TypeScript, the exit flush also sends a batch that is waiting for its retry, and warns when it has to drop events. Before, a script that ended without `flush()` while the server was down or answered 503 exited with its events lost and no warning. [SDK](https://coding.sh/docs/sdk) -- **SDK.** The Python SDK reads a `CODING_SH_URL` that ends in `/v1/traces` or `/v1/ingest` as the TypeScript SDK does: events go to `/v1/ingest`, and `coding_sh.otel` spans go to `/v1/traces`. Before, a URL ending in `/v1/traces` sent events to `/v1/traces/v1/ingest`, which the server does not take, so they were dropped. [SDK](https://coding.sh/docs/sdk) -- **SDK.** The Python SDK reads `Retry-After` as the TypeScript SDK does. It waits up to 60 s, not 30 s, and it honors an HTTP date, retrying at once when the date has passed; before, it ignored dates. A value it cannot read, such as `Infinity`, now means backoff, not a 30 s wait. [SDK](https://coding.sh/docs/sdk) -- **SDK.** In TypeScript, when `shutdown()` or the flush at exit runs out of time, its warning names that flush and says the events are dropped. Before, it said `flush()` gave up and that the events would be retried while the process ran. [SDK](https://coding.sh/docs/sdk) -- **SDK.** Inside `trace()`, each Vercel AI SDK call through `aiSdkTracer()`, and each span from Python's `coding_sh.otel` provider, is a step of the trace's one turn. Before, each call was a turn of its own and added its prompt as a user message. Sessions stored before keep their turns: spans are mapped at ingest, so nothing is parsed again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/trace-your-agent.md#trace-the-vercel-ai-sdk)) -- **SDK.** In Python, when `shutdown()` or the flush at exit runs out of time, its warning names that flush, says how many events were not sent and that they are dropped, as in TypeScript. Before, both said `flush()` gave up, and `shutdown()` went on retrying in the background. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#42-python-packagessdk-python--pypi-coding-sh-import-coding_sh)) -- **SDK.** Both SDKs read `Retry-After` as RFC 9110 defines it: whole seconds, or one of the three HTTP date forms, in GMT. Anything else, such as `-1`, `1.5`, `0x10` or an ISO date, means backoff. Before, TypeScript read `-1` as a date in 2001 and an asctime date as local time, and Python read `1_000` as 1000 s. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#4-sdks)) -- **Docs.** Troubleshooting lists the fix for doctor's MCP, Sessions and Proxy warnings and explains the Any command row, and its doctor sample matches the output. `bad_flag` moved to the usage errors (exit 2), and the example messages match what the CLI prints. [Troubleshooting](https://coding.sh/docs/troubleshooting) -- **Docs.** Turn failed runs into evals says that every trial runs the setup `eval init` guessed (such as `npm ci`), that `eval run` asks first (`--yes` skips it), and that `eval new` takes a session id: after a run, `latest` is a trial. Its samples match the output and its validate table lists every check. [Turn failed runs into evals](https://coding.sh/docs/how-to/session-to-eval) -- **Docs.** Benchmarks gives the three scripts its first run calls, so the example runs as written, and sets the case count with `bench new --cases 30`. Its samples match what `bench new` and `bench run` print. [Benchmarks](https://coding.sh/docs/benchmarks) -- **Docs.** Compare two agents adds `--permission-mode acceptEdits` to the `claude -p` that records a task, since without it Claude Code can't write the fix. It also says that `--by` needs `--gate`. [Compare two agents](https://coding.sh/docs/how-to/compare-agents) -- **Docs.** Replay recorded model calls says to set `excludeTools` or `excludeModel` when you record, since a replay matches the keys the recording stored. It also says that the noise floor counts pass verdicts, not outputs, and that `exp show` prints a replay's call counts. [Replay recorded model calls](https://coding.sh/docs/how-to/replay-llm-calls) -- **Docs.** Workflow experiments puts the example case's truth file outside the repo, since its `repoRoot` is the repo root and a truth file inside fails to load. It shows the truth file's format, says a planted bug needs its `patch` to be checked, and lists the `no significant difference` verdict. [Workflow experiments](https://coding.sh/docs/workflows) -- **Docs.** Test an AGENTS.md change says that Claude Code reads its own instructions file, not AGENTS.md, so for its sessions you edit that file or import AGENTS.md from it. [Test an AGENTS.md change](https://coding.sh/docs/how-to/test-agents-md-change) -- **Docs.** Evaluate an Agent Skill's `verify.sh` finds `check.py` by its own path, since the verifier runs in the work tree. The page says the item gate reads `RERUN` when the skill never loads, drafts the trigger spec with `--draft`, since `--dry-run` only prints it, and names both arms to retry errored runs. [Evaluate an Agent Skill](https://coding.sh/docs/how-to/evaluate-a-skill) -- **Docs.** The plugin how-to snapshots your setup with `--plugin ` before `compare --without plugin:` drops the plugin, since a snapshot carries only the plugins it names. [Does this plugin help?](https://coding.sh/docs/how-to/does-this-plugin-help) -- **Docs.** Privacy and redaction says that the working-tree snapshots in `repos/` keep your files as they are, not redacted, and lists the model replies recorded for replay in `llm-cache/`. [Privacy and redaction](https://coding.sh/docs/privacy) -- **Privacy.** When a sink header uses `${TEAM_KEY}` and that variable is not set, the error says to set `TEAM_KEY` or change that sink header in the config. Before, it pointed at the `[store]` section. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#errors-exit-1)) -- **Privacy.** Model replies that `exp run --record` and `--replay` store in `llm-cache/` are redacted with your `[capture]` rules, `redactPatterns` included. Before, only the built-in `secrets` rules ran. Recordings made before still replay. In metadata mode the run prints one line saying it stores the replies. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#what-is-stored)) -- **Privacy.** `purge` also rewrites model replies recorded in `llm-cache/` that hold the value, keeping their replay keys, and deletes torn or leftover recordings that hold it. Snapshots in `repos/` are not rewritten: purge names each repo that holds the value and exits 1 until you delete it. Before, purge read neither folder. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#remove-a-leaked-secret)) -- **Privacy.** `init --remote` said sessions from before it stay on this machine, but the import it runs and later ingests sent them to the team server. The `team` sink now has a `since` time, and sessions that started before it are not sent. Running init again keeps that time. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#4-connect-each-machine)) -- **Experiments.** A replay warns about each case-trial it leaves unscored and says why: the recording has none for it, or a live call failed, with the HTTP status or network error. Before, a failed live call was never named, so `exp run --replay --no-control` showed unscored runs with no reason. [Replay recorded model calls](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#3-read-the-result) -- **Experiments.** `exp run --replay` with two `--arm` specs sends each arm's model calls to the `llm.upstream` its own spec names, with or without a positional spec. Before, only the positional spec's upstream was used. [Replay recorded model calls](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#set-it-in-the-spec) -- **Experiments.** `exp ab --watch` with a B it cannot watch (`--b git:…`, `none` or a harness bundle) exits 2 before any trial. Before, it ran the whole A/B, model calls included, and only then refused. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#if-something-goes-wrong) -- **Experiments.** A file given to `exp ab --b` (or `--a`, or `refine check`) replaces the harness file at its repo path, else the one with its name, as `refine test` does, so `--b drafts/AGENTS.md` tests a draft of AGENTS.md. Before, the draft was added next to AGENTS.md, so B held both versions. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#flags) -- **Experiments.** `exp ab` reads both arms with LF line ends, so with `core.autocrlf=true` a file that differs from git only in line ends is not an edit. Before, every instructions file in such a checkout counted as edited, so the default A/B tested line ends, and B's model calls carried CRLF. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#flags) -- **Experiments.** The `No arm difference` error of `exp ab` names the instructions file each agent loads, such as AGENTS.md for Codex, and suggests an `@` import line only for Claude Code. Before, it always told you to edit Claude Code's file, even for Codex sessions. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#if-something-goes-wrong) -- **Workflows.** `workflows run` warns about each field of a JSON `--variant` it does not know, with the known field it may have meant when one is close. Before, it dropped the field in silence, so a misspelled `fromCheckpoint` ran the variant from the start. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#run-two-versions) -- **Workflows.** On Windows, the first Ctrl-C lets the runs in flight finish and be saved, and the second stops them for `--resume` to run again. Before, the first Ctrl-C also stopped a workflow command, setup command or verifier command at once, and `workflows run` saved those runs as failures that `--resume` kept. [Long runs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#long-runs-resume-retries-status) -- **Workflows.** A workflow run that fails keeps why, redacted: `workflows run` prints the reason for each failed run, `workflows show` prints it on an `Error` row, and the JSON has `error`. Before, a command that did not exist showed only `failed`. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#run-two-versions) -- **Workflows.** With no run in the `--since` window, `workflows list` says so, says when the newest older run started, and prints the command that lists it. A `--name`, `--framework` or `--experiment` that matches no run points at every run. Before, it said `No workflow runs` and suggested an import. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run) -- **Workflows.** `workflows stats` gives the failed and null shares of the agents that ran. An agent a resumed run took from the cache is only a cache hit. Before, cached agents were in them, so 1 null agent of 2 read as 11%. The next import reads each Claude Code run folder again to update its run. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run) -- **Workflows.** When a case's truth file sits inside `repoRoot` or `snapshot`, the error names a folder outside both to move it to. Before, it suggested `hidden/` next to `cases/`, which is inside the repo, so the case failed the same check there. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers) -- **Workflows.** `workflows compare` counts a pass at each case's own `threshold`, or 0.5 for a case that sets none, and `--threshold` still sets one for all. Before, every case used 0.5. `workflows run` records the thresholds, so an experiment run before this release still uses 0.5. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#compare-them) -- **Workflows.** A case file inside `repoRoot` or `snapshot` that lists bugs as `[[truth.bugs]]` is refused, as a truth file there is, and the error says where to move the bugs. Before, such a case loaded, and the workflow's agents could read its bugs. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers) - **CLI.** In PowerShell and cmd, the `--yes` rerun a consent prompt names puts an argument that needs quotes in double quotes, which both shells strip, and `init` quotes the `--` of `codingsh run -- `, which PowerShell drops. Before, the rerun kept sh single quotes, which cmd passes on, and that `run` command failed in PowerShell without its `--`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) - **CLI.** The commands `doctor` suggests in its rows, next steps and `--json` warnings name `codingsh` in PowerShell and cmd, and the npx command when started with npx, except the step a failed background ingest saved. Before, they named `coding.sh`, which fails in PowerShell and cmd. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) - **CLI.** On an empty store, the step that `sessions`, `show latest`, `status`, `stats`, `usage`, `search` and `cache doctor` print, and the hint the MCP server gives, name `codingsh` in PowerShell and cmd, and the npx command when started with npx. Before, they named `coding.sh init` or `coding.sh doctor`, which fail there. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) @@ -362,123 +226,229 @@ grouped by area, with links to the docs for the details. - **CLI.** Without a terminal, the `--yes` rerun that `compare`, `eval run`, `eval trigger` and `bench schedule --install-cron` ask you to approve is the command you ran, flags included, and names `codingsh` in PowerShell and cmd. Before, it dropped the flags: `eval run scope --harness skilled` named `coding.sh eval run scope --yes`, which runs another harness. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#usage-errors-exit-2)) - **CLI.** `init --dry-run` ends with the command that applies its plan: the one you ran, flags included, without `--dry-run` and `--diff`. It names `codingsh` in PowerShell and cmd, and the npx command when started with npx. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#what-init-changes)) - **CLI.** `init` asks to import past sessions only when an agent it sets up keeps some on this machine, and its plan names only those agents. Before, it asked on a machine with none. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#what-init-changes)) -- **Improve.** When every session after a change was headless, `improve check` says how many it left out under "No sessions yet" and names `--headless`. In PowerShell and cmd, `improve fix` prints its commit step as three lines, `git add`, `git commit -m` and `coding.sh improve check`, since Windows PowerShell 5.1 has no `&&`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help)) -- **Harness.** `harness snapshot --agent claude-code` reads `~/.claude` files from `$CLAUDE_CONFIG_DIR` when it is set. It records the MCP servers Claude Code would load: name, scope, transport, command or URL, and only the names of env and headers. `harness list` shows them. A trial does not load user or local servers. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab)) -- **Snapshots.** On Windows, the snapshot of a working tree keeps a file whose path is over 260 characters. Before, git left it out. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#what-is-stored-and-where)) -- **Experiments.** In `exp compare`, a B − A equal to the replay noise floor, to the 0.1 points the warning prints, counts as within noise, so the warning, `withinNoise` and the numbers agree. Before, an equal difference was not within noise. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#ab-a-harness-edit-on-your-own-sessions)) - **CLI.** Help for `proxy --enforce-budget`, `budget status --json`, `alert add`, `monitor add` and `harness tools` says what each does: which budgets stop a call, the error a budget that can't be read gets, the three signature headers and the receiver's 5-minute check, when a monitor pass stops, and what "removed since pin" means. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-proxy)) -- **Evals.** `latest` skips sessions that eval, compare and experiment trials made, so `eval new latest` after `eval run` picks your own session, not a trial. A session with a run id counts only when there is no other. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#read-one-session)) -- **Evals.** `eval init` prints the setup every trial runs, where it was guessed from, and how to change it. A `package.json` with no lockfile gets no guessed `npm install`, since that install pins no versions. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) -- **Compare.** `compare --experiment ` with no arms takes both from the stored comparison, baseline first, instead of failing on a missing ``. When nothing records which arm was the baseline, it asks you to name both. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/compare-agents.md#5-look-again-without-re-running)) -- **Evals.** `eval trigger` prints recall once, with its interval, which is marked unweighted when prompt weights change the rate. A missing `triggers.toml` suggests `--draft`, the hint when a draft exists names `--force` with every flag you gave, and the hint after a draft keeps `--spec`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/evaluate-a-skill.md#does-the-skill-load)) -- **Evals.** `eval run` says in the first failure column why a trial failed or got no outcome: a setup step that failed, a refused login, or the agent's exit code and error line, redacted. Before, it was empty or read "verifier exit 1". A suite where nothing was graded still lists its tasks. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#the-report)) -- **Evals.** Under the `eval run` and `compare` report, a failed run's verifier output starts at the first failing test when a test runner reported one (node:test, TAP, pytest, Jest, mocha, go test, cargo test), so it shows the test's name and error. Before, it showed the last 8 lines, often only the runner's summary. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#verifier-output)) -- **Capture.** `coding.sh run --` takes no repo snapshots when `snapshot.enabled` is `false`, and records the repo's HEAD and branch only. Before, it still snapshotted the repo before and after the command, with built-in limits. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#snapshot)) -- **Docs.** The `[snapshot]` config reference says that ingest also snapshots the repo for live capture, and that a repo's own config can set the keys. Past `maxFiles` or `timeoutMs`, a snapshot keeps tracked files only; the page said it was skipped. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#snapshot)) -- **Self-host.** The example `deploy/compose/config.toml` uses the `[prices]` table that Configuration documents, in place of the older `[pricing]` spelling. Both spellings still work. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#prices)) -- **Self-host.** The team Compose file no longer says the image is unpublished, and `deploy/compose/.env.example` suggests pinning 0.1.7, a real release, in place of 0.2.0. The example and the docs link the list of image tags. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#back-up-and-upgrade)) -- **Serve.** When serve refuses to start because a key is missing, it names the command that makes that key. A missing read key now gets `coding.sh serve keygen --project '*' --read`, not the ingest key command. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#2-make-your-own-keys)) -- **Serve.** The viewer sign-in page of `coding.sh serve` offers a user sign-in only when `CODING_SH_BASIC_AUTH` is set. Before, it offered one on servers with read keys only, where no user exists. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#2-make-your-own-keys)) -- **Self-host.** Self-host for a team says how to keep every `docker compose` command on the Postgres stack (`COMPOSE_FILE` in `.env`), how to back up Postgres, what to do when Git Bash breaks `serve keygen`, and where to look when the container is unhealthy. The team guide shows the admin CLI inside the serve container. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#if-something-goes-wrong)) -- **Serve.** When `coding.sh serve` runs on loopback with no keys and refuses a request that a proxy passed on, its warning names the commands for both keys a server behind a proxy needs, an ingest key and a read key. Before, it named only the ingest key command. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#12-auth)) -- **Self-host.** When the server refuses the key, `init --remote` says where a server with no configured keys keeps its own: `serve-keys.json` in its data folder, and gives the `docker compose cp` command that copies it out. Before, it pointed at `docker logs`, but the server prints the keys only on the start that made them. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#1-start-the-server)) - **CLI.** `coding.sh doctor` warns `hooked but stale` when the OpenCode plugin on disk is not the one this coding.sh writes, or is for another OpenCode major version, and names `coding.sh init --agent opencode` to rewrite it. Before, the row passed while OpenCode ran no plugin. Version probes read `opencode v2.3.2` as 2.3.2, not 3.2. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) - **CLI.** `doctor` and `init` wait up to 15 s, not 5 s, for the `--version` of Antigravity CLI, Aider, Amp, Copilot CLI, Devin, Droid, Goose and Pi, the time they give Claude Code and Codex. Before, on a busy machine doctor could show `installed` where it had shown the version. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-doctor)) - **CLI.** `doctor` warns `Agents none detected` and names `coding.sh run -- ` when it finds no supported agent, and `doctor --json` carries the same warning. Before, the Any command row, which is always shown, kept that warning from ever printing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) - **CLI.** `init` ends with one outcome per agent, the one its plan row gave it: `Already set up` for an agent an earlier run set up, `Set up` for one this run wrote to. Before, it said `Set up` for every agent whenever another agent or its own config changed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#what-init-changes)) -- **Docs.** The Quickstart's `coding.sh run` sample shows the line `run` prints (`the command ran 573ms, exit 0`), and its `show` sample, the OpenTelemetry page's samples and the SDK tracing guide's sample print a count of one as the CLI does: `1 file changed`, `1 tool call`. ([docs](https://coding.sh/docs/quickstart)) -- **Docs.** Every docs page that shows `npx coding.sh` also gives `npx -p coding.sh codingsh`, the form that runs on Windows. The Install page gives the PowerShell line that deletes `~/.coding.sh`, and each Quickstart prompt tells an agent on Windows to run `codingsh` in PowerShell and cmd. ([docs](https://coding.sh/docs/install#uninstall)) -- **Doctor.** `coding.sh doctor` no longer counts a fast model's calls, such as one served by Cerebras or Groq, as past physical limits. A model whose calls usually top 500 output tokens a second is held to 10,000; any other model is still held to 500. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) -- **Install.** The install script installs the latest GitHub release, the one `coding.sh update` installs: from npm when npm has it, else the release tarball. It used to install npm's latest, which can be a release behind. Without an answer from GitHub in 30 seconds, it installs npm's latest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#updates)) - **CLI.** `coding.sh update --refresh-bin` run by a second install no longer moves the hooks of the install that owns `~/.coding.sh` without asking, so its next command can't migrate the store past what the owner opens. It changes nothing and names `coding.sh upgrade-store`, which asks first. `update` says when hooks still run another install. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#updates)) - **CLI.** `doctor` says an agent may not be capturing, not that it is not capturing, when its only problem is a stale hook file it still runs, such as an OpenCode plugin edited by hand. The last line counts it as `N agents with stale hooks`. A plugin OpenCode will not run still counts as not capturing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) - **CLI.** `init` waits up to 15 s, not 5 s, for `opencode --version` when it picks which OpenCode plugin to write, as `doctor` does, and `doctor` waits as long for `gemini --version`. Before, on a busy machine init could write the 2.x plugin for OpenCode 1.x and remove the 1.x one. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-init)) -- **Cost.** `coding.sh proxy --enforce-budget` adds `x-should-retry: false` to its 429, so the Anthropic and OpenAI SDKs raise the budget error at once. The Anthropic SDK used to wait the whole Retry-After, up to the next reset, before it showed anything. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) -- **Cost.** The budget 429 from `coding.sh proxy --enforce-budget` and the proxy's `blocked a call` line show amounts under $1 to four decimals, as `coding.sh budget status` does, instead of `$0.00 spent of $0.00`. The line gives the reset as `5h 20m`, not in seconds. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) -- **Cost.** `coding.sh proxy --enforce-budget` counts in its start note only the budgets that can block a call, and says when a `--repo` or `--where` budget, which never blocks one, is set, as `proxy --help` now says too. Before, it counted every budget. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) -- **Capture.** In PowerShell or cmd, `codingsh proxy env` and `codingsh proxy` print PowerShell's `$env:` lines, so `codingsh proxy env | Invoke-Expression` points a PowerShell session at the proxy. Before, they printed `export` lines, which PowerShell and cmd can't run. Git Bash and other sh shells still get `export` lines. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#2-point-your-client-at-it)) -- **Capture.** When `coding.sh proxy --background` can't start, it says why, such as a port in use or a budgets.json it can't read, and names the same command on a free port, keeping `--background` and `--enforce-budget`. Before, it said only that the proxy did not start. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#1-start-the-proxy)) -- **Capture.** On Windows, `statusline install` writes `codingsh.cmd statusline`, which runs whether Claude Code uses Git Bash or PowerShell. Before, it wrote `coding.sh statusline`, which PowerShell cannot run, so a machine without Git Bash showed no status line. Run `codingsh statusline install` again to update a line installed before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/status-line.md#install-it)) - **CLI.** The next steps and suggestions of `budget`, `alert`, `proxy` and `statusline` name `codingsh` in PowerShell and cmd, and the npx command when started with npx. Before, they named `coding.sh`, which fails there. A `budget set` suggestion now quotes a `--repo` path with a space and a `--where` with `$`, so the shell passes each on. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) -- **Budgets.** On Windows, `budget set` with `--repo` updates the budget for that folder when the path differs only in case, as in `C:\Work\web` and `c:\work\web`. Before, it added a second budget, such as `month-web-2`, that counted the same sessions. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-budget-set)) -- **Alerts.** When an alert command fails, the error `alert list` and `alert check` show keeps the start and the end of its stderr, where cmd, PowerShell and Python name the problem. Before, it kept one line, so a missing program read `operable program or batch file.` with no program named. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-alert)) -- **Budgets.** `budget set 20 day`, with the amount before the period, suggests `budget set day 20`. Before, it said only that the period must be day, week or month. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-budget-set)) -- **Docs.** A new page shows how to add, test and schedule an alert, check a webhook by its `X-Coding-Sh-Signature-V2` and timestamp, and write a command target for Windows, where it runs in cmd.exe, as troubleshooting's `delivery_failed` row now says. `alert --help` names the V2 header; before, it named only the body signature, which does not stop a replay. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#verify-a-webhook)) - **CLI.** When `~/.coding.sh/bin/cli-path` names another install that is still there, `doctor` names `coding.sh upgrade-store`, which asks before it moves the hooks, instead of `update --refresh-bin`, which leaves them alone. With a store plugin, `upgrade-store` now moves the hooks too. Before, it said there was nothing to do. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) -- **Viewer.** A link to another step of the session on screen, such as a pasted step link or back and forward, moves there on the events already loaded instead of downloading the whole session again. A link made while the replay loads or plays always lands. A link to another session still loads that one. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) -- **Viewer.** On a phone, the step detail's Steps button brings the selected step fully below the top bar, and below the replay bar during a replay, instead of partly behind it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) -- **Viewer.** Failure counts say what they count: the tests badge reads "1 test failed" for the last run, the tool errors badge names on hover the benign and interrupted calls it leaves out, and the step bar and folded turns say "failed steps", which counts every step that failed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) -- **Viewer.** Durations round as the CLI's do, on the server-drawn list too: past an hour to the nearest minute and past a day to the nearest hour, so 8,975,379 ms reads 2h 30m, not 2h 29m. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) -- **MCP.** `session_get`, `session_current` and the `codingsh://session/` resource print durations as the CLI does: 119.6 s is 2m00s, not 1m60s, and 8,975,379 ms is 2h30m, not 2h29m. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent)) -- **Evals.** `coding.sh monitor list` shows what a `--judge` monitor spent today and its `--max-usd-day` cap to four places under a dollar, such as ($0.0005/$0.0001 today), where a spend under a cent showed as $0.00. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) -- **Evals.** `coding.sh score add --id` with an id that held a score on another target or name says which score it replaced, and `--json` gives it as `replaced`. Before, it printed "Updated" for a score the target never had. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#scores)) -- **Judges.** `coding.sh judge calibrate` and `judge sample` say which label names the cases have when none is named after the judge's criterion, and the `--criterion` that reads them. Before, the viewer's Pass and Fail labels (named `outcome`) were left out of a judge with another name without a word. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#judges)) -- **Judges.** The calibrate command that `coding.sh judge sample --out` prints runs as printed: it is named for the user's shell (`codingsh` in PowerShell and cmd) and passes `--split` for a plan not drawn from `test`, and `judge calibrate --plan` reads the labels named after the plan's criterion. `judge calibrate --sample-passes` names the shell's CLI too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#which-cases-to-label)) -- **Evals.** The `score_add`, `score_add_batch` and `score_list` MCP tools take a short session id, as the CLI does, and `latest` names the session `coding.sh score add latest` scores. Before, a short id was refused or listed nothing, and `latest` could be a newer session with no work in it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#scores)) -- **Judges.** `coding.sh judge slop` on a session with no captured diffs names the `git diff` command to grade instead with the CLI of the user's shell (`codingsh` in PowerShell and cmd). ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#agent-slop)) -- **Docs.** The evals guide says `coding.sh judge slop` exits 1, not 2, when there is nothing to grade, and 2 on a usage error. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#agent-slop)) -- **Evals.** `review next`, `done` and `skip` with `--json` print the item's command for the user's shell (`codingsh` in PowerShell and cmd), and `review create` with a query that matches nothing prints that query for `sessions --where`, quoted for the shell. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#review-queues)) -- **Judges.** `coding.sh judge calibrate` keeps a judge's stored calibration when a run reads no labels, for example with a `--criterion` no label has. Before, the run replaced a calibration measured on labels with an empty one, and `exp compare` lost the judge's bias correction. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#judges)) -- **Docs.** The evals guide says `score add case:` needs the id of a case in one of your datasets (its example printed "case not found"), and that the hook runs no monitors: `monitor run` scores captured sessions now, and `monitor run --watch` keeps scoring new ones. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) -- **Improve.** `improve check` says once that no session ran with a change, and when only headless sessions ran, it says so and how to count them, in text and in `--json`. Commit subjects are cut as `sessions` cuts titles. The note on headless sessions left out counts them in the folder it reads, and names it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help)) -- **Harness.** `harness snapshot --agent claude-code` stores a file in `$CLAUDE_CONFIG_DIR` once, under its `~/.claude/...` key, when that directory is inside the folder it snapshots, not again as a project file. A snapshot of a bundle already stored says it already exists, and `--json` gives outcome `unchanged`, or `updated` when only its MCP servers or note changed, not `created`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab)) -- **Status line.** `statusline install` and `uninstall` change only the `statusLine` member of Claude Code's `settings.json`, so a file with CRLF line ends or one-line arrays keeps them. Before, they rewrote the whole file with LF line ends and one array item per line. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/status-line.md#install-it)) - **CLI.** In PowerShell or cmd, the key `compare --gateway`, `gateway enrich`, `exp replay` and `replay --fork` ask for, and the env `collector` prints, are `$env:` lines, and the commands beside them name `codingsh`; `exp replay` repeats your command with `--dry-run`. Before, they were `export` lines, which PowerShell and cmd can't run. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) -- **Proxy.** `proxy env` says on stderr when no proxy answers on the URL it prints, and names the command that starts one. Its stdout is unchanged, so `eval` and `Invoke-Expression` still run the lines. Before, it printed the lines for a proxy that was not running and said nothing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#if-something-goes-wrong)) -- **Proxy.** `init --proxy` writes no base URL when another program holds `proxy.port`, when it is 0, or when this home's proxy runs on another port. It still sets up the hooks, says why, and prints the command that fixes it. Before, it pointed Claude Code and Codex at a port the proxy did not hold. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#errors-exit-1)) -- **Status line.** On Windows, while Claude Code's status line still runs `coding.sh statusline`, as one installed by 0.1.7 does, `doctor` warns and `update --refresh-bin` and `update` print `codingsh statusline install`. Claude Code runs the line in PowerShell when Git Bash is not installed, and PowerShell can't run it. None of them rewrites `settings.json`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/status-line.md#install-it)) -- **Cost.** GPT-6.2 Astra and Sol and Gemini 4 Neon, Hydrogen and Carbon have their own price rows. GPT-6.2 Astra was estimated at GPT-6 Astra's higher rates, and the three Gemini models had no cost. GPT-6.2 flex calls get standard rates, and its Ultrafast is 3x. Antigravity's `-orchestrator` models are priced as the Gemini 4 model they run. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) -- **Cost.** GPT-6 Rosalind is priced at OpenAI's promotional $10 input and $50 output per million tokens, which OpenAI says runs at least through December 31, 2026. Before, it was priced at $15 and $75. GPT-6 Cyber prompts over 272K tokens get its long-context rates; before, they got short-context rates. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) -- **Evals.** The `review create --assign` help says only the `serve` read key with that name sees the items, while the CLI sees every item. It said keys with no item of their own saw them too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#review-queues)) - **CLI.** `coding.sh cache` with no subcommand runs `cache doctor`, its only subcommand, and takes the same options. Before, it stopped with "Missing command" and named doctor. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-cache)) -- **Serve.** A session of OpenTelemetry traces that share a conversation id (`gen_ai.conversation.id`, an AI SDK `sessionId`) counts in `coding_sh_sessions_total` on `/metrics`. Such a session sends no end, so it counts once, when serve stores its first trace; before, only its cost was counted. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#17-metrics-and-logs)) -- **OTel.** A model call's span with `gen_ai.server.time_to_first_token` gives its time to first token, read in seconds as OpenLIT sends it, or in milliseconds from Strands Agents' Python tracer. Before, a session of such spans had no time to first token on its Latency line. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **OTel.** A root or subagent session from GenAI spans lists its `session.start` first, then the prompt it takes from a model call, though both have the agent's start time. Exporters send a span after the spans under it, so before, `show` could list a subagent's prompt first, both at +0ms. Traces stored before keep their order. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#43-plain-opentelemetry-no-sdk)) -- **Workflows.** `workflows show`, `stats`, `score` and `replay` take a unique prefix of a run id, 4 or more characters, as the session commands do. A prefix that several runs share fails and lists them, newest first. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run)) -- **Workflows.** `workflows show` prints the first 6 lines of what a run returned, as stored and redacted, on an `Output` row, and `--json` prints all of it as `run.output`. Before, a run's stored output showed nowhere. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run)) -- **Workflows.** When `workflows run` or `workflows score` refuses a case, the error prints each path resolved, with one kind of separator, and points at `--cases` only when the cases came from the default folder or `--cases` named no folder. Before, it mixed slashes and suggested `--cases` again for a folder it was given. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers)) -- **Work.** `work show`, `work ack` and `work snooze` take a prefix of a work item id, 4 or more characters, that only one item in the window starts with. A prefix that several items share fails and lists them, newest first. Before, an item id worked only whole. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces)) -- **MCP.** `resources/read` takes the session ids the tools take: `codingsh://session/` accepts a unique prefix of 4 or more characters, `latest` and a subagent's own id. A prefix several sessions share fails with invalid params and lists them, as the tools do. Before, only a whole id was found. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent)) -- **Privacy.** `purge` reads packed snapshots when the store's folder is 121 characters or longer on Windows, and names a snapshot repo whose objects git can't read as one that may hold the value. Before, git could not open such a pack, and purge passed over its objects as holding nothing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#remove-a-leaked-secret)) - **CLI.** Options that take a whole number, such as `--limit` and `--trials`, take decimal digits only: `1e3`, `0x10` and `5.0` are refused instead of read as numbers. The error quotes the value as typed and words the range the same way for every option and for `limit:` in `--where`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#output-and-exit-codes)) - **CLI.** `stats --since` with a time in the future and no `--until` says `--since` is after now and prints both times, instead of asking for it to be before a `--until` that was not given. It still exits 2. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-stats)) -- **Config.** A bad config value prints as written, `got -1` or `got "5"`, without a type name such as `number` in front of it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#where-settings-come-from)) -- **Search.** `search ""` and a search for blank text are a usage error that exits 2, not a search that finds nothing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#search-every-session)) - **CLI.** An unknown `--agent` with no close match lists the agent ids to pick from, on `init`, `doctor`, `ingest`, `uninstall`, `harness audit`, `harness snapshot`, `eval run` and `eval trigger`. A close match is still suggested. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/agents.md#coding-agents)) -- **Query.** `--where` given more than once joins the queries with AND, as if written in one, instead of keeping only the last. A later `sort:` or `limit:` wins. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#filter-with---where)) -- **Query.** When `sessions --flag` or a `flag:` term finds nothing and the name is close to a flag coding.sh sets or a stored session carries, `sessions` exits 2 and names that flag. A name a stored session carries is not a typo. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#usage-errors-exit-2)) -- **Work.** `work snooze` on an item blocked on you says it stays hidden until the snooze ends, even if it waits on you again. Before, it said the item comes back sooner if it moves to a more urgent bucket, and no bucket is more urgent. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#acknowledging-and-snoozing)) - **CLI.** An error whose next step needs the user's approval no longer tells a person at a terminal to ask the user: the step prints as is. The line still prints without a terminal, and at one when a variable agents set is present (`CLAUDECODE`, `AI_AGENT`, `CLAUDE_CODE_SESSION_ID`, `CODEX_THREAD_ID`), as an agent reads it there. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#errors-by-reason)) -- **Store.** When a second install refuses to migrate the store (`store_owned`, `store_version`, or the `--restore` hint of `store_newer`), the command it names runs that install: `node upgrade-store`, unless the bin on PATH starts it. Before, it named `coding.sh upgrade-store`, which ran the install on PATH. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#store-version-errors)) -- **Store.** After an index upgrade too small to print progress (under 100,000 events), a person at a terminal now reads one dim line naming the copy of the index it kept and the command that puts it back. Before, only big stores said where the copy was. The commands in these lines name `codingsh` in PowerShell and cmd. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) - **CLI.** In PowerShell and cmd, the fix `run` prints when `--` is missing quotes it (`codingsh run "--" claude`), as PowerShell drops a bare `--`. A missing argument's `Usage:` line and the commands inside `exp ab`'s report and `refine`'s hints and log now name `codingsh` there, and npx's command under npx, instead of `coding.sh`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) -- **Evals.** `eval candidates` and `eval init --sessions` say in plain words why each session is left out and what would change that. A session whose repository is no longer on this machine is left out with that reason, where it ranked first and `eval init` then failed on it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) -- **Evals.** `eval candidates` and `eval init --sessions` take a `coding.sh run --` session's prompt from its command's prompt argument, as `eval new` does, where they left it out for having no prompt. One that changed no files, or whose agent recorded its own session inside it, is left out with that reason. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) -- **Evals.** `eval new` takes a wrapped command's `--prompt=` or `--task=` as the instruction only when the value has a space in it, as it already did for `--prompt `, so `--task=lint` is no longer read as a prompt. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/session-to-eval.md#one-session-at-a-time)) -- **Evals.** On Windows a trial no longer fails when another process holds its work folder for a moment while the verifier's tree is swapped in: each move waits briefly and tries again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#verifier-isolation)) -- **Evals.** In PowerShell and cmd, the commands that `eval run`, `eval init`, `eval new`, `eval validate` and `eval trigger` print inside notes and reports name `codingsh`: the `show` beside a failed trial, and the import, validate, compare and init steps. They printed `coding.sh`, which PowerShell can't run. Started with npx, they print npx's form. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#the-report)) -- **Evals.** A trial whose agent program is not installed or not on PATH counts as unknown, not failed, and is retried once like a failed setup step. Its reason says `the agent could not start: claude was not found; install it or put it on PATH`, and the verifier no longer grades the untouched start. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#long-runs-resume-retries-status)) -- **Evals.** `eval trigger` names each expected route once, summed over the prompts that expect it: two prompts that expect `docx` read `docx 2/2`. They read `docx 1/1, docx 1/1`, one entry per prompt. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#skill-triggers)) -- **Evals.** `eval run` on a case suite names each line of the cases file it leaves out for repeating an earlier line's input and expected answer, and `--json` lists them in `duplicates`. A file of 10 lines reported 9 cases with no word on which one went. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#an-app-or-a-prompt)) -- **Evals.** `eval candidates` and `eval init --sessions` count a session whose last test command failed as tests still failing, which adds to its score. Before, a test script that exits 1 with plain output, such as `node test-sum.js`, gave no failure counts, and the failed session could rank last. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) -- **Query.** When `export`, `search` or `usage` finds nothing, a `--flag` or `flag:` name close to a known flag, or an `--agent` close to an agent id, exits 2 and names the one meant, as `sessions` does. `export --evidence --force` refuses before it clears the directory. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#usage-errors-exit-2)) -- **Sessions.** `coding.sh sessions` and `coding.sh show` name the host app that drove a session: the AGENT cell reads `claude-code via t3code`, so a row that `--agent t3code` lists says why it matched. `--json` keeps `agent` and `host` apart, as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#list-your-sessions)) - **CLI.** A command an agent runs in a terminal (Codex runs some in one) no longer prompts: with AI_AGENT, CLAUDECODE, CLAUDE_CODE_SESSION_ID or CODEX_THREAD_ID set, a step that needs consent stops and tells the agent to ask the user, as it does without a terminal, and progress prints as plain lines. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#output-and-updates)) - **CLI.** In PowerShell or cmd, an unknown option or extra argument after a value with a space says how to write a double quote inside a value. Windows PowerShell 5.1 passes such quotes on unescaped, so a `--notify` command with inner quotes reached coding.sh in pieces and failed with only `Unknown option -Path`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#usage-errors-exit-2)) -- **Work.** A second `coding.sh work snooze` of an item replaces the first, even when run with a shorter `--since`. Before, a shorter snooze made after the item moved to a more urgent bucket left it in the queue, as the earlier one ended later, and the earlier one hid the item again once the new one ended. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#acknowledging-and-snoozing)) -- **Cost.** A token count below 0 or not a finite number bills nothing: a model call no longer gets a negative, NaN or infinite cost estimate, and stored estimates are recomputed once. Tool evals, benchmarks and replays bill it as nothing too, and a tool eval no longer takes it off another call's tokens. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) -- **Doctor.** `doctor` and `doctor --conformance` print their rows to stdout, not stderr, as `status` does, so `coding.sh doctor | less` and `coding.sh doctor > doctor.txt` keep the whole report and not only its last line. The next steps stay on stderr. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) -- **Viewer.** The session list names the app that drove an agent after its name, `claude-code via T3 Code`, so a row that `agent:t3code` lists says why it matched. The page drawn before its script runs reads the same. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code)) - **CLI.** The one-time GitHub star line waits for a person. A command run with `CLAUDECODE`, `AI_AGENT`, `CLAUDE_CODE_SESSION_ID` or `CODEX_THREAD_ID` set no longer prints it, even at a terminal, where Codex runs some commands, so an agent no longer uses it up before you see it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#updates)) -- **Alerts.** A notification that was not delivered is sent again. Each `alert check` sends the change until a delivery gets through, with `previous` set to the state the target last got; before, the new state was saved and the change was lost. The cut-off after 5 failed deliveries in a row still applies. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#when-a-delivery-fails)) -- **Alerts.** `alert add --help` shows a command target for Windows, `"command:node C:\alerts\notify.mjs"`, beside the `notify-send` one, and on Windows the error for an empty `--notify command:` suggests it. A command target runs in cmd.exe there, where `notify-send` fails. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#run-a-command)) -- **Budgets.** A repo budget counts the sessions `sessions --repo` lists for its path: set on a checkout's root, or on a folder in a linked worktree, it takes in every worktree of the repo. Before, it counted only the sessions at or under the path, so a repo budget's spend may rise. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#set-a-budget)) -- **Budgets.** The 429 from `proxy --enforce-budget` names `budget status` as the shell the proxy started in runs it: `codingsh budget status` in PowerShell or cmd, where `coding.sh budget status` fails. Before, it always said `coding.sh budget status`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) -- **Budgets.** `proxy --enforce-budget` matches a call to the agent the proxy stores it under. A Codex call that sends no session id is stored as agent `proxy`, so a `--agent proxy` budget now blocks it and a `--agent codex` budget no longer does. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) +- **CLI.** `blame`, `attribution` and `tree`'s in: line name each session by the shortest reference that opens it, not by 8 characters many T3 Code thread ids share. In `sessions`, `tree`, `search`, `status` and `blame`'s session table, an id over 40 characters, one that needs quotes in a shell, or `latest` or `last` prints as that reference. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#search-every-session)) +- **CLI.** Next steps and notes that name a session print a reference that opens it, in `eval`, `improve`, `review`, `score add`, `doctor`, `replay`, `show`, `tree`, `blame` and the viewer's copied commands. A full id could break in a shell or be `latest`, which opens your newest session, and an 8-character prefix could match two sessions. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) +- **CLI.** A file you pass to coding.sh reads the same when Windows PowerShell wrote it, in UTF-16 or in UTF-8 with a byte order mark: the values for `purge --literal`, a dataset to import, a spec, case, grader or labels file, and text piped to `judge`. Before, such a file could fail to parse. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) +- **CLI.** In PowerShell and cmd, missing-key errors that stop a command, `exp replay --dry-run`, `gateway status` and `doctor` name a variable `$env:NAME` where they printed `$NAME`. The `toolevals`, `exp ab`, `refine` and `gateway status --credits` missing-key errors now print the line that sets the key, as the others do, and keep their other next steps. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#errors-exit-1)) +- **CLI.** `gateway status --credits` with a gateway that has no credits API, such as `--gateway litellm`, says so and names the gateways that have one. Before, it said `--credits needs a key in` and named no key. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-gateway-status)) +- **CLI.** In PowerShell, a printed command puts an argument like `-x.y` in double quotes, as it does `-x:y`. PowerShell read the bare form as the parameter `-x` followed by `.y`, so the command got two arguments. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) +- **CLI.** A printed sh command single-quotes a word that starts with `=`, which zsh reads as the path of a command, so the command failed in zsh. An `=` later in a word stays bare. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md)) +- **CLI.** The --trial-timeout help and docs now say what the limit covers: each agent call, task run or workflow run. Each retry and repair round gets the full limit again, and a run over it is not retried. Before, they said one limit covered a trial and its retries. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#long-runs-resume-retries-status)) +- **Compare.** `compare --experiment ` with no arms takes both from the stored comparison, baseline first, instead of failing on a missing ``. When nothing records which arm was the baseline, it asks you to name both. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/compare-agents.md#5-look-again-without-re-running)) +- **Config.** A bad config value prints as written, `got -1` or `got "5"`, without a type name such as `number` in front of it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#where-settings-come-from)) +- **Cost.** `coding.sh work show`, `work --json` and the Work page count a session's whole cost when part of it is estimated from token counts. Before, an item, a workflow phase or an agent with some reported and some estimated cost counted only the estimated part. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#workflow-runs) +- **Cost.** The status line's `today` cost counts subagent sessions, so it matches `budget status`, `usage --since today` and the budget percent next to it. [Status line](https://coding.sh/docs/agents#status-line) +- **Cost.** `usage --reprice` and the refresh that runs when prices change update the events and sessions in a Postgres store. Before, both skipped Postgres: estimates kept old prices, calls to a newly priced model kept no cost, and older estimates had no split by token type. [Where cost comes from](https://coding.sh/docs/cost#where-cost-comes-from) +- **Cost.** `coding.sh proxy --enforce-budget` adds `x-should-retry: false` to its 429, so the Anthropic and OpenAI SDKs raise the budget error at once. The Anthropic SDK used to wait the whole Retry-After, up to the next reset, before it showed anything. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) +- **Cost.** The budget 429 from `coding.sh proxy --enforce-budget` and the proxy's `blocked a call` line show amounts under $1 to four decimals, as `coding.sh budget status` does, instead of `$0.00 spent of $0.00`. The line gives the reset as `5h 20m`, not in seconds. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) +- **Cost.** `coding.sh proxy --enforce-budget` counts in its start note only the budgets that can block a call, and says when a `--repo` or `--where` budget, which never blocks one, is set, as `proxy --help` now says too. Before, it counted every budget. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#stop-calls-over-a-budget)) +- **Cost.** GPT-6.2 Astra and Sol and Gemini 4 Neon, Hydrogen and Carbon have their own price rows. GPT-6.2 Astra was estimated at GPT-6 Astra's higher rates, and the three Gemini models had no cost. GPT-6.2 flex calls get standard rates, and its Ultrafast is 3x. Antigravity's `-orchestrator` models are priced as the Gemini 4 model they run. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) +- **Cost.** GPT-6 Rosalind is priced at OpenAI's promotional $10 input and $50 output per million tokens, which OpenAI says runs at least through December 31, 2026. Before, it was priced at $15 and $75. GPT-6 Cyber prompts over 272K tokens get its long-context rates; before, they got short-context rates. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) +- **Cost.** A token count below 0 or not a finite number bills nothing: a model call no longer gets a negative, NaN or infinite cost estimate, and stored estimates are recomputed once. Tool evals, benchmarks and replays bill it as nothing too, and a tool eval no longer takes it off another call's tokens. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) +- **Cost.** Repricing removes an estimate that no price makes any more, such as one from a deleted `[prices]` row, so the call has no cost, as a model with no price has none. Before, the old estimate stayed in the call and its session. Stored estimates are checked once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#prices)) +- **Cost.** Repricing no longer undoes what an ingest or a refold wrote to a session meanwhile, and one stopped between a session's costs and totals no longer leaves the totals on the old costs. Where the refold's lock file can't be made, it waits for a run that can, and `usage --reprice` fails. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) +- **Cost.** While stored estimates are repriced, a read's note says a re-parse or repricing is running, and the repricing has the captures reads leave waiting ingested between its steps where it can. Before, the note named only a re-parse, and those captures waited for the next ingest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) +- **Cost.** A model call nested in another that reported a cost, even $0 as a free model under a framework's span does, now beats the outer call's estimate, also an estimate of $0 from a `[prices]` row of 0. Before, the session took the estimate. Stored sessions are folded again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) +- **Cost.** After `coding.sh gateway enrich`, a model call nested in another counts at what the gateway billed for it when the outer call's cost is an estimate. Before, the session took the call's cost before the bill. A billed call no longer adds its nested calls' cost to the bill. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) +- **Cost.** A gateway's bill counts once when `coding.sh gateway enrich` linked its generation to two copies of one call, such as the proxy's copy and the agent's own record. Before, the session added the bill's difference from the call's cost twice. Stored sessions are folded again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) +- **Cost.** After `coding.sh gateway enrich`, a session costs what the gateway billed, also when new prices are applied to its calls while enrich runs. Before, a call's new estimate could be added on top of the bill. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) +- **Cost.** `coding.sh usage` marks a row with `~` whenever part of its cost is estimated, even when the estimate rounds to $0.0000, and prints the note that explains `~`. Before, such a row read as all reported. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) +- **Cost.** After `coding.sh gateway enrich`, a billed call adds nested bills for other generations and, with no usage, its nested calls' tokens. A nested bill replaces an outer call's cost. Of a response's copies, one billed or with a nested bill counts first, then one a bill covers, then the one checked first. Stored sessions are folded again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) +- **Cost.** A Claude Code subagent transcript copied under another session is stored once, under the session that wrote it, even when its first line is cut short or corrupt, so its calls and cost count once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#subagents)) +- **Cost.** Fractional token counts and counts over 2^53 - 1 now bill nothing and add nothing to totals, as negative ones already did. Adapters read all three as missing before working out other counts like the uncached input; only new proxy and OTLP calls get that input. An OTLP cost below 0 no longer hides the next cost attribute. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) +- **Docs.** The `sessions.repo` column in the query reference lists the keys it stores (`root`, `head`, `branch`, and `main` for a linked worktree) instead of `commit` and `remote`, and says a bare repo's worktree has no `main`. [Query](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#sessions) +- **Docs.** The durable workflow guide sets up tracing with OpenTelemetry JS 3.x (`@opentelemetry/sdk-trace`, `new BatchSpanProcessor({ exporter })`), and the Agent Runs guide pins the 2.x packages durable-harness and eve need. Before, their unpinned installs failed with `ERESOLVE`. [Trace a durable workflow](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/trace-durable-workflow.md) +- **Docs.** Below 1280px the "On this page" dropdown lists every subheading of every section, such as each function on the SDKs page. Only the wide rail keeps to the section being read. [SDKs](https://coding.sh/docs/sdk) +- **Docs.** An API path in "On this page" wraps after a slash or a comma, so entries such as `GET /api/sessions/{id}/events` no longer split in the middle of a word. [REST API](https://coding.sh/docs/api/read) +- **Docs.** A name in a reference table's first column, such as `CODING_SH_INGEST_KEY`, stays on one line; the table scrolls sideways instead. [SDKs](https://coding.sh/docs/sdk) +- **Docs.** On Quickstart and Install, a block that shows what a command prints is captioned "output" instead of "shell", so each step reads as the command to run and what to expect. [Quickstart](https://coding.sh/docs/quickstart) +- **Docs.** On phones the "Copy page" and "View as Markdown" buttons above the title are as short as on a desktop, with the same 44px touch target, so the title sits higher on the first screen. [Quickstart](https://coding.sh/docs/quickstart) +- **Docs.** Troubleshooting lists the fix for doctor's MCP, Sessions and Proxy warnings and explains the Any command row, and its doctor sample matches the output. `bad_flag` moved to the usage errors (exit 2), and the example messages match what the CLI prints. [Troubleshooting](https://coding.sh/docs/troubleshooting) +- **Docs.** Turn failed runs into evals says that every trial runs the setup `eval init` guessed (such as `npm ci`), that `eval run` asks first (`--yes` skips it), and that `eval new` takes a session id: after a run, `latest` is a trial. Its samples match the output and its validate table lists every check. [Turn failed runs into evals](https://coding.sh/docs/how-to/session-to-eval) +- **Docs.** Benchmarks gives the three scripts its first run calls, so the example runs as written, and sets the case count with `bench new --cases 30`. Its samples match what `bench new` and `bench run` print. [Benchmarks](https://coding.sh/docs/benchmarks) +- **Docs.** Compare two agents adds `--permission-mode acceptEdits` to the `claude -p` that records a task, since without it Claude Code can't write the fix. It also says that `--by` needs `--gate`. [Compare two agents](https://coding.sh/docs/how-to/compare-agents) +- **Docs.** Replay recorded model calls says to set `excludeTools` or `excludeModel` when you record, since a replay matches the keys the recording stored. It also says that the noise floor counts pass verdicts, not outputs, and that `exp show` prints a replay's call counts. [Replay recorded model calls](https://coding.sh/docs/how-to/replay-llm-calls) +- **Docs.** Workflow experiments puts the example case's truth file outside the repo, since its `repoRoot` is the repo root and a truth file inside fails to load. It shows the truth file's format, says a planted bug needs its `patch` to be checked, and lists the `no significant difference` verdict. [Workflow experiments](https://coding.sh/docs/workflows) +- **Docs.** Test an AGENTS.md change says that Claude Code reads its own instructions file, not AGENTS.md, so for its sessions you edit that file or import AGENTS.md from it. [Test an AGENTS.md change](https://coding.sh/docs/how-to/test-agents-md-change) +- **Docs.** Evaluate an Agent Skill's `verify.sh` finds `check.py` by its own path, since the verifier runs in the work tree. The page says the item gate reads `RERUN` when the skill never loads, drafts the trigger spec with `--draft`, since `--dry-run` only prints it, and names both arms to retry errored runs. [Evaluate an Agent Skill](https://coding.sh/docs/how-to/evaluate-a-skill) +- **Docs.** The plugin how-to snapshots your setup with `--plugin ` before `compare --without plugin:` drops the plugin, since a snapshot carries only the plugins it names. [Does this plugin help?](https://coding.sh/docs/how-to/does-this-plugin-help) +- **Docs.** Privacy and redaction says that the working-tree snapshots in `repos/` keep your files as they are, not redacted, and lists the model replies recorded for replay in `llm-cache/`. [Privacy and redaction](https://coding.sh/docs/privacy) +- **Docs.** The `[snapshot]` config reference says that ingest also snapshots the repo for live capture, and that a repo's own config can set the keys. Past `maxFiles` or `timeoutMs`, a snapshot keeps tracked files only; the page said it was skipped. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#snapshot)) +- **Docs.** The Quickstart's `coding.sh run` sample shows the line `run` prints (`the command ran 573ms, exit 0`), and its `show` sample, the OpenTelemetry page's samples and the SDK tracing guide's sample print a count of one as the CLI does: `1 file changed`, `1 tool call`. ([docs](https://coding.sh/docs/quickstart)) +- **Docs.** Every docs page that shows `npx coding.sh` also gives `npx -p coding.sh codingsh`, the form that runs on Windows. The Install page gives the PowerShell line that deletes `~/.coding.sh`, and each Quickstart prompt tells an agent on Windows to run `codingsh` in PowerShell and cmd. ([docs](https://coding.sh/docs/install#uninstall)) +- **Docs.** A new page shows how to add, test and schedule an alert, check a webhook by its `X-Coding-Sh-Signature-V2` and timestamp, and write a command target for Windows, where it runs in cmd.exe, as troubleshooting's `delivery_failed` row now says. `alert --help` names the V2 header; before, it named only the body signature, which does not stop a replay. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#verify-a-webhook)) +- **Docs.** The evals guide says `coding.sh judge slop` exits 1, not 2, when there is nothing to grade, and 2 on a usage error. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#agent-slop)) +- **Docs.** The evals guide says `score add case:` needs the id of a case in one of your datasets (its example printed "case not found"), and that the hook runs no monitors: `monitor run` scores captured sessions now, and `monitor run --watch` keeps scoring new ones. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) - **Docs.** The proxy guide gives the PowerShell form of `eval "$(coding.sh proxy env)"`: `codingsh proxy env | Invoke-Expression`. It says the budget 429 carries `x-should-retry: false`, so the Anthropic and OpenAI SDKs raise it at once, and the cost guide says `--enforce-budget` ignores `--repo` budgets as well as `--where` ones. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#2-point-your-client-at-it)) - **Docs.** The alerts guide is a page on the site, under Look at runs in the docs sidebar, and the troubleshooting row for `delivery_failed` links its Run a command section. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/alerts.md#run-a-command)) -- **Cache.** `cache doctor` names the CLI in its `diff-calls` examples, in text and in `--json`, as your shell runs it: `codingsh` in PowerShell, and through `npx` when npx started it, where `coding.sh` fails. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-cache-doctor)) -- **Cache.** `diff-calls` warns when the second call ran before the first, and names the command with the two swapped, or when the two calls come from different sessions. Before, its Cache and Why rows read such a pair as one call after the other in one conversation. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-diff-calls)) +- **Docs.** The README says which hook redacts the spool. The REST API reference gives the 403 body serve sends for a host it does not allow, and says which session an OTLP log record with no session id joins. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) +- **Docs.** The privacy guide and REST API reference note that scores, labels, viewer comments and review items record the local OS username (or `"local"`) in `by`, that `export labels` includes `by`, and that `purge` leaves score `by` unchanged. The comparison pages now reflect shipped monitors, review queues, alerts and the playground. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#what-is-stored-and-where)) +- **Doctor.** `coding.sh doctor` no longer counts a fast model's calls, such as one served by Cerebras or Groq, as past physical limits. A model whose calls usually top 500 output tokens a second is held to 10,000; any other model is still held to 500. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) +- **Doctor.** `doctor` and `doctor --conformance` print their rows to stdout, not stderr, as `status` does, so `coding.sh doctor | less` and `coding.sh doctor > doctor.txt` keep the whole report and not only its last line. The next steps stay on stderr. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) +- **Dogfood.** The scorecard comparison reads a rise in LCP, in the dev to held-out gap or in any perf ceiling from `bench.mjs` as worse. Before, a slower LCP and a wider gap showed as better. [Dogfood design](https://github.com/jackulau/coding.sh/blob/main/docs/design/dogfood.md) +- **Dogfood.** On Windows the scorecard validates the CLI suite's 37 dev tasks, runs the site's Lighthouse, and measures `perf.viewerTti` in Chrome; before, every task was invalid and the viewer bench broke. `cli.tasks.invalidReasons` names each invalid task's failed check, command, exit code and error line, and a missing Lighthouse or Chrome is a skip naming what to install. [Dogfood design](https://github.com/jackulau/coding.sh/blob/main/docs/design/dogfood.md) +- **Dogfood.** The scorecard's tests gate runs the tests as CI does: when five or fewer test files fail, each is run again alone, and a file that passes then does not fail the gate. The notes name it. Before, one timing test slowed by a busy machine failed the gate and left the scorecard without a headline. [Dogfood design](https://github.com/jackulau/coding.sh/blob/main/docs/design/dogfood.md) +- **Evals.** For a `coding.sh run --` session, `eval new` and `eval candidates` no longer take code (`sh -c "npm run build"`), a `NAME=value` setting or a path with a space in it for the task prompt. A session whose command has no other prompt argument is left out as having no prompt. [docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/session-to-eval.md#one-session-at-a-time) +- **Evals.** A tool eval trial whose agent took turns and then exited 127 counts as a failing trial in its arm's pass rate. Before, it was taken for an agent that never started and left out. Only a spawn error, or a non-zero exit before the first turn, means the agent never ran. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#31-task-kinds-bad-guard-control) +- **Evals.** `eval new` with a new `--name` drafts a second task instead of replacing the first, and names a moved or deleted repository with the way on. A grader with no answer to compare with leaves the run ungraded (`judge grade` exits 2), and a grader key it does not read is refused. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#grader-fields) +- **Evals.** When a task has no reference patch, the `eval new` note and the `eval validate` error name the steps that add one: `coding.sh eval export -o `, write `/reference.patch`, then `eval import ` and `eval validate `. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval) +- **Evals.** A grader spec with a mistyped `provider` ("gemnii") suggests the close one, as `monitor add --provider` does. A `--judge` monitor whose `--provider` has no API key records which key to set (`no judge provider: gemini: set GEMINI_API_KEY`) in `monitor run` and `monitor list`. [CLI reference](https://coding.sh/docs/cli/monitor) +- **Evals.** An eval instruction that starts with a dash (`- fix the bug`) no longer fails as an unknown option: OpenCode and Cursor runs pass it after `--`, and Pi reads it on stdin. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation) +- **Evals.** A tool-eval state assertion `{ command, contains }` now checks the command's stdout, as `stdoutContains` does; before, it passed whenever the command exited 0. A key an assertion does not read is refused when the task loads. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#3-task-format) +- **Evals.** `eval import` keeps every file under a task dir's `tests/` as a hidden file, so a test added to a dir `eval export` wrote is no longer dropped. `eval validate` builds its impossible variant from a file the verifier runs, such as `node check.js`, whatever the file is named, as the reference tamper check already treats it. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#hand-written-tasks) +- **Evals.** A toolevals `calls` check on a CLI subcommand (`must = [{ tool = "dataset add" }]`, `order = ["sessions", "show"]`) now matches a call with positionals after it (`dataset add smoke`), and the surface crawl reads a help page printed on stdout when `--help` exits non-zero, as npm's does. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md) +- **Evals.** The verifier-corrected pass rate in `exp show` and `exp compare` builds its 95% interval from the Wilson intervals of the pass rate and the audited precision, so it carries the uncertainty of both and no longer collapses to zero width, such as [100.0%, 100.0%], at a 0% or 100% rate. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md) +- **Evals.** `eval new` on a session backfilled from a transcript with no start commit says how to fix it: record the task again with hooks or `coding.sh run --` inside the repository. `eval candidates` labels its replay penalty `compacted context (harder to replay)`, so it no longer reads as `+1 compaction` and `-1 compaction` on one session. [Troubleshooting](https://coding.sh/docs/troubleshooting) +- **Evals.** `--hidden-test` also hides a matching test file that is already in the start tree: the task starts from a snapshot without it, and the verifier gets it at check time. Before, only test files the session changed were hidden, so the agent could read the tests that grade it. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-eval-new) +- **Evals.** `eval init --sessions` names a command that works for a session with no prompt, such as one `coding.sh run` recorded: `eval new --instruction "…"` with the same `--verifier`. Before, it said to pass `--instruction`, which `eval init` does not take. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval) +- **Evals.** `eval validate` fails a task whose reference patch edits, deletes or skips the tests the verifier runs, as `eval init` already treats such a diff, and names each file. Before, a reference that only rewrote the expected value validated. A file the verifier only reads, such as `f.txt` in `grep -q b f.txt`, is not a test. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#session-to-eval) +- **Evals.** Codex eval runs pass `--trust` when the installed Codex has it (0.169 and later), so a harness's project `.codex/config.toml` and its MCP servers load in the eval work dir. Only runs in their own `CODEX_HOME` pass it, never a run that uses `--ignore-user-config`, and it writes no hook trust hash. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md) +- **Evals.** Copilot CLI, Droid, Gemini CLI, Goose and Pi eval runs keep the agent's home next to the work dir, not inside it, so they read the bundle's `~/` files and the `--carry` state, and logins and the agent's files stay out of the start commit and the diff. Aider and Amp read the bundle's config files too. [Harness A/B](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab) +- **Evals.** An `--http` monitor whose evaluator can't be reached (a network error, a timeout, or a 5xx, 408, 425 or 429 on every try) keeps its place, and the next pass starts at that session again, unless the evaluator answers for a later session in the same pass. A pass stops after 2 such sessions in a row. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) +- **Evals.** Ctrl-C in `monitor run`, or `coding.sh serve` stopping, while a monitor scores a session no longer counts that session as failed or moves past it: the next pass scores it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) +- **Evals.** `monitor list`, `monitor list --json` and `monitor add --json` show an `--http` URL without its query string, as the monitor's errors do, so a token in the query stays out of the output. Each POST still goes to the whole URL. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) +- **Evals.** `latest` skips sessions that eval, compare and experiment trials made, so `eval new latest` after `eval run` picks your own session, not a trial. A session with a run id counts only when there is no other. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#read-one-session)) +- **Evals.** `eval init` prints the setup every trial runs, where it was guessed from, and how to change it. A `package.json` with no lockfile gets no guessed `npm install`, since that install pins no versions. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) +- **Evals.** `eval trigger` prints recall once, with its interval, which is marked unweighted when prompt weights change the rate. A missing `triggers.toml` suggests `--draft`, the hint when a draft exists names `--force` with every flag you gave, and the hint after a draft keeps `--spec`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/evaluate-a-skill.md#does-the-skill-load)) +- **Evals.** `eval run` says in the first failure column why a trial failed or got no outcome: a setup step that failed, a refused login, or the agent's exit code and error line, redacted. Before, it was empty or read "verifier exit 1". A suite where nothing was graded still lists its tasks. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#the-report)) +- **Evals.** Under the `eval run` and `compare` report, a failed run's verifier output starts at the first failing test when a test runner reported one (node:test, TAP, pytest, Jest, mocha, go test, cargo test), so it shows the test's name and error. Before, it showed the last 8 lines, often only the runner's summary. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#verifier-output)) +- **Evals.** `coding.sh monitor list` shows what a `--judge` monitor spent today and its `--max-usd-day` cap to four places under a dollar, such as ($0.0005/$0.0001 today), where a spend under a cent showed as $0.00. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#monitors)) +- **Evals.** `coding.sh score add --id` with an id that held a score on another target or name says which score it replaced, and `--json` gives it as `replaced`. Before, it printed "Updated" for a score the target never had. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#scores)) +- **Evals.** The `score_add`, `score_add_batch` and `score_list` MCP tools take a short session id, as the CLI does, and `latest` names the session `coding.sh score add latest` scores. Before, a short id was refused or listed nothing, and `latest` could be a newer session with no work in it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#scores)) +- **Evals.** `review next`, `done` and `skip` with `--json` print the item's command for the user's shell (`codingsh` in PowerShell and cmd), and `review create` with a query that matches nothing prints that query for `sessions --where`, quoted for the shell. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#review-queues)) +- **Evals.** The `review create --assign` help says only the `serve` read key with that name sees the items, while the CLI sees every item. It said keys with no item of their own saw them too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#review-queues)) +- **Evals.** `eval candidates` and `eval init --sessions` say in plain words why each session is left out and what would change that. A session whose repository is no longer on this machine is left out with that reason, where it ranked first and `eval init` then failed on it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) +- **Evals.** `eval candidates` and `eval init --sessions` take a `coding.sh run --` session's prompt from its command's prompt argument, as `eval new` does, where they left it out for having no prompt. One that changed no files, or whose agent recorded its own session inside it, is left out with that reason. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) +- **Evals.** `eval new` takes a wrapped command's `--prompt=` or `--task=` as the instruction only when the value has a space in it, as it already did for `--prompt `, so `--task=lint` is no longer read as a prompt. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/session-to-eval.md#one-session-at-a-time)) +- **Evals.** On Windows a trial no longer fails when another process holds its work folder for a moment while the verifier's tree is swapped in: each move waits briefly and tries again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#verifier-isolation)) +- **Evals.** In PowerShell and cmd, the commands that `eval run`, `eval init`, `eval new`, `eval validate` and `eval trigger` print inside notes and reports name `codingsh`: the `show` beside a failed trial, and the import, validate, compare and init steps. They printed `coding.sh`, which PowerShell can't run. Started with npx, they print npx's form. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#the-report)) +- **Evals.** A trial whose agent program is not installed or not on PATH counts as unknown, not failed, and is retried once like a failed setup step. Its reason says `the agent could not start: claude was not found; install it or put it on PATH`, and the verifier no longer grades the untouched start. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#long-runs-resume-retries-status)) +- **Evals.** `eval trigger` names each expected route once, summed over the prompts that expect it: two prompts that expect `docx` read `docx 2/2`. They read `docx 1/1, docx 1/1`, one entry per prompt. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#skill-triggers)) +- **Evals.** `eval run` on a case suite names each line of the cases file it leaves out for repeating an earlier line's input and expected answer, and `--json` lists them in `duplicates`. A file of 10 lines reported 9 cases with no word on which one went. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#an-app-or-a-prompt)) +- **Evals.** `eval candidates` and `eval init --sessions` count a session whose last test command failed as tests still failing, which adds to its score. Before, a test script that exits 1 with plain output, such as `node test-sum.js`, gave no failure counts, and the failed session could rank last. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#your-agents-failed-sessions)) +- **Evals.** The test command that `eval init`, `eval new`, `eval candidates` and `improve` guess from a session is also found in `run_command`, `Execute`, `shell_command` and `powershell` calls. Tool evals now count `run_command` and `powershell` calls as shell calls, but not an `execute` call without a command string. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/session-to-eval.md#pick-the-sessions), [tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#54-tool-call-classification-from-agent-events)) +- **Evals.** Help for `dataset add --case` and `bench new -g` says each takes a path to a JSON file as well as inline JSON. Both read a file before, but help named only JSON. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#case)) +- **Examples.** `examples/plugin-ab/check-tasks.py` removes the temp files it makes. Before, each run left 20 answer files and 2 folders in the temp directory. [examples/plugin-ab](https://github.com/jackulau/coding.sh/tree/main/examples/plugin-ab) +- **Experiments.** `exp show` and `exp run` print why a task failed in the failures table: the exit code and stderr, such as `error: exited 3: model file missing`. Before, the task's command filled the 100-character reason column and cut the cause off. `--json` keeps the whole error in `runs[].error`. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md) +- **Experiments.** `exp list` names each run that has stored no experiment yet after its table, with the command to continue it or see its progress, and `--json` lists them under `unfinished`. `exp show` on such a run says where it stands instead of `Can't find experiment`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md)) +- **Experiments.** A replay warns about each case-trial it leaves unscored and says why: the recording has none for it, or a live call failed, with the HTTP status or network error. Before, a failed live call was never named, so `exp run --replay --no-control` showed unscored runs with no reason. [Replay recorded model calls](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#3-read-the-result) +- **Experiments.** `exp run --replay` with two `--arm` specs sends each arm's model calls to the `llm.upstream` its own spec names, with or without a positional spec. Before, only the positional spec's upstream was used. [Replay recorded model calls](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#set-it-in-the-spec) +- **Experiments.** `exp ab --watch` with a B it cannot watch (`--b git:…`, `none` or a harness bundle) exits 2 before any trial. Before, it ran the whole A/B, model calls included, and only then refused. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#if-something-goes-wrong) +- **Experiments.** A file given to `exp ab --b` (or `--a`, or `refine check`) replaces the harness file at its repo path, else the one with its name, as `refine test` does, so `--b drafts/AGENTS.md` tests a draft of AGENTS.md. Before, the draft was added next to AGENTS.md, so B held both versions. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#flags) +- **Experiments.** `exp ab` reads both arms with LF line ends, so with `core.autocrlf=true` a file that differs from git only in line ends is not an edit. Before, every instructions file in such a checkout counted as edited, so the default A/B tested line ends, and B's model calls carried CRLF. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#flags) +- **Experiments.** The `No arm difference` error of `exp ab` names the instructions file each agent loads, such as AGENTS.md for Codex, and suggests an `@` import line only for Claude Code. Before, it always told you to edit Claude Code's file, even for Codex sessions. [Test an AGENTS.md change](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/test-agents-md-change.md#if-something-goes-wrong) +- **Experiments.** In `exp compare`, a B − A equal to the replay noise floor, to the 0.1 points the warning prints, counts as within noise, so the warning, `withinNoise` and the numbers agree. Before, an equal difference was not within noise. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#ab-a-harness-edit-on-your-own-sessions)) +- **Harness.** Ctrl-C stops `harness audit` while it lists files on disk, and it exits 130. Before, the listing held the process until it finished, which took about 50 s on WSL's `/mnt/c`. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-harness-audit) +- **Harness.** `harness snapshot --agent claude-code` stores the files Claude Code's instructions and rules pull in with `@path` imports, such as an imported AGENTS.md, followed up to 5 hops as Claude Code does. It leaves out dot directories under `skills/`, such as Claude Code's `.trash` of deleted skills. [Compare agents](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/compare-agents.md) +- **Harness.** `harness tools --changed` calls a pinned tool `removed since pin` only when every tools array offered since the pin leaves it out. A session whose latest call offered fewer tools, such as a subagent's, no longer makes a tool still in use look removed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#catch-a-tool-description-that-changed)) +- **Harness.** `harness tools pin` no longer pins a removed tool again on the next pin, and `--changed` no longer keeps it for its old versions, so an accepted removal stays accepted. Before, every second pin brought the removal back. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#catch-a-tool-description-that-changed)) +- **Harness.** `harness snapshot --agent claude-code` reads `~/.claude` files from `$CLAUDE_CONFIG_DIR` when it is set. It records the MCP servers Claude Code would load: name, scope, transport, command or URL, and only the names of env and headers. `harness list` shows them. A trial does not load user or local servers. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab)) +- **Harness.** `harness snapshot --agent claude-code` stores a file in `$CLAUDE_CONFIG_DIR` once, under its `~/.claude/...` key, when that directory is inside the folder it snapshots, not again as a project file. A snapshot of a bundle already stored says it already exists, and `--json` gives outcome `unchanged`, or `updated` when only its MCP servers or note changed, not `created`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#harness-ab)) +- **Harness.** `coding.sh harness tools` reads the window's model calls first, and when none stored a tools array or sent tools through the proxy, it reads no session's events. Before, it read every session in the window to report nothing. The answer is the same. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#catch-a-tool-description-that-changed)) +- **Harness.** `harness audit` no longer counts a written file that is gone from disk as write-only. It is flagged `deleted` and listed after the files still on disk, and `--json` counts it in `totals.deleted` and the `harness_audit` MCP tool in `unused.deleted`, apart from `writeOnly`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#memory-and-instruction-files)) +- **Improve.** For a failing command, the "Find every time it failed" step now runs `coding.sh search "" --where 'kind:tool.end ok:false'`, which lists the failed calls instead of every call that mentions the command. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) +- **Improve.** A failed command's sample is an error line: a notice such as taskkill's `SUCCESS: …`, a status line (`exit: 0`), a `key: value` field or a line of code is not one, so an issue with no error line shows no sample. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) +- **Improve.** Failures no longer land on `cat`, `git status`, `bash` or `python -` when the line did not parse, a removal was denied or the command was cut short. `improve check` names sessions with no git HEAD. Model-driver toolevals runs get a price; `scriptPath` workflow runs and T3 delegated tasks get readable titles. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) +- **Improve.** `improve` reads subagents and delegates, reads PowerShell as PowerShell so a failure is filed under its program rather than the launcher or `Select-Object`, keys issues on the program or error class instead of output text, and says how many sessions past the 2000 cap it did not read. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#see-what-to-fix-first) +- **Improve.** The error line under a failing command comes from that command's own output, not from another part of the same shell line, and the title says "fails the same way" only when the errors match. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md) +- **Improve.** A Codex or T3 Code code-mode `exec` call no longer counts as a failing command of its own, so a failure counts once, under the command it ran, and no issue is named after `text` or "Script completed". A command run as `powershell.exe -Command ` is filed under ``. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md) +- **Improve.** `improve` marks an issue "Not seen since" a harness change only when that many clean sessions on the new harness are unlikely by chance at the issue's rate ((1 - rate)^n below 0.2). Before, one clean session hid the Fix line of every issue. [Improve](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md) +- **Improve.** When every session after a change was headless, `improve check` says how many it left out under "No sessions yet" and names `--headless`. In PowerShell and cmd, `improve fix` prints its commit step as three lines, `git add`, `git commit -m` and `coding.sh improve check`, since Windows PowerShell 5.1 has no `&&`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help)) +- **Improve.** `improve check` says once that no session ran with a change, and when only headless sessions ran, it says so and how to count them, in text and in `--json`. Commit subjects are cut as `sessions` cuts titles. The note on headless sessions left out counts them in the folder it reads, and names it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help)) +- **Improve.** The MCP `improve` and `harness_changes` tools say when only headless runs used a change, and how many, as `improve check` does, and `harness_changes` takes `headless: true` to count them. The next steps `improve check` prints (count the headless sessions, re-check with `--watch`) keep the flags you gave, such as `--since` and `--agent`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help)) +- **Install.** Uninstall's help says `--scope` picks the config to remove coding.sh from, and `uninstall --dry-run` ends with `Dry run: nothing written.` after the changes it prints, as `init --dry-run` does. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-uninstall)) +- **Install.** The site and README give Windows readers `npx -p coding.sh codingsh` wherever they show `npx coding.sh`. The install page has a Windows tab, and the agent setup prompts tell an agent to type `codingsh` in PowerShell and cmd, where `coding.sh` opens npm's sh script instead of running it. [Install](https://coding.sh/docs/install) +- **Install.** Uninstall for OpenCode also removes the `plugins/` folder init made for its plugin, and the OpenCode config folder, when nothing else is left in them. A folder that holds any other file stays. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#uninstall) +- **Install.** Uninstall removes the folders init made to hold the files it deletes, once they are empty. After init and uninstall, the home holds the same folders as before, apart from ~/.coding.sh, and doctor lists the same installed agents. A folder that was there before init, or that holds anything else, stays. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#uninstall)) +- **Install.** An agent config written as JSON on one line, such as `{"theme":"dark"}`, stays on one line when coding.sh adds or removes its entries, so `uninstall` gives back its exact bytes even when `~/.coding.sh` and its backups are gone. Before, it came back indented over several lines. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md) +- **Install.** `uninstall` removes the coding.sh MCP entry from Codex's `config.toml` after `~/.coding.sh` was deleted, when the entry is exactly the launch coding.sh writes. Before, it stayed and `uninstall` said nothing was installed. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md) +- **Install.** On Windows, `install.sh` and `init` tell you to type `codingsh` in PowerShell and cmd, where `coding.sh` opens npm's sh script instead of running it. Run from Git Bash, `init` keeps `coding.sh`. The install guide says the same. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md) +- **Install.** `install.sh` warns when another `coding.sh` comes first on PATH, such as an older global install, and names its version, its path and the folder to put ahead of it. Before, `coding.sh` went on running the other one without a word. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md) +- **Install.** Started with npx on Windows, `init` names `npx -p coding.sh codingsh ui` and `npx -p coding.sh codingsh improve` as its next steps. npx runs the command through cmd there, where the `npx coding.sh ui` it named before opens npm's sh script instead of running the CLI. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#install) +- **Install.** Every command `init`, `uninstall` and `update` print, including the `--yes` rerun they ask for without a terminal, names `codingsh` in PowerShell and cmd, and the npx command when started with npx. Before, most named `coding.sh`, which fails there. To reinstall, PowerShell and cmd get `npm install -g coding.sh`, not `curl … | sh`. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows) +- **Install.** Without a terminal, the rerun `init` and `uninstall` ask you to approve is the command you ran, flags included, plus `--yes`. Before, it dropped the flags: `init --agent claude-code` named `coding.sh init --yes`, which set up every detected agent, and `uninstall --agent opencode` named a rerun that removed coding.sh from all of them. [Install](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#what-init-changes) +- **Install.** The install script installs the latest GitHub release, the one `coding.sh update` installs: from npm when npm has it, else the release tarball. It used to install npm's latest, which can be a release behind. Without an answer from GitHub in 30 seconds, it installs npm's latest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#updates)) +- **Install.** `uninstall` removes coding.sh from an agent's other config files when it can't read or parse one of them, leaves that file as it is, prints the error and exits 1. Before, it removed nothing from that agent and could say that nothing was installed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#uninstall)) +- **Install.** On Windows, the site, the quick start prompts, llms.txt and the docs give `npx -p coding.sh codingsh` for `npx coding.sh` next to each rule that says to type `codingsh` for `coding.sh`. Applied to `npx coding.sh`, the old rule asked npm for a package we don't publish. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) +- **Judges.** `judge calibrate` reports a κ of exactly 0 when the judge agrees with your labels no more than chance would, in the estimate and its interval. Before, rounding could print it as `-0.00`. [Judges](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#judges) +- **Judges.** `coding.sh judge calibrate` and `judge sample` say which label names the cases have when none is named after the judge's criterion, and the `--criterion` that reads them. Before, the viewer's Pass and Fail labels (named `outcome`) were left out of a judge with another name without a word. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#judges)) +- **Judges.** The calibrate command that `coding.sh judge sample --out` prints runs as printed: it is named for the user's shell (`codingsh` in PowerShell and cmd) and passes `--split` for a plan not drawn from `test`, and `judge calibrate --plan` reads the labels named after the plan's criterion. `judge calibrate --sample-passes` names the shell's CLI too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#which-cases-to-label)) +- **Judges.** `coding.sh judge slop` on a session with no captured diffs names the `git diff` command to grade instead with the CLI of the user's shell (`codingsh` in PowerShell and cmd). ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#agent-slop)) +- **Judges.** `coding.sh judge calibrate` keeps a judge's stored calibration when a run reads no labels, for example with a `--criterion` no label has. Before, the run replaced a calibration measured on labels with an empty one, and `exp compare` lost the judge's bias correction. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#judges)) +- **MCP.** The first calls after an upgrade answer within a few seconds. While the index is folded again, every result carries `index.refolding: true`, and a session not yet refolded shows its older stats whole. `latency` keeps to its time budget on very large stores, where it could fail before. [Configuration](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#output-and-updates) +- **MCP.** `sessions_list` says which time window it read: a `window` with the `since` and `until` from its arguments and any `since:` or `until:` clause in `where`, the tighter of each. Given only `until`, it still lists every session before it. [MCP](https://coding.sh/docs/mcp#tools) +- **MCP.** `session_get`, `session_current` and `sessions_list` add `repoMain`, the main checkout's root, for a session in a linked worktree, as `show --json` does. The session resource's Repo line names it too. [MCP](https://coding.sh/docs/mcp#tools) +- **MCP.** `session_get` with `tail` pages back to the first entry with `nextCursor`. A `since` after `until` is an error naming both times. A 2024-11-05 client gets 2024-11-05 and results without `structuredContent`. Error results carry no `structuredContent`; details are in `_meta`. `status` lists the top 5 work items, not 10. [MCP](https://coding.sh/docs/mcp#protocol) +- **MCP.** `session_get` reads a session once when it shrinks a page to fit, about 8 times faster on long sessions. `harness_changes`, `exp_session_summary` and `eval_from_session` answer an error for a missing repo path or unknown id, and `since` equal to `until` no longer advises a swap. [MCP](https://coding.sh/docs/mcp#tools) +- **MCP.** Reading `codingsh://latest` on an empty store returns the "No sessions captured yet" next step instead of Resource not found. `session_get` refuses `turn: 0` rather than returning the whole session, and the session digest says "1 turn". [Ask your agent](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent) +- **MCP.** `session_get` on a session whose last turn is still under way now gives one turn count: `turnCount` and the out-of-range turn error count closed turns, as `session.turns` and `coding.sh show` do, and the turn under way stays in the index marked `open`, reachable with `turn: -1`. [MCP](https://coding.sh/docs/mcp) +- **MCP.** The `search` tool's `agent` picks sessions by the session's agent and each hit's `agent` is the session's, as `coding.sh search --agent` and `sessions_list` do. Before, it went by each event's agent, so `agent: "t3code"` found nothing in Claude Code sessions run from T3 Code and their hits said `claude-code`. [Ask your agent](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent) +- **MCP.** The `latency` tool lists T3 Code's `request_secret` card under `waitingTools` with `waitsOn: "human"`, like `AskUserQuestion`. Before, the minutes it stayed open until you pasted the secret topped `slowestTools` and `slowestCalls`. [Ask your agent](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent) +- **MCP.** Following the search tool's `nextCursor` returns every hit once, in the order of `coding.sh search --json`. Before, hits that ranked the same could repeat on one page and never show on any. The session_get summary and the session resource also report failed model calls (`llmErrors`: count, first status and error). [MCP](https://coding.sh/docs/mcp#tools) +- **MCP.** `sessions_list` lists subagent sessions when its `where` names `id:`, `parent:` or `is:child`, as `sessions --where` does, instead of an empty list without `includeSubagents`. On Windows, `session_current` and the `repo` argument match paths whatever their case and slash direction, so `c:/work/app`, `C:\work\app` and a session stored with forward slashes are one folder. [Query language](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md) +- **MCP.** On Windows, `mcp config` prints register commands whose paths survive Git Bash: forward slashes, with double quotes around a path that holds a space. Before, Git Bash dropped the backslashes, so `C:\Users\me\cli.mjs` arrived as `C:Usersmecli.mjs`. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-mcp) +- **MCP.** `eval_init` errors name its arguments, such as `command`, `url` and `force: true`, where `eval init` names CLI flags, and no longer suggest `--draft`, which `eval_init` does not take. [MCP server](https://coding.sh/docs/mcp) +- **MCP.** `latency` reads every session in the window, not only the newest 300 with calls, so a filter no longer finds a slower call than the unfiltered answer. `window` says how much it read (`sessionsRead`, `eventsRead`); after 30 seconds it stops, sets `truncated` and says why in `truncatedNote`. [MCP server](https://coding.sh/docs/mcp) +- **MCP.** The `codingsh://session/` resource stays under 25,000 characters: it lists the first 40 subagent lines, with descriptions cut to 120 characters, names the `subagents` and `session_tree` tools for the rest, and shortens the timeline to fit. Before, a session with many subagents could return a resource past the limit. [MCP server](https://coding.sh/docs/mcp) +- **MCP.** `session_get` and the session resource split a session into the turns `stats.turns` counts: a turn a background task's notification starts is its own turn, and a prompt sent while a turn runs stays in it. Before, `turnCount` could disagree with the turn list, and those turns could not be opened. [MCP server](https://coding.sh/docs/mcp) +- **MCP.** `session_get`, `session_current` and the `codingsh://session/` resource print durations as the CLI does: 119.6 s is 2m00s, not 1m60s, and 8,975,379 ms is 2h30m, not 2h29m. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent)) +- **MCP.** `resources/read` takes the session ids the tools take: `codingsh://session/` accepts a unique prefix of 4 or more characters, `latest` and a subagent's own id. A prefix several sessions share fails with invalid params and lists them, as the tools do. Before, only a whole id was found. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#ask-your-agent)) +- **MCP.** The `status` tool shows a password in the store URL as `***`, as `coding.sh status` does, and so does the error of a store that fails to open. Before, the password went into the agent's context. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/stores.md#pick-a-store)) +- **MCP.** On Windows, coding.sh no longer exits when it runs git in a folder whose path is 259 characters or longer, so the MCP server answers a tool call that names one. That git call, or one in a missing folder, fails with an error that says why. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#from-inside-your-agent)) +- **MCP.** The MCP server and read commands no longer exit when they cannot start the background ingest they hand pending captures to, as when an upgrade removed the node binary they run on. The captures wait for the next ingest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#output-and-updates)) +- **MCP.** session_replay is no longer marked read-only, since its fork argument sends a step's model call to the provider again. The MCP page lists score_add_batch with the tools that write and are marked destructive. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#fork-from-a-step)) +- **OpenTelemetry.** `coding.sh collector` stores a Claude Code model call sent both as an `api_request` log record and, with `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA`, as a span, as one call with the reported cost and the span's TTFT. Before, it kept whichever copy came first, and a prompt logged before its trace read as a resume. [OpenTelemetry](https://coding.sh/docs/otel) +- **OpenTelemetry.** When a batching exporter sends the span that names the conversation, such as the root `invoke_agent` with `gen_ai.conversation.id`, after the trace's other spans, those spans and their subagents move into the conversation. Before, they stayed in a session named after the trace id, and the conversation had no subagent. [OpenTelemetry](https://coding.sh/docs/otel) +- **OpenTelemetry.** Spans of eve's own Workflow runtime, such as `workflow//eve//workflowEntry` and its steps, are dropped like the other `workflow` scope spans. Before, they added span rows to the eve session, stretched it to the last delivery, and added 0-turn sessions for session timeouts and workflow tool runs. [eve](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/eve.md) +- **OTel.** Batching no longer changes OTLP sessions: an AI SDK subagent exported before its `ai.toolCall` gets its own session, a GenAI root or subagent takes its prompt from its first chat span whatever the export, timed at the agent's start, and a subagent's answer shows once. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#43-plain-opentelemetry-no-sdk) +- **OTel.** The receiver rejects only a span whose trace id or span id is not hex or base64 of the right length, answers 200 with partialSuccess, and stores the rest of the request, over JSON and protobuf. A bad parent span id or log record id is read as not set. `coding.sh collector import` reads ids the same way. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** An AI SDK `ai.streamText` or `ai.generateText` run inside an `ai.toolCall` is a subagent with its own child session. A Claude Code prompt logged a few ms before its interaction span no longer opens a resume phase, and a root whose model calls all moved to subagents keeps no model from them. [OpenTelemetry](https://coding.sh/docs/otel#sessions) +- **OTel.** `coding.sh serve` merges the span and the log record Claude Code sends for one model call, as the collector does: the call keeps the reported cost from the log and the TTFT from the span, in either arrival order. Before, it kept only the first copy. [OpenTelemetry](https://coding.sh/docs/otel#claude-code) +- **OTel.** A GenAI semconv trace whose `invoke_agent` root span has no input takes its prompt and title from the `gen_ai.input.messages` of a chat span under it. Messages on a chat span's `gen_ai.client.inference.operation.details` event are read like those on span attributes. Before, both sessions had no user message and took the span name as their title. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md) +- **OTel.** A model call's span with `gen_ai.server.time_to_first_token` gives its time to first token, read in seconds as OpenLIT sends it, or in milliseconds from Strands Agents' Python tracer. Before, a session of such spans had no time to first token on its Latency line. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** A root or subagent session from GenAI spans lists its `session.start` first, then the prompt it takes from a model call, though both have the agent's start time. Exporters send a span after the spans under it, so before, `show` could list a subagent's prompt first, both at +0ms. Traces stored before keep their order. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#43-plain-opentelemetry-no-sdk)) +- **OTel.** A model call span whose messages are wrapped in thousands of nested `kwargs` or `message` objects is stored, and the receiver no longer answers 503 to it. A message more than eight levels deep in the attribute is left out of the call; its text was not read before either. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** An OTLP/JSON attribute whose `stringValue` holds an object or array is read as no value, and the rest of the request is stored. The receiver no longer answers 500 to such a request. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** An OTLP/JSON time past 2^64 ns, or below zero, is read as unset, so a request with one no longer stores a time that breaks `sessions`, `status`, `show` or `stats` for the whole store. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** An attribute double that JSON cannot carry, such as `1e400` in OTLP/JSON or NaN in protobuf, is kept as its protojson string (`"Infinity"`, `"NaN"`) instead of `null`, and a time to first token or token rate past what a number holds is left out. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** An OTLP log whose `duration_ms`, added to or taken from the log's time, gives a time out of the date range is stored without its duration, and `sessions --json`, `status --json` and `show --json` no longer fail. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** An OTLP/JSON integer sent as decimal text, as in an attribute or a log body, is read in linear time. Each value comes out as before: a number when it is a safe integer, else its decimal text. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **OTel.** Importing `eve traces show --json` output now checks trace, span and parent span ids with the same OTLP hex-length rule as live collection and ClickHouse import, leaving an unset or non-hex id out so only the affected span is rejected. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) +- **Privacy.** `coding.sh purge` waits for a job still recording model calls (`exp run --record` or `--replay`), then exits 1 naming its experiment if it still runs; `--dry-run` names such jobs. A job marks its `llm-cache/` folder with a `.recording.lock` file while it records. Before, purge missed what the job wrote after it. [Privacy](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#remove-a-leaked-secret) +- **Privacy.** When a sink header uses `${TEAM_KEY}` and that variable is not set, the error says to set `TEAM_KEY` or change that sink header in the config. Before, it pointed at the `[store]` section. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#errors-exit-1)) +- **Privacy.** Model replies that `exp run --record` and `--replay` store in `llm-cache/` are redacted with your `[capture]` rules, `redactPatterns` included. Before, only the built-in `secrets` rules ran. Recordings made before still replay. In metadata mode the run prints one line saying it stores the replies. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#what-is-stored)) +- **Privacy.** `purge` also rewrites model replies recorded in `llm-cache/` that hold the value, keeping their replay keys, and deletes torn or leftover recordings that hold it. Snapshots in `repos/` are not rewritten: purge names each repo that holds the value and exits 1 until you delete it. Before, purge read neither folder. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#remove-a-leaked-secret)) +- **Privacy.** `init --remote` said sessions from before it stay on this machine, but the import it runs and later ingests sent them to the team server. The `team` sink now has a `since` time, and sessions that started before it are not sent. Running init again keeps that time. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#4-connect-each-machine)) +- **Privacy.** `purge` reads packed snapshots when the store's folder is 121 characters or longer on Windows, and names a snapshot repo whose objects git can't read as one that may hold the value. Before, git could not open such a pack, and purge passed over its objects as holding nothing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#remove-a-leaked-secret)) +- **Proofs.** Formal proof checker commands (`lake env lean`, `coqc`, `dafny verify`, `verus`, `isabelle build`, `tlc`, `tlapm`) now clear `no-verification`, keeping clean verified proof sessions unflagged in `sessions`, `impact`, and `dataset mine --proof-steps --exclude-flagged`. `coding.sh steer` emits high-priority `resolve-escapes` instead of test-tamper `audit-tamper` on standing proof escapes with no test edits. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#live-session-steering)) +- **Proofs.** `coding.sh proof --check-disk` resolves real paths so symlinks and junctions outside the repo are never read, escalates on-disk kernel-bypass hatches to `tampered`, and matches idless checker calls. `stats.verification.proof`, `coding.sh proof`, and `refine mine` share one whole-project check rule, skip test/example/scratch escapes, classify only slow or timed-out whole builds as slow, and normalize Windows drive-letter casing. [Evals](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#reviewing-formal-proofs) +- **Proxy.** `proxy env` says on stderr when no proxy answers on the URL it prints, and names the command that starts one. Its stdout is unchanged, so `eval` and `Invoke-Expression` still run the lines. Before, it printed the lines for a proxy that was not running and said nothing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#if-something-goes-wrong)) +- **Proxy.** `init --proxy` writes no base URL when another program holds `proxy.port`, when it is 0, or when this home's proxy runs on another port. It still sets up the hooks, says why, and prints the command that fixes it. Before, it pointed Claude Code and Codex at a port the proxy did not hold. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#errors-exit-1)) +- **Query.** `--where` given more than once joins the queries with AND, as if written in one, instead of keeping only the last. A later `sort:` or `limit:` wins. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#filter-with---where)) +- **Query.** When `sessions --flag` or a `flag:` term finds nothing and the name is close to a flag coding.sh sets or a stored session carries, `sessions` exits 2 and names that flag. A name a stored session carries is not a typo. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#usage-errors-exit-2)) +- **Query.** When `export`, `search` or `usage` finds nothing, a `--flag` or `flag:` name close to a known flag, or an `--agent` close to an agent id, exits 2 and names the one meant, as `sessions` does. `export --evidence --force` refuses before it clears the directory. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#usage-errors-exit-2)) +- **Query.** `user:` in `--where` finds sessions whose SDK `trace()` named a user (`userId` in TypeScript, `user_id` in Python), in SQLite and the Postgres and ClickHouse stores. It read only the user from OpenTelemetry attributes, so no SDK session matched. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#tool-and-event-keys)) +- **Refine.** `--trial-timeout` now reaches every refine call: `--proposer-command` (reporting the active limit on timeout), model proposers, decision-point continuations and judges, `refine distill`, `refine recheck`, and `refine diagnose`, keeping each command's default when omitted. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#refine-loop)) - **Replay.** A run made with `exp run --replay` keeps its task spec, so it can be the source of the next replay with a control arm, as the docs say. Before, that replay stopped with `no_control`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#what-is-stored)) - **Replay.** When a replay's source stored no task spec, the `no_control` error suggests a command you can paste, and its message names `--no-control`. Before, the suggested command ended in prose, so pasting it failed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#usage-errors-exit-2)) - **Replay.** The replay noise floor line says `first live call 2` when every case-trial went live at the same call, instead of `first live call 2–2 (median 2)`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#3-read-the-result)) @@ -488,106 +458,138 @@ grouped by area, with links to the docs for the details. - **Replay.** `replay` on a session logged only by the proxy, or by an SDK call outside `trace()`, says why it has no steps and points to `coding.sh show`, which lists its model calls. Before, it printed `0 steps` with no reason, and `--step 1` said the step was past the last one. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/use-cases/replay-agent-session.md#which-agents-can-i-replay)) - **Replay.** `replay --step` prints its see-the-whole-file command with the path quoted for your shell. Before, a path such as `app/(auth)/login/page.tsx` was printed bare, which Bash reads as a syntax error and PowerShell as a command to run. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/use-cases/replay-agent-session.md#read-one-step)) - **Replay.** `exp run --replay` with its control arm warns when every model call of your task matched the recording, so it made no live call. The replay key leaves out the system prompt, so a change to it alone is never sent. Before, such a run printed a comparison with no difference and no hint why. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/replay-llm-calls.md#3-read-the-result)) -- **MCP.** The `status` tool shows a password in the store URL as `***`, as `coding.sh status` does, and so does the error of a store that fails to open. Before, the password went into the agent's context. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/stores.md#pick-a-store)) -- **Work.** `work` and `work show` write a pull request of the item's repo as `#N` when its sessions ran in a linked worktree, as in the main checkout. Before, a worktree folder named unlike the repo made linked PRs, or all PRs next to another repo's, read `owner/name#N`. `work --json` adds `repoMain`, the main checkout's root. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items)) -- **Work.** A failed item with more than one session says whose end its reason times (`main session ended 6h ago on api 529`, or a workflow run's `failed agent`), and its stage says `last active 4h ago` for the item's last activity where it said `stopped 4h ago`, so the two times no longer read as contradictory. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#the-queue)) -- **Improve.** The MCP `improve` and `harness_changes` tools say when only headless runs used a change, and how many, as `improve check` does, and `harness_changes` takes `headless: true` to count them. The next steps `improve check` prints (count the headless sessions, re-check with `--watch`) keep the flags you gave, such as `--since` and `--agent`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#did-your-last-change-help)) -- **Store.** The first command after an upgrade or a price change no longer waits while stored cost estimates are repriced: the background ingest reprices them, folding each session once, and sessions show their old estimates until it finishes. With `CODING_SH_NO_AUTO_INGEST=1` the command still reprices first. `usage --reprice` waits up to 30 seconds while another process reprices or rebuilds stats. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) -- **Store.** The line that closes an index upgrade counts the repricing the same command ran and names the parts (`index upgraded in 24.7s: migrate 1.2s, reprice 23.5s`) instead of timing the migration alone. A repricing that runs past 2 seconds at a terminal says how far it is, once a second. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) +- **Scores.** `POST /api/scores` with an id that is already stored replaces the score only when the caller wrote it and can see its session. Other callers get 404 and the score is unchanged. [Scores API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md) +- **SDK.** Without `CODING_SH_URL`, the TypeScript SDK's `observe()` and `observeFetch()` pass each call through untouched, as the docs say. Before, `observe()` still added `stream_options` to OpenAI chat streams, and `observeFetch()` still read every request and response body, so `flush()` waited on open streams. [SDK](https://coding.sh/docs/sdk) +- **SDK.** In an Anthropic tool loop, the TypeScript SDK's `observe()` records the user's prompt as each call's `user.message` and session title, as the Python SDK does. Before, it took the text of the last `tool_result` block, so the sessions were titled with a tool's output. [SDK](https://coding.sh/docs/sdk) +- **SDK.** In TypeScript, the exit flush also sends a batch that is waiting for its retry, and warns when it has to drop events. Before, a script that ended without `flush()` while the server was down or answered 503 exited with its events lost and no warning. [SDK](https://coding.sh/docs/sdk) +- **SDK.** The Python SDK reads a `CODING_SH_URL` that ends in `/v1/traces` or `/v1/ingest` as the TypeScript SDK does: events go to `/v1/ingest`, and `coding_sh.otel` spans go to `/v1/traces`. Before, a URL ending in `/v1/traces` sent events to `/v1/traces/v1/ingest`, which the server does not take, so they were dropped. [SDK](https://coding.sh/docs/sdk) +- **SDK.** The Python SDK reads `Retry-After` as the TypeScript SDK does. It waits up to 60 s, not 30 s, and it honors an HTTP date, retrying at once when the date has passed; before, it ignored dates. A value it cannot read, such as `Infinity`, now means backoff, not a 30 s wait. [SDK](https://coding.sh/docs/sdk) +- **SDK.** In TypeScript, when `shutdown()` or the flush at exit runs out of time, its warning names that flush and says the events are dropped. Before, it said `flush()` gave up and that the events would be retried while the process ran. [SDK](https://coding.sh/docs/sdk) +- **SDK.** Inside `trace()`, each Vercel AI SDK call through `aiSdkTracer()`, and each span from Python's `coding_sh.otel` provider, is a step of the trace's one turn. Before, each call was a turn of its own and added its prompt as a user message. Sessions stored before keep their turns: spans are mapped at ingest, so nothing is parsed again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/trace-your-agent.md#trace-the-vercel-ai-sdk)) +- **SDK.** In Python, when `shutdown()` or the flush at exit runs out of time, its warning names that flush, says how many events were not sent and that they are dropped, as in TypeScript. Before, both said `flush()` gave up, and `shutdown()` went on retrying in the background. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#42-python-packagessdk-python--pypi-coding-sh-import-coding_sh)) +- **SDK.** Both SDKs read `Retry-After` as RFC 9110 defines it: whole seconds, or one of the three HTTP date forms, in GMT. Anything else, such as `-1`, `1.5`, `0x10` or an ISO date, means backoff. Before, TypeScript read `-1` as a date in 2001 and an asctime date as local time, and Python read `1_000` as 1000 s. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#4-sdks)) +- **Search.** A Codex code-mode cell no longer doubles its calls in search: when a call the cell ran matches, the cell's copy of its command or output is left out, so each match is listed once and a page holds distinct hits. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#search-every-session) +- **Search.** `coding.sh search` and bare words in `--where` find the error a subagent or a session ended with, such as a failed Copilot CLI or Droid subagent or a Cursor session that ended with an error. Before, only error events, failed model calls and tool errors were searchable. Ends stored before are indexed once on upgrade. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md) +- **Search.** `search ""` and a search for blank text are a usage error that exits 2, not a search that finds nothing. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#search-every-session)) +- **Self-host.** In the Compose stacks that run serve, Postgres and ClickHouse are healthy only when they answer on the address serve connects to. The old checks passed against the image's first-start setup server on loopback or the unix socket, so `docker compose up -d --wait` could fail on the ClickHouse stack with `clickhouse at http://clickhouse:8123/ is unreachable`. [Deploy](https://github.com/jackulau/coding.sh/blob/main/docs/production/deploy.md#docker-compose) +- **Self-host.** The example `deploy/compose/config.toml` uses the `[prices]` table that Configuration documents, in place of the older `[pricing]` spelling. Both spellings still work. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#prices)) +- **Self-host.** The team Compose file no longer says the image is unpublished, and `deploy/compose/.env.example` suggests pinning 0.1.7, a real release, in place of 0.2.0. The example and the docs link the list of image tags. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#back-up-and-upgrade)) +- **Self-host.** Self-host for a team says how to keep every `docker compose` command on the Postgres stack (`COMPOSE_FILE` in `.env`), how to back up Postgres, what to do when Git Bash breaks `serve keygen`, and where to look when the container is unhealthy. The team guide shows the admin CLI inside the serve container. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#if-something-goes-wrong)) +- **Self-host.** When the server refuses the key, `init --remote` says where a server with no configured keys keeps its own: `serve-keys.json` in its data folder, and gives the `docker compose cp` command that copies it out. Before, it pointed at `docker logs`, but the server prints the keys only on the start that made them. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#1-start-the-server)) +- **Serve.** `coding_sh_session_cost_usd_total` counts a session's cost when one of its turns ends too, so an OpenTelemetry trace with a conversation id counts its root's own cost, not only its subagents'. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#17-metrics-and-logs) +- **Serve.** Behind a TLS proxy with `trust_proxy` set, every HTTPS answer carries `Strict-Transport-Security: max-age=31536000`, and a sign-in sets the read cookie as `__Host-csh_rk`, marked `Secure`. Plain HTTP keeps `csh_rk`, and a browser signed in before the upgrade stays signed in. A browser that has seen the header refuses plain HTTP to that host for a year. [REST API](https://coding.sh/docs/api) +- **Serve.** First-start keys are printed once, on the start that makes them. Later starts name `serve-keys.json` instead, a start that fails leaves no keys file behind, and a wrong `CODING_SH_INGEST_KEYS` or `CODING_SH_READ_KEYS` entry is named by its position. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) +- **Serve.** Forwarded spans send an attribute whose key names a secret, such as `db.password` or `http.request.header.authorization`, as `[redacted:secret-field]`, whatever its value, and ingest stores such a key's value the same way. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#19-forward-and-sinks) +- **Serve.** A viewer `POST` that carries an `Origin` is accepted only when the Origin's host is the host the request was sent to, on a public bind as well as on loopback. Behind nginx, add `proxy_set_header Host $host;`: the 403 says so. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) +- **Serve.** Every route but `/healthz` answers 403 to a `Host` header serve was not set up for, as the viewer already did. The new `serve.allowed_hosts` setting (`CODING_SH_ALLOWED_HOSTS`) adds names on loopback, such as `host.docker.internal` for an agent in a container, and limits a public bind to its list (`/readyz` still answers probes). [Configuration](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md) +- **Serve.** On loopback with no keys, serve answers only requests that no proxy passed on: a request with an `X-Forwarded-*`, `Forwarded` or `Via` header gets 401, and serve logs a warning the first time. With `serve.trust_proxy` set, a loopback serve with no keys stops at start and names the keys to add. [Production](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md) +- **Serve.** When serve refuses to start because a key is missing, it names the command that makes that key. A missing read key now gets `coding.sh serve keygen --project '*' --read`, not the ingest key command. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#2-make-your-own-keys)) +- **Serve.** The viewer sign-in page of `coding.sh serve` offers a user sign-in only when `CODING_SH_BASIC_AUTH` is set. Before, it offered one on servers with read keys only, where no user exists. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/self-host-team.md#2-make-your-own-keys)) +- **Serve.** When `coding.sh serve` runs on loopback with no keys and refuses a request that a proxy passed on, its warning names the commands for both keys a server behind a proxy needs, an ingest key and a read key. Before, it named only the ingest key command. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#12-auth)) +- **Serve.** A session of OpenTelemetry traces that share a conversation id (`gen_ai.conversation.id`, an AI SDK `sessionId`) counts in `coding_sh_sessions_total` on `/metrics`. Such a session sends no end, so it counts once, when serve stores its first trace; before, only its cost was counted. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/PRODUCTION.md#17-metrics-and-logs)) +- **Sessions.** `test-tamper` and `coding.sh proof` now recognize explicit human direction pivots in `user.message` events and record matching post-steer test, statement, and spec edits at `info` severity with `steeredBy` instead of flagging `test-tamper` or `tampered`, while generic prompts and unrequested bypass flags stay `high`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#checklists-and-trace-checks)) +- **Sessions.** When a shell line that reads files fails, `stats.retrieval` drops a file only when an error line names its base name whole. Before, an error about `data.ts` or `a.tsx` also dropped `a.ts`, so a file the agent read counted as not read. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) +- **Sessions.** Compaction, a retried workflow step and a resumed run are notes, not failures. Every count of failed or flagged sessions now leaves out the flags compaction, step-retried and resumed. On /metrics, `coding_sh_session_flags_total` no longer counts them, and fewer sessions count as `outcome="failed"` in `coding_sh_sessions_total`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#flag)) +- **Sessions.** `show --json` reads cut prompts and outputs back whole from their blobs. A failed model call shows in `show` with its error and sets the `llm-error` flag. An SDK session of model calls only prints `-` under TOOLS. `sessions` leaves out eval, compare and exp trials unless `--include-runs`, and keeps titles on one line off a terminal. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#read-one-session) +- **Sessions.** A session T3 Code ran now has the agent that ran (`claude-code`, `codex`) and `host: "t3code"`, so `usage --by agent`, `status` and the viewer's Agent facet compare Claude Code with Codex. The header says "via T3 Code", and `--agent t3code` still lists these sessions. [Host apps](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) +- **Sessions.** A subagent's title skips workflow frame lines before it takes one line, and a `Project:` line is skipped only in a framed prompt. A workflow agent with only a frame is titled by its phase and label. A phase is titled by its first prompt that is not a harness notice or frame. [Query](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#sessions) +- **Sessions.** `sessions --repo` and `export --repo` take a repo name or a path, as `work` does, and a name includes every worktree. The list ends with how many child sessions it hides (`hiddenChildren` in `--json`). Repo roots are stored in one spelling on Windows, and a bare repo's worktree has no main checkout. [Explore](https://coding.sh/docs/explore#list-your-sessions) +- **Sessions.** A session in a git worktree counts under its main repo: `repo:`, `--repo .`, `usage --by repo`, the viewer's repo group, `improve` and the MCP tools include it. `repo.main` names the main checkout; `cwd` and `repo.root` stay the same. [Query](https://coding.sh/docs/query#session-keys) +- **Sessions.** A session's title skips a workflow harness's frame line, a `Project:` header line and pasted blocks, so a work item shows its task instead of a preamble many sessions share. A prompt that is only a paste is titled by its first line. [Session](https://coding.sh/docs/concepts#session) +- **Sessions.** In `show`, a T3 Code session no longer opens with an empty start phase and a "resumed after 1 min" that never happened, and a gap under a minute reads in seconds. `harness audit` lists a file an agent named as `/c/Users/...` once, under its `~` path. [Explore](https://coding.sh/docs/explore) +- **Sessions.** A T3 Code session takes the title of the T3 thread that ran it, in `sessions`, `show`, `tree` and `improve`. Before, it took its first prompt, so handoff and delegated threads were titled with T3's handoff or sub-agent preamble. In `show`, T3's link event names the thread instead of printing an empty `notification` line. [Adapters](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code) +- **Sessions.** A Gemini CLI permission prompt counts for the `unapproved-action` flag: a risky call the user approved there is not flagged, whether the prompt came while the call was open or before it started, as in Gemini CLI 0.35 and older. Before, only Claude Code's prompts counted. [Flags](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md) +- **Sessions.** The `--json` of a session in `sessions`, `show` and `tree` rounds each cost to 1e-9 dollars and each millisecond figure to a whole one, so a cost of `0.0041400000000000005` prints `0.00414`, as summed costs do. Other numbers are as stored. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md) +- **Sessions.** `sessions` and `usage` reject an `--agent` that no stored session has and that is close to an agent coding.sh knows, such as `claud-code`, and suggest `--agent claude-code`. Before, they printed an empty list. `usage` for an agent with no session at all suggests every agent's usage, not a wider window. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md) +- **Sessions.** `coding.sh sessions` and `coding.sh show` name the host app that drove a session: the AGENT cell reads `claude-code via t3code`, so a row that `--agent t3code` lists says why it matched. `--json` keeps `agent` and `host` apart, as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#list-your-sessions)) - **Sessions.** A session id whose shortest prefix runs past 40 characters or needs quotes in a shell, like a long T3 Code thread id, prints as an alias such as `x_d52r41f3` in `work`, its next steps and ambiguous-id lists. `show`, `tree`, `replay`, `work show`, call references (`#`) and the MCP tools take the alias. Stored ids do not change. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#session)) -- **Harness.** `coding.sh harness tools` reads the window's model calls first, and when none stored a tools array or sent tools through the proxy, it reads no session's events. Before, it read every session in the window to report nothing. The answer is the same. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/capture-with-proxy.md#catch-a-tool-description-that-changed)) -- **Harness.** `harness audit` no longer counts a written file that is gone from disk as write-only. It is flagged `deleted` and listed after the files still on disk, and `--json` counts it in `totals.deleted` and the `harness_audit` MCP tool in `unused.deleted`, apart from `writeOnly`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#memory-and-instruction-files)) -- **Viewer.** Work headings count the whole bucket ("119 of 671") instead of only the cards the page loaded, and Show all lists up to 1,000 items in place, beside the CLI command that lists them all. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) -- **Work.** When the index is old, `work show` counts a review item's age from the last ingest, as `work` and the Work page do, so all three give the same reason. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#an-old-index) -- **Capture.** T3 Code's store is read where it is while T3 Code has it open, each thread in one short read transaction, instead of copied to the temp directory on every read. A SQLite store is copied only when the temp directory keeps room to spare, and a refused T3 copy names the space needed and free. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code)) - **Sessions.** `sessions`, `tree`, `work`, `blame` and `attribution` print a session whose id is `latest` or `last` by its `x_` alias, which opens it. They printed the word, which opens your newest session. Some `x_` ids and subagents printed a longer id than they needed; they print the shortest that opens them. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) -- **Cost.** Repricing removes an estimate that no price makes any more, such as one from a deleted `[prices]` row, so the call has no cost, as a model with no price has none. Before, the old estimate stayed in the call and its session. Stored estimates are checked once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#prices)) -- **Cost.** Repricing no longer undoes what an ingest or a refold wrote to a session meanwhile, and one stopped between a session's costs and totals no longer leaves the totals on the old costs. Where the refold's lock file can't be made, it waits for a run that can, and `usage --reprice` fails. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) -- **Cost.** While stored estimates are repriced, a read's note says a re-parse or repricing is running, and the repricing has the captures reads leave waiting ingested between its steps where it can. Before, the note named only a re-parse, and those captures waited for the next ingest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) -- **Cost.** A model call nested in another that reported a cost, even $0 as a free model under a framework's span does, now beats the outer call's estimate, also an estimate of $0 from a `[prices]` row of 0. Before, the session took the estimate. Stored sessions are folded again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Cost.** After `coding.sh gateway enrich`, a model call nested in another counts at what the gateway billed for it when the outer call's cost is an estimate. Before, the session took the call's cost before the bill. A billed call no longer adds its nested calls' cost to the bill. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) -- **Cost.** A gateway's bill counts once when `coding.sh gateway enrich` linked its generation to two copies of one call, such as the proxy's copy and the agent's own record. Before, the session added the bill's difference from the call's cost twice. Stored sessions are folded again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) - **Sessions.** Session token totals, phase tokens, `duplicateUsage`, cache breaks, the `no-progress` derail's context size and `inheritedTokens` skip a token count below 0 or not a finite number, as cost estimates do. Before, a call that reported `inputTokens: -50000` lowered the session's input tokens by 50,000. Stored sessions are folded again once. Stored Claude Code sessions are parsed again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Capture.** A sink gets the events that an ingest stored and could not send because it crashed on a Postgres or ClickHouse store or lost its lock in a stall. A session that ends during an ingest's last pass no longer waits for the next hook: that ingest starts another. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#sinks)) -- **Cost.** After `coding.sh gateway enrich`, a session costs what the gateway billed, also when new prices are applied to its calls while enrich runs. Before, a call's new estimate could be added on top of the bill. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) -- **Capture.** Redaction replaces a private key whose `BEGIN` line overlaps another `BEGIN` line, as in a header repeated without a line break. Before, the key data after it could be kept. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **Capture.** A vendor token after a secret name, as in `GITHUB_TOKEN=...`, `"api_key": "..."`, `?token=...` or a password in a URL, keeps its own kind in the redaction counts, so the session gets the `secret:exposed` tag. Before, the name's rule replaced the token's marker and it counted as a generic secret. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **Capture.** Redaction covers more secret formats: keys from more than twenty other services and tools with a fixed prefix, private keys in base64, Azure storage account keys, `Authorization` headers with any scheme, cookies, URL signatures, `.netrc` passwords, passwords in URLs with no user name, and values set after names like `client_secret` or `aws_secret_access_key` in config files. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **Capture.** The node hook redacts a JSON document inside a string as that document also when a rule has changed the text around it, so a value that only its key marks as secret is replaced before it reaches the spool, and each value is counted once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) -- **Capture.** Matching a `capture.exclude` glob takes time in proportion to the glob and the path, so a glob with many stars, such as one a repo's `.coding.sh/config.toml` sets, no longer stalls ingest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#capture)) -- **Capture.** A repo's `.coding.sh/config.toml` can turn snapshots off or lower `snapshot.maxFiles` and `snapshot.timeoutMs`, but no longer turn snapshots on or raise their limits over your own config. A snapshot keeps files as they are, not redacted. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#snapshot)) -- **Capture.** The OTLP receiver that `coding.sh collector` and `compare --otel` start gives a client 20 seconds to send its request headers and 120 seconds for the whole request, as `coding.sh serve` does, instead of the 60 seconds and 5 minutes Node allows by default. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#which-process-serves-what)) -- **Capture.** Spans and logs an agent exports during `compare --otel` are redacted with your `capture.redact` and `capture.redactPatterns` rules, as ingest does, instead of only the built-in secret rules. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#opentelemetry-per-run)) -- **Capture.** The node hook, and ingest when it rewrites a spool side file, replace a value nested too deep to copy with `[redacted:too-deep]`, as the index does. The node hook now writes a payload with a JSON document that deep inside a string, instead of dropping it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **MCP.** On Windows, coding.sh no longer exits when it runs git in a folder whose path is 259 characters or longer, so the MCP server answers a tool call that names one. That git call, or one in a missing folder, fails with an error that says why. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/improve.md#from-inside-your-agent)) -- **Install.** `uninstall` removes coding.sh from an agent's other config files when it can't read or parse one of them, leaves that file as it is, prints the error and exits 1. Before, it removed nothing from that agent and could say that nothing was installed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#uninstall)) -- **Capture.** On Windows, the node hook writes an event whose agent name Windows keeps for a device, such as `con` or `nul.txt`, or ends in a dot, which Windows drops from a folder name, under `spool/unknown`, as it does for other names that are not safe folder names. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) -- **Work.** After `work snooze`, the note and `work snooze --help` say the item shows only while it is in a more urgent bucket until the snooze ends. Before, they said it comes back sooner, as if the snooze ended. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#acknowledging-and-snoozing)) - **Sessions.** Antigravity's `view_file_outline` and `view_code_item` are reads; files its `run_command` or Droid's `Execute` writes count in `filesChanged`. Shell paths resolve against `Cwd` or Gemini's `dir_path`, and `/c/x` is `C:\x` when the working directory is on a Windows drive. `cat list | xargs rm` is not a read. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) - **Sessions.** Checks that read a shell command now read Antigravity's `run_command` line, so `stats.waste`, `stats.memoryUse`, `stats.toolErrors` and the `no-progress`, `looping`, `stalled` and `failure-streak` flags see it: a shell write is progress, `sleep` or `watch` is waiting, a search that finds nothing is an answer, not a failure, and flag details name the command. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) - **Sessions.** An agent CLI started from Antigravity's `run_command` or Droid's `Execute` (`codex exec`, `claude -p`) links to that call as its parent. A call that names an absolute folder (`Cwd`, `workdir`) is matched in that folder. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) - **Sessions.** A search counts as empty in `stats.retrieval` when it printed only grep's warnings, zero counts from a pipeline whose last command counts (`grep -c x`, `grep x | wc -l`), or the lines a literal `echo` in the same command prints. A `grep -q` search is empty only on status 1. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Capture.** After `ingest --backfill --since`, a later import skips each Claude Code transcript, Codex rollout and T3 Code thread the window imported whole while it is unchanged. Before, an import with no window, such as the one a read runs for T3 Code, read all of them again. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation)) -- **CLI.** `blame`, `attribution` and `tree`'s in: line name each session by the shortest reference that opens it, not by 8 characters many T3 Code thread ids share. In `sessions`, `tree`, `search`, `status` and `blame`'s session table, an id over 40 characters, one that needs quotes in a shell, or `latest` or `last` prints as that reference. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#search-every-session)) -- **MCP.** The MCP server and read commands no longer exit when they cannot start the background ingest they hand pending captures to, as when an upgrade removed the node binary they run on. The captures wait for the next ingest. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#output-and-updates)) - **Sessions.** `unapproved-action`, `test-tamper` and commit attribution read the command of Antigravity's `run_command`, and `test-tamper` traces a file that Droid's `Execute`, Devin's `exec` or `run_command` changed to its command. Failure classes (`stats.toolErrors`) and `stats.prs` also read a command sent as a bare string to `shell_command`, `powershell`, `local_shell_call` or `command_execution`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsid)) -- **Evals.** The test command that `eval init`, `eval new`, `eval candidates` and `improve` guess from a session is also found in `run_command`, `Execute`, `shell_command` and `powershell` calls. Tool evals now count `run_command` and `powershell` calls as shell calls, but not an `execute` call without a command string. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/session-to-eval.md#pick-the-sessions), [tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#54-tool-call-classification-from-agent-events)) -- **Capture.** When a transcript import stores a prompt, a reply, a session start or end, or a compaction before the spool is read, a sink no longer also gets the hook's copy, and a prompt two hooks spooled no longer reaches it twice. A sink catching up on spool lines already stored still gets both. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/config.md#sinks)) -- **Work.** `work`, `work show`, `work ack --json` and the MCP `work` and `status` tools name the CLI in each item's next step as other next steps do: `codingsh` in PowerShell and cmd, and the npx form under npx. Before, they named `coding.sh`, which fails in PowerShell and cmd. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces)) -- **Viewer.** In a browser on Windows, the commands the viewer shows and copies name `codingsh`, which PowerShell and cmd run (`npx -p coding.sh codingsh` for `npx coding.sh`): copy buttons, empty states, the work queue, review items and the hint to ingest an old index. Before, only the update pill did; the rest named `coding.sh`, which fails there. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) -- **Install.** On Windows, the site, the quick start prompts, llms.txt and the docs give `npx -p coding.sh codingsh` for `npx coding.sh` next to each rule that says to type `codingsh` for `coding.sh`. Applied to `npx coding.sh`, the old rule asked npm for a package we don't publish. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) -- **Evals.** Help for `dataset add --case` and `bench new -g` says each takes a path to a JSON file as well as inline JSON. Both read a file before, but help named only JSON. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#case)) -- **Viewer.** With no key set, the Fork from here tab names the variable to set, such as `ANTHROPIC_API_KEY`, without the `$` of sh, and says to restart the viewer. PowerShell reads `$ANTHROPIC_API_KEY` as a shell variable, not the environment variable, and cmd does not use `$`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#fork-from-a-step)) -- **CLI.** Next steps and notes that name a session print a reference that opens it, in `eval`, `improve`, `review`, `score add`, `doctor`, `replay`, `show`, `tree`, `blame` and the viewer's copied commands. A full id could break in a shell or be `latest`, which opens your newest session, and an 8-character prefix could match two sessions. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) -- **CLI.** A file you pass to coding.sh reads the same when Windows PowerShell wrote it, in UTF-16 or in UTF-8 with a byte order mark: the values for `purge --literal`, a dataset to import, a spec, case, grader or labels file, and text piped to `judge`. Before, such a file could fail to parse. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) -- **CLI.** In PowerShell and cmd, missing-key errors that stop a command, `exp replay --dry-run`, `gateway status` and `doctor` name a variable `$env:NAME` where they printed `$NAME`. The `toolevals`, `exp ab`, `refine` and `gateway status --credits` missing-key errors now print the line that sets the key, as the others do, and keep their other next steps. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#errors-exit-1)) -- **CLI.** `gateway status --credits` with a gateway that has no credits API, such as `--gateway litellm`, says so and names the gateways that have one. Before, it said `--credits needs a key in` and named no key. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-gateway-status)) -- **Query.** `user:` in `--where` finds sessions whose SDK `trace()` named a user (`userId` in TypeScript, `user_id` in Python), in SQLite and the Postgres and ClickHouse stores. It read only the user from OpenTelemetry attributes, so no SDK session matched. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#tool-and-event-keys)) -- **Cost.** `coding.sh usage` marks a row with `~` whenever part of its cost is estimated, even when the estimate rounds to $0.0000, and prints the note that explains `~`. Before, such a row read as all reported. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) -- **Capture.** Hook capture now reads the model calls of a Claude Code turn you stopped, which it missed before, and counts the turn as cancelled. A hook prompt takes the time on its transcript entry, so the turn's first model call stays in its turn. Claude Code sessions are parsed again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around)) -- **Capture.** A Claude Code turn you stopped ends once in a transcript import, at the stop. Before, it ended again under the same id, at the next prompt or the end of the transcript, which `coding.sh doctor --conformance` reported as a duplicate id. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#check-what-the-adapters-read)) -- **Bench.** `bench schedule` writes a crontab line that keeps a `%` in a path. cron reads a bare `%` as the end of the command, so a working directory, CLI path, report folder or log path with one ran a cut-off command. A path with a line break is now an invalid argument. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/benchmarks.md#budget-schedule-and-report)) -- **CLI.** In PowerShell, a printed command puts an argument like `-x.y` in double quotes, as it does `-x:y`. PowerShell read the bare form as the parameter `-x` followed by `.y`, so the command got two arguments. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) -- **CLI.** A printed sh command single-quotes a word that starts with `=`, which zsh reads as the path of a command, so the command failed in zsh. An `=` later in a word stays bare. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md)) -- **Capture.** On Windows, `coding.sh init` no longer writes a hook command that cmd.exe or PowerShell would read differently: for a hook path with `%`, `$`, a backtick or a curly double quote, it says to set `CODING_SH_HOME` to a folder without them. Claude Code, Amp, OpenCode and Pi keep their hooks, and Copilot CLI's PowerShell command single-quotes the path. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#hook-command)) -- **Capture.** Email redaction, which `email` or `pii` in `capture.redact` turns on, takes time in proportion to the text it reads. It redacts the same addresses. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **Capture.** During a Devin session, the node hook finds coding.sh's own hooks among Devin's hook commands in time proportional to each command. It finds the same hooks as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around)) -- **Capture.** Reading a test runner's summary (Jest, Vitest, pytest) and a shell call's command takes time in proportion to its length. The test results, and the files a shell call is said to have changed, are the same as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#test-results)) -- **OTel.** A model call span whose messages are wrapped in thousands of nested `kwargs` or `message` objects is stored, and the receiver no longer answers 503 to it. A message more than eight levels deep in the attribute is left out of the call; its text was not read before either. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **OTel.** An OTLP/JSON attribute whose `stringValue` holds an object or array is read as no value, and the rest of the request is stored. The receiver no longer answers 500 to such a request. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **OTel.** An OTLP/JSON time past 2^64 ns, or below zero, is read as unset, so a request with one no longer stores a time that breaks `sessions`, `status`, `show` or `stats` for the whole store. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **OTel.** An attribute double that JSON cannot carry, such as `1e400` in OTLP/JSON or NaN in protobuf, is kept as its protojson string (`"Infinity"`, `"NaN"`) instead of `null`, and a time to first token or token rate past what a number holds is left out. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **Stats.** A session whose stats hold an integer past 2^53, such as a token count of 1e17, no longer makes `stats`, alert checks and `GET /api/metrics` fail for the whole store with "Value is too large to be represented as a JavaScript number". ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-stats)) -- **OTel.** An OTLP log whose `duration_ms`, added to or taken from the log's time, gives a time out of the date range is stored without its duration, and `sessions --json`, `status --json` and `show --json` no longer fail. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **Cost.** After `coding.sh gateway enrich`, a billed call adds nested bills for other generations and, with no usage, its nested calls' tokens. A nested bill replaces an outer call's cost. Of a response's copies, one billed or with a nested bill counts first, then one a bill covers, then the one checked first. Stored sessions are folded again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/integrations/ai-gateway.md#cost-and-provider-per-call)) -- **Capture.** A spool file that ends in a blank line is now read to its end, so `coding.sh gc` can delete it and ingest stops opening it again on every run. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) -- **Capture.** A spool line that the POSIX sh hook wrote right after a torn fragment ending inside a character is now read at the byte where it starts, so ingest and a re-parse give its events the same ids. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) -- **Capture.** The scrub of a past day no longer blanks a whole spool line that the POSIX sh hook wrote right after a torn fragment when either holds a secret: the line is redacted in place like any other, and only a fragment that holds a secret is blanked, so a re-parse still reads the line. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) - **Sessions.** Session and phase titles that skip pasted blocks or read a slash command's name and args take time linear in the prompt. The titles are the same as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#sessions)) - **Sessions.** `test-tamper` reads string literals and node:test options on a test's diff line in linear time. An escaped quote no longer closes a literal, as in JS and Python. A quote that closes nothing is passed over, so a skip marker after it counts unless a later literal holds it. Stored sessions are folded again once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#flags-and-derails)) - **Sessions.** The `looping` and `no-progress` derails read an MCP tool's name in linear time when they check whether its server drives a browser or a desktop. They pick out the same servers as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/query.md#derails)) -- **Capture.** A Cursor subagent whose `agent_transcript_path` names no file, such as `/`, gets a child session of its own (`:sub:`), and ingest stores its start and end. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#subagents)) -- **Cost.** A Claude Code subagent transcript copied under another session is stored once, under the session that wrote it, even when its first line is cut short or corrupt, so its calls and cost count once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#subagents)) - **Sessions.** A Claude Code prompt held in its transcript as two user entries with one `promptId` is one turn that ends once, and the turn's length runs to its end. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#turn)) -- **Capture.** An OpenCode session that two files under `storage/session` name is read once, from the first file, so backfill gives each of its events once. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#transcripts-headless-runs-isolation)) -- **Capture.** A Droid or Pi line whose transcript path names a folder keeps its events, as does a Droid, Gemini CLI, Pi or Antigravity line whose transcript cannot be read. Before, ingest skipped such a line, for a folder only on Linux and macOS. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#live-capture)) -- **Capture.** A time out of the Date range (more than 8.64e15 ms from 1970) is read as missing, as when the agent gives none, and so is a duration whose start would fall out of it. Ingest reports an event whose time is still out of the range. `coding.sh quota` reads such times as missing too. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#known-breakage-to-design-around)) - **Sessions.** Trimming the trailing slashes, spaces and dots of the paths and text that ingest reads takes time linear in the text, as does quoting an argument for cmd.exe on Windows. Ingest derives the same files, links and stats as before, and each argument is quoted as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#session)) - **Sessions.** Splitting a shell command into its simple commands reads a redirection to a descriptor, such as `2>&1`, in linear time. Ingest derives the same files, writes and flags as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#session)) -- **Capture.** A hook payload of exactly 64 MB no longer logs `stdin truncated at 67108864 bytes` to `spool/errors.log`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#sessions-dont-show-up)) - **Sessions.** Ingest reads tool error lines, PowerShell launch lines, the Copilot CLI shell trailer, fenced code blocks, PR URLs, push remotes, git commands and slash command tags in linear time. Sessions, flags and pull requests come out the same as before. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/concepts.md#session)) -- **OTel.** An OTLP/JSON integer sent as decimal text, as in an attribute or a log body, is read in linear time. Each value comes out as before: a number when it is a safe integer, else its decimal text. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **Cost.** Fractional token counts and counts over 2^53 - 1 now bill nothing and add nothing to totals, as negative ones already did. Adapters read all three as missing before working out other counts like the uncached input; only new proxy and OTLP calls get that input. An OTLP cost below 0 no longer hides the next cost attribute. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/how-to/track-cost.md#where-cost-comes-from)) -- **Capture.** A Codex or T3 Code subagent thread whose rollout session record has no id keeps its own thread id, read from the rollout's file name, so it stays its own session with its parent link. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#subagents)) -- **Capture.** In JSON text held in a string, such as an OTLP log body, redaction finds a secret right after an escape such as `\n` and keeps each escape whole. Events stored earlier keep their text; `coding.sh ingest --rebuild` redacts a session again when its transcript or spool lines are still on disk. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **MCP.** session_replay is no longer marked read-only, since its fork argument sends a step's model call to the provider again. The MCP page lists score_add_batch with the tools that write and are marked destructive. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#fork-from-a-step)) -- **Docs.** The README says which hook redacts the spool. The REST API reference gives the 403 body serve sends for a host it does not allow, and says which session an OTLP log record with no session id joins. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#the-raw-spool)) -- **Capture.** Phone number redaction, which `phone` or `pii` in `capture.redact` turns on, reads the digits after a `+` in one pass and then checks how they are grouped, so it takes time in proportion to the text it reads. It redacts the same numbers. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) -- **CLI.** The --trial-timeout help and docs now say what the limit covers: each agent call, task run or workflow run. Each retry and repair round gets the full limit again, and a run over it is not retried. Before, they said one limit covered a trial and its retries. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#long-runs-resume-retries-status)) -- **Capture.** In JSON text held in a string, a value in double quotes after a secret name, as in `export API_KEY="..."`, `api_key = "..."` or `"api_key": "..."`, and an assignment's value that holds a backslash are redacted whole at every level. A quote at either end of a `redactPatterns` match stays. Each level still parses. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#redaction)) - **Sessions.** A stored or external time outside the Date range (more than 8.64e15 ms from 1970) reads as missing in CLI output, exports, ATIF, MCP results, viewer pages, work items, refine reports, attribution, and benchmarks, keeping the rest of the output intact. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md)) -- **OTel.** Importing `eve traces show --json` output now checks trace, span and parent span ids with the same OTLP hex-length rule as live collection and ClickHouse import, leaving an unset or non-hex id out so only the affected span is rejected. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#post-v1traces-post-v1logs-post-v1metrics)) -- **Docs.** The privacy guide and REST API reference note that scores, labels, viewer comments and review items record the local OS username (or `"local"`) in `by`, that `export labels` includes `by`, and that `purge` leaves score `by` unchanged. The comparison pages now reflect shipped monitors, review queues, alerts and the playground. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#what-is-stored-and-where)) +- **Site.** The files a page loads (scripts, fonts, search, images and icons) are served without running the site's edge Worker, so they no longer count toward its daily request limit. Past that limit, coding.sh answered every request with a 429 error until midnight UTC. [Release](https://github.com/jackulau/coding.sh/blob/main/docs/RELEASE.md#deploying-the-site) +- **Snapshots.** On Windows, the snapshot of a working tree keeps a file whose path is over 260 characters. Before, git left it out. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/privacy.md#what-is-stored-and-where)) +- **Stats.** `stats` and `/api/metrics` over top-level sessions count each subagent's p95 model-call time and TTFT, so an agent whose model calls all run in subagents, as OpenInference and Agents SDK runs do, no longer shows `-` for P95 LLM and TTFT. [API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md) +- **Stats.** A session whose stats hold an integer past 2^53, such as a token count of 1e17, no longer makes `stats`, alert checks and `GET /api/metrics` fail for the whole store with "Value is too large to be represented as a JavaScript number". ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-stats)) +- **Status line.** `statusline` reads at most 1 MiB of stdin, then prints its fallback line, so endless input such as ` upgrade-store`, unless the bin on PATH starts it. Before, it named `coding.sh upgrade-store`, which ran the install on PATH. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#store-version-errors)) +- **Store.** After an index upgrade too small to print progress (under 100,000 events), a person at a terminal now reads one dim line naming the copy of the index it kept and the command that puts it back. Before, only big stores said where the copy was. The commands in these lines name `codingsh` in PowerShell and cmd. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) +- **Store.** The first command after an upgrade or a price change no longer waits while stored cost estimates are repriced: the background ingest reprices them, folding each session once, and sessions show their old estimates until it finishes. With `CODING_SH_NO_AUTO_INGEST=1` the command still reprices first. `usage --reprice` waits up to 30 seconds while another process reprices or rebuilds stats. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) +- **Store.** The line that closes an index upgrade counts the repricing the same command ran and names the parts (`index upgraded in 24.7s: migrate 1.2s, reprice 23.5s`) instead of timing the migration alone. A repricing that runs past 2 seconds at a terminal says how far it is, once a second. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/troubleshooting.md#the-first-command-after-an-upgrade-is-slow)) +- **Stores.** Upgrade `coding.sh-store-postgres` and `coding.sh-store-clickhouse` with coding.sh: an older plugin still counts compaction, step-retried and resumed as failures in `is:flagged`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/stores.md)) +- **Stores.** The Postgres and ClickHouse store plugins index error text stored before it was searchable: error events, failed model calls, tool errors and the error a subagent or a session ended with. Before, search there found only errors stored after an upgrade. Each store does this once, on its next open. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md) +- **Tool evals.** `toolevals surface` counts once a CLI whose root `--help --json` already holds every command's options and subcommands, so coding.sh's surface is about half what it was. `toolevals init --cli` with a binary not on PATH exits 1 and writes nothing, and a crawl that finds no help page is an error, not a 0-byte surface. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md#21-cli) +- **Tool evals.** A CLI target whose binary name has a dot, such as `coding.sh`, runs and records through its tap. The tap is now a sh launcher next to a `..tap.mjs` module; before, node refused the name with `ERR_UNKNOWN_FILE_EXTENSION`. [Tool evals](https://github.com/jackulau/coding.sh/blob/main/docs/TOOL-EVALS.md) +- **Viewer.** Find in steps also matches a step's output and error, as the event search does. The picked `agent:t3code` chip counts the sessions listed. `coding.sh ui` starts the refold an upgrade needs and says "Rebuilding stats…" while it runs. A workflow run's error keeps its line breaks. [API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apiingest) +- **Viewer.** A long session's page moves a fraction of the bytes: events load as compact, gzipped rows with long tool output clipped, and opening a step reads its events whole. The timeline, deep links and Find in steps are unchanged. [API](https://github.com/jackulau/coding.sh/blob/main/docs/reference/api.md#get-apisessionsidevents) +- **Viewer.** The session list's query bar no longer jumps beside the title when nothing matches; the Run tree's Fix first link names the subagent by title; the empty Workflows page says runs on Work need `coding.sh workflows import`; and a failed subagent's next step resumes its parent session, not a `:sub:` id. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md) +- **Viewer.** Review stays a top tab on a phone, where tabs scroll sideways with no name cut. The Run tree shows every name on a phone, the activity cell fits "5,050 tools · 45 failed", and an unknown session logs no 404. A skip refused because the item was scored elsewhere moves on; Review buttons are 44px on touch. [Explore](https://coding.sh/docs/explore#open-the-viewer) +- **Viewer.** The command menu lists a session whose title holds the typed word first, even when newer sessions on a branch named for it fill the results. A t3code subagent's badge reads "subagent", not "subagent · subagent", whole-minute axis ticks read "1m", and a phase chip no longer pushes a step into its duration. [Open the viewer](https://coding.sh/docs/explore#open-the-viewer) +- **Viewer.** A diff the agent's log cut short says so where it stops, with how many changed lines it leaves out and a button that loads the whole diff, and no longer ends on a blank line that was not in the file. [Open the viewer](https://coding.sh/docs/explore#open-the-viewer) +- **Viewer.** Steps and Chat number prompts ("Prompt 3"), so a session whose background tasks started extra turns no longer reads "Turn 23" under "33 turns". A session opened from the command menu goes back to Sessions. A Work card's age matches its reason's, and its next step shows commands as code. [Open the viewer](https://coding.sh/docs/explore#open-the-viewer) +- **Viewer.** In the session list, the row `j` and `k` move to scrolls in below the sticky header and column titles instead of under them. Jump to (Ctrl K) lists sessions whose title matches before sessions that match only in their events, and opens one of those on the step that matched, with the query's matches marked. [Explore](https://coding.sh/docs/explore#open-the-viewer) +- **Viewer.** The shortcut bar at the foot of a session page keeps `? all shortcuts` in view in a window about 1,000 px wide. Hints that do not fit on its one line are left out whole. Before, they wrapped and pushed `? all shortcuts` below the bar. [Concepts](https://coding.sh/docs/concepts#turn) +- **Viewer.** Pressing the pressed Pass or Fail button on a session page, or its key (`p`, `f`), clears the outcome label: it is stored as `skip`, which calibration and evals leave out. Before, a label could be changed but not taken back. [Concepts](https://coding.sh/docs/concepts#judge) +- **Viewer.** Back from a session, by Esc or the browser's Back, the session list is scrolled where you left it and focus is on the selected row, so `j` and `k` go on from there. Before, the list opened at the top. [Concepts](https://coding.sh/docs/concepts#session) +- **Viewer.** In the session and event lists, `j` on the last loaded row loads the next page, as Load more does, and selects its first row. Before, it stayed on the last row. [Concepts](https://coding.sh/docs/concepts#session) +- **Viewer.** A command that fails inside a Codex code-mode cell is one failure stop: the cell that ran it is marked, not counted as a second failure, and the calls a cell runs sit indented under it. A cell that fails on its own is still a failure stop. [Concepts](https://coding.sh/docs/concepts#session) +- **Viewer.** The sign-in form posts the key instead of putting it in the URL. A `/?t=` link followed from another site no longer signs in by itself: the viewer shows an Open button that posts the key. A link from the address bar, a bookmark or another app signs in as before. [REST API](https://coding.sh/docs/api) +- **Viewer.** Commands the viewer copies (`eval new`, `replay --fork --with`, `bench show`) quote each session id, path and name for the shell, in double quotes on Windows, where cmd reads no single quotes. A command with a value the shell would still read is not copied. On Windows the empty Experiments page gives `exp run` a task file. [Explore](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer) +- **Viewer.** A session opened from a link or a reload, not only from the list, opens on its first failing step; a session with no failure opens on its first prompt instead of "Session starts". [Concepts](https://coding.sh/docs/concepts#session) +- **Viewer.** Esc or a link pressed within 80 ms of a step key (`j`, `k`, `n`) leaves the session. Before, the step's late update of the pane could put the session's URL back, and the page stayed on the session. [Explore sessions](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md) +- **Viewer.** A link to another step of the session on screen, such as a pasted step link or back and forward, moves there on the events already loaded instead of downloading the whole session again. A link made while the replay loads or plays always lands. A link to another session still loads that one. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) +- **Viewer.** On a phone, the step detail's Steps button brings the selected step fully below the top bar, and below the replay bar during a replay, instead of partly behind it. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) +- **Viewer.** Failure counts say what they count: the tests badge reads "1 test failed" for the last run, the tool errors badge names on hover the benign and interrupted calls it leaves out, and the step bar and folded turns say "failed steps", which counts every step that failed. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) +- **Viewer.** Durations round as the CLI's do, on the server-drawn list too: past an hour to the nearest minute and past a day to the nearest hour, so 8,975,379 ms reads 2h 30m, not 2h 29m. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) +- **Viewer.** The session list names the app that drove an agent after its name, `claude-code via T3 Code`, so a row that `agent:t3code` lists says why it matched. The page drawn before its script runs reads the same. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/ADAPTERS.md#host-apps-t3-code)) +- **Viewer.** Work headings count the whole bucket ("119 of 671") instead of only the cards the page loaded, and Show all lists up to 1,000 items in place, beside the CLI command that lists them all. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#open-the-viewer)) +- **Viewer.** In a browser on Windows, the commands the viewer shows and copies name `codingsh`, which PowerShell and cmd run (`npx -p coding.sh codingsh` for `npx coding.sh`): copy buttons, empty states, the work queue, review items and the hint to ingest an old index. Before, only the update pill did; the rest named `coding.sh`, which fails there. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/install.md#windows)) +- **Viewer.** With no key set, the Fork from here tab names the variable to set, such as `ANTHROPIC_API_KEY`, without the `$` of sh, and says to restart the viewer. PowerShell reads `$ANTHROPIC_API_KEY` as a shell variable, not the environment variable, and cmd does not use `$`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/explore.md#fork-from-a-step)) +- **Work.** `coding.sh work ack` supports `--risk` to narrow batch acknowledgements. CLI `work`, `/api/work`, and the MCP `work` tool anchor relative `since` windows to the last ingest when the index is stale, and risk-filtered running items render under `Running` instead of `Hidden` without counting as hidden in the Work page summary. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) +- **Work.** `GET /api/work` and the MCP `status` tool settle shown items' changed files, `status` and `work snooze` judge a stale index as of its last ingest, `POST /api/work/ack` sets shortened session ids (`causeShortId`) as `work ack --json` does, and `git -C diff` quotes paths with spaces or shell metacharacters. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) +- **Work.** A session that merged more than 20 pull requests keeps every PR it opened, merged or closed; only the PRs it just viewed or linked are capped at 20. An orchestrator's early merges no longer leave their items "open" in Ready for review. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items) +- **Work.** Work whose session pushed to a pull request or linked it to its T3 Code thread leaves Ready for review once another session merges that PR. Sessions get `stats.prs.own`. A PR the work only viewed still does not count. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#the-queue) +- **Work.** A PR merge reaches every item that lists the PR, and an item whose PRs all merged is done, not ready for review. PRs only viewed in another repo, or named in fetched text such as release notes, no longer link. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items) +- **Work.** `coding.sh work`, `work --json` and the MCP `work` tool give the review step `work show` gives: an item whose changed files are all outside its repo names them, not an empty `git diff`. A file a shell call edited by absolute path from a subfolder counts once, so `work`, `work show` and `show` agree. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-work) +- **Work.** For a session in a worktree nested inside its repo, `work show` names the worktree, its review step diffs the worktree, and its file list uses one path base. [Work tracking](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces) +- **Work.** A second Claude Code permission prompt with the same message, for the next tool call and under 2 s after the first, is kept. Before, it was taken for a copy of the first, and `coding.sh work` showed the session running while it waited on you. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#waiting-state) +- **Work.** `coding.sh work` counts a file that several sessions of one item changed once, so its files-changed count matches `work show`; a reason's age floors like the Started row's ("1h ago" in both), and a wait under a minute reads in seconds, not "0m". `config get` on an unknown key suggests the closest one, as `config set` does. [CLI reference](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#codingsh-work) +- **Work.** `work show`, `work ack` and `work snooze` take a prefix of a work item id, 4 or more characters, that only one item in the window starts with. A prefix that several items share fails and lists them, newest first. Before, an item id worked only whole. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces)) +- **Work.** `work snooze` on an item blocked on you says it stays hidden until the snooze ends, even if it waits on you again. Before, it said the item comes back sooner if it moves to a more urgent bucket, and no bucket is more urgent. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#acknowledging-and-snoozing)) +- **Work.** A second `coding.sh work snooze` of an item replaces the first, even when run with a shorter `--since`. Before, a shorter snooze made after the item moved to a more urgent bucket left it in the queue, as the earlier one ended later, and the earlier one hid the item again once the new one ended. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#acknowledging-and-snoozing)) +- **Work.** `work` and `work show` write a pull request of the item's repo as `#N` when its sessions ran in a linked worktree, as in the main checkout. Before, a worktree folder named unlike the repo made linked PRs, or all PRs next to another repo's, read `owner/name#N`. `work --json` adds `repoMain`, the main checkout's root. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#work-items)) +- **Work.** A failed item with more than one session says whose end its reason times (`main session ended 6h ago on api 529`, or a workflow run's `failed agent`), and its stage says `last active 4h ago` for the item's last activity where it said `stopped 4h ago`, so the two times no longer read as contradictory. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#the-queue)) +- **Work.** When the index is old, `work show` counts a review item's age from the last ingest, as `work` and the Work page do, so all three give the same reason. [Work](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#an-old-index) +- **Work.** After `work snooze`, the note and `work snooze --help` say the item shows only while it is in a more urgent bucket until the snooze ends. Before, they said it comes back sooner, as if the snooze ended. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#acknowledging-and-snoozing)) +- **Work.** `work`, `work show`, `work ack --json` and the MCP `work` and `status` tools name the CLI in each item's next step as other next steps do: `codingsh` in PowerShell and cmd, and the npx form under npx. Before, they named `coding.sh`, which fails in PowerShell and cmd. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/design/work.md#surfaces)) +- **Workflows.** A workflow run's stored agent outputs and run output go through your redaction rules, and an imported run in metadata mode keeps none. A case whose planted bug's `patch` sits inside `repoRoot` or `snapshot` is refused with a folder to move it to. A failed run's page in `coding.sh ui` shows its error. [Workflows](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers) +- **Workflows.** `workflows import` reads a run's script from its record or from the copy Claude Code keeps in the session folder, not from the path the run names, which may have changed since. The script is stored redacted, and `workflows replay` redacts yours to compare them. A run imported in metadata mode keeps no script. [Workflows](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#replay-from-a-recorded-run) +- **Workflows.** Ctrl-C stops `workflows import` and `workflows list` at the next run and exits 130. The runs imported so far stay stored, the import says how many are left, and the next import goes on from there; `--json` says `"outcome": "interrupted"`. Before, the first Ctrl-C did nothing until the import finished. [Workflows](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md) +- **Workflows.** `workflows run` warns about each field of a JSON `--variant` it does not know, with the known field it may have meant when one is close. Before, it dropped the field in silence, so a misspelled `fromCheckpoint` ran the variant from the start. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#run-two-versions) +- **Workflows.** On Windows, the first Ctrl-C lets the runs in flight finish and be saved, and the second stops them for `--resume` to run again. Before, the first Ctrl-C also stopped a workflow command, setup command or verifier command at once, and `workflows run` saved those runs as failures that `--resume` kept. [Long runs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/evals.md#long-runs-resume-retries-status) +- **Workflows.** A workflow run that fails keeps why, redacted: `workflows run` prints the reason for each failed run, `workflows show` prints it on an `Error` row, and the JSON has `error`. Before, a command that did not exist showed only `failed`. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#run-two-versions) +- **Workflows.** With no run in the `--since` window, `workflows list` says so, says when the newest older run started, and prints the command that lists it. A `--name`, `--framework` or `--experiment` that matches no run points at every run. Before, it said `No workflow runs` and suggested an import. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run) +- **Workflows.** `workflows stats` gives the failed and null shares of the agents that ran. An agent a resumed run took from the cache is only a cache hit. Before, cached agents were in them, so 1 null agent of 2 read as 11%. The next import reads each Claude Code run folder again to update its run. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run) +- **Workflows.** When a case's truth file sits inside `repoRoot` or `snapshot`, the error names a folder outside both to move it to. Before, it suggested `hidden/` next to `cases/`, which is inside the repo, so the case failed the same check there. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers) +- **Workflows.** `workflows compare` counts a pass at each case's own `threshold`, or 0.5 for a case that sets none, and `--threshold` still sets one for all. Before, every case used 0.5. `workflows run` records the thresholds, so an experiment run before this release still uses 0.5. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#compare-them) +- **Workflows.** A case file inside `repoRoot` or `snapshot` that lists bugs as `[[truth.bugs]]` is refused, as a truth file there is, and the error says where to move the bugs. Before, such a case loaded, and the workflow's agents could read its bugs. [Workflows guide](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers) +- **Workflows.** `workflows show`, `stats`, `score` and `replay` take a unique prefix of a run id, 4 or more characters, as the session commands do. A prefix that several runs share fails and lists them, newest first. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run)) +- **Workflows.** `workflows show` prints the first 6 lines of what a run returned, as stored and redacted, on an `Output` row, and `--json` prints all of it as `run.output`. Before, a run's stored output showed nowhere. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#capture-and-measure-a-run)) +- **Workflows.** When `workflows run` or `workflows score` refuses a case, the error prints each path resolved, with one kind of separator, and points at `--cases` only when the cases came from the default folder or `--cases` named no folder. Before, it mixed slashes and suggested `--cases` again for a folder it was given. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/guides/workflows.md#write-cases-with-known-answers)) ## [0.1.7] - 2026-11-16 @@ -1291,6 +1293,7 @@ It also runs as a server on SQLite or Postgres, with SDKs for apps that call mod - **Docs.** README with a quickstart, the agent matrix, OTLP setup, storage, privacy and uninstall. - **Docs.** CONTRIBUTING, SECURITY and a release checklist in docs/RELEASE.md. +[0.1.8]: https://github.com/jackulau/coding.sh/releases/tag/v0.1.8 [0.1.7]: https://github.com/jackulau/coding.sh/releases/tag/v0.1.7 [0.1.6]: https://github.com/jackulau/coding.sh/releases/tag/v0.1.6 [0.1.5]: https://github.com/jackulau/coding.sh/releases/tag/v0.1.5 diff --git a/README.md b/README.md index 41add778a..f5b78c59e 100644 --- a/README.md +++ b/README.md @@ -252,7 +252,7 @@ that UTC day has passed. `coding.sh gc` deletes ingested spool files after 7 day ## Status -coding.sh is pre-1.0 (latest: 0.1.7), so expect rough edges. What isn't done yet: +coding.sh is pre-1.0 (latest: 0.1.8), so expect rough edges. What isn't done yet: - **Windows.** CI runs on Linux and Windows. On Windows, CI runs the test suite, the installer (from Git Bash) and real OpenCode, Pi, Goose, Factory Droid, GitHub Copilot CLI and Aider sessions diff --git a/apps/site/src/data/site.ts b/apps/site/src/data/site.ts index ab17e7098..3a6e9dc7e 100644 --- a/apps/site/src/data/site.ts +++ b/apps/site/src/data/site.ts @@ -43,7 +43,7 @@ export const INSTALL_CMD_WIN = "npx -p coding.sh codingsh init"; /** The installer (repo root install.sh, served at /install): latest GitHub release, then `init`, then the viewer. */ export const INSTALL_SH = "curl -fsSL https://coding.sh/install | sh"; /** The release tarball the installer fetches (install.sh: releases/download//coding.sh-.tgz). */ -export const RELEASE = "0.1.7"; +export const RELEASE = "0.1.8"; export const RELEASE_TGZ = `${REPO_URL}/releases/download/v${RELEASE}/coding.sh-${RELEASE}.tgz`; export const SITE = { diff --git a/package-lock.json b/package-lock.json index baa77ca6b..36889034c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9972,7 +9972,7 @@ } }, "packages/coding.sh": { - "version": "0.1.7", + "version": "0.1.8", "license": "MIT", "bin": { "coding.sh": "dist/cli.mjs", @@ -10526,7 +10526,7 @@ }, "packages/sdk": { "name": "@codingdotsh/sdk", - "version": "0.1.4", + "version": "0.1.5", "license": "MIT", "devDependencies": { "@ai-sdk/openai": "^4.0.110", @@ -10574,7 +10574,7 @@ }, "packages/store-clickhouse": { "name": "coding.sh-store-clickhouse", - "version": "0.1.6", + "version": "0.1.7", "license": "MIT", "devDependencies": { "@types/node": "^22.15.0", @@ -11096,7 +11096,7 @@ }, "packages/store-postgres": { "name": "coding.sh-store-postgres", - "version": "0.1.7", + "version": "0.1.8", "license": "MIT", "dependencies": { "pg": "^8.13.1" diff --git a/packages/coding.sh/package.json b/packages/coding.sh/package.json index c6c8897d8..b0408bcbf 100644 --- a/packages/coding.sh/package.json +++ b/packages/coding.sh/package.json @@ -1,6 +1,6 @@ { "name": "coding.sh", - "version": "0.1.7", + "version": "0.1.8", "description": "Record what your AI agents do and what it cost: capture sessions from hooks or OpenTelemetry, read them in a local viewer, turn failures into evals, and compare changes with paired statistics.", "license": "MIT", "author": "coding.sh contributors", diff --git a/packages/sdk-python/pyproject.toml b/packages/sdk-python/pyproject.toml index 8371cfd2e..6f290f55a 100644 --- a/packages/sdk-python/pyproject.toml +++ b/packages/sdk-python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "coding-sh" -version = "0.1.4" +version = "0.1.5" description = "Trace any AI agent or LLM app from Python: send model calls, traces and tool spans to a coding.sh server." readme = "README.md" license = "MIT" diff --git a/packages/sdk-python/src/coding_sh/_client.py b/packages/sdk-python/src/coding_sh/_client.py index 34d90510e..6c12f3d1e 100644 --- a/packages/sdk-python/src/coding_sh/_client.py +++ b/packages/sdk-python/src/coding_sh/_client.py @@ -36,7 +36,7 @@ except Exception: # pragma: no cover _gzip = None # type: ignore[assignment] -__version__ = "0.1.4" +__version__ = "0.1.5" log = logging.getLogger("coding_sh") diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 6d65d3abf..77122c276 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@codingdotsh/sdk", - "version": "0.1.4", + "version": "0.1.5", "description": "Trace any AI agent or LLM app in production: wrap OpenAI, Anthropic, the AI SDK or fetch and send every model call, tool call and turn to a coding.sh server.", "license": "MIT", "author": "coding.sh contributors", diff --git a/packages/store-clickhouse/package.json b/packages/store-clickhouse/package.json index 0f7fa3dc5..86bc954e6 100644 --- a/packages/store-clickhouse/package.json +++ b/packages/store-clickhouse/package.json @@ -1,6 +1,6 @@ { "name": "coding.sh-store-clickhouse", - "version": "0.1.6", + "version": "0.1.7", "description": "ClickHouse store for coding.sh: point CODING_SH_STORE_URL at clickhouse:// and run serve, the CLI, MCP and evals on one database. Zero dependencies.", "license": "MIT", "author": "coding.sh contributors", diff --git a/packages/store-postgres/package.json b/packages/store-postgres/package.json index 12f8e3414..9439807c5 100644 --- a/packages/store-postgres/package.json +++ b/packages/store-postgres/package.json @@ -1,6 +1,6 @@ { "name": "coding.sh-store-postgres", - "version": "0.1.7", + "version": "0.1.8", "description": "Postgres store for coding.sh: point CODING_SH_STORE_URL at postgres:// and run serve, the CLI, MCP and evals on one database.", "license": "MIT", "author": "coding.sh contributors", diff --git a/scripts/changelog/add.mjs b/scripts/changelog/add.mjs index ed38991d7..2fc0cf55b 100644 --- a/scripts/changelog/add.mjs +++ b/scripts/changelog/add.mjs @@ -170,7 +170,12 @@ export function lineProblems(line, ranges, root = ROOT) { export function unreleased(lines) { const start = lines.findIndex((l) => l.startsWith("## ")); if (start === -1) return { error: "no version heading (## [x.y.z] - Unreleased)" }; - if (!/^## \[\d+\.\d+\.\d+\] - Unreleased$/.test(lines[start])) return { error: `the first version, "${lines[start]}", is released; add a "## [x.y.z] - Unreleased" heading first` }; + if (/^## \[\d+\.\d+\.\d+\] - \d{4}-\d{2}-\d{2}$/.test(lines[start])) { + return { released: true, error: `the first version, "${lines[start]}", is released; add a "## [x.y.z] - Unreleased" heading first` }; + } + if (!/^## \[\d+\.\d+\.\d+\] - Unreleased$/.test(lines[start])) { + return { error: `the first version, "${lines[start]}", is not "## [x.y.z] - Unreleased"` }; + } let end = lines.findIndex((l, i) => i > start && l.startsWith("## ")); if (end === -1) end = lines.length; return { start, end }; @@ -195,6 +200,7 @@ function bullets(lines, block) { export function check(md, { root = ROOT, name = "CHANGELOG.md" } = {}) { const lines = md.split(/\r?\n/); const block = unreleased(lines); + if (block.released) return []; if (block.error) return [`${name}: ${block.error}`]; const ranges = fontRanges(root); const problems = []; diff --git a/scripts/changelog/test/add.test.mjs b/scripts/changelog/test/add.test.mjs index 3d5554549..3e0192b8b 100644 --- a/scripts/changelog/test/add.test.mjs +++ b/scripts/changelog/test/add.test.mjs @@ -118,6 +118,7 @@ test("released sections are never touched, and an unreleased version is required assert.equal(res.status, 1); assert.match(res.stderr, /is released/); assert.equal(read(r), released); + assert.equal(run(r, "--check").status, 0); }); test("two concurrent runs both land", async () => {