mirror of
https://github.com/ranxianglei/billion-context.git
synced 2026-12-03 17:28:39 +08:00
73 lines
1.4 KiB
Markdown
73 lines
1.4 KiB
Markdown
# WORKLOG - <Title>
|
||
|
||
- Task ID: `<YYYY-MM-DD_short-title>`
|
||
- Home Repo: `billion-context`
|
||
- Status: InProgress | Done | Rollback
|
||
- Updated: <YYYY-MM-DD HH:mm>
|
||
|
||
## 1. Summary
|
||
|
||
- **What was done** (1–3 sentences):
|
||
- **Why** (1–3 sentences):
|
||
- **Behavior / compatibility changes**: <Yes/No, details>
|
||
- **Risk level**: Low | Medium | High
|
||
|
||
## 2. Change Log
|
||
|
||
### Commits
|
||
|
||
| Commit | Description |
|
||
|--------|-------------|
|
||
| `<sha>` | <one-line summary> |
|
||
| ... | ... |
|
||
|
||
### Key Files
|
||
|
||
- `src/<path>` — <what changed and why>
|
||
- ...
|
||
|
||
## 3. Design & Implementation Notes
|
||
|
||
- **Entry point / key function**:
|
||
- **Key configuration items**:
|
||
- **Key logic explanation** (if non-trivial):
|
||
|
||
## 4. Testing & Verification
|
||
|
||
### Build & Test Commands
|
||
|
||
```sh
|
||
npm run typecheck # tsc --noEmit --project tsconfig.json (src + tests)
|
||
npm test # node --import tsx --test tests/*.test.ts
|
||
npm run build # tsup
|
||
```
|
||
|
||
### Test Coverage
|
||
|
||
- New/modified test files:
|
||
- Test count: <N> total, <N> pass, <N> fail
|
||
- Key scenarios verified:
|
||
|
||
### Results
|
||
|
||
- **PASS/FAIL**:
|
||
- **Key logs/data** (optional):
|
||
|
||
## 5. Risk Assessment & Rollback
|
||
|
||
- **Risk points**:
|
||
- **Rollback method**:
|
||
- Revert commit(s): `<sha>`
|
||
- Rollback impact:
|
||
- **Compatibility notes** (data format, config schema): <Yes/No, details>
|
||
|
||
## 6. Lessons Learned (optional)
|
||
|
||
- What went well:
|
||
- What could be improved:
|
||
- Reusable conclusions:
|
||
|
||
## 7. Follow-ups (optional)
|
||
|
||
- [ ]
|