aded prompt
This commit is contained in:
@@ -1,17 +1,48 @@
|
|||||||
# TASK.md — Bug Fix Plan for Sonnet 4.5 (Session 2)
|
# TASK.md — Bug Fix Plan for Sonnet 4.5 (Session 2)
|
||||||
|
|
||||||
## Prompt / Context Gathering
|
## Prompt (copy-paste this into Claude Code)
|
||||||
|
|
||||||
|
```
|
||||||
|
You have a bug fix task. Read these files in order:
|
||||||
|
|
||||||
|
1. CLAUDE.md — project overview, workspace layout, build & deploy workflow
|
||||||
|
2. controller/README.md — full architecture, module map, feature docs
|
||||||
|
3. CHANGELOG.md — recent changes (including yesterday's bug fix session)
|
||||||
|
4. TASK.md — THIS FILE, the bug list with detailed fix instructions
|
||||||
|
|
||||||
|
Then fix ALL bugs listed in TASK.md, starting with CRITICAL, then HIGH, then MEDIUM.
|
||||||
|
Skip the "Previously Identified — Still Open" section (P1–P6) — those are lower priority.
|
||||||
|
|
||||||
|
For each bug:
|
||||||
|
- Read the source file first
|
||||||
|
- Apply the fix as described
|
||||||
|
- Move on to the next bug
|
||||||
|
|
||||||
|
After all fixes are done:
|
||||||
|
1. Run `go build ./...` and `go vet ./...` from the controller/ directory — fix any errors
|
||||||
|
2. Update CHANGELOG.md with a new entry at the top (session 40, v0.12.4)
|
||||||
|
3. Commit, build, and deploy following the workflow in CLAUDE.md:
|
||||||
|
- git add -A && git commit && git push
|
||||||
|
- Build on 192.168.0.180 with version 0.12.4
|
||||||
|
- Deploy on 192.168.0.162
|
||||||
|
- Verify with docker ps and docker logs
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Context Gathering
|
||||||
|
|
||||||
Before starting any fixes, read the following files to understand the project:
|
Before starting any fixes, read the following files to understand the project:
|
||||||
|
|
||||||
1. **`controller/README.md`** — Full architecture, module map, API endpoints, feature documentation
|
1. **`CLAUDE.md`** — Project overview, workspace layout, **build & deploy workflow** (MANDATORY)
|
||||||
2. **`CHANGELOG.md`** — Recent changes for context on what was implemented (including yesterday's bug fixes)
|
2. **`controller/README.md`** — Full architecture, module map, API endpoints, feature documentation
|
||||||
3. **`controller/TASK.md`** (this file) — The bug list and fix instructions
|
3. **`CHANGELOG.md`** — Recent changes for context on what was implemented (including yesterday's bug fixes)
|
||||||
|
4. **`TASK.md`** (this file) — The bug list and fix instructions
|
||||||
|
|
||||||
Then read each source file listed in a bug section before fixing it.
|
Then read each source file listed in a bug section before fixing it.
|
||||||
|
|
||||||
**After all fixes are complete**, update:
|
**After all fixes are complete**, update:
|
||||||
- `CHANGELOG.md` — Add a new entry at the top following the existing format (next session, next version **v0.12.4**)
|
- `CHANGELOG.md` — Add a new entry at the top following the existing format (session 40, version **v0.12.4**)
|
||||||
- `controller/README.md` — If any fix changes behavior, API, or architecture, update the relevant section
|
- `controller/README.md` — If any fix changes behavior, API, or architecture, update the relevant section
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user