Skip to content
CAI
Software that uses CAICheck a score

unicity-aos/capsule-react

61.6

Adequate · 30 September 2026

2.4k

lines of production code

Rust

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a WebAssembly-based agent capsule that integrates with an LLM platform to manage conversational sessions and context. It handles real-time token streaming, orchestrates turn-based interactions, and communicates with external services via WIT-driven interface declarations. The codebase focuses on robust session management, model selection, and efficient event publishing to ensure stable, low-latency responses.

Behavioural changes

Migrate capsule configuration to WIT-driven interface declarations

The \astrid-capsule-react\ capsule has replaced its legacy \\[\[interceptor\]\]\ and \\[capabilities\]\ configuration sections with a new \\[imports\]\, \\[publish\]\, and \\[subscribe\]\ schema based on WebAssembly Interface Types (WIT). This change updates how the capsule declares its dependencies on other services (such as \astrid:llm\, \astrid:session\, and \astrid:context\) and explicitly defines the event topics it consumes and produces (e.g., \agent.v1.stream.delta\, \spark.v1.response.ready\). For users, this represents a structural shift in the capsule's integration model, aligning it with the platform's WIT-driven type system and requiring compatibility with the updated interface contracts.

(repo-wide) · high confidence

Fixes

Fixes to React capsule streaming, session management, and logging

This update resolves several issues in the React capsule: it ensures the registry-selected model is used instead of a local default, prevents indefinite hangs by aborting mid-turn on bus lag, and restores per-token streaming deltas to platforms. It also fixes a TurnState visibility race by re-driving orchestration responses, resets streaming timeouts on each token, and corrects the handling of compact response fields. Additionally, it cleans up log noise by silencing empty config warnings and properly handling missing KV keys as non-errors rather than failures.

src · high confidence

Dependencies

Update astrid-sdk dependency and release astrid-capsule-react 0.2.2

The astrid-capsule-react package has been updated to version 0.2.2, primarily driven by a significant upgrade of the astrid-sdk dependency from a local path reference (v0.1.1) to the crates.io registry (v0.7). This change pulls in updated transitive dependencies such as wit-bindgen and borsh, reflecting the SDK's migration to the Wasmtime Component Model. Additionally, the uuid dependency was upgraded to v1.22 with the rng-getrandom feature enabled, and the release profile was optimized for size with LTO and stripping enabled.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 64 → 62 (-2.7)
  • Rubric changed (rubric-2026.09.11 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 98 → 98 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 52 → 44 (-7.7)
  • Readiness 65 → 68 (+2.5)
  • Security 73 → 76 (+2.2)

Resolved (2)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)

New (2)

  • Dependency hygiene PARTLY measured — Cargo dependencies read, dependency currency not (crates.io unreachable)
  • End-of-life runtime: Rust 1.94

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

unicity-aos/capsule-react was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 30 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit a498e41633bf8214babe2f1e252dbf4ddca330f7 — the exact code this score is about.
  • Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-cb25ca4feafa.