Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions crates/bashkit-js/test-fixtures/random-fs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions crates/bashkit-python/test-fixtures/random-fs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions crates/bashkit/fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions crates/bashkit/src/interpreter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10186,7 +10186,9 @@ impl Interpreter {
shell: Some(shell_ref),
};

let plan_result = AssertUnwindSafe(builtin.execution_plan(&plan_ctx))
// Call the trait object directly so Arc forwarding does not
// allocate and poll an additional async wrapper.
let plan_result = AssertUnwindSafe(builtin.as_ref().execution_plan(&plan_ctx))
.catch_unwind()
.await;

Expand Down Expand Up @@ -10306,7 +10308,9 @@ impl Interpreter {
};

// THREAT[TM-INT-001]: Execute builtin with panic catching for security
let result = AssertUnwindSafe(builtin.execute(ctx)).catch_unwind().await;
let result = AssertUnwindSafe(builtin.as_ref().execute(ctx))
.catch_unwind()
.await;

let mut result = match result {
Ok(Ok(exec_result)) => exec_result,
Expand Down
8 changes: 4 additions & 4 deletions examples/hyperlight/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions knowledge/foundations/builtins.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ hook restrictions, bindings, tests and explicitly buffered roadmap boundaries.
## Status
Implemented

Builtin dispatch calls the `dyn Builtin` object inside its `Arc` directly for
execution-plan lookup and execution. Calling the forwarding implementation
on `Arc<dyn Builtin>` creates an additional boxed future at each boundary.
The direct call keeps the existing hooks, budgets, and panic handling.

## Decision

Bashkit provides built-in commands for script execution in a virtual environment.
Expand Down
12 changes: 12 additions & 0 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ criteria = "safe-to-deploy"
delta = "0.1.11 -> 0.1.12"
notes = "Reviewed existing Visual Studio discovery predicate rewrites with filter/and_then/then. Installation paths and architecture existence checks unchanged. No new process invocation or unsafe."

[[audits.form_urlencoded]]
who = "Mykhailo Chalyi <mike@chaliy.name>"
criteria = "safe-to-deploy"
delta = "1.2.2 -> 1.2.3"
notes = "Reviewed complete source and manifest delta. Serializer::for_suffix clamps its start position to target length instead of panicking. Existing capacity and UTF-8 handling is unchanged. The percent-encoding lower bound is raised to 2.3.2, which was already resolved. No new unsafe code or ambient capabilities."

[[audits.get-size-derive2]]
who = "Mykhailo Chalyi <mykhailo.chalyi-contractor@procore.com>"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -948,6 +954,12 @@ criteria = "safe-to-deploy"
delta = "2.1.3 -> 2.1.4"
notes = "Reviewed complete delta: formatting and private internal visibility changes, hash arithmetic and buffer reads unchanged. No new unsafe or host capability."

[[audits.url]]
who = "Mykhailo Chalyi <mike@chaliy.name>"
criteria = "safe-to-deploy"
delta = "2.5.8 -> 2.5.9"
notes = "Reviewed runtime and manifest delta. Blob origin recursion now accepts only http, https, or file for the inner URL, resolving RUSTSEC-2026-0592. Dot-segment removal searches only the path and keeps its root and drive-letter slash. File hosts are retained, non-special ports reject backslashes, and path carets are percent encoded. Bounds remain checked. New dependency requires reviewed form_urlencoded 1.2.3. No new unsafe code or ambient capabilities."

[[audits.uuid]]
who = "Mykhailo Chalyi <mike@chaliy.name>"
criteria = "safe-to-deploy"
Expand Down
Loading