[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:
Muhammad Ubaid Raza
2026-09-14 14:41:54 +10:00
committed by GitHub
parent d6c52d1147
commit bb9ddd4ec7
16 changed files with 312 additions and 201 deletions
+22 -15
View File
@@ -17,6 +17,12 @@
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square" alt="Pull requests welcome">
</p>
## Real-world performance
> Sub-$0.001 per API call on 100K+ token contexts. 82.8M+ tokens processed across 666 agent runs, with typical responses completing in 2-5 seconds. Prompt caching turns large contexts into sub-penny operations — a 10x cost reduction vs. uncached input.
_Observed during Gem-Team development using DeepSeek V4.1 Flash via CommandCode._
## The Problem
Current AI coding is often one-off and ad-hoc. You get code, but you don't get a repeatable process. This leads to inconsistent quality, wasted tokens, and a lack of long-term learning.
@@ -139,6 +145,7 @@ Gem Team uses a structured workflow to turn AI coding into a reliable engineerin
- **Cost Efficiency**: Model routing, output hygiene, and compact handoffs ensure you only use the tokens you need. Evidence travels by reference, not by copy — keeping context usage low and cache hits high across waves.
- **Failure Classification**: Every failure is classified (retry, fixable, replan, flaky, regression, platform-specific, test-bug) so the Orchestrator routes it to the right agent instead of blindly retrying.
- **Verification Boundary**: The Orchestrator never re-verifies or second-guesses specialist output. Verification is owned exclusively by the specialist responsible for the work.
- **Quality Directives**: Every agent follows specific rules that prevent common AI coding issues: no dead buttons, no buzzwords, no template filler, and every decision has a reason.
## How it Works
@@ -150,20 +157,20 @@ Gem Team installs a set of specialized agents that work together under the guida
### Agent Roles
| Role | Description |
| :------------------ | :------------------------------------------------------------------------------------------------------------------ |
| **Orchestrator** | Classifies intent, routes work, tracks state, and enforces verification gates. Never re-verifies specialist output. |
| **Planner** | Creates bounded wave plans with YAGNI/KISS scope reduction: milestones, routing, handoffs, risks, and criteria. |
| **Implementer** | Implements features, fixes, and refactors with TDD. Covers happy paths, boundaries, errors, and state transitions. |
| **Reviewer** | Independent reviews for quality, security, and compliance. Read-only critic mode for decisions. |
| **Debugger** | Root-cause analysis, stack traces, regression bisection. Adds a reproduction test; never implements fixes. |
| **Researcher** | Codebase exploration in five budgeted modes: scan, question, audit, trace, deep. |
| **Browser Tester** | E2E browser tests with visual, accessibility, performance, network, and regression checks. |
| **Mobile Tester** | Mobile E2E on iOS/Android with Detox, Maestro, or Appium. |
| **DevOps** | Infrastructure, CI/CD, containers, health checks, rollback, and production approvals. |
| **Documentation** | Technical docs, READMEs, API references, diagrams, and walkthroughs. |
| **Code Simplifier** | Removes dead code, reduces complexity, consolidates duplicates, and improves naming. |
| **Skill Creator** | Extracts high-confidence patterns into reusable `SKILL.md` files and assets. |
| Role | Description |
| :------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Orchestrator** | Classifies intent, routes work, tracks state, and enforces verification gates. Never re-verifies specialist output. |
| **Planner** | Creates bounded wave plans with YAGNI/KISS scope reduction and concern-separated slices: milestones, routing, handoffs, risks, and criteria. |
| **Implementer** | Implements features, fixes, and refactors with TDD. Covers happy paths, boundaries, errors, and state transitions. Applies SOLID, fail-fast, and least-surprise. Every major decision has a one-line reason. No dead buttons. |
| **Reviewer** | Independent reviews for quality, security, and compliance. Read-only critic mode for decisions. Verifies every decision has a reason. Flags dead buttons and external script patches as blocking issues. |
| **Debugger** | Root-cause analysis, stack traces, regression bisection. Adds a reproduction test; never implements fixes. |
| **Researcher** | Codebase exploration in five budgeted modes: scan, question, audit, trace, deep. |
| **Browser Tester** | E2E browser tests with visual, accessibility, performance, network, and regression checks. |
| **Mobile Tester** | Mobile E2E on iOS/Android with Detox, Maestro, or Appium. |
| **DevOps** | Infrastructure, CI/CD, containers, health checks, rollback, and production approvals. |
| **Documentation** | Technical docs, READMEs, API references, diagrams, and walkthroughs. No buzzwords. Every section exists because the product needs it. No fabricated statistics. |
| **Code Simplifier** | Removes dead code, reduces complexity, consolidates duplicates, and improves naming. Every refactoring has a one-line reason. No buzzwords. Removes AI-slop comments. |
| **Skill Creator** | Extracts high-confidence patterns into reusable `SKILL.md` files and assets. |
## Compatible Tools
@@ -230,7 +237,7 @@ handoff:
- [Documentation](https://mubaidr.github.io/gem-team/)
- [Contributing](https://mubaidr.github.io/gem-team/5.resources/2.contributing.html)
- [License](https://github.com/mubaidr/gem-team/blob/main/LICENSE)
- [License](LICENSE)
## Support
+1 -1
View File
@@ -44,5 +44,5 @@
"license": "Apache-2.0",
"name": "gem-team",
"repository": "https://github.com/mubaidr/gem-team",
"version": "1.119.0"
"version": "1.125.0"
}