Skip to content

Reference

Complete reference documentation for TrustSight CLI, rules, configuration, report schema, evidence tiers, and exit codes.

  • CLI: review, inspect, history, config commands with flags, arguments, and exit codes.
  • Rules: R001–R013 (detection, TOML-configurable) and C001–C003 (code, structural) with severity, weight, target, and description for each.
  • Configuration: Every config.toml, rules.toml, and trusted_domains.toml key with type, default, and effect. Environment variable reference.
  • Report Schema: PackageFact JSON structure used by inspect and stored in the database.
  • Evidence Tiers: A (structural), B (priors/context), C (history/novelty), D (verification) taxonomy with maturity gating and cold-start behaviour.
  • Exit Codes: 0 (success/clean), 1 (flagged), 2 (error).