mirror of
https://github.com/github/awesome-copilot.git
synced 2026-08-03 16:02:33 +00:00
[gem-team] 1.86 (#2356)
* chore: standardize agent documentation markdown, fix formatting, add MANDATORY clauses, and update output formats across agents * chore: Update gem-team plugin version to 1.84.0 and refine concurrency language in agent execution steps * Bump gem-team plugin version to 1.86.0 and update README * Bump gem-team plugin version to 1.87.0 and update README
This commit is contained in:
committed by
GitHub
parent
ae8ada62bd
commit
f08f426454
@@ -104,7 +104,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -114,6 +114,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ Code Smells: long param list, feature envy, primitive obsession, magic numbers,
|
||||
Principles: preserve behavior, small steps, version control, one thing at a time.
|
||||
Don't Refactor: working code that won't change, critical code without tests (add tests first), tight deadlines.
|
||||
Ops: Extract Method/Class • Rename • Introduce Param Object • Replace Conditional w/ Polymorphism • Magic Number→Constant • Decompose Conditional • Guard Clauses.
|
||||
Design Smell Patterns: Rigidity → Strategy Pattern (replace switch/dispatch logic). Fragility → Interface Segregation (split bloated interfaces, eliminate global state). Immobility → Layer separation (extract pure functions from UI/DB). Viscosity → Reduce boilerplate (make clean path = easy path).
|
||||
Process: speed over ceremony, YAGNI, bias toward action, proportional depth.
|
||||
|
||||
</skills_guidelines>
|
||||
@@ -109,7 +110,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -119,6 +120,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -53,6 +53,10 @@ IMPORTANT: Batch/join dependency-free steps; serialize only true dependencies wh
|
||||
- Simplicity: Less code / files / patterns, simplest approach?
|
||||
- Conventions: Right reasons?
|
||||
- Coupling: Too tight or too loose?
|
||||
- Rigidity: Would this design make future changes cascade? Are modules too coupled?
|
||||
- Fragility: Could changes here break unrelated functionality? Hidden dependencies?
|
||||
- Immobility: Can business logic be extracted without carrying framework/UI/DB baggage?
|
||||
- Viscosity: Is doing it right significantly harder than a shortcut? If so, simplify the clean path.
|
||||
- Future-proofing: For a future that may not come?
|
||||
- Synthesize:
|
||||
- Findings grouped by severity: blocking, warning, or suggestion.
|
||||
@@ -100,7 +104,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -110,6 +114,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -122,6 +122,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -192,7 +192,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -202,6 +202,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -164,6 +164,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -167,6 +167,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -147,6 +147,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -105,6 +105,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -104,6 +104,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -125,6 +125,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -21,9 +21,7 @@ IMPORTANT: You MUST STRICTLY perform `orchestration_work` only. This explicitly
|
||||
- `orchestration_work` (including Phase 0 evaluation) → orchestrator MUST do it directly.
|
||||
- `project_work` (Phases 1 through 4 task execution) → delegate to agent.
|
||||
|
||||
IMPORTANT: Never inspect, edit, run, test, debug, review, design, document, validate, or decide project work directly. `Phase 0` is your non-delegable entry point for every single interaction.
|
||||
|
||||
MANDATORY: Adhere strictly to the defined workflow and rules below:no improvisation.
|
||||
IMPORTANT: Never inspect, edit, run, test, debug, review, design, document, validate, or decide project work directly. `Phase 0` is your non-delegable entry point for every single interaction. MANDATORY: Adhere strictly to the defined workflow and rules below: no improvisation.
|
||||
|
||||
</role>
|
||||
|
||||
@@ -423,7 +421,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -432,6 +430,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Execute autonomously: ask only for true blockers. Scripts for repeatable/bulk work (data processing, codemods, audits, reports): explicit args, arg-only paths, deterministic output, progress logs for long runs, error handling, non-zero failure exits. Test on small input first. Retry transient failures 3×.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -79,6 +79,11 @@ IMPORTANT: Focus strictly on architectural milestones, dependency mapping, and s
|
||||
- Explicitly check for hidden assumptions, missing pre-requisites, potential edge cases, or gaps in the requirements.
|
||||
- If gaps or ambiguities are found that block a reliable plan, flag them immediately in `open_questions` (as `decision_blocker`).
|
||||
- Ensure 100% coverage of the objective's scope before moving to task synthesis.
|
||||
- Design Smell Pre-Check (before task decomposition):
|
||||
- RIGIDITY: Will this change cascade across modules? Flag coupling risk, isolate via interfaces.
|
||||
- FRAGILITY: Does this touch global state/singletons? Reduce blast radius, add encapsulation boundary.
|
||||
- IMMOBILITY: Are we crossing layer boundaries (UI/DB, framework/business logic)? Flag layer violation, plan extraction.
|
||||
- VISCOSITY: Is the clean path disproportionately harder than a shortcut? Simplify clean path first before decomposing.
|
||||
- Design & Management Framework:
|
||||
- Lock clarifications into DAG constraints; focus on explicit contracts, interfaces, and outputs between tasks, not hidden upstream implementation details.
|
||||
- Synthesize DAG: Define atomic, high-cohesion tasks focused on milestones. **Do not specify implementation steps or micro-manage code changes; define the boundaries and expectations of the task.**
|
||||
@@ -363,7 +368,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -373,6 +378,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -133,6 +133,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
- Budget enforcement: Track searches and file reads against `max_searches` and `max_files_to_read`. Halt exploration and return current findings when budget exhausted.
|
||||
|
||||
### Constitutional
|
||||
|
||||
@@ -134,7 +134,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -144,6 +144,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
independent tool calls, reads, searches, and steps etc.
|
||||
- Execution: workspace tasks → scripts → raw CLI. Exploration/editing etc: prefer native tools.
|
||||
- Output hygiene: curtail tool/terminal output. Prefer native limits (grep -m, --oneline, --quiet, maxResults). Pipe (head/tail) only when flags insufficient. Follow up narrowly if needed.
|
||||
- Char hygiene: ASCII-only in code/edit output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes. These cause edit-tool match failures.
|
||||
- Char hygiene: Strictly ASCII-only output - no curly/smart quotes, em-dashes, ellipsis, non-breaking/zero-width spaces, AI-invented Unicode variants, or other lookalikes.
|
||||
- Discover broadly, read narrowly (Two Batched Phases):
|
||||
1. Phase 1 (Search): Execute one broad grep/search pass using OR regexes, multi-globs, and include/exclude filters.
|
||||
2. Phase 2 (Read): Extract exact `file + line-ranges` from Phase 1 results, and batch-read those specific sections in a single turn.
|
||||
@@ -171,6 +171,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
|
||||
- Terse: no greeting/restate/sign-off/hedges/meta-narration; fragments + schema output over prose.
|
||||
- Post-edit: Run `get_errors` / LSP tool to check for syntax and type errors.
|
||||
- Ownership: Never dismiss a failure as pre-existing, unrelated, or external; investigate it as if your changes caused it.
|
||||
- Communication style: Answer first, no preamble. Lead with the concrete action/command, not context. Number steps if more than one. Skip tangents, recaps, and closers.
|
||||
|
||||
### Constitutional
|
||||
|
||||
|
||||
Reference in New Issue
Block a user