Skip to content
CAI
Software that uses CAICheck a score

unicity-aos/capsule-fs

60.7

Adequate · 29 September 2026

382

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 sandboxed filesystem service built on the Astrid platform, designed to provide secure file operations within a Current Working Directory boundary. It exposes typed APIs for reading, writing, and searching files, ensuring that all modifications are staged in an overlay rather than directly altering the underlying workspace. The implementation leverages WebAssembly Component Model standards and inter-process communication schemas to enforce strict isolation and reproducible builds.

Behavioural changes

Astrid Capsule FS v0.2.0: New VFS paths, IPC schema, and documentation

The astrid-capsule-fs package has been updated to version 0.2.0, introducing several key changes for users and developers. The filesystem capabilities now use the \cwd://\ and \home://\ schemes instead of the previous \workspace://\ and \global://\ paths, aligning with the new per-domain WIT model. Inter-process communication has migrated to a Cargo-like publish/subscribe schema, explicitly defining handlers for tools like \read\_file\, \write\_file\, and \grep\_search\ via the \@unicity-astrid/wit\ interface. Additionally, the project now includes comprehensive documentation (README), dual licensing (MIT/Apache-2.0), and enforces reproducible builds for the \wasm32-unknown-unknown\ target.

(repo-wide) · high confidence

Sandboxed filesystem tools now operate within a CWD-bound VFS with typed APIs

The \FsTools\ capsule has been refactored to enforce a strict sandbox boundary: all file operations are now confined to the Current Working Directory (CWD) via an Astrid VFS overlay, preventing access to existing workspace files outside the session. The underlying SDK has been upgraded to version 0.6.0, replacing the previous JSON-based parsing for \fs::read\_dir\ and \fs::metadata\ with typed, WIT-driven return values for more reliable directory listing and file metadata retrieval. Additionally, mutable tools like \write\_file\, \replace\_in\_file\, \create\_directory\, \delete\_file\, and \move\_file\ are now explicitly marked, and documentation has been added to clarify that write operations are staged in an overlay until committed.

src · high confidence

Dependencies

Update astrid-capsule-fs to version 0.2.0 with astrid-sdk 0.7.1

The astrid-capsule-fs package has been updated to version 0.2.0, primarily driven by a significant upgrade of the astrid-sdk dependency from a local path reference (0.1.1) to the published crates.io version 0.7.1. This change aligns the capsule with the latest SDK capabilities, including WIT-driven types and the wasm Component Model, as indicated by the SDK's dependency tree (wit-bindgen 0.54.0, wit-parser 0.227.1). Additionally, the release profile has been optimized for size with LTO, stripping, and panic abortion enabled, and the Cargo.lock file is now committed to ensure reproducible builds.

(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 60 → 61 (+0.2)
  • Rubric changed (rubric-2026.09.9 → rubric-2026.09.17) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 48 → 48 (+0.0)
  • Readiness 65 → 69 (+4.0)
  • Security 73 → 76 (+2.2)

Resolved (1)

  • Documentation: no architecture or design documentation (README.md)

New (5)

  • Documentation: no project overview (README.md)
  • End-of-life runtime: Rust 1.94
  • Outdated: astrid-sdk
  • Outdated: serde
  • Outdated: serde_json

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-fs 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 29 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 663e9b3ee7783f70654758031b860a32661edbbf — the exact code this score is about.
  • Scored under rubric-2026.09.17 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-705631bb727e.