fix: make /catch-up branch-aware and layered, with product-focused next step
Rework the /catch-up decision tree from mutually-exclusive cases into complementary layers. It now determines whether the current branch is the repo's default branch and builds context accordingly: on a feature branch it reads enough of the branch's own commits to grasp the intent and checks the branch's PR even when there are uncommitted changes (so in-progress work is understood as part of the larger effort); on the default branch it lightly skims recent commits. Uncommitted changes remain the focal point but are interpreted through that context. The suggested next step now favors continuing the actual work over housekeeping — since running catch-up implies the user stepped away and the work is likely unfinished, push/PR/checks are only a fallback. Updates the Magic Prompts settings descriptions across locales to match.
This commit is contained in:
@@ -1696,7 +1696,7 @@ export const settingsDict = {
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.title': 'Feature Planning',
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.description': 'Prompts used by the /plan-feature slash command: visible user message + hidden instructions. Runs a guided dialogue that researches the code and asks clarifying questions in small batches before producing an implementation plan.',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.title': 'Catch Up',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': 'Prompts used by the /catch-up slash command: visible user message + hidden instructions. Inspects git state and branches on it — reconstructs intent from an in-progress diff, checks an open PR\'s review state, or summarizes recent commits.',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': 'Prompts used by the /catch-up slash command: visible user message + hidden instructions. Builds branch-aware context — the branch\'s commits, its PR, and uncommitted work together — to understand what you were doing, then gives a warm orientation and a product-focused next step.',
|
||||
'settings.magicPrompts.page.group.sessionDebug.title': 'Debugging',
|
||||
'settings.magicPrompts.page.group.sessionDebug.description': 'Prompts used by the /debug slash command: visible user message + hidden instructions. Runs a guided root-cause investigation — captures the symptom, forms hypotheses, checks them against the code, and confirms the cause before proposing a fix.',
|
||||
'settings.magicPrompts.page.group.sessionWeigh.title': 'Weigh Options',
|
||||
|
||||
@@ -1663,7 +1663,7 @@ export const settingsDict = {
|
||||
"settings.magicPrompts.page.group.sessionFeaturePlan.title": "Planificación de funciones",
|
||||
"settings.magicPrompts.page.group.sessionFeaturePlan.description": "Prompts usados por el comando /plan-feature: mensaje visible del usuario + instrucciones ocultas. Ejecuta un diálogo guiado que investiga el código y hace preguntas aclaratorias en lotes pequeños antes de producir un plan de implementación.",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.title": "Ponerse al día",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.description": "Prompts usados por el comando /catch-up: mensaje visible del usuario + instrucciones ocultas. Inspecciona el estado de git y, según él, reconstruye la intención a partir de un diff en curso, revisa el estado de revisión de un PR abierto o resume los commits recientes.",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.description": "Prompts usados por el comando /catch-up: mensaje visible del usuario + instrucciones ocultas. Construye contexto según la rama — los commits de la rama, su PR y el trabajo sin confirmar juntos — para entender qué estabas haciendo, y luego da una orientación cálida y un siguiente paso centrado en el producto.",
|
||||
"settings.magicPrompts.page.group.sessionDebug.title": "Depuración",
|
||||
"settings.magicPrompts.page.group.sessionDebug.description": "Prompts usados por el comando /debug: mensaje visible del usuario + instrucciones ocultas. Ejecuta una investigación guiada de la causa raíz: captura el síntoma, formula hipótesis, las verifica contra el código y confirma la causa antes de proponer una solución.",
|
||||
"settings.magicPrompts.page.group.sessionWeigh.title": "Comparar enfoques",
|
||||
|
||||
@@ -1663,7 +1663,7 @@ export const settingsDict = {
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.title': '기능 계획',
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.description': '/plan-feature slash command에서 사용하는 프롬프트입니다: 표시 사용자 메시지 + 숨겨진 지침. 코드를 조사하고 작은 묶음으로 명확화 질문을 한 뒤 구현 계획을 만드는 가이드 대화를 실행합니다.',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.title': '따라잡기',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': '/catch-up slash command에서 사용하는 프롬프트입니다: 표시 사용자 메시지 + 숨겨진 지침. git 상태를 확인하고 그에 따라 진행 중인 diff에서 의도를 재구성하거나, 열린 PR의 리뷰 상태를 확인하거나, 최근 커밋을 요약합니다.',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': '/catch-up slash command에서 사용하는 프롬프트입니다: 표시 사용자 메시지 + 숨겨진 지침. 브랜치의 커밋, PR, 커밋되지 않은 작업을 함께 보는 브랜치 기반 컨텍스트를 구성해 무엇을 하고 있었는지 이해한 뒤, 따뜻한 방향 안내와 제품 중심의 다음 단계를 제시합니다.',
|
||||
'settings.magicPrompts.page.group.sessionDebug.title': '디버깅',
|
||||
'settings.magicPrompts.page.group.sessionDebug.description': '/debug slash command에서 사용하는 프롬프트입니다: 표시 사용자 메시지 + 숨겨진 지침. 근본 원인 조사를 단계적으로 진행합니다 — 증상을 파악하고 가설을 세워 코드와 대조하며, 수정안을 제시하기 전에 원인을 확정합니다.',
|
||||
'settings.magicPrompts.page.group.sessionWeigh.title': '옵션 비교',
|
||||
|
||||
@@ -282,7 +282,7 @@ export const settingsDict = {
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.title': 'Planowanie funkcji',
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.description': 'Prompty używane przez polecenie /plan-feature: widoczna wiadomość użytkownika + ukryte instrukcje. Uruchamia prowadzony dialog, który bada kod i zadaje pytania doprecyzowujące w małych partiach przed utworzeniem planu implementacji.',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.title': 'Nadrobienie kontekstu',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': 'Prompty używane przez polecenie /catch-up: widoczna wiadomość użytkownika + ukryte instrukcje. Sprawdza stan git i w zależności od niego — odtwarza zamiar z trwającego diffa, sprawdza stan recenzji otwartego PR-a lub podsumowuje ostatnie commity.',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': 'Prompty używane przez polecenie /catch-up: widoczna wiadomość użytkownika + ukryte instrukcje. Buduje kontekst zależny od gałęzi — commity gałęzi, jej PR i niezatwierdzone zmiany razem — aby zrozumieć, nad czym pracowałeś, a następnie daje ciepłą orientację i produktowy następny krok.',
|
||||
'settings.magicPrompts.page.group.sessionDebug.title': 'Debugowanie',
|
||||
'settings.magicPrompts.page.group.sessionDebug.description': 'Prompty używane przez polecenie /debug: widoczna wiadomość użytkownika + ukryte instrukcje. Prowadzi badanie pierwotnej przyczyny — rejestruje objaw, formułuje hipotezy, sprawdza je w kodzie i potwierdza przyczynę przed zaproponowaniem poprawki.',
|
||||
'settings.magicPrompts.page.group.sessionWeigh.title': 'Rozważanie opcji',
|
||||
|
||||
@@ -1663,7 +1663,7 @@ export const settingsDict = {
|
||||
"settings.magicPrompts.page.group.sessionFeaturePlan.title": "Planejamento de funcionalidade",
|
||||
"settings.magicPrompts.page.group.sessionFeaturePlan.description": "Prompts usados pelo comando /plan-feature: mensagem visível do usuário + instruções ocultas. Executa um diálogo guiado que investiga o código e faz perguntas de esclarecimento em pequenos lotes antes de produzir um plano de implementação.",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.title": "Retomada de contexto",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.description": "Prompts usados pelo comando /catch-up: mensagem visível do usuário + instruções ocultas. Inspeciona o estado do git e, com base nisso, reconstrói a intenção a partir de um diff em andamento, verifica o estado de revisão de um PR aberto ou resume os commits recentes.",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.description": "Prompts usados pelo comando /catch-up: mensagem visível do usuário + instruções ocultas. Constrói um contexto ciente da branch — os commits da branch, seu PR e o trabalho não confirmado juntos — para entender o que você estava fazendo, e então dá uma orientação acolhedora e um próximo passo focado no produto.",
|
||||
"settings.magicPrompts.page.group.sessionDebug.title": "Depuração",
|
||||
"settings.magicPrompts.page.group.sessionDebug.description": "Prompts usados pelo comando /debug: mensagem visível do usuário + instruções ocultas. Executa uma investigação guiada da causa raiz: captura o sintoma, formula hipóteses, verifica-as no código e confirma a causa antes de propor uma correção.",
|
||||
"settings.magicPrompts.page.group.sessionWeigh.title": "Comparar abordagens",
|
||||
|
||||
@@ -1663,7 +1663,7 @@ export const settingsDict = {
|
||||
"settings.magicPrompts.page.group.sessionFeaturePlan.title": "Планування фічі",
|
||||
"settings.magicPrompts.page.group.sessionFeaturePlan.description": "Промпти, які використовуються командою /plan-feature: видиме повідомлення користувача + приховані інструкції. Запускає кероване діалогове планування — досліджує код і ставить уточнюючі запитання невеликими батчами, перш ніж скласти план імплементації.",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.title": "Повернення в контекст",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.description": "Промпти, які використовуються командою /catch-up: видиме повідомлення користувача + приховані інструкції. Перевіряє стан git і залежно від нього — відновлює задум із незавершеного diff, перевіряє стан рев'ю відкритого PR або підсумовує останні коміти.",
|
||||
"settings.magicPrompts.page.group.sessionCatchUp.description": "Промпти, які використовуються командою /catch-up: видиме повідомлення користувача + приховані інструкції. Будує контекст з урахуванням гілки — коміти гілки, її PR і незакомічену роботу разом — щоб зрозуміти, що ти робив, а тоді дає теплу орієнтацію й продуктовий наступний крок.",
|
||||
"settings.magicPrompts.page.group.sessionDebug.title": "Дебаг",
|
||||
"settings.magicPrompts.page.group.sessionDebug.description": "Промпти, які використовуються командою /debug: видиме повідомлення користувача + приховані інструкції. Веде кероване дослідження першопричини — фіксує симптом, формує гіпотези, перевіряє їх по коду й підтверджує причину перш ніж пропонувати фікс.",
|
||||
"settings.magicPrompts.page.group.sessionWeigh.title": "Зважування варіантів",
|
||||
|
||||
@@ -1663,7 +1663,7 @@ export const settingsDict = {
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.title': '功能规划',
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.description': '由 /plan-feature 斜杠命令使用的提示词:可见用户消息 + 隐藏说明。运行引导式对话,先调研代码并分小批提出澄清问题,然后生成实现计划。',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.title': '快速回顾',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': '由 /catch-up 斜杠命令使用的提示词:可见用户消息 + 隐藏说明。检查 git 状态并据此处理——从进行中的 diff 还原意图、查看已开启 PR 的评审状态,或总结最近的提交。',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': '由 /catch-up 斜杠命令使用的提示词:可见用户消息 + 隐藏说明。结合分支的提交、PR 以及未提交的改动,建立与分支相关的上下文,理解你之前在做什么,然后给出温和的导览和以产品为中心的下一步。',
|
||||
'settings.magicPrompts.page.group.sessionDebug.title': '调试',
|
||||
'settings.magicPrompts.page.group.sessionDebug.description': '由 /debug 斜杠命令使用的提示词:可见用户消息 + 隐藏说明。引导式排查根本原因——记录症状、提出假设、对照代码验证,并在提出修复方案前确认原因。',
|
||||
'settings.magicPrompts.page.group.sessionWeigh.title': '权衡方案',
|
||||
|
||||
@@ -1584,7 +1584,7 @@
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.title': '功能規劃',
|
||||
'settings.magicPrompts.page.group.sessionFeaturePlan.description': '由 /plan-feature 斜線命令使用的提示詞:可見使用者訊息 + 隱藏說明。執行引導式對話,先調研程式碼並分小批提出釐清問題,然後產生實作計畫。',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.title': '快速回顧',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': '由 /catch-up 斜線命令使用的提示詞:可見使用者訊息 + 隱藏說明。檢查 git 狀態並據此處理——從進行中的 diff 還原意圖、查看已開啟 PR 的審查狀態,或總結最近的提交。',
|
||||
'settings.magicPrompts.page.group.sessionCatchUp.description': '由 /catch-up 斜線命令使用的提示詞:可見使用者訊息 + 隱藏說明。結合分支的提交、PR 以及未提交的變更,建立與分支相關的上下文,理解你之前在做什麼,然後給出溫和的導覽和以產品為中心的下一步。',
|
||||
'settings.magicPrompts.page.group.sessionDebug.title': '除錯',
|
||||
'settings.magicPrompts.page.group.sessionDebug.description': '由 /debug 斜線命令使用的提示詞:可見使用者訊息 + 隱藏說明。引導式排查根本原因——記錄症狀、提出假設、對照程式碼驗證,並在提出修復方案前確認原因。',
|
||||
'settings.magicPrompts.page.group.sessionWeigh.title': '權衡方案',
|
||||
|
||||
Reference in New Issue
Block a user