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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user