Repository navigation
chore(build): switch to GitHub Flow and align with estate Rust best practices - #7
Merged
Merged
Conversation
…ver certification - Define Proof-Carrying Code (PCC) model for estate policy gates. - Formalize state transition safety invariant proof I(S) => I(S'). - Specify out-of-band Goedel prover architecture and Lean 4 certificate generation. - Establish O(1) AST proof-checker interface in gs-domain. - Link SPEC-0002 in README. Co-authored-by: Kratos <kratos@yx.unsigned.gg> Reviewed-by: Mimir <mimir@unsigned.gg>
…ate-certification docs(specs): land SPEC-0002 proof-carrying policy gates and godel prover certification
…on chains at policy gate
feat(gs-domain): enforce WIMSE agent principals and RFC 8693 delegation chains at policy gate
Comment on lines
+21
to
+57
| name: Build & Verify (xwork + xtask) | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install stable Rust toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
| - name: Install Rust toolchain (1.94.1) | ||
| uses: dtolnay/rust-toolchain@master | ||
| with: | ||
| toolchain: "1.94.1" | ||
| components: rustfmt, clippy | ||
|
|
||
| - name: Rust cache | ||
| - name: Rust Cache | ||
| uses: Swatinem/rust-cache@v2 | ||
| with: | ||
| save-if: ${{ github.ref == 'refs/heads/main' }} | ||
|
|
||
| - name: Format check | ||
| - name: Verify estate hygiene & Wave-0 graph audit | ||
| run: | | ||
| cargo xtask hygiene | ||
| cargo xtask graph-audit --break-check | ||
|
|
||
| - name: Check formatting | ||
| run: cargo fmt --all -- --check | ||
|
|
||
| - name: Clippy | ||
| run: cargo clippy --workspace --all-targets -j 2 -- -D warnings | ||
| - name: Run Clippy | ||
| run: cargo clippy --workspace --all-targets --locked -j 2 -- -D warnings | ||
|
|
||
| - name: Workspace check | ||
| run: cargo check --workspace --all-targets -j 2 | ||
| - name: Run Tests | ||
| run: | | ||
| cargo test --workspace --locked -j 2 | ||
| cargo test --doc --workspace --locked -j 2 | ||
|
|
||
| - name: Run unit tests | ||
| run: cargo test --workspace -j 2 | ||
| - name: Supply-chain check (cargo-deny) | ||
| uses: EmbarkStudios/cargo-deny-action@v2 | ||
| with: | ||
| command: check licenses bans sources |
…paths in deny.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Eliminates the
developmentpromotion track in favor of standard GitHub Flow (mainonly) and alignsunsigned-gg/gswith the estate Rust repository best practices SOP:Justfilein favor of a self-documentingMakefile(.DEFAULT_GOAL := help,##@/##) andcrates/xtask(xwork,check,hygiene,graph-audit --break-check,fmt,clippy,test,deny,build,smoke).Cargo.lockfor reproducible--lockedbuilds and addsrust-toolchain.toml(1.94.1),rustfmt.toml,clippy.toml,deny.toml, and.cargo/config.toml(jobs = 2,xtask/xworkaliases, sparse registry).[profile.dev] debug = "line-tables-only"and the[workspace.lints.clippy]restriction floor inCargo.toml..github/workflows/ci.ymlto targetmainwithCARGO_INCREMENTAL=0, sparse registry protocol, concurrency group cancellation,Swatinem/rust-cache@v2, andcargo-deny.