From 65e837c9cc533ce785d04900a605091e6ebe71ea Mon Sep 17 00:00:00 2001 From: Lourival Vieira Neto Date: Thu, 26 Nov 2026 20:33:27 -0300 Subject: [PATCH 1/2] agents: define the groomer, the implementer and the reviewer lunatik-groomer, lunatik-implementer and lunatik-reviewer list the tools those roles used over the 546 agents of implement-issue and review-pr in the window luainkernel/harness#6 measured: Bash, Read, Edit, Write, WebFetch, WebSearch, TaskStop and Monitor. A workflow agent of the built-in type carries every tool of the account in each request, about 15k tokens these roles never used. Skill and ToolSearch are left out, as D176 B lists the tools. Each loads CLAUDE.md, and so AGENTS.md, as the built-in agent does: no omitClaudeMd, since a rule pasted into a prompt is a copy the next change does not reach. None names a model or an effort, which the launch gives. A definition's body replaces Claude Code's system prompt, so each body says the role and defers to the prompt and to AGENTS.md. No workflow names them yet: an agentType resolves against the .claude/agents/ of the checkout the session runs in, which each project links once its mount carries them. AGENTS.md said that every agent .agents/agents/ defines loads no CLAUDE.md; it now says so of the host's and GitHub's. Part of luainkernel/harness#6 (D176 B), which it does not close. Co-Authored-By: Claude Opus 5.5 --- .agents/agents/lunatik-groomer.md | 10 ++++++++++ .agents/agents/lunatik-implementer.md | 10 ++++++++++ .agents/agents/lunatik-reviewer.md | 10 ++++++++++ AGENTS.md | 2 +- 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .agents/agents/lunatik-groomer.md create mode 100644 .agents/agents/lunatik-implementer.md create mode 100644 .agents/agents/lunatik-reviewer.md diff --git a/.agents/agents/lunatik-groomer.md b/.agents/agents/lunatik-groomer.md new file mode 100644 index 0000000..3a586f0 --- /dev/null +++ b/.agents/agents/lunatik-groomer.md @@ -0,0 +1,10 @@ +--- +name: lunatik-groomer +description: Judges an issue for the implement-issue workflow before anyone implements it, its merit, its smallest shape and its verdict, on the repository its prompt names, and writes nothing to GitHub. +tools: Bash, Read, Edit, Write, WebFetch, WebSearch, TaskStop, Monitor +--- + +You groom an issue for a workflow on the project the prompt names, which runs Lua inside the Linux +kernel or compiles Lua to eBPF for it, on a host other sessions share. The prompt is your task, and +the AGENTS.md files loaded before it are the rules it is judged by: neither is restated here. + diff --git a/.agents/agents/lunatik-implementer.md b/.agents/agents/lunatik-implementer.md new file mode 100644 index 0000000..d6bcc21 --- /dev/null +++ b/.agents/agents/lunatik-implementer.md @@ -0,0 +1,10 @@ +--- +name: lunatik-implementer +description: Implements an issue for the implement-issue workflow, or fixes a branch its review or its host run failed, on the repository its prompt names, committing and pushing the branch, and opens no pull request. +tools: Bash, Read, Edit, Write, WebFetch, WebSearch, TaskStop, Monitor +--- + +You implement a change for a workflow on the project the prompt names, which runs Lua inside the +Linux kernel or compiles Lua to eBPF for it, on a host other sessions share. The prompt is your +task, and the AGENTS.md files loaded before it are the rules it is held to: neither is restated here. + diff --git a/.agents/agents/lunatik-reviewer.md b/.agents/agents/lunatik-reviewer.md new file mode 100644 index 0000000..7297abd --- /dev/null +++ b/.agents/agents/lunatik-reviewer.md @@ -0,0 +1,10 @@ +--- +name: lunatik-reviewer +description: Reviews a pull request or a branch for the review-pr workflow, or verifies the findings a run leaves, on the repository its prompt names, and posts nothing to GitHub. +tools: Bash, Read, Edit, Write, WebFetch, WebSearch, TaskStop, Monitor +--- + +You review a change for a workflow on the project the prompt names, which runs Lua inside the Linux +kernel or compiles Lua to eBPF for it, on a host other sessions share. The prompt is your task, and +the AGENTS.md files loaded before it are the rules you hold the change to: neither is restated here. + diff --git a/AGENTS.md b/AGENTS.md index f1c9a16..467f74c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -125,7 +125,7 @@ and its build is the one run on the host, in an agent of its own, before the pul does a shape a review proposes, and `implement-guard.sh` refuses a commit of code in the session's own thread that is not a fixup. An agent's context is paid for on every turn it takes, so the work that only waits on the host, or only -writes to GitHub, runs in the agents `.agents/agents/` defines, which load no CLAUDE.md and run on a +writes to GitHub, runs in agents `.agents/agents/` defines that load no CLAUDE.md and run on a smaller model, and a pull request body is read in one that loads none so that it knows nothing of the change. The implementer's prompt names the rule a step needs and restates none: every agent loads this file, and a rule pasted into a prompt is a copy the next change here From 157405d20588b1df950f92ef9b4c021067fa4e62 Mon Sep 17 00:00:00 2001 From: Lourival Vieira Neto Date: Thu, 26 Nov 2026 20:33:41 -0300 Subject: [PATCH 2/2] implement-issue: the implementer reads pr-prep by its path Its prompt ran "Before opening a pull request" with the pr-prep skill by name, which an agent reaches through the Skill tool, 30 of 163 in the window luainkernel/harness#6 measured. lunatik-implementer lists no Skill, so the prompt names the file, as review.js already names it to its reader. Part of luainkernel/harness#6 (D176 B), which it does not close. Co-Authored-By: Claude Opus 5.5 --- .agents/skills/implement-issue/implement.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.agents/skills/implement-issue/implement.js b/.agents/skills/implement-issue/implement.js index cee16af..130a515 100644 --- a/.agents/skills/implement-issue/implement.js +++ b/.agents/skills/implement-issue/implement.js @@ -177,7 +177,8 @@ You read the kernel, build, test and hold the change to its contract as the proj suite, never the test alone. A requirement no case of the suite can fail on is said in your notes, and not proved by a case of something else. Your answer's cases names each case the change adds or changes, as the test prints it, with its suite. -5. Run "Before opening a pull request" with the pr-prep skill, except what needs the host: the suite and +5. Run "Before opening a pull request" with the pr-prep skill, which you read at + \`${a.repo}/${H}.agents/skills/pr-prep/SKILL.md\`, except what needs the host: the suite and the examples run once, after the review, in an agent of their own, and a failure comes back to a fix. Run no install, reload, suite or example yourself. List the examples the project's tools/checks/examples-touched.sh names over the changed files, where it has one.