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
Allow consumer applications to replace direct anyhow use with a kernal-api-owned, bounded error context type while preserving fail-loud diagnostics.
Consumer
zackees/fastled-wasm currently uses anyhow::{Result, Context, bail} across archive, install, build, project, cache, runtime, and viewer business logic. Clap and serde have already been removed from that application in favor of kernal-api facades.
Acceptance criteria
Public opt-in error-context feature that does not pull application-specific dependencies.
Owned Error type supporting static/dynamic messages, Display, std::error::Error, and source chaining for standard errors.
Result<T> alias plus ergonomic context and construction helpers sufficient for the FastLED migration.
Bounded formatting / no accidental input echo policy documented and covered by contract tests.
FastLED can remove its direct anyhow manifest dependency and preserve its existing user-facing error context.
Complete and adopted on both sides; closing with the evidence rather than leaving it open.
kernal-api — gated behind error-context, implemented in src/error.rs.. It landed with #220's application-foundations rebase.
FastLED — adopted through the pinned release tag: crates/fastled-cli/src/error_compat.rs: pub(crate) use kernal_api::error::{message, Context, Error, Result};
Activity
feat(error): add bounded application context facade
feat(command): add bounded command schema foundation (#216)
feat(error): add bounded application context facade
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
error-context, implemented insrc/error.rs.. It landed with #220's application-foundations rebase.FastLED — adopted through the pinned release tag: crates/fastled-cli/src/error_compat.rs:
pub(crate) use kernal_api::error::{message, Context, Error, Result};🤖 Generated with Claude Code