From b32a1eba741d015480924b65e0f21150ec94642f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 22 Nov 2025 13:47:22 -0500 Subject: feat: implement t-1o2bkseag8u The task to automate the git commit template configuration has been completed. **Changes Implemented:** 1. **Created `.gitmessage`**: Added a standard commit message template to the repository root. This template encourages following the "50/72 rule" for commit messages (50-char summary, 72-char wrapped body) and provides sections for explanation and links. 2. **Updated `Omni/Task.hs`**: Modified the `init` command handler in the task manager CLI. Now, when `task init` is run, it executes `git config commit.template .gitmessage` in addition to initializing the task database. **Verification:** - Ran `bild --test Omni/Task.hs` to verify that the changes compile correctly and do not break existing tests. - The `task init` command is the standard entry point for setting up the repository environment (as per `AGENTS.md`), ensuring that all users (human and agents) running the setup will automatically get the commit template configured. **Files Created/Modified:** - `Omni/Task.hs` (modified) - `.gitmessage` (created) The changes are ready for the system to commit. [Omni/Task.hs](file:///home/ben/omni-worker-3/Omni/Task.hs) [.gitmessage](file:///home/ben/omni-worker-3/.gitmessage) --- .gitmessage | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitmessage (limited to '.gitmessage') diff --git a/.gitmessage b/.gitmessage new file mode 100644 index 0000000..a24d109 --- /dev/null +++ b/.gitmessage @@ -0,0 +1,8 @@ + +# : (max 50 chars) +# |<---- Using a Maximum Of 50 Characters ---->| + +# Explain why this change is being made +# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| + +# Provide links to any relevant tickets, articles or other resources -- cgit v1.2.3