Changelog

Unreleased · 550 changes · page 3 of 10

coding.sh v0.1.8

Evals 42

  • # Added Gemini judges, grades and monitors ("provider": "gemini", monitor add --provider gemini) with GEMINI_API_KEY. coding.sh monitor add <name> --http <URL> 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
  • # Added 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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 <task> -o <dir>, write <dir>/reference.patch, then eval import <dir> and eval validate <task>. Evals
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed --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
  • # Fixed eval init --sessions names a command that works for a session with no prompt, such as one coding.sh run recorded: eval new <id> --instruction "…" with the same --verifier. Before, it said to pass --instruction, which eval init does not take. Evals
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed eval new takes a wrapped command's --prompt=<value> or --task=<value> as the instruction only when the value has a space in it, as it already did for --prompt <value>, so --task=lint is no longer read as a prompt. (docs)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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, tool evals)
  • # Fixed 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)

OTel 17

  • # Added The OTel receiver keeps the trace tags an SDK sends on a span or its resource: each tag becomes a tag:<name> session flag, so --where 'flag:tag:prod' finds the session. At most 20 tags of 64 characters each. OpenTelemetry
  • # Changed 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
  • # Changed 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
  • # Fixed 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
  • # Fixed 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)
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)
  • # Fixed 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)

From CHANGELOG.md · RSS · All releases