Skip to content

Commit 177d691

Browse files
avrabeclaude
andcommitted
refactor: final WRT→Kiln sweep — enum variants, section names, templates, configs
Renames CrateId::Wrt/Wrtd to CrateId::Kiln/Kilnd, updates the wrt.resource_limits custom section to kiln.resource_limits, fixes GitHub URLs, disabled workflow files, platform templates, and config files (gitignore, cspell, CODEOWNERS, memory_budget example). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5fe4d3f commit 177d691

29 files changed

+170
-170
lines changed

.githooks/pre-commit.disabled

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ if [ -n "$test_files" ]; then
2525
exit 1
2626
fi
2727

28-
# Check if cargo-wrt is available
29-
if command -v cargo-wrt &> /dev/null; then
30-
# Run validation check using cargo-wrt
31-
echo "🔍 Running cargo-wrt validation checks..."
32-
if ! cargo-wrt validate --check-test-files; then
28+
# Check if cargo-kiln is available
29+
if command -v cargo-kiln &> /dev/null; then
30+
# Run validation check using cargo-kiln
31+
echo "🔍 Running cargo-kiln validation checks..."
32+
if ! cargo-kiln validate --check-test-files; then
3333
echo -e "${RED}❌ Validation failed!${NC}"
3434
exit 1
3535
fi
3636
else
37-
echo -e "${YELLOW}⚠️ Warning: cargo-wrt not found. Install it for better validation:${NC}"
38-
echo " cargo install --path cargo-wrt"
37+
echo -e "${YELLOW}⚠️ Warning: cargo-kiln not found. Install it for better validation:${NC}"
38+
echo " cargo install --path cargo-kiln"
3939
fi
4040

4141
echo -e "${GREEN}✅ No test files found in src/ directories${NC}"
@@ -45,10 +45,10 @@ echo ""
4545
echo "🔍 Checking code formatting with cargo fmt..."
4646

4747
# Use the project's unified build tool for formatting check
48-
if ! cargo-wrt check --strict; then
48+
if ! cargo-kiln check --strict; then
4949
echo -e "${RED}❌ Error: Code formatting issues detected!${NC}"
5050
echo ""
51-
echo "Please run 'cargo-wrt check' or 'cargo fmt' to format your code before committing."
51+
echo "Please run 'cargo-kiln check' or 'cargo fmt' to format your code before committing."
5252
echo ""
5353
echo "To bypass this check (not recommended), use:"
5454
echo " git commit --no-verify"

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# *.rs @rust-team
1111

1212
# Specify owners for specific crates
13-
# wrt/src/ @wrt-core-team
14-
# wrt-component/src/ @wrt-component-team
13+
# kiln/src/ @kiln-core-team
14+
# kiln-component/src/ @kiln-component-team
1515

1616
# Documentation files
1717
# docs/ @docs-team

.github/workflows/capability_tests.yml.disabled

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,26 @@ jobs:
1919
include:
2020
- name: "Default"
2121
features: ""
22-
package: "wrtd"
22+
package: "kilnd"
2323
- name: "QM"
2424
features: "qm"
25-
package: "wrtd"
25+
package: "kilnd"
2626
- name: "ASIL-A"
2727
features: "asil-a"
28-
package: "wrtd"
28+
package: "kilnd"
2929
- name: "ASIL-B"
3030
features: "asil-b"
31-
package: "wrtd"
31+
package: "kilnd"
3232
- name: "Minimal"
3333
features: "--no-default-features"
34-
package: "wrtd"
34+
package: "kilnd"
3535
no_default: true
3636
- name: "Runtime STD"
3737
features: "std"
38-
package: "wrt-runtime"
38+
package: "kiln-runtime"
3939
- name: "Runtime Alloc"
4040
features: "alloc"
41-
package: "wrt-runtime"
41+
package: "kiln-runtime"
4242

4343
steps:
4444
- uses: actions/checkout@v5
@@ -76,7 +76,7 @@ jobs:
7676
fi
7777

