Skip to content

feat(tinycomputer-engine): recover plans on the same task - #138

Merged
senamakel merged 1 commit into
epic/202-tinycomputerfrom
epic-202-h3f-fallback
Oct 21, 2026
Merged

senamakel merged 1 commit into
epic/202-tinycomputerfrom
epic-202-h3f-fallback

Conversation

@senamakel

Copy link
Copy Markdown
Member

Adds a default-off host recovery seam for tasks that have no planner and for configured planners that fail. An opted-in host can supply a flow for the existing task and browser session. TinyComputer validates that flow against the task's fact and secret names before running it; invalid or unavailable plans preserve needs_plan or the existing planning failure. No replacement task is created.

The task's caller facts are now retained when it enters needs_plan, so validation and the recovery request see the same names the caller supplied without exposing their values.

Refs tinyhumansai/openintents-core#195
Part of tinyhumansai/openintents-core#202

Local gates:

  • cargo fmt --all --check
  • cargo test -p tinycomputer-engine host_ (13 passed)
  • cargo clippy -p tinycomputer-engine --all-targets -- -D warnings

Co-authored-by: Medulla <medulla@tinyhumans.ai>
@tinysweeper

tinysweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Tiny Sweeper review

Tiny 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
Priority: none
Reviewed head: a2632134ffc3
Updated: 2026-10-21T02:01:30Z

Review snapshot

Change surface Files Review signal Count
Production 6 Active findings 0
Tests 3 Noted findings 0
Documentation 0 Resolved findings 0
Configuration 0 Pending checks/questions 20

Completeness: Incomplete
Test assessment: No supported feature-to-test mapping was available; this does not mean tests are absent or passed.

Features

None identified with supported citations.

Tests

No supported feature-to-test mapping was produced. Test execution is not inferred.

  • Unreviewed: tinysweeper/tests

Findings

No active actionable findings.

Could not review: crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, crates/tinycomputer-engine/src/task/task_tests/start_tests.rs, tinysweeper/description, tinysweeper/tests

Before merge

  • Complete the critique review for crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, crates/tinycomputer-engine/src/task/task_tests/start_tests.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs.
  • Complete the security review for crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, crates/tinycomputer-engine/src/task/task_tests/start_tests.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs.
  • Complete the tests review for tinysweeper/tests.
  • Complete the description review for tinysweeper/description.

How this fits together

flowchart LR
  n0["Tasks<br/>changed"]:::changed
  n1["plan_then_drive_with_page<br/>changed"]:::changed
  n2["FailedStepRecoveryResult<br/>changed"]:::changed
  n3["Script<br/>changed"]:::changed
  n4["planned"]:::impacted
  n5["FlowRunner"]:::impacted
  n6["Planner"]:::impacted
  n7["journaled"]:::impacted
  n8["Cell"]:::impacted
  n0 -->|uses| n5
  n0 -->|uses| n6
  n0 -->|uses| n8
  n1 -->|uses| n5
  n1 -->|uses| n6
  n1 -->|uses| n8
  n3 -->|uses| n2
  n3 -->|implements| n5
  n4 -->|uses| n0
  n4 -->|uses| n6
  n7 -->|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
Loading
Agent review details

critique

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, crates/tinycomputer-engine/src/task/task_tests/start_tests.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs
  • Lane summary: Reviewed 0 files; 0 findings. 9 files could not be reviewed: crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, crates/tinycomputer-engine/src/task/task_tests/start_tests.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs.

security

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, crates/tinycomputer-engine/src/task/task_tests/start_tests.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs
  • Lane summary: Reviewed 0 files; 0 findings. 9 files could not be reviewed: crates/tinycomputer-engine/src/lib.rs, crates/tinycomputer-engine/src/task/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs, crates/tinycomputer-engine/src/task/task_tests/start_tests.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs.

tests

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: tinysweeper/tests
  • Lane summary: No reviewer produced a usable response.

commits

  • Conclusion: Neutral
  • Scope reviewed: all assigned evidence
  • Lane summary: Nothing sensitive found in what this pull request commits.

description

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: tinysweeper/description
  • Lane summary: No reviewer produced a usable response.
Evidence and run details
  • Models: ladder/vectors-oai3
  • Spend: $0.000084
  • Tokens: 0 input · 0 output · 0 cached · 643 embedding
Head State Pass summary
a2632134ffc3 incomplete 0 active finding(s), 0 resolved finding(s) (at 2026-10-21T02:01:30Z)

tinysweeper 0.1.2

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-21T02:01:03.775773Z
We couldn’t complete this review. Comment @codex review to try again.
a263213 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1429578b-30a6-43b8-883d-f7e518e577ee

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@senamakel
senamakel merged commit ec7ad0c into epic/202-tinycomputer Oct 21, 2026
8 of 15 checks passed

@tinysweeper tinysweeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/controller.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/mod.rs, crates/tinycomputer-engine/src/task/plan_recovery.rs, crates/tinycomputer-engine/src/task/store.rs, crates/tinycomputer-engine/src/task/task_tests.rs, crates/tinycomputer-engine/src/task/task_tests/plan_tests.rs and 3 more.

$0.0001 · 0 in / 0 out · 643 embedded · ladder/vectors-oai3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant