OpenCode / iceman-free
Passed all 33/33 self-authored ExUnit tests yet missed 1 specification slice in post-run live verification. Read failure diagnosis ↓
- Outcome
- 6/7 slices
- Agent marked 7/7 [x] (S7 failed audit) · 33/33 ExUnit tests passed
- Time Elapsed
- 57m
- Range 14m–1h 51m (28 runs)
- Estimated Cost
- $0.00
- OpenCode Limited-Time Free Tier (Nov 2026 · paid rate TBD)
Finished in 17.0 seconds (0.07s async, 17.0s sync) — 33 passed (no Credo setup; README documents mix compile --warnings-as-errors as lint) (Agent checked off 7/7 in PLAN.md and passed 33/33 ExUnit tests; post-run holdout audit rejected S7.)
Test suite & secondary run metrics
- Test Suite
- 33/33
- 100% passed (17s)
- Total Tokens
- 14.38M
- 97.89% cache hit · 301.3k uncached · 105.0k out
- LLM & Tool Calls
- 213 turns
- 232 tool executions (2 errors)
- Peak Context
- 126.2k peak
- 1,385 → 126,182 prompt tokens; 126,687 total; 48.13% out of 262.1k
- Git Commits
- 7
- Recorded in commit log below
Plan Completion / 6 of 7 Slices
+10 prep/wrap-up calls ↓- S1: PassedLaunch the CLI
- S2: PassedValidate arguments
- S3: PassedSend one bounded GET
- S4: PassedRun a paced five-second loop
- S5: PassedReport outcomes and exit codes
- S6: PassedReport timing
- S7: Missed (Peak effort bottleneck)Handle Ctrl-C
Field Notes / 4 Observations
Manual Note vs. Session Log Audit: 56m 58s Wall-Clock, iceman-free Default Variant (No #high), 7 Agent Commits & No Credo(3 points)
- Exact Wall-Clock Window (
56m 58s/57m, Omitted in Manual Note) Following the pre-runinitcommit (35880d3at17:49:27 WIB),opencode v2.2.7first failed at17:49:42.441 WIB(opencode.log) withVariantUnavailableError: Variant unavailable for opencode/iceman-free: highbecauseiceman-freesetscapabilities.effort_updates: falseinmodels-dev:v2:catalog. Relaunched without#highat17:51:14.247 WIB(--model opencode/iceman-free,variant: "default"), sessionses_df2d1995cffexZYTbUBsCxU8V5dispatched Step 1 at17:51:20.974 WIB(Line 1of20261124T105114Z.events.jsonl), completed Step 213 at18:48:12.047 WIB(Line 865,3,411.1s/56m 51.1stranscript span), and exited at18:48:12.126 WIB(3,417.9s/56m 57.9sCLI wall-clock). - Stealth Model Metadata (
opencode/iceman-free)models-dev:v2:catalogidentifiesiceman-free("Iceman Free", released2026-11-06, "Stealth model, free for a limited time") with a262,144-token context limit (131,072max output) and$0.00billed cost across all token tiers. Peak context reached126,182prompt tokens (126,687total,48.13%of262.1k) at Step 213 with0compactions. - 7 Agent Commits (
52aff16→5407aa3),33/33Tests & No Credo All 7 agent-authored commits plus pre-run35880d3(init),33/33passing ExUnit tests (17.0s), and the absence of Credo match the manual note. In S7, the initial commit6388f17(Step 203,18:45:23 WIB) was amended at Step 212 (18:47:56 WIB) into5407aa3after tweakingtest/capy_bench/ctrl_c_test.exs. Rather than adding{:credo, ...},README.mddocumentedmix compile --warnings-as-errorsas the lint step—contrary toPLAN.md's note that compilation does not substitute for linting.
- Exact Wall-Clock Window (
S7 Holdout Failure Reproduced Empirically: Unprotected SIGUSR1 Wrapper Triggers BEAM Crash Dump (Received SIGUSR1, Exit 1) During 200–250 ms Startup Window(3 points)
- Root Cause in
./cb+lib/capy_bench/cli.ex(5407aa3)./cbspawns( trap '' INT; exec "$DIR/cb.escript" "$@" ) &and trapsINTto runkill -USR1 "$pid", but never ignoresUSR1across BEAM boot. Inside Elixir,CapyBench.CLI.main/1calls:os.set_signal(:sigusr1, :handle)and swaps:erl_signal_handlerwithCapyBench.SignalHandler—which only takes effect after ERTS boots and loads the escript (~250–300 ms). - Empirical Live PTY Reproduction (
100 ms–1,500 msSweep) Probing./cbagainst a local HTTP server with foreground PTY\x03reproduced three distinct regimes: (1) at100 msand150 ms,SIGUSR1is lost during subshell/ERTS startup so./cbignoresCtrl-Cand completes the full 5s run (Started: 50, exit0); (2) at200 msand250 ms, ERTS has installed its defaultSIGUSR1crash-dump handler beforeCapyBench.CLI.main/1runs, reproducing the evaluator's exact S7 failure (Received SIGUSR1,Crash dump is being written to: erl_crash.dump...done, empty stdout, exit1); (3) at300 ms,350 ms,500 ms, and1,500 ms,CapyBench.SignalHandleris active and exits130with a valid partial summary. - S7 Burned
68Steps (31.9%of All Turns) & Missed the Boot Window S7 was the single largest stage (Steps 136–203,22,929thinking tokens—38.6%of total reasoning). The agent itself hitReceived SIGUSR1+erl_crash.dumpat Step 192 (Line 779), deletederl_crash.dumpat Step 202 (Line 819), and only tested600 msand1,500 msCtrl-Cdelays intest/capy_bench/ctrl_c_test.exs, leaving the200–250 msboot race unresolved (and another1.74 MBerl_crash.dumpuntracked in the workspace).
- Root Cause in
Mint ~> 1.6 Per-Request HTTP/1 Architecture (No Keep-Alive Reuse) & Fast 17.0s 33-Test Suite(2 points)
- Mint HTTP/1.1 Streaming Without Connection Reuse (
228071f,4a53f8a) The agent added{:mint, "~> 1.6"}in S3 for redirect-free, retry-free HTTP/1 streaming and explicit TLS verification (verify: :verify_peer, custom CA support, hostname matching), and intentionally closed each Mint connection after every request in S4 (PLAN.mdnotes "no reuse path"). - Compact 33-Test Suite (
17.0s): S1–S6 cleared all holdout checks cleanly with a concise33-test suite (0.07sasync,17.0ssync)—6.5× faster to execute thanhy4-flash-free's110.5s53-test suite—keeping tool execution down to14.2%of total wall-clock.
- Mint HTTP/1.1 Streaming Without Connection Reuse (
85.8% Inference Wall-Clock (13.75s/Step), 97.89% Cache Hit Rate & 28% Fewer Tokens Than hy4-flash-free on OpenCode(2 points)
- Inference-Dominated Latency (
85.8%Inference vs.14.2%Tools) Per-message timestamps inopencode.dbshow48m 49.5s(2,929.5s, avg13.75s/step) spent in LLM inference versus8m 05.0s(485.0s) in tool execution—more than doublehy4-flash-free's6.37s/stepinference latency, which explains whyiceman-freetook12mlonger (57mvs.45m) despite14fewer LLM turns (213vs.227) and28%fewer total tokens (14.38Mvs.19.95M). - Token Economy,
97.89%Cache Hit Rate & Tool Profile Across213steps (232tool calls;17multi-tool turns,1.09tools/turn;174 shell,53 edit,5 read,0 write),iceman-freeconsumed301,269uncached input,13,972,992cached input (97.89%hit rate), and104,993output tokens (59,393reasoning +45,600visible/tool tokens;14,379,254total). After cold-start cache warm-up on Steps 2–3, prefix caching held steady except for two partial cache drops at Step 29 (8,775uncached /8,192cached) and Step 138 (68,784uncached /16,384cached at the start of S7). Only2tool-level errors occurred across the entire run, botheditoldStringmismatches at Step 39 (Line 168) and Step 190 (Line 772).
- Inference-Dominated Latency (
Slice / Phase Breakdown
Slice / Phase Breakdown / 8 Phases
Step Range spans transcript events (LLM + tool + system turns) · LLM Calls count completed model inference turns
| Slice / Phase | Step Range | LLM Calls | Thinking Tokens | Estimated Cost |
|---|---|---|---|---|
S1 PassPreparation + S1: README contract, CLI help & escript entry point (52aff16) | 1–24(24 steps) | 24 | 5,412 | $0.00 (11%) |
S2 PassS2: CLI argument & URL validation before networking (5cf634e) | 25–35(11 steps) | 11 | 4,013 | $0.00 (5%) |
S3 PassS3: Bounded Mint HTTP/1 GET, TLS verification & timeout handling (228071f) | 36–85(50 steps) | 50 | 11,486 | $0.00 (23%) |
S4 PassS4: Paced 5s loop, dispatch scheduling & cancellation (4a53f8a) | 86–120(35 steps) | 35 | 10,833 | $0.00 (16%) |
S5 PassS5: Outcome accounting, status classes & exit codes (392c0b7) | 121–127(7 steps) | 7 | 836 | $0.00 (3%) |
S6 PassS6: Elapsed time & completed-response p50/p95 percentiles (041c434) | 128–135(8 steps) | 8 | 1,394 | $0.00 (4%) |
S7 MissS7: SIGUSR1 wrapper, SignalHandler & PTY Ctrl-C tests (5407aa3) | 136–203(68 steps) | 68 | 22,929 | $0.00 (32%)Peak |
PostRelease verification: escript build, HTTP/HTTPS & PTY sign-off (5407aa3 amend) | 204–213(10 steps) | 10 | 2,490 | $0.00 (5%) |
| Total (8 phases) | 213 steps | 213 | 59,393 | $0.00 |
Tokens, Cache & Cost
Tokens, Cache & Cost / OpenCode Limited-Time Free Tier
| Component | Tokens | Rate | Estimated Cost |
|---|---|---|---|
| Input (uncached) | 301,269 | $0.00 / 1M (limited-time free) | $0.00 |
| Cached (cacheRead) | 13,972,992 | $0.00 / 1M (limited-time free) | $0.00 |
| Output (incl. 59,393 reasoning) | 104,993 | $0.00 / 1M (limited-time free) | $0.00 |
| Total | 14,379,254 | — | $0.00 (OpenCode limited-time free tier, Nov 2026) |
Calls & Tool Breakdown
Calls & Tool Breakdown / Tool Loop
- LLM Inference Turns
- 213completed agent_response steps
- Tool Executions
- 232230 succeeded· 2 non-zero / error
- tool/shell174(75% · 174 ok)
- tool/edit53(23% · 51 ok, 2 err)
- tool/read5(2% · 5 ok)
Command & Interface Used
Command / Interface Used / CLI
opencode run --standalone --format json --thinking --auto --archived --model opencode/iceman-free < PROMPT.mdRun window: 17:51:14–18:48:12 WIB (56m 57.9s / 3,417.9s CLI wall-clock in opencode.log, 56m 51.1s in events.jsonl; duration omitted in manual note; preceded by a rejected 17:49:42 WIB --model opencode/iceman-free#high launch with VariantUnavailableError) • Session ses_df2d1995cffexZYTbUBsCxU8V5 (opencode / iceman-free, variant: default, stealth model released 2026-11-06, OpenCode v2.2.7, 213 steps, 0 compactions)
Git Commits
Git Commits / 8 Checkpoints
Author: Riza Fahmi · Timestamps relative to post-run capture
35880d3init