You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.4 KiB
70 lines
2.4 KiB
--- |
|
description: Wajib jalankan Project Knowledge Preservation di akhir sesi atau sebelum commit/push |
|
alwaysApply: true |
|
--- |
|
|
|
# End of Session - Project Handover |
|
|
|
Sebelum menganggap pekerjaan selesai atau melakukan commit/push: |
|
|
|
1. Jalankan **Project Knowledge Preservation** sesuai standar |
|
2. Standar lengkap: `AI-Agent-Standards/prompts/end-of-session-handover.md` |
|
|
|
## Tier (ringkas) |
|
|
|
**Tier 1 - Minimal** (per project yang berubah): |
|
- OVERWRITE `docs/ai-session-summary.md` (max 80 baris; TL;DR + Lanjut + Jangan) |
|
- UPDATE `docs/todo.md` ("Selesai sesi ini" overwrite) |
|
- APPEND `docs/changelog.md` + `docs/version.md` (**wajib** jika deploy/naik versi — poin-poin perubahan, jangan skip) |
|
- UPDATE `AGENTS.md` hanya jika aturan kritis berubah |
|
|
|
## Deploy / naik versi (wajib) |
|
|
|
Perubahan yang di-install ke device, server, atau production: |
|
1. Bump versi di build config (SSOT numerik) |
|
2. Append `docs/version.md` — bullet: apa berubah, fix/feature, QC/deploy note |
|
3. Append `docs/changelog.md` (Keep a Changelog) |
|
4. Tier 1 session summary + todo |
|
|
|
**Tier 2 - Jika relevan:** issues, ADR, guide, server.md, system-requirements.md, .env.example, guide/migration.md, project-status, context-index, api/ |
|
|
|
**Tier 3 - Monorepo:** OVERWRITE `Workspace-Session.md` (Active focus) |
|
|
|
## Single Owner |
|
|
|
- Cold start -> `AGENTS.md` |
|
- Priority -> `todo.md` |
|
- Bug/RCA -> `issues.md` |
|
- Narasi sesi -> `ai-session-summary.md` |
|
- Server/IP/DB -> `docs/server.md` |
|
- System requirements -> `docs/system-requirements.md` |
|
- Migrasi domain/server -> `docs/guide/migration.md` + `.env.example` |
|
- Template URL/env -> `.env.example` (root project) |
|
- Flow prosedur -> `docs/guide/` |
|
- Arsitektur -> `docs/adr/` |
|
|
|
## No hardcoded URL |
|
|
|
- URL/domain/host:port dari env / `.env` / BuildConfig — **bukan** hardcode di source |
|
- Migrasi: update `.env.example`, server.md, migration.md — minimal ubah kode |
|
- Commit `.env.example` OK; `.env` dengan secret **tidak** |
|
|
|
## Aturan |
|
|
|
- Jangan simpan pengetahuan penting hanya di chat |
|
- Jangan commit secret/credential |
|
- Final Report ke user |
|
|
|
## Urutan Baca AI Berikutnya |
|
|
|
``` |
|
Workspace-Session (Active focus) -> AGENTS.md -> ai-session-summary (TL;DR) -> STOP |
|
``` |
|
|
|
On-demand: todo, issues, api, guide, server.md, system-requirements, migration, context-index, adr. |
|
|
|
## Slash Commands |
|
|
|
- `/handover` - full tiered preservation |
|
- `/session-summary` - hanya ai-session-summary.md |
|
- `/workspace-summary` - hanya Workspace-Session.md |