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
12 changes: 12 additions & 0 deletions .derived/codebase-index/by-package/stagecraft-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"package": {
"edition": "2021",
"kind": "rust-bin",
"name": "stagecraft-cli",
"path": "",
"specRef": "002-crate-scaffold",
"version": "0.1.0"
},
"schemaVersion": "1.1.0",
"shardHash": "5150ae59ab5b77d17d616c92d89619dc93ffab501fce31b711c357720a932467"
}
64 changes: 38 additions & 26 deletions .derived/codebase-index/by-spec/002-crate-scaffold.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
{
"diagnostics": {
"errors": [],
"warnings": [
"mapping": {
"dependsOn": [
"001-cli-mcp-thesis"
],
"implementingPaths": [
{
"path": "",
"source": "manifest-metadata"
},
{
"code": "W-001",
"message": "spec '002-crate-scaffold' file unit 'Cargo.toml' does not exist",
"path": "Cargo.toml"
"path": ".github/workflows/ci.yml",
"source": "spec-edge"
},
{
"code": "W-001",
"message": "spec '002-crate-scaffold' file unit 'Cargo.lock' does not exist",
"path": "Cargo.lock"
"path": "Cargo.lock",
"source": "spec-edge"
},
{
"code": "W-001",
"message": "spec '002-crate-scaffold' directory unit 'src/' is not a directory",
"path": "src/"
"path": "Cargo.toml",
"source": "spec-edge"
},
{
"code": "W-001",
"message": "spec '002-crate-scaffold' file unit '.github/workflows/ci.yml' does not exist",
"path": ".github/workflows/ci.yml"
"path": "src/",
"source": "spec-edge"
}
]
},
"mapping": {
"dependsOn": [
"001-cli-mcp-thesis"
],
"implementingPaths": [],
"resolvedUnits": [
{
"locations": [],
"locations": [
{
"file": "src/"
}
],
"ownership": true,
"sourceField": "establishes",
"unit": {
Expand All @@ -40,7 +40,11 @@
}
},
{
"locations": [],
"locations": [
{
"file": ".github/workflows/ci.yml"
}
],
"ownership": true,
"sourceField": "establishes",
"unit": {
Expand All @@ -49,7 +53,11 @@
}
},
{
"locations": [],
"locations": [
{
"file": "Cargo.lock"
}
],
"ownership": true,
"sourceField": "establishes",
"unit": {
Expand All @@ -58,7 +66,11 @@
}
},
{
"locations": [],
"locations": [
{
"file": "Cargo.toml"
}
],
"ownership": true,
"sourceField": "establishes",
"unit": {
Expand All @@ -71,5 +83,5 @@
"specStatus": "approved"
},
"schemaVersion": "1.1.0",
"shardHash": "84043e361eedbc733737e36d110624a6efa6677b48d3d5c778565e096d6d98be"
"shardHash": "c3dc2fca3ab2f6819289a8b5e27199169855bce3389d810dfd8b87d9fee7acc8"
}
4 changes: 2 additions & 2 deletions .derived/spec-registry/by-spec/002-crate-scaffold.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
],
"id": "002-crate-scaffold",
"implementation": "pending",
"implementation": "complete",
"sectionHeadings": [
"002: Crate scaffold",
"1. Territory",
Expand All @@ -36,6 +36,6 @@
"summary": "The Rust crate for the single binary named stagecraft: clap-based command tree, layered configuration (flags > env > config file), structured output discipline (human tables on TTY, JSON with --output json), and a CI workflow (fmt, clippy -D warnings, test, release build). No network calls yet; spec 003 adds auth and the API client. After this spec, `cargo install --path .` yields a binary whose skeleton every later verb hangs off.\n",
"title": "The stagecraft binary: crate scaffold, config, CI"
},
"shardHash": "9a8409782c45acb4a68399179148539d878438316f9c6769687f0ffb2f15ff7a",
"shardHash": "8576aef9f1f550842270168da67a5fc80a2c886fdbecac54781f3963a854f3d2",
"specVersion": "1.1.0"
}
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Rust CI (spec 002 §2): fmt, clippy -D warnings, test, release build.
# The spec-spine governance gate lives in its own workflow (spec-spine.yml)
# and is unchanged. Actions are pinned to a commit SHA with a version comment.
name: ci
on:
push:
branches: [main]
pull_request:

permissions:
contents: read

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Toolchain components
run: rustup component add rustfmt clippy
- name: Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Test
run: cargo test
- name: Release build
run: cargo build --release
Loading
Loading