7878
- name: Test ${{ matrix.name }}
79-
if: matrix.package != 'wrtd'
79+
if: matrix.package != 'kilnd'
8080
run: |
8181
if [ "${{ matrix.features }}" = "" ]; then
8282
cargo test -p ${{ matrix.package }} capability
@@ -106,7 +106,7 @@ jobs:
106106
echo "$PWD/wabt-1.0.34/bin" >> $GITHUB_PATH
107107

108108
- name: Run capability integration tests
109-
run: cargo test -p wrt-runtime capability_integration_tests -- --nocapture || true
109+
run: cargo test -p kiln-runtime capability_integration_tests -- --nocapture || true
110110

111111
summary:
112112
name: Test Summary

.github/workflows/deploy-verification.yml.disabled

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ jobs:
5353
target
5454
key: ${{ runner.os }}-deploy-${{ hashFiles('**/Cargo.lock') }}
5555

56-
- name: Install KANI and cargo-wrt
56+
- name: Install KANI and cargo-kiln
5757
run: |
5858
cargo install --locked kani-verifier
5959
cargo kani setup
60-
cargo install --path cargo-wrt --locked
60+
cargo install --path cargo-kiln --locked
6161

6262
- name: Run pre-deployment verification
6363
id: verify
@@ -77,7 +77,7 @@ jobs:
7777
EOF
7878

7979
echo "## Build Verification" >> deployment-verification.md
80-
if cargo-wrt build --output json > build-results.json 2>&1; then
80+
if cargo-kiln build --output json > build-results.json 2>&1; then
8181
echo "✅ Build successful" >> deployment-verification.md
8282
echo "BUILD_STATUS=success" >> $GITHUB_ENV
8383
else
@@ -88,7 +88,7 @@ jobs:
8888

8989
echo "" >> deployment-verification.md
9090
echo "## Test Suite Results" >> deployment-verification.md
91-
if cargo-wrt test --output json > test-results.json 2>&1; then
91+
if cargo-kiln test --output json > test-results.json 2>&1; then
9292
echo "✅ All tests passed" >> deployment-verification.md
9393
echo "TEST_STATUS=success" >> $GITHUB_ENV
9494
else
@@ -107,7 +107,7 @@ jobs:
107107
for level in a b c d; do
108108
echo "### ASIL-${level^^} Verification" >> deployment-verification.md
109109

110-
if cargo-wrt kani-verify --asil-profile $level --output json > kani-$level.json 2>&1; then
110+
if cargo-kiln kani-verify --asil-profile $level --output json > kani-$level.json 2>&1; then
111111
echo "✅ ASIL-${level^^} verification passed" >> deployment-verification.md
112112

113113
# Extract coverage info
@@ -180,15 +180,15 @@ jobs:
180180

181181
- name: Install deployment tools
182182
run: |
183-
cargo install --path cargo-wrt --locked
183+
cargo install --path cargo-kiln --locked
184184

185185
- name: Prepare staging deployment
186186
run: |
187187
echo "Preparing staging deployment..."
188188
echo "Verification hash: ${{ needs.prepare-verification.outputs.verification-hash }}"
189189

190190
# Create deployment package
191-
cargo-wrt build --release
191+
cargo-kiln build --release
192192

193193
# Create staging manifest
194194
cat > staging-manifest.json << EOF
@@ -200,9 +200,9 @@ jobs:
200200
"asil_level": "A",
201201
"deployment_target": "staging",
202202
"artifacts": [
203-
"libwrt.rlib",
204-
"libwrt_foundation.rlib",
205-
"cargo-wrt"
203+
"libkiln.rlib",
204+
"libkiln_foundation.rlib",
205+
"cargo-kiln"
206206
]
207207
}
208208
EOF
@@ -266,14 +266,14 @@ jobs:
266266

267267
- name: Install deployment tools
268268
run: |
269-
cargo install --path cargo-wrt --locked
269+
cargo install --path cargo-kiln --locked
270270

271271
- name: Create production deployment
272272
run: |
273273
echo "Creating production deployment..."
274274

275275
# Build with production optimizations
276-
cargo-wrt build --release --profile production
276+
cargo-kiln build --release --profile production
277277

