Skip to content

fix: guidelines name the T in the date command - #9

Merged
tobixen merged 2 commits into
mainfrom
fix/guidelines-date-format
Oct 8, 2026
Merged

tobixen merged 2 commits into
mainfrom
fix/guidelines-date-format

Conversation

@tobixen

@tobixen tobixen commented Oct 7, 2026

Copy link
Copy Markdown
Member

Disclaimer: the code and the text below the line are AI-generated, by Claude Opus 5.5. The bug was caught by a clean-context AI-review of caldav.


assistant-guidelines.md requires prompt files named YYYY-MM-DDTHH-MM-SS-XXX_<model>.txt and stresses that the T matters, but told the model to run date +%Y-%m-%d%H-%M-%S, which leaves it out. It now says date +%Y-%m-%dT%H-%M-%S, the format both hooks write with strftime. A test pins the documented format in both copies of the guidelines, since ./release copies the .github one over the bundled one.

A second commit makes the README's update recipe stage only .pre-commit-config.yaml instead of git add ., which also staged every unrelated change in the tree.

🤖 Generated with Claude Code

assistant-guidelines.md requires prompt files named
YYYY-MM-DDTHH-MM-SS-XXX_<model>.txt and stresses that the T matters,
but told the model to run `date +%Y-%m-%d%H-%M-%S`, which leaves it
out.  It now says `date +%Y-%m-%dT%H-%M-%S`, the format both hooks
write with strftime.  A test pins the documented format, in the
.github copy as well as the bundled one, since ./release copies the
former over the latter.

Prompt: (comment from the review process) fix in [ai-prompt-auto-commit]
  and make a PR [on a review finding that the guidelines' date command
  lacks the T its filename pattern demands]
Followup-Prompt: [fix review findings]

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
`git add .` after `pre-commit autoupdate` stages every unrelated change
and untracked file in the tree.  All pre-commit needs is the updated
.pre-commit-config.yaml, which it refuses to run with unstaged; say
that, and stage just that file.

Prompt: [fix review findings]

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@tobixen
tobixen merged commit e5f1e5f into main Oct 8, 2026
6 checks passed
@tobixen
tobixen deleted the fix/guidelines-date-format branch October 8, 2026 17:37
@niccokunzmann

Copy link
Copy Markdown
Member

Thanks for the improvements. I have tried them out and we can upgrade to version 0.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants