Make the central Rust CI profile (fmt, clippy --all-targets -D warnings, test) pass for kfmtbox.
rustfmt:rustfmt.toml/.rustfmt.toml used nightly-only options that stable ignores; replaced with the KOF standard stable config (K22-CODE-RS-02) and reformatted.
Real defect:test_render_flower_box failed on the pristine base: the renderer drew / borders instead of the documented ╭─╮ │ text │ ╰─╯ box. Fixed (char-width aware).
Clippy (25 errors to 0): checked/saturating arithmetic, checked_div, no indexing/slicing/unwrap in box extraction (split_once/iterators), # Errors docs, stray #[allow] removed, and the style map is now table-driven (its frame fell from 5629 bytes to 328).
Cargo.lock committed (it was ignored; K22-CODE-RS-05).
Gate change needing review
clippy.tomlstack-size-threshold 256 -> 2048. The unit is bytes (clippy default 512000; the KOF standard does not set it). Measured debug frames after refactoring are 297-1633 bytes (max render_flower_box), clap/serde macro frames < 1024, so 256 could never pass. 2048 is the smallest round value above the measured maximum. Do not merge until the coordinator confirms this.
## Summary
Make the central Rust CI profile (`fmt`, `clippy --all-targets -D warnings`, `test`) pass for kfmtbox.
- **rustfmt:** `rustfmt.toml`/`.rustfmt.toml` used nightly-only options that stable ignores; replaced with the KOF standard stable config (K22-CODE-RS-02) and reformatted.
- **Real defect:** `test_render_flower_box` failed on the pristine base: the renderer drew `/` borders instead of the documented `╭─╮ │ text │ ╰─╯` box. Fixed (char-width aware).
- **Clippy (25 errors to 0):** checked/saturating arithmetic, `checked_div`, no indexing/slicing/`unwrap` in box extraction (`split_once`/iterators), `# Errors` docs, stray `#[allow]` removed, and the style map is now table-driven (its frame fell from 5629 bytes to 328).
- `Cargo.lock` committed (it was ignored; K22-CODE-RS-05).
## Gate change needing review
`clippy.toml` `stack-size-threshold` 256 -> 2048. The unit is bytes (clippy default 512000; the KOF standard does not set it). Measured debug frames after refactoring are 297-1633 bytes (max `render_flower_box`), clap/serde macro frames < 1024, so 256 could never pass. 2048 is the smallest round value above the measured maximum. **Do not merge until the coordinator confirms this.**
## Verification
`rust:1` toolchain (1.97): `cargo fmt --check`, `cargo clippy --locked --all-targets [--all-features] -- -D warnings`, `cargo build`, `cargo test` (4 passed) all pass locally.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Make the central Rust CI profile (
fmt,clippy --all-targets -D warnings,test) pass for kfmtbox.rustfmt.toml/.rustfmt.tomlused nightly-only options that stable ignores; replaced with the KOF standard stable config (K22-CODE-RS-02) and reformatted.test_render_flower_boxfailed on the pristine base: the renderer drew/borders instead of the documented╭─╮ │ text │ ╰─╯box. Fixed (char-width aware).checked_div, no indexing/slicing/unwrapin box extraction (split_once/iterators),# Errorsdocs, stray#[allow]removed, and the style map is now table-driven (its frame fell from 5629 bytes to 328).Cargo.lockcommitted (it was ignored; K22-CODE-RS-05).Gate change needing review
clippy.tomlstack-size-threshold256 -> 2048. The unit is bytes (clippy default 512000; the KOF standard does not set it). Measured debug frames after refactoring are 297-1633 bytes (maxrender_flower_box), clap/serde macro frames < 1024, so 256 could never pass. 2048 is the smallest round value above the measured maximum. Do not merge until the coordinator confirms this.Verification
rust:1toolchain (1.97):cargo fmt --check,cargo clippy --locked --all-targets [--all-features] -- -D warnings,cargo build,cargo test(4 passed) all pass locally.🤖 Generated with Claude Code