278278
# Create production manifest
279279
cat > production-manifest.json << EOF
@@ -287,9 +287,9 @@ jobs:
287287
"certification_ready": true,
288288
"safety_verified": true,
289289
"artifacts": [
290-
"libwrt.rlib",
291-
"libwrt_foundation.rlib",
292-
"cargo-wrt",
290+
"libkiln.rlib",
291+
"libkiln_foundation.rlib",
292+
"cargo-kiln",
293293
"verification-evidence.zip"
294294
]
295295
}
@@ -337,14 +337,14 @@ jobs:
337337

338338
- name: Install certification tools
339339
run: |
340-
cargo install --path cargo-wrt --locked
340+
cargo install --path cargo-kiln --locked
341341

342342
- name: Generate certification package
343343
run: |
344344
echo "Generating certification evidence package..."
345345

346346
# Create comprehensive verification report
347-
cargo-wrt verify --asil d --output json > certification-verification.json
347+
cargo-kiln verify --asil d --output json > certification-verification.json
348348

349349
# Create certification manifest
350350
cat > certification-manifest.json << EOF

.github/workflows/kani-regression.yml.disabled

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ on:
44
push:
55
branches: [ main, develop, resource-implementation ]
66
paths:
7-
- 'wrt-foundation/src/**'
8-
- 'wrt-component/src/**'
9-
- 'wrt-runtime/src/**'
10-
- 'wrt-decoder/src/**'
11-
- 'wrt-format/src/**'
12-
- 'cargo-wrt/**'
7+
- 'kiln-foundation/src/**'
8+
- 'kiln-component/src/**'
9+
- 'kiln-runtime/src/**'
10+
- 'kiln-decoder/src/**'
11+
- 'kiln-format/src/**'
12+
- 'cargo-kiln/**'
1313
- '.github/workflows/kani-regression.yml'
1414
pull_request:
1515
branches: [ main, develop ]
1616
paths:
17-
- 'wrt-foundation/src/**'
18-
- 'wrt-component/src/**'
19-
- 'wrt-runtime/src/**'
20-
- 'wrt-decoder/src/**'
21-
- 'wrt-format/src/**'
22-
- 'cargo-wrt/**'
17+
- 'kiln-foundation/src/**'
18+
- 'kiln-component/src/**'
19+
- 'kiln-runtime/src/**'
20+
- 'kiln-decoder/src/**'
21+
- 'kiln-format/src/**'
22+
- 'cargo-kiln/**'
2323
- '.github/workflows/kani-regression.yml'
2424
schedule:
2525
# Run nightly KANI verification at 2 AM UTC
@@ -112,15 +112,15 @@ jobs:
112112
# Verify installation
113113
kani --version
114114

115-
- name: Install cargo-wrt
115+
- name: Install cargo-kiln
116116
run: |
117-
cargo install --path cargo-wrt --locked
117+
cargo install --path cargo-kiln --locked
118118

119119
- name: Verify KANI installation
120120
run: |
121121
which kani
122122
kani --version
123-
cargo-wrt setup --check || true
123+
cargo-kiln setup --check || true
124124

125125
- name: Run KANI verification
126126
id: verify
@@ -146,8 +146,8 @@ jobs:
146146
OUTPUT_FILE="kani-results-${{ matrix.asil_level }}.json"
147147
fi
148148

149-
echo "Running: cargo-wrt kani-verify $ARGS"
150-
cargo-wrt kani-verify $ARGS 2>&1 | tee "$OUTPUT_FILE"
149+
echo "Running: cargo-kiln kani-verify $ARGS"
150+
cargo-kiln kani-verify $ARGS 2>&1 | tee "$OUTPUT_FILE"
151151
KANI_EXIT_CODE=$?
152152

153153
# Parse results and set status

.github/workflows/kani-verification.yml.disabled

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ jobs:
6565
target/
6666
key: ${{ runner.os }}-cargo-kani-${{ hashFiles('**/Cargo.lock') }}
6767

68-
- name: Install and setup cargo-wrt with Kani
68+
- name: Install and setup cargo-kiln with Kani
6969
run: |
70-
cargo build --package cargo-wrt
71-
cargo install --path cargo-wrt --force
72-
cargo-wrt setup --all # Setup all tools including Kani automatically
70+
cargo build --package cargo-kiln
71+
cargo install --path cargo-kiln --force
72+
cargo-kiln setup --all # Setup all tools including Kani automatically
7373

7474
- name: Verify tool setup
75-
run: cargo-wrt setup --check
75+
run: cargo-kiln setup --check
7676

7777
- name: Run Quick Verification
7878
run: |
79-
cargo-wrt kani-verify --asil-profile a --package wrt-integration-tests
79+
cargo-kiln kani-verify --asil-profile a --package kiln-integration-tests
8080
continue-on-error: true
8181

8282
- name: Upload Quick Report
@@ -96,16 +96,16 @@ jobs:
9696
matrix:
9797
asil: [b, c]
9898
package:
99-
- wrt-foundation
100-
- wrt-component
101-
- wrt-sync
102-
- wrt-integration-tests
99+
- kiln-foundation
100+
- kiln-component
101+
- kiln-sync
102+
- kiln-integration-tests
103103
include:
104104
# Add ASIL-D verification for critical packages only
105105
- asil: d
106-
package: wrt-integration-tests
106+
package: kiln-integration-tests
107107
- asil: d
108-
package: wrt-foundation
108+
package: kiln-foundation
109109

110110
steps:
111111
- uses: actions/checkout@v5
@@ -127,18 +127,18 @@ jobs:
127127
target/
128128
key: ${{ runner.os }}-cargo-kani-${{ matrix.package }}-${{ hashFiles('**/Cargo.lock') }}
129129

130-
- name: Install and setup cargo-wrt with Kani
130+
- name: Install and setup cargo-kiln with Kani
131131
run: |
132-
cargo build --package cargo-wrt
133-
cargo install --path cargo-wrt --force
134-
cargo-wrt setup --all # Setup all tools including Kani automatically
132+
cargo build --package cargo-kiln
133+
cargo install --path cargo-kiln --force
134+
cargo-kiln setup --all # Setup all tools including Kani automatically
135135

136136
- name: Verify tool setup
137-
run: cargo-wrt setup --check
137+
run: cargo-kiln setup --check
138138

139139
- name: Run Verification
140140
run: |
141-
cargo-wrt kani-verify --asil-profile ${{ matrix.asil }} --package ${{ matrix.package }}
141+
cargo-kiln kani-verify --asil-profile ${{ matrix.asil }} --package ${{ matrix.package }}
142142
timeout-minutes: 30
143143

144144
- name: Upload Verification Report
@@ -179,24 +179,24 @@ jobs:
179179
target/
180180
key: ${{ runner.os }}-cargo-kani-comprehensive-${{ hashFiles('**/Cargo.lock') }}
181181

182-
- name: Install and setup cargo-wrt with Kani
182+
- name: Install and setup cargo-kiln with Kani
183183
run: |
184-
cargo build --package cargo-wrt
185-
cargo install --path cargo-wrt --force
186-
cargo-wrt setup --all # Setup all tools including Kani automatically
184+
cargo build --package cargo-kiln
185+
cargo install --path cargo-kiln --force
186+
cargo-kiln setup --all # Setup all tools including Kani automatically
187187

188188
- name: Verify tool setup
189-
run: cargo-wrt setup --check
189+
run: cargo-kiln setup --check
190190

191191
- name: Run Comprehensive Verification
192192
run: |
193193
ASIL_LEVEL="${{ github.event.inputs.asil_level || 'c' }}"
194194
PACKAGE="${{ github.event.inputs.package || '' }}"
195195

196196
if [ -n "$PACKAGE" ]; then
197-
cargo-wrt kani-verify --asil-profile $ASIL_LEVEL --package $PACKAGE --verbose
197+
cargo-kiln kani-verify --asil-profile $ASIL_LEVEL --package $PACKAGE --verbose
198198
else
199-
cargo-wrt kani-verify --asil-profile $ASIL_LEVEL --verbose
199+
cargo-kiln kani-verify --asil-profile $ASIL_LEVEL --verbose
200200
fi
201201
timeout-minutes: 60
202202

0 commit comments

Comments
 (0)