Skip to main content
MonoCSS is a CSS-architecture audit orchestrator over Monogram. It gathers static evidence about import order, !important debt, token coupling, raw colors, scrollbar ownership, and runtime inline-style bypasses, then tells the reviewer which claims still need live DOM geometry. Published contract: monocss 0.16.0, OpenCLIs build 2026-07-20-111510. The executing binary, OpenCLIs installed state, and public CDN metadata agree on this release. Registry ownership: the canonical docs_url is this page, the public product homepage is https://monolex.ai, and MonoCSS pairs with Monogram for source proof, MonoSurf or Kernel CLI for runtime DOM proof, and Monoflow for temporal context. Repository ownership remains monolex/monolex; no public source URL is advertised while that repository is private.
Version 0.16.0 has root help, but no per-command help parser. Use bare monocss, monocss help, or root monocss --help. audit --help is an unknown audit option, summarize --help treats --help as an audit directory, and status --help still runs the status probe.

Release Identity

latest.json and all five platform entries record clean source commit 9221412fba57808e8d01a8bd22ef8a58de13e5cc. The following archive and extracted-payload hashes were verified from build 2026-07-20-111510: Artifact availability, hash integrity, executable signature, and runtime DOM proof are separate layers. A published binary does not by itself prove a CSS finding or the final rendered geometry.

Quick Start

Read the generated SUMMARY.md first. Raw artifacts are supporting evidence, not the required starting point.

Complete Command Reference

Audit Artifacts

An audit run writes 00-monogram-stats.txt, then one raw artifact for each probe in registry order. Version 0.16.0 has 33 probes: The default output root is .niia/monocss-audit/<timestamp>.
The compact Writes section embedded in the installed 0.16.0 guide stops at artifact 06 but includes the new 04b artifact. The runtime registry and normalized report contain all 33 probes listed above; this public page records the complete release behavior.

Scroll-owner inventory

The 0.16.0 scroll_owner probe closes the gap between “a scrollbar rule exists” and “every scrolling container has an intentional owner”:
It strips comments from the inventory, resolves CSS declarations back to their selector headers, and scans HTML plus TypeScript templates for inline overflow owners. The report separates unclassified inline owners (highest native- scrollbar risk) from unclassified CSS owners. Runtime .style.overflow* or setProperty("overflow…") assignments are listed separately because static analysis may find the write site without proving which element receives it. The normalized finding exposes owners_css, owners_inline, classified, exceptions, unclassified_css, unclassified_inline, runtime_assigns, and inventory_available. If scrollbar.css cannot be read, the probe marks the diff degraded instead of claiming every owner is truly unclassified.

Normalized Report Contract

With audit --json, stdout contains the same report written to monocss-report.json: Each finding carries id, artifact, executed command, success, headline, extra_lines, probe-specific metrics, report sections, and an optional dom_proof request. A raw subprocess artifact is evidence; the finding is the stable machine-facing interpretation.

Remediation Plan Thresholds

monocss plan <audit-dir> reads the normalized metrics and emits advice only. It never edits CSS. Version 0.16.0 gates these plan items: Thresholds are prioritization policy, not proof that a finding is safe to fix. Every suggested change must be re-audited and, where requested, verified in the live DOM.

Static and Runtime Proof Boundary

prove scrollbar explicitly asks for scrollbarGutter, left/right padding, clientWidth, offsetWidth, first-child edge gaps, overflow ownership, and inline-style ownership. A clean static trace cannot prove those live values. Use MonoSurf for browser DOM evidence, or the appropriate Tauri runtime inspector for application-only surfaces.