diff --git a/CLAUDE.md b/CLAUDE.md index c91a3af4f..7464695cf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,12 +11,14 @@ Each major component has its own `CLAUDE.md` with detailed guidance: `core/`, `w ## Build & Development See [CONTRIBUTING.md](CONTRIBUTING.md) for: + - Environment setup and requirements - Build commands and make targets - Testing and formatting commands - Environment variables **Quick reference:** + ```bash . ./devmode.sh # Enable dev mode make update-startbox REMOTE=start9@ # Fastest iteration (binary + UI) @@ -28,6 +30,7 @@ make test-core # Run Rust tests - Always verify cross-layer changes using the order described in [ARCHITECTURE.md](ARCHITECTURE.md#cross-layer-verification) - Check component-level CLAUDE.md files for component-specific conventions. ALWAYS read it before operating on that component. - Follow existing patterns before inventing new ones +- Always use `make` recipes when they exist for testing builds rather than manually invoking build commands ## Supplementary Documentation @@ -47,6 +50,7 @@ On startup: 1. **Check for `docs/USER.md`** - If it doesn't exist, prompt the user for their name/identifier and create it. This file is gitignored since it varies per developer. 2. **Check `docs/TODO.md` for relevant tasks** - Show TODOs that either: + - Have no `@username` tag (relevant to everyone) - Are tagged with the current user's identifier diff --git a/container-runtime/package-lock.json b/container-runtime/package-lock.json index 15898b2e9..7ff3f092f 100644 --- a/container-runtime/package-lock.json +++ b/container-runtime/package-lock.json @@ -37,7 +37,7 @@ }, "../sdk/dist": { "name": "@start9labs/start-sdk", - "version": "0.4.0-beta.54", + "version": "0.4.0-beta.55", "license": "MIT", "dependencies": { "@iarna/toml": "^3.0.0", diff --git a/core/src/s9pk/rpc.rs b/core/src/s9pk/rpc.rs index d4e5ee690..2fafd7e0c 100644 --- a/core/src/s9pk/rpc.rs +++ b/core/src/s9pk/rpc.rs @@ -388,7 +388,11 @@ async fn select( let manifest = s9pk.as_manifest(); // OS version check: package's required OS version must be in server's compat range - if !manifest.metadata.os_version.satisfies(&device_info.os.compat) { + if !manifest + .metadata + .os_version + .satisfies(&device_info.os.compat) + { continue; } diff --git a/core/src/system/mod.rs b/core/src/system/mod.rs index c903eac9f..248990581 100644 --- a/core/src/system/mod.rs +++ b/core/src/system/mod.rs @@ -254,10 +254,7 @@ pub async fn device_info(ctx: RpcContext) -> Result { DeviceInfo::load(&ctx).await } -pub fn display_device_info( - params: WithIoFormat, - info: DeviceInfo, -) -> Result<(), Error> { +pub fn display_device_info(params: WithIoFormat, info: DeviceInfo) -> Result<(), Error> { use prettytable::*; if let Some(format) = params.format { diff --git a/core/src/version/v0_4_0_alpha_20.rs b/core/src/version/v0_4_0_alpha_20.rs index aeb27d269..62b454bb1 100644 --- a/core/src/version/v0_4_0_alpha_20.rs +++ b/core/src/version/v0_4_0_alpha_20.rs @@ -168,7 +168,7 @@ impl VersionT for Version { // Migrate SMTP: rename server->host, login->username, add security field migrate_smtp(db); - + // Delete ui.name (moved to serverInfo.name) if let Some(ui) = db .get_mut("public")