Watch
1
0
Fork
You've already forked souveraine
0

fix: two things CI caught that the editor never did

The test plexus called an associated function through the module path,
and the Body tool's unknown-verb refusal handed a String to a &str
parameter. The gate earns its keep.
This commit is contained in:
Fimeg 2026-08-15 17:07:23 -04:00
commit 41656fbb9a
2 changed files with 4 additions and 3 deletions

View file

@ -802,7 +802,7 @@ mod tests {
/// The production field set, on the test clock.
fn phone_plexus() -> SomaticPlexus {
super::phone_plexus(t0())
SomaticPlexus::phone_plexus(t0())
}
fn read(source: &str, amount: f32) -> SensorReading {

View file

@ -209,11 +209,12 @@ impl Tool for Body {
request["verb"] = json!(pv);
}
other => {
return Err(ToolError::invalid_input(format!(
let msg = format!(
"I have no verb `{other}`. I can sense {} and do {}.",
SENSE_VERBS.join(", "),
ACT_VERBS.join(", ")
)));
);
return Err(ToolError::invalid_input(&msg));
}
}