diff --git a/.kanon-ci.toml b/.kanon-ci.toml index d3ff5134..ea965fd1 100644 --- a/.kanon-ci.toml +++ b/.kanon-ci.toml @@ -5,12 +5,11 @@ # Forge CI pipeline for forkwright/harmonia. # # Mirrors the hardcoded default Rust gate (fmt → check → clippy → nextest -# → lint) but pins per-stage build + test concurrency to 8. Without this -# cap, cargo defaults to num_cpus (32 on verda, the forge CI box) and -# parallel rustc + nextest processes spike RSS high enough to starve -# concurrent gate and dispatch work. 8 keeps a single CI run's peak low -# enough that gates coexist with the resident dispatch fleet on verda; -# metis is the live-instance box and runs no builds at all. +# → lint) but pins per-stage build + test concurrency to 8. Without this cap, +# cargo defaults to num_cpus — a property of whichever machine runs CI rather +# than of this build — and parallel rustc + nextest processes spike RSS high +# enough to starve the gate and dispatch work running alongside them. 8 keeps +# a single run's peak low enough that those coexist on one host. # # Keep in sync with `crates/archeion/src/ci_config.rs::default_rust_gate` # when the upstream default changes — only the `--jobs` / `--test-threads` diff --git a/CLAUDE.md b/CLAUDE.md index 3600af49..4a99c631 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -16,7 +16,7 @@ technology choices. ## Standards -Canonical standards live under `~/dev/kanon/crates/basanos/standards/`: +Canonical standards live under `crates/basanos/standards/` in `forkwright/kanon`: STANDARDS.md, RUST.md, SQL.md, SHELL.md, WRITING.md, and AGENT-DOCS.md. ## Build and test diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e74c3bf..1b15cd74 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -50,11 +50,11 @@ The GitHub mirror at `github.com/forkwright/harmonia` works as before. A PR open ## Fallback -If the forge is unreachable, push to `github` and open a GitHub PR. When the forge is back, its pr-sync worker picks up the PR and continues from there. This is an escape hatch, not a preferred path - use it only when kanon.lan is actually down. +If the forge is unreachable, push to `github` and open a GitHub PR. When the forge is back, its pr-sync worker picks up the PR and continues from there. This is an escape hatch, not a preferred path - use it only when the forge is genuinely down. ## CI configuration -`.kanon-ci.toml` at the repo root defines the pipeline. Harmonia runs the full Rust gate across the media-pipeline workspace (19 crates: apotheke, archon, ergasia, paroche, syndesis, syndesmos, kathodos, and the rest): fmt, check, clippy, nextest, kanon lint. Per-stage `--jobs 8` / `--test-threads 8` caps keep peak RSS under the menos budget when other fleet work is resident. Keep those caps in sync with `crates/archeion/src/ci_config.rs::default_rust_gate` on the kanon side. +`.kanon-ci.toml` at the repo root defines the pipeline. Harmonia runs the full Rust gate across the media-pipeline workspace (19 crates: apotheke, archon, ergasia, paroche, syndesis, syndesmos, kathodos, and the rest): fmt, check, clippy, nextest, kanon lint. Per-stage `--jobs 8` / `--test-threads 8` caps keep a single run's peak RSS low enough to coexist with the other work resident on the same host; the rationale lives in that file's header comment. Keep those caps in sync with `crates/archeion/src/ci_config.rs::default_rust_gate` on the kanon side. ## Branch naming and commit format diff --git a/Cargo.lock b/Cargo.lock index 1d25544a..c03b2624 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1812,7 +1812,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -5016,14 +5016,14 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] name = "rustls" -version = "0.23.43" +version = "0.23.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0283386ce02abc0151e1761d08802dfe86c173b0b494af5cbc086574e453da06" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" dependencies = [ "aws-lc-rs", "once_cell", @@ -5074,7 +5074,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -5085,9 +5085,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" -version = "0.103.13" +version = "0.103.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" dependencies = [ "aws-lc-rs", "ring", @@ -6268,10 +6268,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] diff --git a/crates/komide/src/service/tests.rs b/crates/komide/src/service/tests.rs index 47fea072..43c0f9a7 100644 --- a/crates/komide/src/service/tests.rs +++ b/crates/komide/src/service/tests.rs @@ -102,7 +102,7 @@ async fn validate_url_accepts_loopback_with_port() { #[tokio::test] async fn validate_url_accepts_lan_host() { - assert!(validate_url("http://kanon.lan").is_ok()); + assert!(validate_url("http://feeds.lan").is_ok()); } #[tokio::test] diff --git a/docs/README.md b/docs/README.md index d0c231d0..01a9699b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,7 +13,7 @@ Agents: for a compressed crate map and technology index, load - [PROJECT.md](PROJECT.md): Project overview and phase status - [LESSONS.md](LESSONS.md): Operational rules from real failures - [WORKING-AGREEMENT.md](WORKING-AGREEMENT.md): Syn + Cody collaboration protocol -- Code standards: `~/dev/kanon/crates/basanos/standards/` (kanon-synced) +- Code standards: `crates/basanos/standards/` in `forkwright/kanon` (kanon-synced) ## Architecture diff --git a/docs/architecture/errors.md b/docs/architecture/errors.md index 2155cc05..e78ad6b3 100644 --- a/docs/architecture/errors.md +++ b/docs/architecture/errors.md @@ -2,7 +2,7 @@ > How Harmonia crates define, propagate, and log errors across subsystem boundaries. > Error enums listed here map 1:1 to the crate inventory in [cargo.md](cargo.md). -> Patterns mandated by `~/dev/kanon/crates/basanos/standards/RUST.md` and the GreptimeDB reference architecture. +> Patterns mandated by `crates/basanos/standards/RUST.md` in `forkwright/kanon` and the GreptimeDB reference architecture. ## Purpose