release: v0.9.6
Summary
Cuts v0.9.6 from main — a correctness release for check --checks * + native bridge resilience.
check --checks {validate,semantic,grade,pii,migration,safety,policy,compare}now surfaces findings it was previously missing. Teams gating CI on--fail-on error|warningmay see new failures on unchanged SQL. These are real findings the tool previously missed, not regressions in your code. (#1090)- Truncated tool-output files were being deleted the moment they were written since 2026-08-14 due to a 48-bit
Identifiertimestamp wrap. Both cleanups now age by mtime; stat failures fail safe. (#1113, closes #1112) - Native bridge no longer poisons itself for the process lifetime on a transient NAPI load failure — surfaced by the v0.9.6 release-review Chaos Gremlin persona. Registration now caches an in-flight promise; on failure the cached promise is cleared so subsequent calls retry.
Release-review verdict
Ran the mandated 5-persona multi-model review before writing the CHANGELOG. 5/5 SHIP WITH NOTES, 0 HOLD.
| Persona | Verdict | Key concern |
|---|---|---|
| CTO | SHIP WITH NOTES | Silent behavior change on --fail-on; no rollout lever |
| PM | SHIP WITH NOTES | CHANGELOG framing must lead with the CI-impact warning |
| End User (DE) | SHIP WITH NOTES | unbalanced_quote rule undiscoverable pre-fire |
| Tech Lead | SHIP WITH NOTES | Legacy field-shape fallbacks are latent footguns |
| Chaos Gremlin (SRE) | SHIP WITH NOTES | Novel P1: dispatcher NAPI-load poisoning — fixed in this PR |
Actionable P1s were fixed on this branch (dispatcher, CHANGELOG, docs). Everything else was deferred to filed issues below.
Deferred to follow-up issues
| # | Title | Priority |
|---|---|---|
| #1124 | opt-in --legacy-severity grace window on check severity remap | P2 |
| #1125 | publish rule catalog for check --checks safety (and lint/policy) | P2 |
| #1126 | remove legacy field-shape fallbacks in altimate-core-* tools | P1 |
| #1127 | CI job exercising NAPI-load-failure graceful degradation path | P2 |
| #1128 | consolidate truncate.ts and truncation.ts cleanup logic | P2 |
Test plan
- Preflight
pre→ PASS (8 PASS, 1 WARN untracked-only) - Preflight
tag→ PASS (8 PASS, 1 WARN untracked-only) -
bun turbo typecheck→ PASS (13/13 cached) - Marker guard
--strictagainstorigin/main→ PASS (no upstream-shared files modified) - Adversarial tests (
test/skill/release-v0.9.6-adversarial.test.ts— 4 new cases on dispatcher retry) → 4/4 PASS - Full suite (
test/altimate+test/cli+test/tool+test/skill) → 5984 pass / 655 skip / 1 known-flaky fail (run-process.test.ts::--trace writes a session trace artifact— deterministic 5/5 pass in isolation, pre-existing subprocess flake called out in #1090's verification section) - Pre-release build (
OPENCODE_VERSION=0.9.6 bun run pre-release) → PASS — binary reports0.9.6, all 4 checks green
Merge order
Regular merge to main. After merge, v0.9.6 tag will be created from main HEAD and pushed, triggering .github/workflows/release.yml for npm publish + GitHub Release + Docker image.
🤖 Generated with Claude Code
Summary by cubic
Cuts v0.9.6: check --checks * now surfaces real findings previously hidden; the native dispatcher retries and dedupes after transient NAPI load failures and guards against stale settle handlers; truncated tool outputs are no longer deleted immediately. CI gated with --fail-on error|warning may now fail on unchanged SQL because these are real findings the tool previously hid.
-
Review focus
packages/opencode/src/altimate/native/dispatcher.ts: cache an in-flight registration promise across callers; clear the cache on failure; add a generation counter so stale settle handlers cannot clobber newer state;reset()clears the hook and cached promise and bumps the generation; comments document the concurrency contract.packages/opencode/test/skill/release-v0.9.6-adversarial.test.ts: adds adversarial coverage for retry-after-failure, single registration across concurrent callers, memoization after success,reset()behavior, generation guard, and concurrent-failure dedup; restores any priorALTIMATE_TELEMETRY_DISABLEDvalue after tests.docs/docs/usage/check.md: clarify that a finding’sruleappears in--format jsonwhen attached by the engine; somelintfindings may omit it.
-
Rollout impact
- If your CI uses
checkwith--fail-on error|warning, expect new failures; triage and fix or temporarily adjust the threshold. - JSON consumers must treat
ruleas optional and switch on presence.
- If your CI uses
Summary by CodeRabbit
-
Bug Fixes
- Improved check result accuracy for migration and comparison workflows, including error handling, risk reporting, and difference details.
- Improved native integration reliability by safely retrying failed registrations and coordinating concurrent registration attempts.
-
Documentation
- Clarified finding metadata, including when
ruleandcodemay be omitted for lint findings. - Documented that safety and policy findings always include a rule.
- Updated version 0.9.6 release notes with current check commands and tools.
- Clarified finding metadata, including when