You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(arguments): bounded POSIX word parsing for tool output #202
Coordinated with FastLED/cli#242. The app uses shell_words::split only for em++ --cflags output (wasm_build.rs:494); command creation already belongs to the kernel. Add a feature-gated semantic arguments::parse_posix capability with private exact shell-words backend, standard owned strings and facade-owned errors. Preserve quoting, escapes, empty words, comments and literal expansion syntax without invoking a shell. Bound source bytes before backend allocation and output word count; reject NUL explicitly. No Windows command-line syntax claim, variable/glob/command expansion, new runtime or public backend types.
Acceptance: missing-API RED then quoting/limits/error GREEN; generic tests upstream; default graph excludes optional backend; strict Clippy and supported-target checks. App adoption must retain cache and empty-cflags policy locally, remove direct shell-words, and run a real WASM build because it touches native build code. Decisions: 1 MiB maximum input and 16384 output words, with typed errors rather than truncation. Source length bounds parser allocation even when output word count is rejected after parsing.
Complete and adopted on both sides; closing with the evidence rather than leaving it open.
kernal-api — gated behind command-arguments, implemented in src/arguments.rs. with tests/posix_arguments.rs as its contract tests. It landed with #220's application-foundations rebase.
FastLED — adopted through the pinned release tag: crates/fastled-cli/src/wasm_build.rs: kernal_api::arguments::parse_posix(stdout.trim()).context("parse em++ --cflags output")?
Activity
feat(arguments): bounded POSIX tool-output decoding (refs #202)
feat: rebase application foundations onto kernal-api (#220)
zackees commentedon Sep 16, 2026
Complete and adopted on both sides; closing with the evidence rather than leaving it open.
kernal-api — gated behind
command-arguments, implemented insrc/arguments.rs. withtests/posix_arguments.rsas its contract tests. It landed with #220's application-foundations rebase.FastLED — adopted through the pinned release tag: crates/fastled-cli/src/wasm_build.rs:
kernal_api::arguments::parse_posix(stdout.trim()).context("parse em++ --cflags output")?🤖 Generated with Claude Code