CI / checks (pull_request) Successful in 13s
json.loads returned untyped data, which failed strict type checking. pyright never reported it because it skips the .claude/ folder.
3.0 KiB
3.0 KiB
Dev Log
One entry per finished roadmap step, newest first. The agent drafts the entry, the developer corrects it. Rules for the workflow are in agentic-workflow.md.
2026-11-15 · Chore: Record tokens and EUR cost per ticket in the dev log
- Issue / PR: #4 / #5
- Phase: 1
- Tokens / cost: 2.6M tokens (19k output, 2.5M cache read) · ~€1.28 API-equivalent
- Rework rounds: 0
- Agent mistakes and what caught them:
- Redundant
.replace("Z", "+00:00")beforedatetime.fromisoformat(not needed since Python 3.11) → caught by lint (ruff FURB162) main()too complex (cognitive complexity 31 of 15) → caught by the IDE's SonarLint diagnostics; per-line parsing moved into its own function- PR claimed "strict pyright passes" on the script, but pyright never analyzed it: it skips dot directories like
.claude/, and "0 errors" hid "no source files". The untypedjson.loadsaccess had 18 strict-mode errors → caught by human review (editor diagnostics), after the merge; fixed by parsing with pydantic models
- Redundant
- What worked well: Checking the transcript format before writing the parser: each response appears on several lines with the same usage, so summing naively would have counted about three times too many tokens.
- Learned: A green check only counts if it checked something: look for the file count, not just "0 errors".
- Workflow change proposed: none
2026-11-15 · Setup: Add project docs and agent workflow setup
- Issue / PR: #1 / #3
- Phase: 1
- Tokens / cost: 12.3M tokens (146k output, 11.5M cache read) · ~€9.21 API-equivalent. Covers all sessions up to the merge, i.e. the whole setup work.
- Rework rounds: 0
- Agent mistakes and what caught them:
- None in the commit/PR step. No CI yet, so only the commit-msg hook and a manual secret scan (grep for tokens, keys, local IPs, personal details) ran.
- What worked well: Showing the staged file list and scanning for secrets before the commit. The board, labels and
gitea.shworked end to end: PR opened,Closes #1closed the issue on merge, ticket moved to Done via the API. - Learned: Gitea's "There is no key available to sign this commit" refers to the merge commit the server would create; the instance has no signing key. It is informational and does not block merging.
- Workflow change proposed: Record tokens and EUR cost from the transcripts (
ticket-cost.py) instead of time and cost from/usage. The agent cannot read/usage, and time leaves out the developer's own work. Approved by the developer.