From 4296ed9d194ecf55fabfd0054728c9c5b16dc582 Mon Sep 17 00:00:00 2001 From: shanu Date: Fri, 23 Oct 2026 10:45:50 +0530 Subject: [PATCH 1/2] Let a task set how many turns a do step may spend A `do` step had a fixed eight turns (`DO_TURNS`). On a shop's cart or checkout one step can need more moves than that, and the step then fails as not accomplished while it is still making progress. - `TaskBudget.max_do_turns` and `RunFlowRequest.max_do_turns`: optional, 8 when unset, capped by the module at 32 (`MAX_DO_TURNS`). - The task controller passes the budget's limit to every flow run. - Contract 2.28; the thresholds table, the task docs, the StartTask schema and the described budget list the field. --- .../tinycomputer-bus/src/agent/agent_tests.rs | 17 +++++++++ .../src/agent/types/request.rs | 3 ++ .../tinycomputer-bus/src/flow/flow_tests.rs | 18 +++++++++ .../src/flow/types/request.rs | 6 +++ crates/tinycomputer-bus/src/version/mod.rs | 4 +- .../src/version/version_tests.rs | 7 +++- .../agentic/flow/flow_tests/do_loop_tests.rs | 37 +++++++++++++++++++ .../src/agentic/flow/mod.rs | 5 +++ .../src/agentic/flow/run.rs | 5 ++- .../src/agentic/flow/steps/mod.rs | 7 ++-- crates/tinycomputer-engine/src/task/budget.rs | 1 + .../tinycomputer-engine/src/task/describe.rs | 6 +++ .../src/task/task_tests/describe_tests.rs | 1 + .../src/task/task_tests/start_tests.rs | 27 ++++++++++++++ .../schemas/start_task.schema.json | 1 + .../tinycomputer-bus/agent-and-tasks.md | 3 +- docs/technical/decision-thresholds.md | 2 +- .../specs/desktop-module-contract.md | 5 +++ docs/technical/tasks.md | 3 ++ 19 files changed, 148 insertions(+), 10 deletions(-) diff --git a/crates/tinycomputer-bus/src/agent/agent_tests.rs b/crates/tinycomputer-bus/src/agent/agent_tests.rs index 1bbbf83e4..a4d745c64 100644 --- a/crates/tinycomputer-bus/src/agent/agent_tests.rs +++ b/crates/tinycomputer-bus/src/agent/agent_tests.rs @@ -317,6 +317,23 @@ fn host_context_debug_output_hides_the_opaque_value() { assert!(!format!("{context:?}").contains("secret-capability")); } +#[test] +fn a_do_turn_limit_pins_its_wire_form() { + let request: StartTaskRequest = serde_json::from_value(json!({ + "task": "buy a pack of dried fruit", + "budget": {"max_do_turns": 16} + })) + .unwrap(); + assert_eq!(request.budget.max_do_turns, Some(16)); + assert_eq!( + serde_json::to_value(request.budget).unwrap()["max_do_turns"], + 16 + ); + let unset: StartTaskRequest = + serde_json::from_value(json!({"task": "buy a pack of dried fruit"})).unwrap(); + assert_eq!(unset.budget.max_do_turns, None); +} + #[test] fn rescues_pin_their_wire_form() { let request: StartTaskRequest = serde_json::from_value(json!({ diff --git a/crates/tinycomputer-bus/src/agent/types/request.rs b/crates/tinycomputer-bus/src/agent/types/request.rs index d6e5850e8..5daac815c 100644 --- a/crates/tinycomputer-bus/src/agent/types/request.rs +++ b/crates/tinycomputer-bus/src/agent/types/request.rs @@ -233,6 +233,9 @@ pub struct TaskBudget { /// How many ways each decision is asked before its answers are averaged; /// the module's default when unset. pub votes: Option, + /// Turns each `do` step may spend before it fails as not accomplished; + /// the module's default (8) when unset, at most 32. + pub max_do_turns: Option, /// How each flow run asks its decisions; the narrow strategy when unset. pub strategy: Option, /// How much each flow run deliberates before acting; the deep level diff --git a/crates/tinycomputer-bus/src/flow/flow_tests.rs b/crates/tinycomputer-bus/src/flow/flow_tests.rs index 4a13b3f19..a148f0603 100644 --- a/crates/tinycomputer-bus/src/flow/flow_tests.rs +++ b/crates/tinycomputer-bus/src/flow/flow_tests.rs @@ -204,6 +204,24 @@ fn a_brief_pins_its_wire_form_and_defaults_empty() { })) .unwrap(); assert_eq!((request.votes, request.brief.goal.as_str()), (3, "g")); + assert_eq!( + request.max_do_turns, None, + "unset keeps the module's default" + ); + assert!( + serde_json::to_value(&request) + .unwrap() + .get("max_do_turns") + .is_none(), + "an unset turn limit is left off the wire" + ); + let request: RunFlowRequest = serde_json::from_value(json!({ + "flow": {"app": "Mail", "steps": ["x"]}, + "max_do_turns": 12 + })) + .unwrap(); + assert_eq!(request.max_do_turns, Some(12)); + assert_eq!(serde_json::to_value(&request).unwrap()["max_do_turns"], 12); for (flow_loop, wire) in [ (FlowLoop::Vote, "vote"), (FlowLoop::PageKind, "page_kind"), diff --git a/crates/tinycomputer-bus/src/flow/types/request.rs b/crates/tinycomputer-bus/src/flow/types/request.rs index 2e24025ea..cfea954e1 100644 --- a/crates/tinycomputer-bus/src/flow/types/request.rs +++ b/crates/tinycomputer-bus/src/flow/types/request.rs @@ -196,6 +196,11 @@ pub struct RunFlowRequest { /// answers are averaged: 1 asks once. Jev calls are cheap, so accuracy /// is bought with more of them. Capped by the module at 9. pub votes: u32, + /// Turns a `do` step may spend before it fails as not accomplished; the + /// module's default (8) when unset, capped by the module at 32. A shop's + /// checkout can need more moves in one step than a desktop app does. + #[serde(skip_serializing_if = "Option::is_none")] + pub max_do_turns: Option, /// Who the run is for and what it is after, shown to Jev with every /// question so each small decision is made knowing the whole task. pub brief: FlowBrief, @@ -241,6 +246,7 @@ impl Default for RunFlowRequest { max_actions: 60, max_model_calls: 3000, votes: 7, + max_do_turns: None, brief: FlowBrief::default(), disabled_loops: Vec::new(), memory: Vec::new(), diff --git a/crates/tinycomputer-bus/src/version/mod.rs b/crates/tinycomputer-bus/src/version/mod.rs index bc21fef6a..cf33c202b 100644 --- a/crates/tinycomputer-bus/src/version/mod.rs +++ b/crates/tinycomputer-bus/src/version/mod.rs @@ -8,7 +8,7 @@ //! release workflow bumps, which tracks the shipped artifact. /// The wire contract version this crate defines. -pub const CONTRACT_VERSION: (u32, u32) = (2, 27); +pub const CONTRACT_VERSION: (u32, u32) = (2, 28); /// Returns whether a host holding [`CONTRACT_VERSION`] can bind to a module /// reporting `module`. @@ -22,7 +22,7 @@ pub const CONTRACT_VERSION: (u32, u32) = (2, 27); /// ``` /// # use tinycomputer_bus::{is_compatible, CONTRACT_VERSION}; /// assert!(is_compatible(CONTRACT_VERSION)); -/// assert!(is_compatible((2, 27))); +/// assert!(is_compatible((2, 28))); /// assert!(!is_compatible((2, 11))); /// assert!(!is_compatible((1, 8))); /// ``` diff --git a/crates/tinycomputer-bus/src/version/version_tests.rs b/crates/tinycomputer-bus/src/version/version_tests.rs index 529e2ab7e..e25ea5aca 100644 --- a/crates/tinycomputer-bus/src/version/version_tests.rs +++ b/crates/tinycomputer-bus/src/version/version_tests.rs @@ -6,7 +6,7 @@ use super::{CONTRACT_VERSION, binds, is_compatible}; #[test] fn the_shipped_contract_version_is_pinned() { - assert_eq!(CONTRACT_VERSION, (2, 27)); + assert_eq!(CONTRACT_VERSION, (2, 28)); } #[test] @@ -16,7 +16,7 @@ fn the_contract_binds_to_itself() { #[test] fn a_newer_minor_on_the_module_side_binds() { - assert!(is_compatible((2, 27))); + assert!(is_compatible((2, 28))); assert!(is_compatible((2, 97))); // 2.24 adds same-task flow-to-planner handoff to StartTask. // 2.22 adds optional host-held secret handles to StartTask and RunFlow. @@ -44,6 +44,9 @@ fn a_newer_minor_on_the_module_side_binds() { // 2.26 adds TraceSinkHost, so a 2.25 module lacks that callback. // 2.27 relays opaque host context to ConsequenceHost reviews. A 2.26 // module would drop that context, so a host requiring it cannot bind. + // 2.28 adds `max_do_turns` to TaskBudget and RunFlowRequest. A 2.27 + // module ignores it and keeps every `do` step at 8 turns. + assert!(!is_compatible((2, 27))); assert!(!is_compatible((2, 26))); assert!(!is_compatible((2, 25))); assert!(!is_compatible((2, 24))); diff --git a/crates/tinycomputer-engine/src/agentic/flow/flow_tests/do_loop_tests.rs b/crates/tinycomputer-engine/src/agentic/flow/flow_tests/do_loop_tests.rs index 6f2d1cbe6..5263d16aa 100644 --- a/crates/tinycomputer-engine/src/agentic/flow/flow_tests/do_loop_tests.rs +++ b/crates/tinycomputer-engine/src/agentic/flow/flow_tests/do_loop_tests.rs @@ -633,6 +633,43 @@ async fn an_action_judged_unhelpful_is_undone_and_not_tried_again() { assert_eq!(run.result.stop, FlowStopReason::Completed); } +#[tokio::test] +async fn a_do_step_spends_the_turns_its_run_allows() { + let ended_after = |max_do_turns: Option| async move { + let run = run_with( + App::quirky(Quirk::Frozen), + json!({"app": "Mail", "steps": ["open the search results"]}), + |request| { + request.max_do_turns = max_do_turns; + request.max_actions = 120; + }, + |id, question, _| (id == "move").then(|| pick(question, "wait", 0.9)), + ) + .await; + assert_eq!(run.result.stop, FlowStopReason::StepFailed); + let step = &run.result.steps[0]; + (step.turns, step.note.clone()) + }; + + let (turns, note) = ended_after(None).await; + assert_eq!(turns, 8, "the default is unchanged"); + assert!(note.contains("not accomplished after 8 turns"), "{note}"); + + let (turns, note) = ended_after(Some(3)).await; + assert_eq!(turns, 3); + assert!(note.contains("not accomplished after 3 turns"), "{note}"); + + let (turns, note) = ended_after(Some(12)).await; + assert_eq!(turns, 12); + assert!(note.contains("not accomplished after 12 turns"), "{note}"); + + let (_, note) = ended_after(Some(500)).await; + assert!( + note.contains("not accomplished after 32 turns"), + "capped by the module: {note}" + ); +} + #[tokio::test] async fn waits_that_change_nothing_are_not_a_stall_and_stop_being_offered() { let run = run_with( diff --git a/crates/tinycomputer-engine/src/agentic/flow/mod.rs b/crates/tinycomputer-engine/src/agentic/flow/mod.rs index 96e4635d1..44a2579d8 100644 --- a/crates/tinycomputer-engine/src/agentic/flow/mod.rs +++ b/crates/tinycomputer-engine/src/agentic/flow/mod.rs @@ -97,6 +97,9 @@ const MAX_ACTIONS: u32 = 120; /// Upper bound on [`RunFlowRequest::max_model_calls`]. Jev is cheap, and /// every framing of a voted decision is one evaluation. const MAX_CALLS: u32 = 10_000; +/// Upper bound on [`RunFlowRequest::max_do_turns`]: a step stuck past this +/// many turns is better rescued than tried again. +const MAX_DO_TURNS: u32 = 32; /// Choices, picks, and entries remembered for the brief's `so_far`. const MAX_SO_FAR: usize = 12; /// Longest goal the brief carries, in characters. @@ -272,6 +275,8 @@ pub(super) struct FlowRun<'r, B> { pub(super) page: Option, /// How many ways each decision is asked. votes: u32, + /// Turns a `do` step may spend. + pub(super) do_turns: u32, /// The secret values, to mask every request with. secrets: Facts, /// Opaque host handles, never substituted into flow text. diff --git a/crates/tinycomputer-engine/src/agentic/flow/run.rs b/crates/tinycomputer-engine/src/agentic/flow/run.rs index 8f7db8cf3..f0583df80 100644 --- a/crates/tinycomputer-engine/src/agentic/flow/run.rs +++ b/crates/tinycomputer-engine/src/agentic/flow/run.rs @@ -16,7 +16,7 @@ use tinycomputer_bus::{ use tinycomputer_core::Facts; use super::{ - Ended, FlowRun, Halt, MAX_ACTIONS, MAX_CALLS, StepLog, + Ended, FlowRun, Halt, MAX_ACTIONS, MAX_CALLS, MAX_DO_TURNS, StepLog, backend::AgentBackend, front::Front, ledger, steps, @@ -106,6 +106,9 @@ impl<'r, B: AgentBackend + Sync> FlowRun<'r, B> { so_far: Vec::new(), page: None, votes: request.votes.clamp(1, vote::MAX_VOTES), + do_turns: request + .max_do_turns + .map_or(steps::DO_TURNS, |turns| turns.clamp(1, MAX_DO_TURNS)), secrets, fact_handles: request.fact_handles.clone(), secret_host, diff --git a/crates/tinycomputer-engine/src/agentic/flow/steps/mod.rs b/crates/tinycomputer-engine/src/agentic/flow/steps/mod.rs index d191a7d81..68806985b 100644 --- a/crates/tinycomputer-engine/src/agentic/flow/steps/mod.rs +++ b/crates/tinycomputer-engine/src/agentic/flow/steps/mod.rs @@ -44,8 +44,9 @@ use tinycomputer_bus::FlowAction; use super::{Ended, FlowRun, Halt, StepLog, backend::AgentBackend}; -/// Turns a `do` step may spend. -const DO_TURNS: u32 = 8; +/// Turns a `do` step may spend when the run does not set +/// `RunFlowRequest::max_do_turns`. +pub(super) const DO_TURNS: u32 = 8; /// Turns spent opening the thing a `choose` step picks from. pub(super) const REVEAL_TURNS: u32 = 3; /// Times `open` checks for a readable window, waiting between checks. @@ -99,7 +100,7 @@ pub(super) async fn run( // then be typed as the caller's card number. FlowAction::Do(intent) => match typing::typing(intent) { Some(slot) => run.enter(log, &[slot]).await, - None => run.accomplish(log, text, DO_TURNS).await, + None => run.accomplish(log, text, run.do_turns).await, }, FlowAction::Enter(slots) => run.enter(log, &slots.0).await, FlowAction::Choose(choose) => run.choose(log, choose).await, diff --git a/crates/tinycomputer-engine/src/task/budget.rs b/crates/tinycomputer-engine/src/task/budget.rs index b1755721e..094b08bb5 100644 --- a/crates/tinycomputer-engine/src/task/budget.rs +++ b/crates/tinycomputer-engine/src/task/budget.rs @@ -363,6 +363,7 @@ pub(super) fn run_request( max_actions, max_model_calls, votes: state.budget.votes.unwrap_or(DEFAULT_VOTES), + max_do_turns: state.budget.max_do_turns, strategy: state.budget.strategy.unwrap_or_default(), deliberation: state.budget.deliberation.unwrap_or_default(), brief: brief(&state), diff --git a/crates/tinycomputer-engine/src/task/describe.rs b/crates/tinycomputer-engine/src/task/describe.rs index ea2af843d..c6f5445aa 100644 --- a/crates/tinycomputer-engine/src/task/describe.rs +++ b/crates/tinycomputer-engine/src/task/describe.rs @@ -115,6 +115,12 @@ fn start_task_input() -> Value { "max_actions": {"type": "integer"}, "max_model_calls": {"type": "integer"}, "votes": {"type": "integer"}, + "max_do_turns": { + "type": "integer", + "minimum": 1, + "maximum": 32, + "description": "turns each do step may spend before it fails as not accomplished; 8 when unset" + }, "strategy": {"enum": ["narrow", "wide"], "default": "narrow"}, "deliberation": {"enum": ["off", "standard", "deep"], "default": "deep"}, "max_elapsed_ms": {"type": "integer"}, diff --git a/crates/tinycomputer-engine/src/task/task_tests/describe_tests.rs b/crates/tinycomputer-engine/src/task/task_tests/describe_tests.rs index 69885b1a3..82a06906e 100644 --- a/crates/tinycomputer-engine/src/task/task_tests/describe_tests.rs +++ b/crates/tinycomputer-engine/src/task/task_tests/describe_tests.rs @@ -241,6 +241,7 @@ async fn describe_schemas_name_every_request_field() { max_actions: Some(1), max_model_calls: Some(1), votes: Some(1), + max_do_turns: Some(1), strategy: Some(tinycomputer_bus::FlowStrategy::default()), deliberation: Some(tinycomputer_bus::Deliberation::default()), max_elapsed_ms: Some(1), diff --git a/crates/tinycomputer-engine/src/task/task_tests/start_tests.rs b/crates/tinycomputer-engine/src/task/task_tests/start_tests.rs index a18de9c1e..e92ba1fbb 100644 --- a/crates/tinycomputer-engine/src/task/task_tests/start_tests.rs +++ b/crates/tinycomputer-engine/src/task/task_tests/start_tests.rs @@ -66,6 +66,7 @@ async fn a_finished_flow_is_done_with_its_reads_and_no_fact_values() { (request.max_actions, request.max_model_calls, request.votes), (120, 6000, 7) ); + assert_eq!(request.max_do_turns, None, "the module's own default"); assert!(request.facts.is_empty(), "an email is shared, not secret"); assert_eq!(request.brief.details["email"], "asha@example.com"); assert!( @@ -630,3 +631,29 @@ async fn a_run_gets_the_callers_values_and_the_flow_keeps_its_own_definitions() ); assert_eq!(request.flow.vars["first_name"], "${first name}"); } + +#[tokio::test] +async fn a_budget_turn_limit_reaches_every_run() { + let (tasks, script) = controller(vec![finished_run( + FlowStopReason::Completed, + vec![step("1", "do", "add it to the cart", StepOutcome::Done, "")], + &[], + None, + )]); + let view = tasks + .start(&StartTaskRequest { + flow: Some( + serde_json::from_value(json!({"app": "browser", "steps": ["add it to the cart"]})) + .unwrap(), + ), + budget: tinycomputer_bus::agent::TaskBudget { + max_do_turns: Some(16), + ..tinycomputer_bus::agent::TaskBudget::default() + }, + ..StartTaskRequest::default() + }) + .data + .unwrap(); + settle(&tasks, &view.id).await; + assert_eq!(script.requests.lock().unwrap()[0].max_do_turns, Some(16)); +} diff --git a/crates/tinycomputer-skills/schemas/start_task.schema.json b/crates/tinycomputer-skills/schemas/start_task.schema.json index f399c8905..d649e8c2d 100644 --- a/crates/tinycomputer-skills/schemas/start_task.schema.json +++ b/crates/tinycomputer-skills/schemas/start_task.schema.json @@ -34,6 +34,7 @@ "max_model_calls": {"type": "integer"}, "max_elapsed_ms": {"type": "integer"}, "votes": {"type": "integer", "description": "How many ways each decision is asked before its answers are averaged."}, + "max_do_turns": {"type": "integer", "minimum": 1, "maximum": 32, "description": "How many turns each do step may spend before it fails as not accomplished (default 8, at most 32)."}, "strategy": {"type": "string", "enum": ["narrow", "wide"], "description": "How each decision is asked: many small requests (narrow, the default), or one request per turn over a digest of the screen with a working memory (wide)."}, "deliberation": {"type": "string", "enum": ["off", "standard", "deep"], "description": "How much each decision is deliberated before acting: deep (the default) escalates close calls with more framings, pairwise duels, and contrasting questions, checks every action's effect, and undoes and retries mistakes; standard does less; off uses single thresholds."}, "max_rescues": {"type": "integer", "minimum": 0, "maximum": 5, "description": "How many failed steps a reasoning model may rescue with guidance before the task fails (default and most 5; 0 turns rescues off). Needs the module's planner configuration."} diff --git a/docs/crates/tinycomputer-bus/agent-and-tasks.md b/docs/crates/tinycomputer-bus/agent-and-tasks.md index 45648e410..2ef98445d 100644 --- a/docs/crates/tinycomputer-bus/agent-and-tasks.md +++ b/docs/crates/tinycomputer-bus/agent-and-tasks.md @@ -108,7 +108,8 @@ for the fuller picture of what does and does not get automated here. `TaskBudget` mirrors the levers `RunFlowRequest` exposes (see [Writing flows](flows.md)) but every field is `Option`, so an unset one takes the module's own default rather than the crate baking one in twice: -`max_actions`, `max_model_calls`, `votes`, `strategy`, `deliberation`, +`max_actions`, `max_model_calls`, `votes`, `max_do_turns` (turns each `do` +step may spend, 8 when unset, at most 32), `strategy`, `deliberation`, `max_elapsed_ms` (excludes time spent waiting on the caller), and `max_rescues`, how many times a failed step may be handed to a reasoning model for guidance before the task gives up on it. Absent means the module's diff --git a/docs/technical/decision-thresholds.md b/docs/technical/decision-thresholds.md index c65e94e10..b050e3d64 100644 --- a/docs/technical/decision-thresholds.md +++ b/docs/technical/decision-thresholds.md @@ -32,7 +32,7 @@ Change a constant and its row together. | `CAP` | 20 | `ask/mod.rs` | most options in one Choice | | `HEDGED` | 0.10 | `ask/answers.rs` | distance from an even chance within which a condition's calibrated yes/no says nothing either way, and defers to a crisp coverage | | `CRISP_TOP` | 0.85 | `ask/answers.rs` | probability on a condition's top coverage level at which it stands alone for a hedged yes/no | -| `DO_TURNS` | 8 | `steps/mod.rs` | turns a `do` step may spend | +| `DO_TURNS` / `MAX_DO_TURNS` | 8 / 32 | `steps/mod.rs`, `mod.rs` | turns a `do` step may spend when `max_do_turns` is unset, and the most a run may set | | `REFLECT_FLOOR` | 0.50 | `reflect.rs` | belief that a pressed `choose` left its choice, below which it is repaired, and failed if the repair does not take | | `REPAIR_TURNS` | 4 | `reflect.rs` | turns one reflection repair may spend | | `MAX_ACTIONS` / `MAX_CALLS` | 120 / 10000 | `mod.rs` | per-run caps on actions and Jev calls | diff --git a/docs/technical/specs/desktop-module-contract.md b/docs/technical/specs/desktop-module-contract.md index 4b36ca80e..098e16284 100644 --- a/docs/technical/specs/desktop-module-contract.md +++ b/docs/technical/specs/desktop-module-contract.md @@ -89,6 +89,11 @@ serves the interface and fails to answer, turns the approval into a decline, so the task never takes the action. A host that serves nothing leaves the pause as the only gate. A payment checkpoint is never continuable and needs no review. +Do-step turns (2.28): `TaskBudget` and `RunFlowRequest` take an optional +`max_do_turns`, the turns each `do` step may spend before it fails as not +accomplished. Unset keeps the module's default of 8; the module caps it at +32. A 2.27 module ignores the field. + Host context relay (2.27): `ContinueTaskRequest` takes an optional opaque `host_context`. When the module requests consequence review, it copies that value unchanged into `ReviewActionRequest.host_context`; the module does not diff --git a/docs/technical/tasks.md b/docs/technical/tasks.md index 134f3b4ee..b46f5b074 100644 --- a/docs/technical/tasks.md +++ b/docs/technical/tasks.md @@ -163,6 +163,9 @@ is acted on: `deep` (the default), `standard`, or `off` ([`specs/jev-deliberation.md`](specs/jev-deliberation.md)). Deliberation spends calls only where the evidence is thin, and degrades rung by rung when the budget runs short rather than failing the run. +`budget.max_do_turns` sets how many turns each `do` step may spend before it +fails as not accomplished: 8 when unset, at most 32. A long step on a busy +page, such as a shop's cart or checkout, may need more than 8 moves. `budget.max_rescues` caps how many failed steps are rescued (below). The flow runtime has no clock, so `max_elapsed_ms` is enforced by the controller, which times out a run that would go past what is left. Time From fe1874771f5f4fc8bf89790cfffbaad354f263ab Mon Sep 17 00:00:00 2001 From: shanu Date: Fri, 23 Oct 2026 11:01:00 +0530 Subject: [PATCH 2/2] Pin contract 2.28 in the public API test --- crates/tinycomputer/tests/public_api_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tinycomputer/tests/public_api_tests.rs b/crates/tinycomputer/tests/public_api_tests.rs index fa11ff982..b63bb8ddc 100644 --- a/crates/tinycomputer/tests/public_api_tests.rs +++ b/crates/tinycomputer/tests/public_api_tests.rs @@ -34,7 +34,7 @@ fn the_crate_re_exports_the_contract_rather_than_redefining_it() { #[test] fn the_shipped_contract_binds_to_itself() { assert!(is_compatible(CONTRACT_VERSION)); - assert_eq!(CONTRACT_VERSION, (2, 27)); + assert_eq!(CONTRACT_VERSION, (2, 28)); assert!(!is_compatible((2, 25))); }