feat: add prompt file

2026-10-13_prompt-log-improvements.md
This commit is contained in:
Janik von Rotz committed 2026-10-13 15:58:46 +02:00
1 parent eb60b3107f
commit 02aec76db0
1 file changed
+51
+51
View File
@@ -0,0 +1,51 @@
---
commit_ref: 24a111eb7a39642162be95ed8577f1ed58ae6f61
title: "Prompt-log improvements"
author: "Janik von Rotz <login@janikvonrotz.ch>"
state: completed
date_completed: 2025-10-13
harness: pi
model: moonshotai/Kimi-K2.6
input_tokens: 31989
output_tokens: 9505
---
# Prompt-log improvements
Note: @Clanker refers to the "ai agent" (you) who is working on this prompt file.
@Clanker when working on this prompt file, make sure to:
- Read context and task section first
- Prepare a list of todos
- Update the todo list while working on task
## Context
@Clanker Read the `AGENTS.md` and `README.md` to get an understanding of the project.
## Task
Here are some improvements for the work with `prompt-log`.
When I run `create-prompt` and there is already a `prompt.md` I want you to run `commit-prompt` in order to store the current prompt file.
This prompt file has been updated with new instructions. When the task is completed the state of the prompt file must be `review`. The clanker then asks the user if the result checks. The worklog is used whether the author confirms or not. I added this text to the prompt.md:
```markdown
@Clanker When task is completed set frontmatter to review. Prompt the author to verify the results.
## Worklog
@Clanker Add a summary here once the task has been completed.
@Clanker If author confirms results set frontmatter state to completed, otherwise to aborted. Update date, harness and model. If you have access to session info also add token count.
```
Check the text for typos and logical issues. Then update `prompt.md.template`.
@Clanker When task is completed set frontmatter to review. Prompt the author to verify the results.
## Worklog
Consolidated Worklog and Backlog sections into a single Worklog section. Removed the Backlog section from both `prompt.md` and `prompt.md.template`. The Worklog now handles all outcomes: add a summary upon task completion, set frontmatter state to `completed` if author confirms or `aborted` if not, and update metadata accordingly. Also fixed typos in `prompt.md` ("fiel" → "file", "upated" → "updated", "to state" → "the state", "th results" → "the results").