My agent made 40 decisions today and wrote down zero. So I built dlog
说明与用途
dlog 让开发者快速记录编码代理做出的决策,存储在 JSONL 文件中,便于后续搜索和交接。
问题
Coding agents make dozens of decisions per session but never record them, leading to repeated debates and wasted time in subsequent sessions.
结果
dlog enables developers to capture the rationale behind each decision in seconds, preventing redundant debates and improving knowledge transfer between sessions.
工作流
- 1. Run coding agent and make a decision.
- 2. Immediately execute
dlog add "decision title" -r "reason" -t tag1,tag2to record the choice. - 3. Use
dlog listto view recent decisions ordlog searchto find past ones. - 4. Export decisions to Markdown with
dlog export-mdfor inclusion in handover documents. - 5. Optionally use
--globalto log decisions across projects in~/.dlog.jsonl. - 6. Install dlog via a single curl command and make it executable.
证据
Coding agents make dozens of decisions per session — which library, which schema, which approach — and never write them down.
dlog is the 30-second habit that fixes this. One line when you decide something:
Each entry records the timestamp, title, reason, tags, working directory, and the git commit sha (or null outside a repo).
Install — it's one stdlib-only file, no dependencies, no network, no accounts:
- 记录日期: 2026-10-01T19:10:41.594Z