mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
[ai] Ask /task command to record work time.
This commit is contained in:
@@ -38,6 +38,8 @@ Project structure:
|
|||||||
|
|
||||||
## Phase 0: Setup
|
## Phase 0: Setup
|
||||||
|
|
||||||
|
**Record the current time now** (using `Get-Date` in PowerShell or equivalent) and store it as `$START_TIME`. You will use this at the end to display total elapsed time.
|
||||||
|
|
||||||
⚠️ **CRITICAL: Follow-up detection MUST happen FIRST, before anything else.**
|
⚠️ **CRITICAL: Follow-up detection MUST happen FIRST, before anything else.**
|
||||||
|
|
||||||
### Step 0a: Follow-up detection (MANDATORY — do this BEFORE understanding the task)
|
### Step 0a: Follow-up detection (MANDATORY — do this BEFORE understanding the task)
|
||||||
@@ -493,7 +495,8 @@ When all phases including build verification and code review are done:
|
|||||||
2. Show which files were modified/created.
|
2. Show which files were modified/created.
|
||||||
3. Note any issues encountered during implementation.
|
3. Note any issues encountered during implementation.
|
||||||
4. Summarize code review iterations: how many rounds, what was found and fixed, or if it was approved on first pass.
|
4. Summarize code review iterations: how many rounds, what was found and fixed, or if it was approved on first pass.
|
||||||
5. Remind the user of the project name so they can use `/task <project-name> <follow-up description>` for follow-up changes.
|
5. Calculate and display the total elapsed time since `$START_TIME` (format as `Xh Ym Zs`, omitting zero components — e.g. `12m 34s` or `1h 5m 12s`).
|
||||||
|
6. Remind the user of the project name so they can use `/task <project-name> <follow-up description>` for follow-up changes.
|
||||||
|
|
||||||
## Error Handling
|
## Error Handling
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user