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
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[build]
jobs = 2

[alias]
xtask = "run -q -p xtask --"

Expand Down
10 changes: 0 additions & 10 deletions .github/CODEOWNERS

This file was deleted.

3 changes: 2 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ ci:
- any-glob-to-any-file:
- '.github/workflows/**'
- '.github/dependabot.yml'
- 'Justfile'
- 'Makefile'
- 'projectfile.yaml'
- 'validation.dag.yaml'
- 'lefthook.yml'

docs:
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.tools/
.dagr/
.saga/*
!.saga/*.toml
!.saga/flows/
!.saga/flows/*.toml
.env*
Expand All @@ -10,8 +11,9 @@
/dist/
.contracts/

# Agent custody store (local runs; never committed)
# Agent custody and DAG runner stores (local runs; never committed)
.blackwall/
.dagrun/
.sbx/

# Vendored crates (run `make vendor` to populate; un-ignore if vendoring into repo)
Expand Down
72 changes: 72 additions & 0 deletions .saga/flows/kd-gates.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Flow: kd-gates
#
# Standard quality verification gates for unsigned-gg/kd:
# rustfmt check, LeanSpec/zero-I/O hygiene, clippy (-D warnings, -j 2),
# cargo test (-j 2), and Heimdal operator sign-off gate.

[flow]
name = "kd-gates"
description = "Execute kd verification gates: fmt, spec/zero-I/O hygiene, clippy (-D warnings, -j 2), cargo test (-j 2), and operator gate"

[params.package]
required = false
default = "kd"
description = "Target crate package for focused test verification"

[[step]]
id = "fmt-check"
title = "Verify rustfmt formatting"
kind = "test"
agent = "auto"
verify_cmd = ["cargo", "fmt", "--all", "--", "--check"]
prompt = """
Run `cargo fmt --all -- --check` across all crates in the workspace.
Ensure there are no formatting violations.
"""

[[step]]
id = "hygiene-check"
title = "Run LeanSpec and kd-domain zero-I/O hygiene checks"
kind = "test"
agent = "auto"
deps = ["fmt-check"]
verify_cmd = ["cargo", "run", "--locked", "-j", "2", "-p", "xtask", "--", "spec-check"]
prompt = """
Run `cargo run --locked -j 2 -p xtask -- spec-check` and verify `crates/kd-domain/src` has zero I/O imports.
"""

[[step]]
id = "clippy-check"
title = "Run clippy linter with warnings denied (-j 2)"
kind = "test"
agent = "auto"
deps = ["hygiene-check"]
verify_cmd = ["cargo", "clippy", "--workspace", "--locked", "--all-targets", "-j", "2", "--", "-D", "warnings"]
prompt = """
Run `cargo clippy --workspace --locked --all-targets -j 2 -- -D warnings`.
Confirm the workspace passes without any warnings.
"""

[[step]]
id = "test-suite"
title = "Execute Cargo test suite (-j 2)"
kind = "test"
agent = "auto"
deps = ["clippy-check"]
verify_cmd = ["cargo", "test", "-p", "{{params.package}}", "--locked", "-j", "2"]
prompt = """
Run unit and integration test suites with mandatory host throttling:
`cargo test -p {{params.package}} --locked -j 2`
All tests must pass.
"""

[[step]]
id = "operator-gate"
title = "Operator sign-off gate"
kind = "gate"
gate = "heimdal:approval"
deps = ["test-suite"]
prompt = """
Review verification receipts (fmt, hygiene, clippy, tests).
Approve gate to permit PR landing or promotion.
"""
14 changes: 14 additions & 0 deletions .saga/teams.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Saga team archetypes for unsigned-gg/kd, read by bifrost::yggdrasil.

[teams.kd-solo]
topology = "solo"
members = [
{ slot = 0, role = "brokkr", harness = "agy", effort = "high" },
]

[teams.kd-dual]
topology = "dual-h"
members = [
{ slot = 0, role = "brokkr", harness = "agy", effort = "high" },
{ slot = 1, role = "loki", harness = "claude", effort = "high" },
]
23 changes: 23 additions & 0 deletions .saga/topologies.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Yggdrasil pane topologies for unsigned-gg/kd, read by bifrost::yggdrasil.

[topologies.solo]
slots = [{ role = "brokkr", label = "lead" }]
splits = []

[topologies.dual-h]
slots = [
{ role = "brokkr", label = "lead" },
{ role = "loki", label = "critic" },
]
splits = [{ from = 0, direction = "right", ratio = 0.5, new = 1 }]

[topologies.triad]
slots = [
{ role = "brokkr", label = "lead" },
{ role = "sindri", label = "builder" },
{ role = "loki", label = "critic" },
]
splits = [
{ from = 0, direction = "right", ratio = 0.5, new = 1 },
{ from = 1, direction = "down", ratio = 0.5, new = 2 },
]
186 changes: 0 additions & 186 deletions Justfile

This file was deleted.

Loading
Loading