Repository navigation
feat(tinycomputer-engine): add bounded host recovery hook - #136
Conversation
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Tiny Sweeper reviewTiny Sweeper reviewed this change across 5 lane(s) and found 0 active actionable finding(s). Detailed lane evidence and any incomplete work are listed below. State: Incomplete Review snapshot
Completeness: Incomplete FeaturesNone identified with supported citations. TestsNo supported feature-to-test mapping was produced. Test execution is not inferred.
FindingsNo active actionable findings. Could not review: crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/recovery.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/rescue_tests.rs, tinysweeper/description, tinysweeper/tests Before merge
How this fits togetherflowchart LR
n0["planner<br/>changed"]:::changed
n1["Script<br/>changed"]:::changed
n2["FlowRunner"]:::impacted
n3["Planner"]:::impacted
n4["Tasks"]:::impacted
n1 -->|implements| n2
n4 -->|uses| n0
n4 -->|uses| n2
n4 -->|uses| n3
classDef changed fill:#0d4429,stroke:#238636,color:#e6edf3
classDef impacted fill:#161b22,stroke:#6e7681,color:#c9d1d9
classDef flagged fill:#5a1e02,stroke:#d93f0b,color:#ffffff
classDef blocking fill:#67060c,stroke:#f85149,color:#ffffff
Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
There was a problem hiding this comment.
tinysweeper found nothing blocking, but could not review everything, so this is not an approval: crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/recovery.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/rescue_tests.rs, tinysweeper/description, tinysweeper/tests.
$0.0001 · 0 in / 0 out · 563 embedded · ladder/vectors-oai3
Adds an optional, bounded TinyComputer host recovery hook for a failed top-level step. The hook runs after the configured Jev rescuer gives up or is unavailable, receives redacted context and remaining task constraints/budget, and defaults to preserving the task failure. The engine only resumes the exact remaining tail after a top-level atomic step; nested branch/loop failures and stop-before steps fail closed.
Tests cover same-task tail continuation, remaining budget propagation, and refusing nested recovery when it could skip a sibling or replay a completed prefix.
Refs tinyhumansai/openintents-core#195
Part of tinyhumansai/openintents-core#202
Local gates:
cargo fmt --all --checkcargo test -p tinycomputer-engine host_recovery_(2 passed)cargo clippy -p tinycomputer-engine --all-targets -- -D warnings