xonecas.io
56101
Df

dotfiles / commit 45eae77

rename: implementer to worker

xonecas2026-09-02 45eae77113279f47a0bc9c3c4c705861c4c8a598 parent ec985e4

5 files changed

hax/bin/hax-implementer+0−20
@@ -1,20 +0,0 @@
1-#!/usr/bin/env bash
2-# hax-implementer — run the implementation agent as an isolated hax -p subprocess.
3-#
4-# Usage:
5-# hax-implementer <brief...>
6-# echo "<brief>" | hax-implementer
7-# hax-implementer < brief.txt
8-#
9-set -euo pipefail
10-
11-if [ "$#" -gt 0 ]; then
12- exec hax -p --preset=implementer --no-session "$@"
13-fi
14-
15-if [ ! -t 0 ]; then
16- exec hax -p --preset=implementer --no-session
17-fi
18-
19-echo "usage: hax-implementer <brief> (or pipe the brief via stdin)" >&2
20-exit 1
hax/bin/hax-worker+20−0
@@ -0,0 +1,20 @@
1+#!/usr/bin/env bash
2+# hax-worker — run the worker agent as an isolated hax -p subprocess.
3+#
4+# Usage:
5+# hax-worker <brief...>
6+# echo "<brief>" | hax-worker
7+# hax-worker < brief.txt
8+#
9+set -euo pipefail
10+
11+if [ "$#" -gt 0 ]; then
12+ exec hax -p --preset=implementer --no-session "$@"
13+fi
14+
15+if [ ! -t 0 ]; then
16+ exec hax -p --preset=implementer --no-session
17+fi
18+
19+echo "usage: hax-worker <brief> (or pipe the brief via stdin)" >&2
20+exit 1
hax/config.json+2−2
@@ -8,8 +8,8 @@
88 "system_prompt_append": "Respond to the request taking a position of an adversary, or devil's advocate, provide adversarial feedback.",
99 "tint": "rose"
1010 },
11- "implementer": {
12- "description": "fast implementer: do the given task, nothing else",
11+ "worker": {
12+ "description": "fast worker: do the given task, nothing else",
1313 "provider": "opencode-go",
1414 "model": "glm-5.3-flash",
1515 "effort": "xhigh",
hax/skills/loop/SKILL.md+5−5
@@ -1,13 +1,13 @@
11 ---
2-description: Use when the user explicitly asks to run the implementer/adversary loop.
2+description: Use when the user explicitly asks to run the worker/adversary loop.
33 ---
44
5-# Implementer / adversary loop
5+# Worker / adversary loop
66
7-Coordinate the `implementer` and `adversary` skills to work through the user's request from opposing perspectives.
7+Coordinate the `worker` and `adversary` skills to work through the user's request from opposing perspectives.
88
9-Use the `implementer` skill to produce or update the solution. Then use the `adversary` skill to challenge its direction, assumptions, and result from an independent point of view. Do not frame the adversary as a code reviewer or limit it to finding defects.
9+Use the `worker` skill to produce or update the solution. Then use the `adversary` skill to challenge its direction, assumptions, and result from an independent point of view. Do not frame the adversary as a code reviewer or limit it to finding defects.
1010
11-Feed useful challenges, alternatives, and missed considerations back through the `implementer` skill while preserving the user's original intent and scope. Alternate between the two skills until another pass produces no meaningful change, or progress requires a decision from the user.
11+Feed useful challenges, alternatives, and missed considerations back through the `worker` skill while preserving the user's original intent and scope. Alternate between the two skills until another pass produces no meaningful change, or progress requires a decision from the user.
1212
1313 Do not introduce scope or change the solution away from the user request during the loop.
hax/skills/worker/SKILL.md+3−3
@@ -1,17 +1,17 @@
11 # Implementer
22
3-Create a summary of the conversation with the user, then call the implementer with that summary as the brief.
3+Create a summary of the conversation with the user, then call the worker with that summary as the brief.
44
55 Run it with:
66
77 ```sh
8-hax-implementer "$BRIEF"
8+hax-worker "$BRIEF"
99 ```
1010
1111 or, for a long brief, pipe it:
1212
1313 ```sh
14-cat <<'EOF' | hax-implementer
14+cat <<'EOF' | hax-worker
1515 <brief>
1616 EOF
1717 ```