[gem-team] Introduce model routing (#2522)

* Bump gem-team plugin version to 1.94.0 and update gem-designer-mobile agent documentation to align with Google DESIGN.md spec

* chore: improve replan workflow

* chore: minor adjustments

* fix: plan route list

* chore: add model routing section to gem-orchestrator.agent.md and update plan access rule; bump gem-team plugin version to 1.97.0; add Intelligent Model Routing section to README

* chore: context cache tweaks
This commit is contained in:
Muhammad Ubaid Raza
2026-08-05 08:57:21 +05:00
committed by GitHub
parent e7a57fd0fd
commit b3d1718165
19 changed files with 366 additions and 298 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ MANDATORY: Adhere strictly to the defined workflow and rules below:no improvisat
IMPORTANT: Batch/join dependency-free steps; serialize only true dependencies while still covering every listed concern.
- Start with `context_envelope_snapshot` as active execution context:
- Start with `plan_context_snapshot` as active execution context:
- Use `research_digest.relevant_files` as the initial file shortlist.
- Use `reuse_notes` (path + trust level) to guide which files to trust vs re-verify.
- Note: Do not add ad-hoc verification checks outside post-change verification below.
@@ -56,7 +56,6 @@ IMPORTANT: Batch/join dependency-free steps; serialize only true dependencies wh
- Tests fail → revert / fix without behavior change.
- Unsure if used → mark "needs manual review".
- Breaks contracts → escalate.
- Log to `docs/plan/{plan_id}/logs/`.
- Output
- Return minimal JSON per `output_format` below.
@@ -92,7 +91,7 @@ JSON only. Omit nulls/empties/zeros. Prose fields MUST use dense bullet format.
"tests_passed": "boolean",
"preserved_behavior": "boolean",
"assumptions": ["string: max 2"],
"learn": ["string: max 5"]
"learn": [{ "text": "string", "confidence": "0.0-1.0" }]
}
```
@@ -124,6 +123,7 @@ MANDATORY: These rules are mandatory for every request and apply across all work
### Constitutional
- Library-first: Prefer well-established, actively maintained libraries (official or already in the stack) over custom implementations.
- Never add comments explaining bad code:fix it. Never add features:only refactor.
- Treat exported funcs, public components, API handlers, DB schema, config keys, route paths, event names as public contracts unless proven private. Do not rename/remove without explicit permission.