xonecas.io
56101
Df

dotfiles / commit 82d1318

feat: changes to hax config and AGENTS.md

xonecas2026-09-02 82d13184134df734d38e3f41a7d57bdca9288fab parent 8abf0ce

4 files changed

hax/AGENTS.md+5−0
@@ -4,3 +4,8 @@
44 - Use `gh` for Github (it's already authenticated as me).
55 - Use `uvx hf` for HuggingFace (also already authenticated as me).
66 - Use `curl` and the environment's `EXA_API_KEY` to search and read web contents.
7+
8+## Golden rule for coding
9+
10+> Bugs, Cyclomatic complexity, Time complexity, and Memory complexity are all directly related to the single lines of code amount.
11+> Less code, less complexity, less bugs.
hax/bin/hax-adversary+3−3
@@ -12,12 +12,12 @@
1212 set -euo pipefail
1313
1414 if [ "$#" -gt 0 ]; then
15- exec hax -p --preset=adversary --no-session --bare "$@"
15+ exec hax -p --preset=adversary --no-session "$@"
1616 fi
1717
1818 if [ ! -t 0 ]; then
19- exec hax -p --preset=adversary --no-session --bare
19+ exec hax -p --preset=adversary --no-session
2020 fi
2121
2222 echo "usage: hax-adversary <review brief> (or pipe the brief via stdin)" >&2
23-exit 1
23+exit 1
hax/bin/hax-loop+1−1
@@ -42,4 +42,4 @@ git --no-pager diff
4242
4343 echo "==== review ===="
4444 printf '%s\n\nReview the uncommitted diff against that task.\n' "$TASK" |
45- hax -p --preset=adversary --no-session --bare
45+ hax -p --preset=adversary --no-session
pi/AGENTS.md+7−2
@@ -1,6 +1,11 @@
11 # Rules for AGENTS
22
3-- Do not invent project infrastructure or requirements. Verify claims from the repository. Mark unverified ideas as proposals. Do not add unrequested scope.
4-- Always write in Simplified Technical English (ASD-STE100).
3+- Always return exactly what was asked. Do not add scope, backwards compatibility or extras without the user explicitly asking.
54 - Use `gh` for Github (it's already authenticated as me).
65 - Use `uvx hf` for HuggingFace (also already authenticated as me).
6+- Use `curl` and the environment's `EXA_API_KEY` to search and read web contents.
7+
8+## Golden rule for coding
9+
10+> Bugs, Cyclomatic complexity, Time complexity, and Memory complexity are all directly related to the single lines of code amount.
11+> Less code, less complexity, less bugs.