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.
1.7 KiB
1.7 KiB
Rekomendasi Standar Dokumentasi AI
Status: diadopsi ke template (termasuk optimasi token 2026-07-04).
Diadopsi
- Session ID + yaml metadata di session summary
- STRATEGY badge
- Tier handover (Minimal / Relevan / Monorepo)
- Single owner
- Keep a Changelog saja
- omit-if-N/A
- todo "Selesai sesi ini" overwrite
- context-index boleh tebal, berlapis (Zona A / Zona B)
- Monorepo model
- docs/api/ dan docs/guide/
- docs/version.md — wajib append setiap deploy / naik versi (poin-poin perubahan)
- Pengetahuan penting tidak boleh hanya di chat
- AGENTS.md cold start (root project, max ~40 baris)
- Session summary: TL;DR + Lanjut + Jangan; max 80 baris
- Satu rolling memory: hanya ai-session-summary; WORKLOG/development-log = arsip
- Read budget + urutan stop-early (< 2000 token)
- Workspace-Session Active focus
- docs/server.md - inventori host/IP, runtime, port
- docs/system-requirements.md - OS, runtime, tool minimum
- .env.example - template URL/env (dynamic, no hardcode)
- docs/guide/migration.md - migrasi server/domain + checklist cutover
Opsional (belum diwajibkan)
docs/.handover-meta.jsonuntuk CI- Pre-commit hook otomatis: kode berubah => session summary + version harus berubah
- Wiring slash commands per agent tool
Estimasi token cold start
| Skenario | File | Estimasi |
|---|---|---|
| Lanjut task (satu project) | AGENTS + session (TL;DR) | ~700-2000 |
| Multi-project | Workspace-Session Active focus + AGENTS + session | ~1000-2500 |
| Ambil task baru | + todo High | +200-500 |
| Debug | + issues ID | +300-800 |
Target: < 2000 token sebelum coding pada jalur panas.