• Mohamed Aziz Mejri's avatar
    Add planning_questionnaire to the agent mode (#2566) · 9e557859
    Mohamed Aziz Mejri 提交于
    <!-- This is an auto-generated description by cubic. -->
    ## Summary by cubic
    Enable planning_questionnaire in normal agent mode and enforce a
    clarify‑before‑plan workflow with explicit examples. Also adds a
    one‑pass todo follow‑up so the agent completes remaining tasks before
    stopping.
    
    - **New Features**
      - planning_questionnaire is available in both plan and normal modes.
    - Clarify step: call planning_questionnaire to ask 1–3 focused questions
    for vague requests; skip when specific; STOP until the user replies.
    Always use it for new app/major feature requests.
    - One-pass todo follow-up: if a turn ends with incomplete todos, inject
    a short reminder and run another pass to finish them.
    
    - **Bug Fixes**
    - Always stop after planning_questionnaire in both modes to prevent
    repeated tool calls.
    - Gate plan-only tools: write_plan and exit_plan are plan‑mode only;
    questionnaire remains available in normal mode.
    
    <sup>Written for commit c6a67ea7e6981e86418dddeaa245b918a22261e9.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2566"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    ---------
    Co-authored-by: 's avatarMohamed Aziz Mejri <mohamedazizmejri@Mohameds-Mac-mini.local>
    Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
    9e557859
名称
最后提交
最后更新
..
add_dependency.ts 正在载入提交数据...
add_integration.ts 正在载入提交数据...
code_search.ts 正在载入提交数据...
delete_file.ts 正在载入提交数据...
edit_file.ts 正在载入提交数据...
engine_fetch.ts 正在载入提交数据...
execute_sql.ts 正在载入提交数据...
exit_plan.ts 正在载入提交数据...
file_upload_utils.ts 正在载入提交数据...
get_supabase_project_info.ts 正在载入提交数据...
get_supabase_table_schema.ts 正在载入提交数据...
grep.spec.ts 正在载入提交数据...
grep.ts 正在载入提交数据...
list_files.ts 正在载入提交数据...
path_safety.ts 正在载入提交数据...
planning_questionnaire.ts 正在载入提交数据...
read_file.spec.ts 正在载入提交数据...
read_file.ts 正在载入提交数据...
read_logs.ts 正在载入提交数据...
rename_file.ts 正在载入提交数据...
run_type_checks.ts 正在载入提交数据...
search_replace.spec.ts 正在载入提交数据...
search_replace.ts 正在载入提交数据...
set_chat_summary.ts 正在载入提交数据...
types.ts 正在载入提交数据...
update_todos.ts 正在载入提交数据...
web_crawl.ts 正在载入提交数据...
web_search.ts 正在载入提交数据...
write_file.ts 正在载入提交数据...
write_plan.ts 正在载入提交数据...