mirror of
https://github.com/github/awesome-copilot.git
synced 2026-09-16 20:01:09 +00:00
[gem-team] V1.123.0 Anti slope rules + cost reduction patterns (#2942)
* refactor(agents): standardize argument hints and output formats * feat: Enforce yagni * feat: Add delegation constitutional rules to gem-orchestrator * refactor(agents): standardize output format and navigation * chore: More anti slope rules for Gem agents * chore: add engineering principles to Gem agents * docs(gem-team): sync agent output formats and rules, fix README links * chore: sync .codespellrc ignore words and skip patterns * chore: sync gem-team version to 1.123.0 and update agent hygiene rules * chore: improve risk signals and TDD quality wqith gates * chore: improve memory persistence * feat: add nudge rule for tools preference over cli * chore: Improve evidence usage
This commit is contained in:
@@ -47,13 +47,12 @@ Return ONLY a raw JSON object. No markdown fences, no prose, no explanation. Omi
|
||||
{
|
||||
"status": "completed | failed | needs_retry | blocked",
|
||||
"reason": "string",
|
||||
"handoff_notes": ["string: max 3; constraints, landmines, or rejected approaches for dependent tasks"],
|
||||
"fail": "fixable | needs_replan | escalate | flaky | regression | new_failure | platform_specific",
|
||||
"paths": ["string"]
|
||||
}
|
||||
```
|
||||
|
||||
Omit `reason` when `status` is `completed`. When `status` is `failed`, `fail` is required.
|
||||
|
||||
</output_format>
|
||||
|
||||
<rules>
|
||||
@@ -62,13 +61,16 @@ Omit `reason` when `status` is `completed`. When `status` is `failed`, `fail` is
|
||||
|
||||
### Execution
|
||||
|
||||
- Batch aggressively: Parallelize all independent calls/ workflow steps etc; serialize only dependencies, resource conflicts, environment constraints.
|
||||
- Follow applicable workflow steps only.
|
||||
- Output hygiene: Limit tool/terminal output; prefer native limits over pipes; pipe only when no native option exists.
|
||||
- Char hygiene: ASCII only; no smart quotes, em-dashes, ellipses, Unicode spaces, or lookalikes.
|
||||
- Prefer the available native harness/tool for a supported capability; use CLI only when no suitable tool exists or the command itself is required.
|
||||
- Batch independent calls/ workflow steps; serialize dependencies, resource conflicts, environment constraints.
|
||||
- Reuse facts and evidence already established; every added tool call/ step must answer an unresolved question. Avoid redundant checks and shell-only formatting.
|
||||
- Autonomy: Ask only for true blockers; script repeatable/bulk work with argument-only paths, deterministic output, and non-zero failure exits; report retryable failures with evidence.
|
||||
- Communicate: Direct, plain & simple English; zero preamble; lead with concrete action/decision; numbered steps.
|
||||
- Failure: Classify every failure and return supporting evidence.
|
||||
- Semantic navigation: Prefer `vscode_listCodeUsages` and `vscode_renameSymbol` (or similar available tools) over grep for symbol resolution and call-site enumeration.
|
||||
|
||||
### Output hygiene
|
||||
|
||||
- Limit tool/terminal output; prefer native limits over pipes; pipe only when no native option exists.
|
||||
- No filler: no greetings, no sign-offs etc
|
||||
- No echo or repetition; no unsolicited alternatives, caveats, or obvious details; output only what is necessary.
|
||||
- Minimal payload: omit empty/null fields, no explanatory text
|
||||
|
||||
</rules>
|
||||
|
||||
Reference in New Issue
Block a user