Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

CorvidLabs Trust

One adoption path for the CorvidLabs trust toolchain.

Trust keeps the underlying tools independent and composes them into one gate:

  1. fledge runs the repository's verification lifecycle.
  2. spec-sync checks the code against its contract.
  3. augur blocks changes whose deterministic risk reaches the configured threshold.
  4. attest verifies signed provenance recorded in git notes.
  5. atlas optionally publishes the result as a living coverage map.

Install Trust

Install the complete toolchain from the CorvidLabs Homebrew tap:

brew tap corvidlabs/tap
brew install corvidlabs/tap/corvid-trust

When Homebrew's third-party tap trust gate is enabled, trust the five formulas explicitly before installation:

brew trust --formula \
  corvidlabs/tap/corvid-trust \
  corvidlabs/tap/fledge \
  corvidlabs/tap/spec-sync \
  corvidlabs/tap/augur \
  corvidlabs/tap/attest

The bundle installs fledge-trust on PATH; Fledge discovers that executable automatically as fledge trust. To install the plugin without Homebrew, pin the immutable release tag:

fledge plugins install CorvidLabs/trust@v1.1.2

Trust verification also requires the independently distributed specsync, augur, and attest commands locally. The composite GitHub Action installs its own pinned tool versions.

Adopt the gate

Run this inside an existing git repository:

fledge trust adopt --dry-run
fledge trust adopt
# Review fledge.toml and ensure it contains a real [lanes.verify] lane.
fledge trust doctor
fledge trust verify

adopt is conservative, transactional, and idempotent. It resolves the Git root, validates every generated file, and writes only after preflight succeeds. When it cannot infer a real verification lane, it stops without changing the repository.

Atlas publication is opt-in and requires GitHub Pages to use GitHub Actions as its source:

fledge trust adopt --atlas

Other optional layers can be skipped with a recorded reason, for example fledge trust adopt --no-specs "content-only repository".

The decision is stored in .trust.toml, the canonical policy used by both the local plugin and GitHub Action. Workflow overrides may strengthen that policy, but cannot weaken it.

Policy

Standard mode enforces lifecycle verification, SpecSync, and Augur. Attest is progressive: an unavailable or unsatisfied provenance ledger is reported as degraded while the repository adopts signed provenance. Strict mode forces 100% contract coverage and enforced provenance. Atlas is disabled unless adoption explicitly opts into Pages publication with --atlas.

provenance.scope = "changes" verifies attestations on the proposed commits. Repositories that record provenance only after merge can select "baseline": Trust then verifies the attested base while lifecycle, SpecSync, and Augur gate the proposed range. Baseline enforcement requires pull requests to be current with the protected base branch; the Action confirms the event base against the live remote branch tip. Post-merge CI can then attest each landed commit before the next change merges.

GitHub Actions

The composite Action reads the same .trust.toml and resolves pull request, push, and initial-push ranges from the GitHub event. Checkout must use full history because Augur and Attest inspect commits and git notes. Native pull requests always use the canonical event base..head; workflow inputs cannot redirect the proposed-change range.

steps:
  - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
    with:
      fetch-depth: 0

  - uses: CorvidLabs/trust@v1

The individual actions remain available when a repository needs custom step ordering or versions.

SpecSync self-hosting input

Normal consumers omit specsync-version and specsync-download-base-url; Trust uses released SpecSync 5.2.0. A governed SpecSync release-validation workflow may set an exact version and an authority-free file:// mirror that resolves beneath runner.temp. The mirror must contain the platform archive and adjacent SHA-256 file expected by the pinned SpecSync action. Trust rejects remote schemes, file authorities, traversal, encoded paths, missing directories, and symlink escapes before lifecycle execution.

Commands

Command Purpose
fledge trust adopt Add the managed workflow, policies, and agent rules to a repository.
fledge trust verify Run lifecycle, contract, risk, and provenance gates in order.
fledge trust status Report installed tools and wired repository layers.
fledge trust doctor Fail when required tools or configuration are missing.
fledge trust --version Report the installed Trust plugin version.

Design boundary

This repository owns orchestration only. Parsing specs, scoring diffs, storing attestations, and rendering Atlas remain in their respective repositories and release independently.

License

MIT

About

🛡️ One trust gate for contracts, verification, deterministic risk, and signed provenance. Orchestrates the CorvidLabs trust toolchain.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages