chore: replace python -m agents.validator with hawk in all agent mode instructions

This commit is contained in:
2026-06-14 00:36:10 +00:00
parent 64c8c967e5
commit 1076696dec
85 changed files with 682 additions and 5442 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ description: Run the DevPlace maintenance agent fleet (10 quality dimensions) in
argument-hint: "[check|fix] [changed] [comma,list,of,dimensions]"
---
You are orchestrating the DevPlace maintenance fleet, the native Claude Code mirror of the `agents/` Python fleet. Each dimension is a project subagent under `.claude/agents/`. The fleet enforces ten independent quality dimensions across the `devplacepy/` package and `tests/`.
You are orchestrating the DevPlace maintenance fleet. Each dimension is a project subagent under `.claude/agents/`. The fleet enforces ten independent quality dimensions across the `devplacepy/` package and `tests/`.
## Dimension to subagent map
| Dimension | Subagent | Enforces |
@@ -19,7 +19,7 @@ You are orchestrating the DevPlace maintenance fleet, the native Claude Code mir
| docs | `docs-maintainer` | docs coverage and role-aware show/hide |
| test | `test-maintainer` | integration-test coverage |
The canonical run order (matches `agents/fleet.py`) is: **style, dry, security, audit, devii, seo, frontend, fanout, docs, test**.
The canonical run order is: **style, dry, security, audit, devii, seo, frontend, fanout, docs, test**.
## Parse the arguments
Arguments: `$ARGUMENTS`
@@ -31,7 +31,7 @@ Arguments: `$ARGUMENTS`
## Execute
1. Resolve the dimension list and mode from the arguments above.
2. **CHECK mode**: launch every selected subagent concurrently (one `Agent` call per dimension in a single message). Each subagent runs read-only and returns its findings report. Tell each subagent explicitly: "Operate in REPORT mode. Do not modify any file." If `changed`, append the file list and: "Restrict findings to these files."
3. **FIX mode**: launch the selected subagents **one at a time in canonical order** (never in parallel - parallel edits to the same file would conflict). Tell each: "Operate in FIX mode: apply minimal root-cause fixes per your doctrine, then run `python -m agents.validator .` and confirm it passes." Wait for each to finish before starting the next. If `changed`, append the file list and: "Restrict fixes to these files."
3. **FIX mode**: launch the selected subagents **one at a time in canonical order** (never in parallel - parallel edits to the same file would conflict). Tell each: "Operate in FIX mode: apply minimal root-cause fixes per your doctrine, then run `hawk .` and confirm it passes." Wait for each to finish before starting the next. If `changed`, append the file list and: "Restrict fixes to these files."
4. Each subagent's final message is its report; it is not shown to the user directly, so collect them.
## Report