Sheaf — example coverage reports

Reproducible coverage / fragmentation scans rendered by Sheaf. Each report pins a real contract surface (proto, FIDL, cobra CLI, C++) against the docs, tests, and examples that are supposed to cover it, and shows what is missing.

6 reports · one per ecosystem · every number reproduces from a pinned upstream commit (see each report and REPRODUCIBILITY.md).

gh CLI
GitHub CLI (cobra)

Among the best-documented large CLIs anywhere, so it tests whether thorough docs are enough on their own. Commands are 100% documented and 82% tested, but flag-level usage falls to 29% and 441 commands are “asserted” (documented, with no test and no example) — usage is the bottleneck across 835 gaps.

218 commands / 945 flags · docs 100% · command-tests 82% · flag-usage 29% · 6.9 MB
scanned 2026-06-07 · cli/cli @ 9a2f330
envoy Protobuf
envoy.service.discovery.v3 (xDS ADS)

xDS is how Envoy and every xDS-based control plane exchange config, so this small service is a load-bearing contract far beyond its size. The 7 covered methods are documented and tested but have no worked examples: examples are the bottleneck, the largest single gap at 54% of the debt.

1 service / 2 methods · 7 methods documented + tested · 0 examples · 316 KB
scanned 2026-05-29 · envoyproxy/envoy @ 8492f41
fuchsia FIDL
fuchsia.io (+ in-tree C++ VFS corpus)

fuchsia.io is the filesystem protocol at the center of Fuchsia, and this is the gallery’s two-tier flagship: a FIDL contract cross-referenced against its C++ VFS implementation. The test gap is stark: of 212 elements, 100 are documented but only 11 are tested.

212 elements across 3 libraries · 100 documented · 11 tested · 248 findings · 2.0 MB
scanned 2026-05-22 · fuchsia @ 3a0c9c4
ffx CLI
ffx (Fuchsia developer tool)

The scale case: a sprawling generated CLI where docs mostly auto-exist. Sheaf surfaces the test gap that scale hides: docs cover 99 to 100%, but only 4% of flags carry any test evidence and 1,429 commands are “asserted” (documented, untested, unexemplified), 93% of the debt in one group.

1,782 elements (680 commands / 1,102 flags) · docs 99–100% · flag-tests 4% · 9.5 MB
scanned 2026-06-08 · fuchsia @ 3a0c9c4 (surface synthesized from ffx CLI goldens)
pigweed C++
pw_rpc (Pigweed embedded RPC)

pw_rpc is Pigweed’s embedded RPC system, the contract devices use to talk to hosts, common in embedded code that ships without an API doc site. Sheaf shows it barely bridged (5% of functions documented, 6% tested), leaving 125 functions “unclaimed”, 90% of the worklist in one group.

146 elements (21 classes / 125 functions) · docs 5% · tests 6% · 864 KB
scanned 2026-05-29 · pigweed @ 77591bc
sheaf CLI
sheaf (self-scan, this repo)

The dogfooding report, Sheaf run against its own cobra surface, and the gallery’s honesty check. A mostly-bridged surface for once: 53 of 76 elements are “completed” (concept doc, test, and example all aligned on the same call), with tests the bottleneck on the remaining 23 gaps.

76 elements (13 commands / 63 flags) · 53 completed (all three surfaces) · 732 KB
scanned 2026-06-08 · sheaf-data/sheaf @ e9edfda