Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .attest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"requireAttestation": true,
"requireTestsPassed": true
}
3 changes: 3 additions & 0 deletions .augur.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[thresholds]
review = 35
block = 65
20 changes: 20 additions & 0 deletions .github/workflows/trust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: trust

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

jobs:
trust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

- uses: CorvidLabs/trust@v1.2.0
id: trust
8 changes: 8 additions & 0 deletions .specsync/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
specs_dir = "specs"
source_dirs = ["bin"]
exclude_dirs = []
required_sections = ["Purpose", "Public API", "Invariants", "Behavioral Examples", "Error Cases", "Dependencies", "Change Log"]
enforcement = "strict"

[lifecycle]
track_history = false
22 changes: 22 additions & 0 deletions .trust.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
schema_version = 1
profile = "standard"

[lifecycle]
command = ["fledge", "lanes", "run", "verify"]

[contract]
enabled = false
require_coverage = 0
skip_reason = "SpecSync cannot measure the extensionless Bash executables in bin/, so a contract layer would gate nothing; ShellCheck, bash -n, and --help smoke are the blocking checks"

[risk]
threshold = "block"

[provenance]
mode = "soft"
policy = ".attest.json"
skip_reason = ""

[atlas]
enabled = false
skip_reason = "Atlas publication was not enabled during adoption"
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- CorvidLabs trust toolchain: BEGIN (managed, do not edit inside) -->
## CorvidLabs trust toolchain

This repository uses one trust gate. Every session must use it and must not bypass or weaken it.

- Run `fledge trust verify` before calling a change complete.
- Keep module specs synchronized with implementation changes.
- Treat an Augur block verdict as a hard stop that must be surfaced and de-risked.
- Record and verify provenance with Attest after the repository's verification lane passes.
- Keep generated trust configuration and this managed block in place.

<!-- CorvidLabs trust toolchain: END -->
10 changes: 10 additions & 0 deletions fledge.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# fledge.toml: project task definitions
# Mirrors the three CI jobs in .github/workflows/ci.yml (ShellCheck, bash -n, --help smoke).
[tasks]
lint = "shellcheck --severity=warning bin/fledge-github bin/fledge-github-checks bin/fledge-github-issues bin/fledge-github-poll bin/fledge-github-prs bin/fledge-github-repo"
syntax = "bash -n bin/fledge-github && bash -n bin/fledge-github-checks && bash -n bin/fledge-github-issues && bash -n bin/fledge-github-poll && bash -n bin/fledge-github-prs && bash -n bin/fledge-github-repo"
smoke = "bin/fledge-github --help && bin/fledge-github-checks --help && bin/fledge-github-issues --help && bin/fledge-github-poll --help && bin/fledge-github-prs --help && bin/fledge-github-repo --help"

[lanes.verify]
description = "ShellCheck, bash syntax check, and --help smoke test every GitHub plugin executable"
steps = ["lint", "syntax", "smoke"]
Loading