You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Automatic plan repair stopped after {attempts} failed repair attempts (automatic threshold: {max_attempts}).\n\
11180
-
Developer confirmation is required before more automatic correction.\n\
11181
-
{report}\n\
11182
-
Reply `continue` or `/plan continue <max-attempts>` to allow more automatic repair attempts, describe specific Plan repair guidance, or use `/plan cancel` to stop."
/// Help line fragments for each IntentSpec review choice.
21
+
pubconstINTENT_REVIEW_HELP:&[&str] = &["Generate plan","Revise spec","Return to chat"];
22
+
23
+
/// Help line fragments for each post-plan choice.
24
+
pubconstPOST_PLAN_HELP:&[&str] = &["Run the Scheduler","Edit the plan","Return to chat"];
25
+
26
+
/// Help line fragments for each network policy choice.
27
+
pubconstNETWORK_POLICY_HELP:&[&str] = &[
28
+
"Run shell/gates offline",
29
+
"Shell/gates may use network",
30
+
"Return to plan choices",
31
+
];
32
+
33
+
/// Frozen threshold message when automatic plan repair stops for developer
34
+
/// confirmation. Callers must keep the `/plan continue` affordance.
35
+
pubfnplan_repair_threshold_baseline_message(
36
+
report:&str,
37
+
attempts:u8,
38
+
max_attempts:u8,
39
+
) -> String{
40
+
format!(
41
+
"Automatic plan repair stopped after {attempts} failed repair attempts (automatic threshold: {max_attempts}).\n\
42
+
Developer confirmation is required before more automatic correction.\n\
43
+
{report}\n\
44
+
Reply `continue` or `/plan continue <max-attempts>` to allow more automatic repair attempts, describe specific Plan repair guidance, or use `/plan cancel` to stop."
0 commit comments