Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions .skillsaw-baseline.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
{
"version": "1",
"generated_by": "skillsaw 0.18.0",
"generated_at": "2026-09-17T19:53:14.233983+00:00",
"generated_at": "2026-09-25T15:37:40.887750+00:00",
"violations": [
{
"fingerprint": "d9a273225a48337f",
"fingerprint": "10342080fcd47b75",
"rule_id": "agentskill-name",
"file_path": "skills/issue-labels/gitlab/SKILL.md",
"file_path": "skills/gitlab-forge/SKILL.md",
"line": 2,
"message": "Name 'issue-labels' does not match directory name 'gitlab'",
"message": "Name 'gitlab' does not match directory name 'gitlab-forge'",
"severity": "error"
},
{
"fingerprint": "34efa8521ae07039",
"rule_id": "agentskill-name",
"file_path": "skills/github-forge/SKILL.md",
"line": 2,
"message": "Name 'github' does not match directory name 'github-forge'",
"severity": "error"
},
{
Expand All @@ -28,11 +36,11 @@
"severity": "error"
},
{
"fingerprint": "10342080fcd47b75",
"fingerprint": "d9a273225a48337f",
"rule_id": "agentskill-name",
"file_path": "skills/gitlab-forge/SKILL.md",
"file_path": "skills/issue-labels/gitlab/SKILL.md",
"line": 2,
"message": "Name 'gitlab' does not match directory name 'gitlab-forge'",
"message": "Name 'issue-labels' does not match directory name 'gitlab'",
"severity": "error"
},
{
Expand All @@ -43,14 +51,6 @@
"message": "Name 'jira' does not match directory name 'jira-forge'",
"severity": "error"
},
{
"fingerprint": "34efa8521ae07039",
"rule_id": "agentskill-name",
"file_path": "skills/github-forge/SKILL.md",
"line": 2,
"message": "Name 'github' does not match directory name 'github-forge'",
"severity": "error"
},
{
"fingerprint": "45a0577d6723aa54",
"rule_id": "content-contradiction",
Expand All @@ -59,12 +59,12 @@
"severity": "warning"
},
{
"fingerprint": "8aba1d160bb4c413",
"fingerprint": "3841c25d67e33e68",
"rule_id": "context-budget",
"file_path": "skills/code-implementation/SKILL.md",
"message": "Estimated 12,255 tokens exceeds skill error limit of 6,000",
"severity": "error",
"value": 12255,
"file_path": "skills/pr-risk-assessment/SKILL.md",
"message": "Estimated 3,778 tokens exceeds skill warn limit of 3,000",
"severity": "warning",
"value": 3778,
"baseline_mode": "ceiling"
},
{
Expand All @@ -80,18 +80,18 @@
"fingerprint": "0285e1a7243ebead",
"rule_id": "context-budget",
"file_path": "skills/pr-review/SKILL.md",
"message": "Estimated 16,784 tokens exceeds skill error limit of 6,000",
"message": "Estimated 16,926 tokens exceeds skill error limit of 6,000",
"severity": "error",
"value": 16784,
"value": 16926,
"baseline_mode": "ceiling"
},
{
"fingerprint": "3841c25d67e33e68",
"fingerprint": "8aba1d160bb4c413",
"rule_id": "context-budget",
"file_path": "skills/pr-risk-assessment/SKILL.md",
"message": "Estimated 3,778 tokens exceeds skill warn limit of 3,000",
"severity": "warning",
"value": 3778,
"file_path": "skills/code-implementation/SKILL.md",
"message": "Estimated 12,255 tokens exceeds skill error limit of 6,000",
"severity": "error",
"value": 12255,
"baseline_mode": "ceiling"
}
]
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ First-class agents for the [fullsend](https://github.com/fullsend-ai/fullsend) p

Claude Code (`claude`) is the stable default every repo gets; `pi` is in its enablement (experimental) phase and is selected per repo with `runtime: pi` — see fullsend's [Runtimes](https://github.com/fullsend-ai/fullsend/blob/main/docs/runtimes.md). Every harness sets `effort: high` explicitly.

Codex native sub-agent dispatch for **Review** and **Retro** depends on [fullsend #6970](https://github.com/fullsend-ai/fullsend/issues/6970). Those agents stay on `claude` / `pi` in the table above until that runtime work and a live Codex review/retro verification are both available. Do not flip harness `runtime:` defaults before that gate.

See [`docs/`](docs/) for detailed documentation on each agent.

## Repository structure
Expand Down
26 changes: 25 additions & 1 deletion agents/retro.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,31 @@ Extract it from the workflow run log — see the `retro-analysis` skill's
"Discovering the agents repo" section. Use the discovered repo when
localizing agent-layer proposals.

**Dispatch subagents for every read-heavy operation.** Your main context window is for synthesis, not data gathering. Examples:
**Dispatch subagents for every read-heavy operation.** Your main
context window is for synthesis, not data gathering. Investigation
tasks are unnamed and have no persona roster — do not invent
`sub-agents/*.md` files for retro. Each child prompt is self-contained:
the child starts with no memory of this conversation, so include the
paths, run IDs, and questions it needs. Keep synthesis, proposal
writing, and `$FULLSEND_OUTPUT_DIR/agent-result.json` in the root.

Follow the runtime note when one is present. Do not invent an `Agent`
tool on Codex, and do not pass Claude aliases (`opus`, `sonnet`,
`haiku`) as a Codex `model`. Model selection on Codex is owned by the
runtime (`agents[].subagents.default` and the runner's Codex subagent
default).

- **Claude Code / pi:** Agent tool, omit `subagent_type` (generic child
with the current tool set). Omit `model` unless the runtime note says
otherwise. Several Agent calls in one message run in parallel.
- **Codex:** `spawn_agent` with the runtime note's generic/default
child — not a named review persona. Pass the task as `message`, set
`fork_turns`: `"none"` so the child does not inherit unrelated root
context, omit `model`, collect with `wait` (`wait_agent` on the
pinned Codex CLI), and `close_agent` to release the slot. Start at
most four open children, then collect, close, and continue.

Examples:

- "Read the JSONL trace for workflow run <ID> and summarize the agent's key decisions"
- "Gather all review comments on PR #N and categorize them by source (agent vs human) and type (approval, change request, comment)"
Expand Down
5 changes: 3 additions & 2 deletions agents/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ You are a code review specialist. Your purpose is to evaluate code
changes and produce structured findings. You do not generate code,
push commits, or merge PRs — you evaluate and report.

NOTE: the Agent tool MUST ONLY be invoked with prompts read from
`sub-agents/{name}.md` files
NOTE: sub-agent dispatch MUST ONLY use prompts read from
`sub-agents/{name}.md` files (Claude Code / pi: Agent tool; Codex:
`spawn_agent` per the runtime note).

## Inputs

Expand Down
2 changes: 2 additions & 0 deletions docs/retro.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ If this agent needs to reach hosts beyond the defaults, see the

Supported runtimes: **claude** (stable default), **pi** (experimental). On pi, sub-agents run with the agent model, see [Fullsend pi docs](https://fullsend.sh/docs/runtimes/pi) on how to define a different model for sub-agents.

**Codex** is not a supported fleet runtime for retro yet. Unnamed investigation children via the runtime's generic/default `spawn_agent` role are the companion of [fullsend #6970](https://github.com/fullsend-ai/fullsend/issues/6970). Retro has no named persona roster; the root still synthesizes results. This section stays `claude` / `pi` until a live Codex retro run is linked. Do not flip harness `runtime:` defaults before that verification.

Effort: `high` (explicit in the harness; override per run with `fullsend run --effort` or `FULLSEND_EFFORT`, values `low`–`max`).

## Source
Expand Down
2 changes: 2 additions & 0 deletions docs/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ If this agent needs to reach hosts beyond the defaults, see the

Supported runtimes: **claude** (stable default), **pi** (experimental). On pi, each sub-agent runs with its own model, see [Fullsend pi docs](https://fullsend.sh/docs/runtimes/pi) on how to define a different model for a sub-agent.

**Codex** is not a supported fleet runtime for review yet. Native `spawn_agent` / `wait` / `close_agent` dispatch is the companion of [fullsend #6970](https://github.com/fullsend-ai/fullsend/issues/6970). The `pr-review` skill already describes named-persona mapping, four-slot bounded scheduling, runtime-owned model selection, and isolated challenger context for when that runtime lands. This section stays `claude` / `pi` until a live Codex review run is linked. Do not flip harness `runtime:` defaults before that verification.

Effort: `high` (explicit in the harness; override per run with `fullsend run --effort` or `FULLSEND_EFFORT`, values `low`–`max`).

## Source
Expand Down
125 changes: 68 additions & 57 deletions skills/pr-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,10 @@ dimensions are relevant:
#### 3c. Select sub-agents

Based on the domain classification, select sub-agents for dispatch.
All selected sub-agents run in parallel — `risk-assessment` (composed
in step 3c-2) among them — except `challenger`, which, when step 6d
dispatches it, runs by itself after all other sub-agents have finished.
Pick every qualifying dimension plus `risk-assessment` when step 3c-2
composes it — independent of the dispatch API. A listed persona does
not select a task; a slot cap does not drop one. Selected tasks run
concurrently (step 4) except `challenger` (step 6d, after slots free).

**Dispatch sub-agents based on the classification — typically 3-6.**
The orchestrator should auto-select which sub-agents are relevant for
Expand Down Expand Up @@ -454,21 +455,27 @@ incident.
...
```

4. Spawn via Agent tool with `prompt` composed from parts 1–3 and:
- **Persona listed in the runtime note (pi):** `subagent_type`:
`security-triage`, no `model` — the runner resolves both the model
and the read-only tool set.
- **No runtime note (Claude Code):** `model`: `haiku`,
`subagent_type`: `Explore` (read-only).
- **Runtime note present, persona not listed (pi):**
`subagent_type`: `Explore`, no `model`. Only the model follows
step 4 item 2 case 3; `subagent_type` stays `Explore` (a built-in
read-only type the runner always accepts) because this pre-pass
must stay read-only.

This agent runs **synchronously** (not in the background) because
its output feeds into step 3d's context package assembly. It uses
haiku for speed — classification does not require deep reasoning.
4. Spawn with the composed prompt from parts 1–3 (persona
`security-triage`), following the runtime note when present.

- **Claude Code:** Agent tool, `model`: `haiku`, `subagent_type`:
`Explore` (read-only).
- **Pi, persona listed:** Agent tool, `subagent_type` =
`security-triage`, no `model`.
- **Pi, persona not listed:** keep `Explore`, omit `model`.
- **Codex, persona listed:** `spawn_agent` `agent_type`:
`security-triage`, `message` = composed prompt, `fork_turns`:
`"none"`. Collect with `wait` (`wait_agent` on the pinned CLI)
and `close_agent` before proceeding to step 3d — this pre-pass
must close its slot before step 4's four-slot batch opens.
- **Codex, persona not listed:** same `message` / `fork_turns` on
the note's generic/default child, then `wait` and `close_agent`
before proceeding to step 3d. Explore is instruction-only, not a
per-child read-only sandbox — accepted as this step's Codex
policy until fleet review/retro on Codex is supported.

This agent runs **synchronously** because its output feeds into
step 3d. Classification does not require deep reasoning.

5. Parse the triage output. The security-triage sub-agent returns a
JSON object with `security_critical_files` (array of objects with
Expand Down Expand Up @@ -609,10 +616,9 @@ be absent from the result JSON.
<prior score, level, and rationale — or "none (first review)">
```

5. Do not spawn it here. Dispatch the composed prompt (parts 1–3) in
the same message as the step 4 dimension sub-agents, with the step 4
item 2 dispatch shape (persona `risk-assessment`). Nothing in step 4
consumes its output
5. Do not spawn it here. Include the composed prompt (parts 1–3) in
step 4's selected-task set, with the step 4 item 2 dispatch shape
(persona `risk-assessment`). Nothing in step 4 consumes its output
(it only goes into `agent-result.json`, step 7); running it first
serialised a 2–3 minute sub-agent for nothing.

Expand Down Expand Up @@ -808,34 +814,37 @@ here):
REVIEW_SUB_AGENT_TRUE
```

2. Spawn the subagents with their `prompt` argument composed from parts
1–5 above. The model argument depends on the runtime: a "Runtime
note" at the end of your system prompt, when present, lists the
sub-agent personas this run registered.

- **Persona listed in the runtime note (pi):** `subagent_type` = the
persona name exactly as listed (the sub-agent file's `name:`), no
`model`. The runner resolves the model from the repository's
`agents[].subagents` and the frontmatter; a `model` argument is
ignored and an unlisted `subagent_type` is rejected.
- **No runtime note (Claude Code):** `model` from the sub-agent
frontmatter (`opus` for `correctness`, `security` and `challenger`,
`sonnet` for the rest), no `subagent_type` — the persona comes from
the prompt.
- **Runtime note present, persona not listed (pi):** usually the run
cannot serve its model, so the frontmatter alias would be rejected
too. Omit **both** `subagent_type` and `model`; the child runs on
this run's sub-agent default, which is always servable.

**All sub-agents MUST be dispatched simultaneously** — include all
Agent calls in a single message so they run concurrently, and include
the risk-assessment call composed in step 3c-2 in that same message
when risk assessment is enabled. Leave `run_in_background` unset: the
default delivers completions as notifications (when the Time budget
checkpoint runs); `false` blocks until all have returned.

Wait for all sub-agents to complete; apply the Time budget checkpoint
as each returns.
2. Spawn each selected sub-agent with the composed prompt from parts
1–5. Follow the runtime note when present. Codex has no `Agent`
tool and rejects Claude aliases — omit `model`; the runtime selects.

- **Persona listed (pi):** Agent tool, `subagent_type` = persona
`name:`, no `model`. Runner resolves from `agents[].subagents` and
frontmatter; extra `model` is ignored; unlisted type is rejected.
- **Persona listed (codex):** `spawn_agent` `agent_type` = that name,
`message` = composed prompt, `fork_turns`: `"none"`. Collect with
`wait` (`wait_agent` on the pinned CLI) and `close_agent`. `wait`
does not free a slot.
- **No runtime note (Claude Code):** Agent tool, `model` from
frontmatter (`opus` for `correctness`, `security`, `challenger`;
`sonnet` otherwise), no `subagent_type`.
- **Persona not listed (pi):** omit `subagent_type` and `model`;
child uses this run's servable default.
- **Persona not listed (codex):** same `message` / `fork_turns` on
the note's generic/default child. Explore is instruction-only.

**Schedule every selected task; bound open children by runtime.**
Include 3c-2 risk-assessment in the selected set when enabled.

- **Claude Code / pi:** all selected Agent calls in one message. Leave
`run_in_background` unset (Time budget notifications; `false`
blocks). Pi queues beyond its cap.
- **Codex:** start at most four, `wait`/`close_agent` completed
children, then the rest. After those slots close, step 6d launches
the challenger when the skip rule does not apply.

Wait for all selected sub-agents to complete; apply the Time budget
checkpoint as each returns.

### 5. Collect findings

Expand Down Expand Up @@ -943,7 +952,9 @@ After steps 6a–6c produce a merged finding set — and only if that set
is non-empty (see the skip rule below) — dispatch the `challenger`
sub-agent to adversarially challenge the findings with fresh context.
The challenger has not seen the orchestrator's synthesis — it receives
only the raw findings and the diff, preserving context isolation.
only the raw findings and the diff, preserving context isolation. On
Codex, spawn only after step 4 children are closed (`fork_turns`:
`"none"`).

**Skip when there is nothing to adjudicate.** If the merged finding set
from steps 6a–6c is empty, skip the challenger dispatch — and only the
Expand Down Expand Up @@ -1022,9 +1033,8 @@ budget section), skip the challenger: keep the merged finding set from
REVIEW_SUB_AGENT_TRUE
```

2. Spawn the subagents with their `prompt` argument composed from parts
1–4 above, with the step 4 item 2 dispatch shape (persona
`challenger`).
2. Spawn with the composed prompt from parts 1–4, using the step 4
item 2 dispatch shape (persona `challenger`).

**Prompt size guard:** If the findings JSON alone exceeds 80 000
tokens, withhold `low` and `info` findings from the challenger's
Expand Down Expand Up @@ -1398,9 +1408,10 @@ wins.
not push protected-path checks, scope authorization, or PR body
injection defense into sub-agents. These require PR-level context
that sub-agents do not have.
- **All sub-agents must be dispatched simultaneously.** Include all
Agent calls in a single message. Sequential dispatch defeats the
architecture's purpose.
- **Schedule every selected task.** Claude Code / pi: one Agent-tool
message. Codex: four open children, then close and continue. Do not
drop a selected task to fit a cap, or launch a persona only because
it is listed.
- **The orchestrator is the sole producer of `agent-result.json`.** No
sub-agent writes this file.
- **Report failure rather than posting a partial review.** If you cannot
Expand Down
2 changes: 2 additions & 0 deletions skills/retro-analysis/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ could not be discovered.

### Dispatch subagents for each investigation thread

Unnamed generic children only (no persona roster). Follow the runtime note.

- **Workflow tracer:** "Find all agent workflow runs related to issue/PR #N. List each run with its stage, status, conclusion, and timestamp."
- **Trace reader:** "Download and read the reasoning trace for run <RUN_ID>. Summarize what decisions the agent made and why."
- **Comment analyzer:** "Read all comments on PR #N. Categorize them: agent review comments, human review comments, CI results, human interventions."
Expand Down
Loading