Skip to content

fix(eval): intentional InfraUnavailable ts-rs export — kills the forever-untracked binding (#424) - #2295

Merged
joelteply merged 1 commit into
canaryfrom
fix/audit-infra-unavailable-binding
Aug 14, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/audit-infra-unavailable-binding

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Smallest certain fix from the 2026-08-14 Opus-damage audit (task card #424).

InfraUnavailable (cognition/eval.rs) derives TS and is a field of the exported eval result, so ts-rs regenerated bindings/InfraUnavailable.ts on every build — untracked forever because the struct never declared #[ts(export)]. This is the exact rot-shape EvalTask's own comment documents in the same file, fixed the same way: export explicitly, track the binding.

Also done outside this diff (filesystem-only, per quarantine doctrine — never delete): the credential-bearing escaped agent workspace work-team-wordstats/ (contained a live .airc/identity.key) and the core/work-* compiled-binary debris moved to ~/.continuum/quarantine/2026-08-14-repo-root-debris/, out of the repo tree, everything preserved.

Deliberately NOT touched (documented traps, deferred to their owning cards): turn_batch::is_local_provider's qwen arm (allocator.rs:84 TRAP comment — real fix is the ProviderKind enum, #73) and the LCD clamps / provider model table (#424 ranks 1,3,4 — need registry threading under live validation).

Validated: cargo check -p continuum-core --features metal,accelerate clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…p the forever-untracked binding (#424)

InfraUnavailable derives TS and is a field of the exported result struct, so
ts-rs emitted bindings/InfraUnavailable.ts on EVERY build — but with no
#[ts(export)] the file was an untracked orphan regenerating forever (it has
sat in git status since the struct landed). Same failure shape EvalTask's own
comment records ('a derive without export... silently rotted'); same fix:
export explicitly and track the binding as a sibling of bindings/EvalTask.ts.

Validated: cargo check -p continuum-core --features metal,accelerate clean.
Audit provenance: card #424, certain-tier finding (b).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 6451a27 into canary Aug 14, 2026
5 checks passed
@joelteply
joelteply deleted the fix/audit-infra-unavailable-binding branch August 14, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant