Skip to content

Commit 08def4d

Browse files
author
eastgate
committed
docs: root cleanup v3.1.0 — CONTEXT SPDX, archive/scripts READMEs, CHANGELOG
CONTEXT.md: SPDX AGPL-3.0-only → -or-later. README: version 3.1.0, test count 343, deep debt sprint reference. CHANGELOG: v3.1.0 deep debt resolution sprint entry. archive/README.md: index of historical content. scripts/README.md: index of current vs archived scripts. boot_diagnostics.rs: TODO → tracked improvement comment. Made-with: Cursor
1 parent 9c20f3f commit 08def4d

22 files changed

+136
-61
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to benchScale will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.1.0] — 2026-04-05
9+
10+
### Changed (Deep Debt Resolution Sprint)
11+
- Coverage: 35.5% → 61.9% (343 tests, 7 ignored)
12+
- Unsafe evolution: EnvGuard RAII for env vars, LeaseList safe FFI abstraction, libc::kill → nix
13+
- thiserror upgraded 1.0 → 2.0
14+
- Refactored: vm_lifecycle → vm_state, pipeline → stages, config_legacy → config/legacy
15+
- All #[allow( → #[expect( with reasons (7 sites)
16+
- README license aligned to -or-later, SPDX consistency fixed
17+
- tarpaulin.toml with fail-under=60.0
18+
- C dependencies documented in deny.toml
19+
820
## [3.0.0] - 2026-03-28
921

1022
### Changed

CONTEXT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: AGPL-3.0-only
1+
# SPDX-License-Identifier: AGPL-3.0-or-later
22

33
# benchScale — Context
44

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
**Pure Rust laboratory substrate for distributed system testing**
44

5-
🟢 **Status**: Production Ready — v3.0.0, Rust 2024 edition
6-
📅 **Last Updated**: March 29, 2026
7-
🧪 **Tests**: 232 passing
5+
🟢 **Status**: Production Ready — v3.1.0, Rust 2024 edition
6+
📅 **Last Updated**: April 5, 2026
7+
🧪 **Tests**: 343 passing (7 ignored)
88
🔒 **Safety**: `deny(unsafe_code)`, `deny(clippy::unwrap_used)`, `clippy::pedantic` + `clippy::nursery`
99
📜 **License**: AGPL-3.0-or-later (scyBorg Provenance Trio)
1010

@@ -16,6 +16,8 @@ benchScale is a pure Rust framework for creating reproducible, isolated test env
1616

1717
**Ecosystem role**: Infrastructure tooling for the ecoPrimals ecosystem. Used by biomeOS for VM federation testing, primalSpring for validation pipelines, and hotSpring for GPU sovereign compute isolation.
1818

19+
**Deep debt resolution sprint (v3.1.0)**: Raised line coverage from ~35.5% to ~61.9%, expanded the library test suite to 343 tests, tightened unsafe boundaries (EnvGuard, safe FFI, `nix` for signals), upgraded `thiserror` to 2.x, refactored modules (`vm_state`, `stages`, `config/legacy`), aligned lint policy on `#[expect(...)]` with reasons, and set `tarpaulin` fail-under 60%. See `CHANGELOG.md` for the full list.
20+
1921
## Features
2022

2123
- **Docker + Libvirt backends** with a shared `Backend` trait

archive/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Archive
2+
3+
Historical documents and code snapshots retained for reference.
4+
This content is not actively maintained.
5+
6+
## Contents
7+
- `docs-dec-2025/` — Session logs and audit documents from December 2025
8+
- `rust/` — Old Rust source snapshots (pre-refactor backups)
9+
- `examples-needs-lab-module/` — Examples that required the lab module (now integrated)
10+
- `phantom-dependencies/` — Dependency analysis artifacts
11+
- `scripts-syntheticchemistry-era/` — Legacy shell scripts from the syntheticChemistry era

scripts/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# benchScale shell scripts
2+
3+
## Current (maintained)
4+
5+
| Script | Role |
6+
|--------|------|
7+
| `deploy-ecoprimals.sh` | Deploy plasmidBin binaries and graphs into a running lab (ecoPrimals integration). |
8+
| `run-tests.sh` | Delegates to primalSpring’s lab validation; use for ecosystem experiments against a live lab. |
9+
| `create-lab.sh` | Bash helper to create labs (Docker/LXD/QEMU paths); for the canonical path prefer `cargo run -- create …` / `benchscale create`. |
10+
| `destroy-lab.sh` | Bash helper to tear down labs; canonical CLI: `cargo run -- destroy …` / `benchscale destroy`. |
11+
12+
## Archive (`scripts/archive/`)
13+
14+
| Script | Role |
15+
|--------|------|
16+
| `run-tests-stub.sh` | Old placeholder test runner; superseded by `run-tests.sh`. |
17+
| `download-isos-legacy.sh` | Legacy LXC-based primal deployment (filename is historical; does not download ISOs). Superseded by `deploy-ecoprimals.sh` and the Rust CLI for most workflows. |

scripts/archive/download-isos-legacy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# Archived: legacy LXC primal deployment (historical filename — not an ISO downloader).
3+
# Prefer deploy-ecoprimals.sh and the benchscale CLI for current workflows.
4+
#
25
# benchScale Deployment Script
36
#
47
# Deploys primals to a lab environment

scripts/archive/run-tests-stub.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# Archived stub — superseded by ../run-tests.sh (primalSpring validation delegation).
3+
#
24
# benchScale Test Runner Script
35
#
46
# Runs tests on a lab environment

scripts/create-lab.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# Current helper script; canonical lab creation is `cargo run -- create` / `benchscale create` (see scripts/README.md).
3+
#
24
# benchScale Lab Creation Script
35
#
46
# Creates a lab environment from a topology manifest

scripts/deploy-ecoprimals.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# Current: primary script for deploying ecoPrimals artifacts into a lab (see scripts/README.md).
3+
#
24
# deploy-ecoprimals.sh — Deploy ecoPrimals primal binaries + graphs into a benchScale lab
35
#
46
# Copies static musl binaries from plasmidBin, deploy graphs from primalSpring,

scripts/destroy-lab.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# Current helper script; canonical teardown is `cargo run -- destroy` / `benchscale destroy` (see scripts/README.md).
3+
#
24
# benchScale Lab Destruction Script
35
#
46
# Tears down a lab environment

0 commit comments

Comments
 (0)