Repository navigation
Add safe recipe prefix handoff and action observation - #140
Conversation
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
…-202-h4-recipe-observer
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-browser/src/lib.rs, crates/tinycomputer-browser/src/observer.rs, crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/sessions/page.rs, crates/tinycomputer-browser/src/sessions/sessions_tests/page_tests.rs, crates/tinycomputer-bus/src/agent/types/request.rs, crates/tinycomputer-bus/src/version/mod.rs, crates/tinycomputer-bus/src/version/version_tests.rs, crates/tinycomputer-engine/Cargo.toml, crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/describe.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/persistence.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/describe_tests.rs, crates/tinycomputer-engine/src/task/task_tests/persistence_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, tinysweeper/description, tinysweeper/tests Before merge
How this fits togetherflowchart LR
n0["FlowRunner"]:::impacted
n1["TaskId"]:::impacted
n2["journaled"]:::impacted
n3["Value"]:::impacted
n0 -->|uses| n1
n2 -->|uses| n1
n2 -->|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. |
|
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 |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
tinysweeper found nothing blocking, but could not review everything, so this is not an approval: crates/tinycomputer-browser/src/lib.rs, crates/tinycomputer-browser/src/observer.rs, crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/sessions/page.rs, crates/tinycomputer-browser/src/sessions/sessions_tests/page_tests.rs, crates/tinycomputer-bus/src/agent/types/request.rs, crates/tinycomputer-bus/src/version/mod.rs, crates/tinycomputer-bus/src/version/version_tests.rs and 15 more.
$0.0001 · 0 in / 0 out · 730 embedded · ladder/vectors-oai3
There was a problem hiding this comment.
tinysweeper found nothing blocking, but could not review everything, so this is not an approval: crates/tinycomputer-browser/src/lib.rs, crates/tinycomputer-browser/src/observer.rs, crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/sessions/page.rs, crates/tinycomputer-browser/src/sessions/sessions_tests/page_tests.rs, crates/tinycomputer-bus/src/agent/types/request.rs, crates/tinycomputer-bus/src/version/mod.rs, crates/tinycomputer-bus/src/version/version_tests.rs and 15 more.
$0.0001 · 0 in / 0 out · 730 embedded · ladder/vectors-oai3
TinyComputer currently runs a supplied flow as the whole task, so a safe recipe prefix could finish before the requested purchase was complete. This adds an opt-in same-task handoff that drafts the remaining goal from the retained browser page, keeps the session open for questions, validates the continuation before publishing or running it, and accounts planner calls and elapsed planning time against the task budget.
The browser observer reports only successful action metadata and fresh snapshot target uniqueness, without payloads or typed values. Planner context includes only HTTPS origin and counts of successful safe action classes, never report labels or page text. Older start requests and paused-task snapshots default the handoff flag to false.
Validation: focused engine plan, persistence, describe-schema, browser page, and bus agent tests; strict Clippy for tinycomputer-browser, tinycomputer-engine, and tinycomputer-bus; cargo fmt --all.
Part of tinyhumansai/openintents-core#202, supports #196. Worker replay dispatch enforcement lands separately before #196 completion. Parent independently passed 17 planning tests, 21 browser page tests, six Describe tests and 11 persistence tests on this head.