6.2 KiB
6.2 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
Added
- New CHANGELOG.md file to document project changes following Keep a Changelog specifications
- Make help table with dynamic
- Add .gitignore and AGENTS.md template files
- Add
update-templatecommand to synctask.templatewithlibrary.mdrows - Add
update-changelog-with-llmcommand to update CHANGELOG.md using LLM based on git diff - Add new prompt files for LLM features:
prompts/03_update-with-llm-path.mdandprompts/04_add-command-update-changelog-from-git-diff.md - Add support for file paths in
update-with-llmcommand's last parameter - Rename
.prompt/directory toprompts/for better organization - Add
update-changelog-with-llmcommand implementation inbin/update-changelog-with-llm - Add
update-changelog-with-llmdocumentation tolibrary.md - Add
update-changelog-with-llmto help table intask.template - Add new prompt file
prompts/07_run-shellcheck-and-fix-issues.mdfor shellcheck linting and fixing - Add
create-promptcommand to create new prompt files from template with sequential numbering - Add
list-promptcommand to display all prompt files in a formatted table - Add
prompt.md.templatefile as base template for new prompts - Add
prompts/08_add-prompt-commands.mdprompt file documenting the addition of prompt management commands - Add
create-promptandlist-promptcommands to help table intask.template - Add
create-promptandlist-promptdocumentation tolibrary.md
Changed
- Updated
taskscript to follow AGENTS.md bash guidelines:- Changed shebang from
#!/bin/bashto#!/usr/bin/env bashfor portability - Removed
functionkeyword from all function definitions, usingfunc-name() {syntax - Updated all conditional tests from
[ ]to[[ ]]for better functionality - Converted local variables in
help-table()function to lowercase withlocalkeyword:CMD_WIDTH→local cmd_widthOPT_WIDTH→local opt_widthDESC_WIDTH→local desc_widthCOLUMN→local column
- Updated printf statements to use new lowercase variable names
- Changed shebang from
- Updated
image/entrypoint.shscript to follow AGENTS.md bash guidelines:- Changed shebang from
#!/bin/bashto#!/usr/bin/env bashfor portability - Updated all conditional tests from
[ ]to[[ ]]:if [[ -z "$GIT_URL" ]]if [[ ! -d "$GIT_PATH" ]]if [[ -f "$GIT_PATH/.gitmodules" ]]if [[ -f "${GIT_PATH}/task" ]]if [[ -z "$TASK_COMMANDS" ]]
- Changed shebang from
- Updated bash code snippets in README.md to follow AGENTS.md bash guidelines:
- Updated shebangs to use
#!/usr/bin/env bash - Removed
functionkeyword from all function definitions - Updated conditional tests from
[ ]to[[ ]] - Updated arithmetic comparisons to use
(( ))syntax where appropriate - Updated local variables within functions to use lowercase names with
localkeyword:DATABASE→local databaseindrop-db()functionFOLDER→local folderinrender()function- Variables in
convert-vault-file()function: - Variables in
process-data()function:
- Updated
deploy()function to use[[ -z "$1" ]]instead oftest -z "$1"
- Updated shebangs to use
- Further updated bash code snippets in README.md to ensure full compliance with AGENTS.md guidelines:
- Updated remaining
[ -n "$1" ]conditions to use[[ -n "$1" ]]syntax - Updated remaining
test -z "$1"conditions to use[[ -z "$1" ]]syntax - Ensured all local variables follow lowercase naming convention
- Verified all conditional expressions use
[[ ]]instead of[ ]ortest
- Updated remaining
- Updated
init-projectscript to createpromptdirectory instead of.prompt - Enhanced
update-with-llmto support reading prompts from files - Added documentation for
update-with-llmsupporting file paths inlibrary.md - Added
update-templatecommand to help table intaskscript - Added
update-changelog-with-llmcommand to LLM section inlibrary.md - Updated
help()function intask,task.template, andREADME.mdto uselocal grep_patternvariable for improved readability and maintainability - Updated
lint()function intaskto runshellcheckon bothtaskandtask.templatefiles - Added
exportstatements forBUILDX_PLATFORM,CONTAINER_REGISTRY,CONTAINER_TAG, andDOCKERFILEvariables intaskscript - Added
# shellcheck disable=SC1090comment before sourcing files intaskandtask.templateto suppress shellcheck warnings - Updated
update-template()function intaskto uselocal temp_filedeclaration before assignment for better variable scoping - Updated
help()function intask.templateto usehelp "$@"instead ofhelpwhen displaying unknown command error - Removed
disable=SC2059from.shellcheckrcas it's no longer needed after code improvements - Updated
task.templateto includecreate-prompt,list-prompt, andsetup-completioncommands in help table - Updated
library.mdto includecreate-promptandlist-promptcommands in LLM section - Enhanced
help-table()function intask,task.template, andREADME.mdto support grouped sections with<<<Group>>>syntax, displaying group headers centered with separators above and below - Updated
task.templateto include section headers for better organization:- Added
<<<Task>>>section - Added
<<<Files>>>section - Added
<<<Python>>>section - Added
<<<Environment>>>section - Added
<<<LLM>>>section - Added
<<<Logging>>>section - Added
<<<Git>>>section - Added
<<<Pass>>>section - Added
<<<KeePass>>>section - Added
<<<Kubernetes>>>section - Added
<<<Docker>>>section - Added
<<<Ansible>>>section
- Added
- Updated
clean-git-folder,push-git-folder, andreset-git-foldercommands intask.templateto accept optional[path]parameter for flexibility - Updated
task.templatehelp table to use consistent formatting with grouped sections and improved visual separation