diff --git a/dot_config/AGENTS.md b/dot_config/AGENTS.md index 0a4d0c4d3bb034c25b1381ca771e08a3c756e661..fa87f2086d2a2ba1ac195c287c4482ff7424bc59 100644 --- a/dot_config/AGENTS.md +++ b/dot_config/AGENTS.md @@ -26,54 +26,9 @@ When I provide the URL to or number of a ticket, todo, or issue, use the appropr ## Notify me when you're finished -If I've asked you to ntfy me when you're done or if you ever have any questions at all, please send a notification by using `ht` to POST to `https://ntfy.sh/$NTFY_TOPIC_LLM` with the token in the `Authorization` header. Set the following headers: - -- **t**(itle): brief, informative, sentence-case summary of what you did (e.g. "Refactored authentication middleware in rumilo") -- **ta**(gs): comma-separated emoji shortcodes (prefer to use one). Must be a _valid_ shortcode (moss and seahorse aren't valid) or it'll be treated as a text tag instead of an emoji prefix. -- **p**(riority): only set this 1-5/min-max urgency int if something went wrong. 3 is default, so escalating would either be 4 as high or 5 as max/urgent. 4 results in a long vibration burst while 5 results in a really long vibration burst. 3 is normal. - -The body should be a slightly longer, friendly paragraph saying who is finished with what in which project. - -If `$SHELLEY_CONVERSATION_ID` is set, find this conversation's slug with `sqlite3 "$SHELLEY_DB" "SELECT slug FROM conversations WHERE conversation_id = '$SHELLEY_CONVERSATION_ID'"` and add the header `Click: https://$(hostname).shelley.exe.xyz/c/`. If `$SHELLEY_CONVERSATION_ID` is not set, DO NOT link to anything unless it's relevant. - -For example - -```bash -# normal success, not from Shelley -ht POST "https://ntfy.sh/$NTFY_TOPIC_LLM" \ - "Authorization:Bearer $NTFY_ACCESS_TOKEN" \ - "t:Refactored authentication middleware in rumilo" \ - "ta:hammer_and_wrench" <<'EOF' -Shitty coding agent (pi) finished refactoring the auth middleware in rumilo. Session validation is cleaner now and all tests pass. -EOF - -# from Shelley, with click URL to the conversation -ht POST "https://ntfy.sh/$NTFY_TOPIC_LLM" \ - "Authorization:Bearer $NTFY_ACCESS_TOKEN" \ - "t:Added HEIC upload support in shelley" \ - "ta:white_check_mark" \ - "Click:https://vm-host.shelley.exe.xyz/c/heic-upload-support" <<'EOF' -Shelley finished adding HEIC-to-JPEG conversion for image uploads in shelley. The new imageutil helper handles it transparently and tests cover the happy path. -EOF - -# linking to something relevant, not from Shelley -ht POST "https://ntfy.sh/$NTFY_TOPIC_LLM" \ - "Authorization:Bearer $NTFY_ACCESS_TOKEN" \ - "t:Updated AUR package for kagi-ken" \ - "ta:package" \ - "Click:https://aur.archlinux.org/packages/kagi-ken" <<'EOF' -Crush finished bumping the kagi-ken AUR package to v0.4.2 and updated the checksums. -EOF - -# something went wrong -ht POST "https://ntfy.sh/$NTFY_TOPIC_LLM" \ - "Authorization:Bearer $NTFY_ACCESS_TOKEN" \ - "t:Build failed in pi-mono — disk full" \ - "ta:rotating_light" \ - "p:4" <<'EOF' -Amp ran into a full disk on the build server while compiling pi-mono. /var/log looks like it needs rotation. The build is blocked until there's space. -EOF -``` +If I've asked you to ntfy me when you're done or if you ever have any questions at all, please send a notification through ntfy. + +If `$SHELLEY_CONVERSATION_ID` is set, find this conversation's slug with `sqlite3 "$SHELLEY_DB" "SELECT slug FROM conversations WHERE conversation_id = '$SHELLEY_CONVERSATION_ID'"` and add the header `Click: https://$(hostname).shelley.exe.xyz/c/`. If `$SHELLEY_CONVERSATION_ID` is not set, DO NOT attempt to find the database or include the exe.xyz click URL. ## Planning before acting