everything-gemini 1.2.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
  2. package/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
  3. package/.github/ISSUE_TEMPLATE/subagent_proposal.md +29 -0
  4. package/.github/workflows/ci.yml +72 -1
  5. package/.github/workflows/release.yml +17 -2
  6. package/CHANGELOG.md +178 -0
  7. package/CONTRIBUTING.md +90 -4
  8. package/README.md +147 -23
  9. package/action.yml +35 -0
  10. package/agents/browser-qa.md +1 -1
  11. package/agents/database-migrator.md +26 -0
  12. package/agents/documentation-writer.md +27 -0
  13. package/agents/incident-responder.md +34 -0
  14. package/agents/performance-tuner.md +27 -0
  15. package/agents/platform-engineer.md +33 -0
  16. package/agents/release-engineer.md +34 -0
  17. package/bin/everything-gemini +1791 -142
  18. package/docs/COMMUNITY_SUBMISSIONS.md +88 -0
  19. package/docs/LAUNCH_KIT.md +138 -13
  20. package/docs/architecture/progressive-disclosure.md +3 -3
  21. package/docs/index.html +410 -40
  22. package/docs/launch-kit.md +163 -0
  23. package/examples/cli-workflows/demo_workflow.sh +15 -7
  24. package/examples/python-sdk/README.md +32 -5
  25. package/examples/python-sdk/documentation_audit_pipeline.py +83 -0
  26. package/examples/python-sdk/incident_triage_pipeline.py +170 -0
  27. package/examples/python-sdk/multi_agent_pipeline.py +95 -0
  28. package/examples/python-sdk/platform_provisioning_pipeline.py +193 -0
  29. package/examples/python-sdk/release_readiness_audit.py +144 -0
  30. package/hooks/secret-scrubber/hooks.json +16 -0
  31. package/hooks/secret-scrubber/scripts/scrub-secrets.sh +62 -0
  32. package/mcp/README.md +21 -0
  33. package/mcp/mcp_config.example.json +39 -0
  34. package/package.json +3 -1
  35. package/plugins/core/rules/core-practices.md +63 -4
  36. package/plugins/python-ai/rules/ai-agent-patterns.md +67 -4
  37. package/plugins/security-shield/rules/zero-trust.md +60 -4
  38. package/plugins/web-fullstack/rules/frontend-standards.md +74 -4
  39. package/rules/paradigms/security-hardened.md +53 -10
  40. package/rules/paradigms/tdd.md +65 -8
  41. package/scripts/install.ps1 +14 -0
  42. package/scripts/install.sh +15 -1
  43. package/scripts/validate.sh +103 -12
  44. package/skills/apache-kafka-streams/SKILL.md +152 -0
  45. package/skills/argo-workflows/SKILL.md +151 -0
  46. package/skills/axum-web-service/SKILL.md +159 -0
  47. package/skills/cilium-ebpf-networking/SKILL.md +145 -0
  48. package/skills/clickhouse-analytics/SKILL.md +128 -0
  49. package/skills/cloudflare-r2-object-storage/SKILL.md +143 -0
  50. package/skills/dbt-transformation/SKILL.md +179 -0
  51. package/skills/debezium-cdc/SKILL.md +166 -0
  52. package/skills/distributed-rate-limiting/SKILL.md +138 -0
  53. package/skills/duckdb-local-olap/SKILL.md +134 -0
  54. package/skills/fastapi-production/SKILL.md +157 -0
  55. package/skills/grpc-connect-rpc/SKILL.md +176 -0
  56. package/skills/langgraph-orchestrator/SKILL.md +144 -0
  57. package/skills/litellm-proxy-gateway/SKILL.md +154 -0
  58. package/skills/milvus-vector-clustering/SKILL.md +134 -0
  59. package/skills/nats-jetstream/SKILL.md +122 -0
  60. package/skills/open-telemetry-tracing/SKILL.md +151 -0
  61. package/skills/playwright-visual-regression/SKILL.md +124 -0
  62. package/skills/redis-cache-patterns/SKILL.md +159 -0
  63. package/skills/svelte-kit-architect/SKILL.md +190 -0
  64. package/skills/temporal-workflows/SKILL.md +158 -0
  65. package/skills/trpc-react-query/SKILL.md +169 -0
  66. package/skills/turborepo-monorepo/SKILL.md +199 -0
  67. package/skills/vault-secrets-management/SKILL.md +129 -0
  68. package/skills/vllm-inference/SKILL.md +144 -0
  69. package/skills/wasm-rust-optimizer/SKILL.md +130 -0
  70. package/templates/full-power/hooks.json +14 -0
  71. package/templates/full-power/mcp_config.json +47 -0
  72. package/templates/recommended/hooks.json +14 -0
  73. package/tests/cli.test.js +447 -0
package/README.md CHANGED
@@ -7,6 +7,8 @@
7
7
  [![Live Showcase](https://img.shields.io/badge/Live_Showcase-Visit_Catalog-00e5ff.svg)](https://salmandev.github.io/everything-gemini/)
8
8
  [![npm version](https://img.shields.io/npm/v/everything-gemini.svg?color=cb3837)](https://www.npmjs.com/package/everything-gemini)
9
9
  [![CI](https://github.com/salmandev/everything-gemini/actions/workflows/ci.yml/badge.svg)](https://github.com/salmandev/everything-gemini/actions/workflows/ci.yml)
10
+ [![OS Matrix](https://img.shields.io/badge/Platform-Linux%20%7C%20macOS%20%7C%20Windows-blue.svg)](https://github.com/salmandev/everything-gemini/actions/workflows/ci.yml)
11
+ [![GitHub Action](https://img.shields.io/badge/GitHub_Action-everything--gemini-2088FF?logo=githubactions&logoColor=white)](https://github.com/salmandev/everything-gemini)
10
12
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
11
13
  [![Antigravity](https://img.shields.io/badge/Google-Antigravity-4285F4.svg)](https://antigravity.google)
12
14
  [![Status](https://img.shields.io/badge/status-active-success.svg)](https://github.com/salmandev/everything-gemini)
@@ -35,7 +37,7 @@ Out of the box, Antigravity is a formidable pair programmer. But without structu
35
37
  2. 🧠 **Progressive Disclosure Skills (`skills/`)**: On-demand procedural playbooks that load *only* when needed, saving up to **85% in token overhead**.
36
38
  3. 📏 **Hierarchical Rules (`GEMINI.md` / `AGENTS.md`)**: Context-aware coding standards, zero-hallucination protocols, and clean-architecture rules.
37
39
  4. 🔌 **Plug-and-Play Plugins (`plugins/`)**: Domain bundles for Fullstack Web, Python AI, DevOps, and Security.
38
- 5. 🌐 **Curated MCP Servers (`mcp/`)**: Pre-configured connections for GitHub, PostgreSQL, SQLite, and Documentation scrapers.
40
+ 5. 🌐 **Curated MCP Servers (`mcp/`)**: Production blueprints for Persistent Semantic Memory (`@modelcontextprotocol/server-memory`), High-Performance Cache (`@modelcontextprotocol/server-redis`), Container Engine (`@modelcontextprotocol/server-docker`), Real-Time OLAP (`@modelcontextprotocol/server-clickhouse`), Web Fetch (`server-fetch`), GitHub, PostgreSQL, and SQLite.
39
41
  6. 🤖 **Subagent & Browser Automation**: Specialized recipes for autonomous browser subagents with automated WebP recording.
40
42
 
41
43
  ---
@@ -77,8 +79,20 @@ cd everything-gemini
77
79
  | Profile | Target Audience | What Gets Installed |
78
80
  | :--- | :--- | :--- |
79
81
  | **`core`** | Minimalists & Speed | Safety-shield hook, TDD skill, repo-onboarding skill, baseline `GEMINI.md`. |
80
- | **`developer`** *(Recommended)* | Daily Software Engineers | Core + Fullstack Web plugin, Python AI plugin, Git Craftsman, Auto-formatter hook, Stop verifier hook. |
81
- | **`full`** | Lead Engineers & Archs | Everything: all plugins, full skills catalog, all lifecycle hooks, pre-tested MCP configs, and templates. |
82
+ | **`developer`** *(Recommended)* | Daily Software Engineers | Core + 12 Scoped Subagents (`agents/`), Frontier Skills (Multimodal vision, 2M context caching, Subagent handoff, Security audit), Fullstack & Python AI plugins, Auto-formatter & Goal-verifier hooks. |
83
+ | **`full`** | Lead Engineers & Archs | Everything: all 56 progressive skills, 12 scoped subagents, full lifecycle hooks suite (7 hooks), all plugins, MCP configs, and templates. |
84
+
85
+ ### 5. In CI / GitHub Actions Workflows
86
+
87
+ Automate Everything Gemini skill, subagent, and lifecycle safety hook provisioning directly in your CI pipelines using our official composite action:
88
+
89
+ ```yaml
90
+ - name: Setup Everything Gemini
91
+ uses: salmandev/everything-gemini@v1
92
+ with:
93
+ profile: developer # core | developer | full
94
+ global: false # true for ~/.gemini/config/, false for active workspace .agents/
95
+ ```
82
96
 
83
97
  ---
84
98
 
@@ -130,7 +144,7 @@ flowchart TB
130
144
  | **Context Window & Caching** | 200k tokens, ephemeral | **1M-2M+ tokens with Native Prefix Context Caching (~75% cost savings)** |
131
145
  | **Memory System** | Flat markdown files | **Knowledge Items (KI)** + **Adaptive Learned Instincts** |
132
146
  | **UI & Visual Multimodality** | Standard text output | **Native `browser_subagent` + WebP Screen Video Recording + Vision** |
133
- | **Subagents Fleet** | Manual sub-prompts | **6 Scoped Subagents (`agents/`) with Formal Handoff Protocol** |
147
+ | **Subagents Fleet** | Manual sub-prompts | **10 Scoped Subagents (`agents/`) with Formal Handoff Protocol** |
134
148
  | **Lifecycle Hooks** | Shell scripts | Typed protojson contracts (`PreToolUse`, `PostToolUse`, `PreInvocation`, `PostInvocation`, `Stop`) |
135
149
  | **Tool Integration** | Claude tool use | **MCP standard (Stdio & SSE)** with auto-discovery & namespacing |
136
150
 
@@ -142,10 +156,10 @@ flowchart TB
142
156
  everything-gemini/
143
157
  ├── .github/ # CI/CD workflows & issue templates
144
158
  ├── bin/ # Zero-dependency harness & scaffolding CLI
145
- ├── agents/ # Scoped subagent fleet (Planner, Reviewer, Architect, etc.)
159
+ ├── agents/ # Scoped subagent fleet (Planner, Reviewer, Release Engineer, etc.)
146
160
  ├── scripts/ # Automated installers and harness validators
147
161
  ├── plugins/ # Reusable modular plugins (web-fullstack, python-ai, security)
148
- ├── skills/ # 30 Progressive disclosure skills (28 core + 2 plugins)
162
+ ├── skills/ # 48 Progressive disclosure skills (46 core + 2 plugins)
149
163
  ├── rules/ # Contextual guidelines & standards
150
164
  ├── hooks/ # Event-driven lifecycle hooks (GeminiShield, Auto-lint)
151
165
  ├── mcp/ # Production-ready MCP server blueprints
@@ -169,10 +183,28 @@ Everything Gemini provides specialized subagent specifications designed for Anti
169
183
  | **[`browser-qa`](agents/browser-qa.md)** | Automated Visual QA | Native browser testing with automated WebP recording into artifacts. |
170
184
  | **[`security-auditor`](agents/security-auditor.md)** | Security Auditor | Credential scanning, OWASP Top 10, dependency audit, permission gates. |
171
185
  | **[`architect`](agents/architect.md)** | Systems Architect | C4 Mermaid blueprints, sequence diagrams, and formal ADR records. |
186
+ | **[`database-migrator`](agents/database-migrator.md)** | Database Schema Specialist | Zero-downtime expand/contract SQL migrations, lock analysis, and rollbacks. |
187
+ | **[`performance-tuner`](agents/performance-tuner.md)** | Latency & Profiling Expert | CPU/memory flamegraphs, database execution plans, and N+1 waterfalls. |
188
+ | **[`documentation-writer`](agents/documentation-writer.md)** | Technical Documentation Specialist | API specifications, ADR governance, changelogs, and clickable file:// link fidelity. |
189
+ | **[`release-engineer`](agents/release-engineer.md)** | Release Automation Gatekeeper | Semantic Versioning, build artifact checksums, git release tagging, and canary rollouts. |
190
+ | **[`incident-responder`](agents/incident-responder.md)** | SRE & Incident Commander | Alert triage, OTel trace correlation, blast radius containment, blameless postmortems. |
191
+ | **[`platform-engineer`](agents/platform-engineer.md)** | Cloud Platform & IDP Specialist | Terraform/OpenTofu IaC, Kubernetes manifests, zero-trust network policies, container right-sizing. |
172
192
 
173
193
  ### 1. Skills (`skills/`)
174
194
  Skills in Antigravity are lazy-loaded runbooks. Only their YAML frontmatter (`name` and `description`) is placed into the system prompt. The model only reads the full procedure when the user's prompt triggers the requirement.
175
195
 
196
+ - **[`milvus-vector-clustering`](skills/milvus-vector-clustering/SKILL.md)**: Enterprise Milvus vector clustering, HNSW/IVF-PQ indexing, hybrid dense-sparse search, and partition keys.
197
+ - **[`cloudflare-r2-object-storage`](skills/cloudflare-r2-object-storage/SKILL.md)**: Zero-egress fee object storage, S3-compatible APIs, pre-signed upload URLs, and Workers edge CDN.
198
+ - **[`vault-secrets-management`](skills/vault-secrets-management/SKILL.md)**: HashiCorp Vault enterprise secrets orchestration, AppRole authentication, dynamic ephemeral DB credentials, and PKI mTLS.
199
+ - **[`distributed-rate-limiting`](skills/distributed-rate-limiting/SKILL.md)**: High-throughput distributed rate limiting using Redis sliding window logs, token buckets, and RFC 6585 compliance.
200
+ - **[`vllm-inference`](skills/vllm-inference/SKILL.md)**: High-throughput LLM serving, PagedAttention KV cache, continuous batching, and tensor parallelism.
201
+ - **[`debezium-cdc`](skills/debezium-cdc/SKILL.md)**: Change Data Capture (CDC) streaming, PostgreSQL logical decoding, Kafka Connect, and outbox patterns.
202
+ - **[`cilium-ebpf-networking`](skills/cilium-ebpf-networking/SKILL.md)**: Cloud-native eBPF networking, transparent mTLS, L7 CiliumNetworkPolicies, and Hubble observability.
203
+ - **[`litellm-proxy-gateway`](skills/litellm-proxy-gateway/SKILL.md)**: Enterprise LLM proxy gateway, multi-provider routing (Gemini, Claude, OpenAI), budget controls, and fallback cascades.
204
+ - **[`langgraph-orchestrator`](skills/langgraph-orchestrator/SKILL.md)**: Stateful multi-agent graphs, cyclic execution loops, persistent checkpointers, and human-in-the-loop pauses.
205
+ - **[`playwright-visual-regression`](skills/playwright-visual-regression/SKILL.md)**: Automated visual regression testing, pixelmatch snapshot diffing, cross-browser viewports, and containerized stability.
206
+ - **[`open-telemetry-tracing`](skills/open-telemetry-tracing/SKILL.md)**: Distributed tracing, OTLP exporters, W3C traceparent context propagation, and metric correlation.
207
+ - **[`argo-workflows`](skills/argo-workflows/SKILL.md)**: Kubernetes-native DAG workflows, artifact passing, container steps, retry strategies, and CronWorkflows.
176
208
  - **[`gemini-multimodal`](skills/gemini-multimodal/SKILL.md)**: Native visual reasoning over mockups, diagrams, and automated WebP browser recordings.
177
209
  - **[`context-caching`](skills/context-caching/SKILL.md)**: 1M-2M token context optimization, static prefix caching, and repository indexing.
178
210
  - **[`gemini-grounding`](skills/gemini-grounding/SKILL.md)**: Real-time Google Search grounding, live documentation retrieval, and fact-checking.
@@ -184,6 +216,20 @@ Skills in Antigravity are lazy-loaded runbooks. Only their YAML frontmatter (`na
184
216
  - **[`subagent-handoff`](skills/subagent-handoff/SKILL.md)**: Multi-agent task delegation protocol, scoped contexts, and report synthesis.
185
217
  - **[`api-craftsman`](skills/api-craftsman/SKILL.md)**: REST, OpenAPI 3.1 specifications, gRPC protos, and RFC 7807 error envelopes.
186
218
  - **[`database-architect`](skills/database-architect/SKILL.md)**: Zero-downtime migrations, concurrent indexing, and ACID schema modeling.
219
+ - **[`turborepo-monorepo`](skills/turborepo-monorepo/SKILL.md)**: High-performance monorepo build caching, task pipelines, package boundaries, and Docker pruning.
220
+ - **[`dbt-transformation`](skills/dbt-transformation/SKILL.md)**: Modular SQL transformations, Jinja macros, semantic layer models, schema tests, and docs.
221
+ - **[`apache-kafka-streams`](skills/apache-kafka-streams/SKILL.md)**: Exactly-once event streaming, stateful window aggregations, consumer group rebalancing, and Schema Registry.
222
+ - **[`grpc-connect-rpc`](skills/grpc-connect-rpc/SKILL.md)**: Lightweight, browser-compatible gRPC and Protocol Buffers with Connect-ES / Connect-Go and HTTP/2-3 streaming.
223
+ - **[`duckdb-local-olap`](skills/duckdb-local-olap/SKILL.md)**: Embedded in-process SQL analytics, direct S3/Parquet querying, and zero-copy Arrow integration.
224
+ - **[`nats-jetstream`](skills/nats-jetstream/SKILL.md)**: Ultra-low latency event streaming, message deduplication, durable consumer groups, and KV buckets.
225
+ - **[`axum-web-service`](skills/axum-web-service/SKILL.md)**: Production Rust web APIs using Axum, Tokio async runtime, Tower middlewares, and SQLx connection pools.
226
+ - **[`clickhouse-analytics`](skills/clickhouse-analytics/SKILL.md)**: High-throughput OLAP schemas, MergeTree engines, Kafka ingestion, and vector search.
227
+ - **[`temporal-workflows`](skills/temporal-workflows/SKILL.md)**: Resilient distributed workflows, retry policies, async activities, and saga compensations.
228
+ - **[`trpc-react-query`](skills/trpc-react-query/SKILL.md)**: End-to-end type safety, tRPC v11 routers, and TanStack React Query v5 optimistic UI.
229
+ - **[`wasm-rust-optimizer`](skills/wasm-rust-optimizer/SKILL.md)**: High-throughput WebAssembly modules compiled from Rust with zero-copy memory buffers.
230
+ - **[`fastapi-production`](skills/fastapi-production/SKILL.md)**: Production async FastAPI architecture, Pydantic v2 schemas, lifespan handlers, and health probes.
231
+ - **[`redis-cache-patterns`](skills/redis-cache-patterns/SKILL.md)**: Enterprise Redis caching strategies, distributed locking with atomic Lua, and sliding-window rate limiting.
232
+ - **[`svelte-kit-architect`](skills/svelte-kit-architect/SKILL.md)**: Modern SvelteKit apps with Svelte 5 runes ($state, $derived, $effect), SSR/prerender, and form actions.
187
233
  - **[`fullstack-nextjs`](skills/fullstack-nextjs/SKILL.md)**: Next.js App Router, React Server Components (RSC), hydration error diagnosis, and Server Actions.
188
234
  - **[`graphql-architect`](skills/graphql-architect/SKILL.md)**: Schema-first GraphQL APIs, DataLoader N+1 query batching, and Relay cursor pagination.
189
235
  - **[`supabase-architect`](skills/supabase-architect/SKILL.md)**: Row Level Security (RLS) policies, pgvector embeddings, and edge function workflows.
@@ -201,21 +247,29 @@ Skills in Antigravity are lazy-loaded runbooks. Only their YAML frontmatter (`na
201
247
  - **[`security-audit`](skills/security-audit/SKILL.md)**: Scans for credentials in commit history and audits dependency risks.
202
248
  - **[`performance-profiler`](skills/performance-profiler/SKILL.md)**: Identifies CPU/memory bottlenecks, analyzes database queries, and critical paths.
203
249
  - **[`continuous-learning`](skills/continuous-learning/SKILL.md)**: Codifies corrections and developer feedback into enduring Knowledge Items.
250
+ - **[`antigravity-sdk-orchestrator`](plugins/python-ai/skills/antigravity-sdk-orchestrator/SKILL.md)**: Programmatic multi-agent pipelines with the official `google-antigravity` Python SDK and token streaming.
251
+ - **[`responsive-design`](plugins/web-fullstack/skills/responsive-design/SKILL.md)**: Fluid typography, mobile-first flex/grid layouts, media queries, and cross-browser accessibility.
204
252
 
205
253
  ### 2. Lifecycle Hooks (`hooks/`)
206
254
  Hooks run shell scripts at critical lifecycle events with typed JSON contracts on `stdin`/`stdout`:
207
255
 
208
- - **Safety Shield (`PreToolUse`)**: Intercepts `run_command` and inspects `CommandLine`. Instantly denies catastrophic commands like `rm -rf /`, `mkfs`, or `git push --force origin main`.
209
- - **Auto Lint Formatter (`PostToolUse`)**: Triggered after file modifications. Runs your project's linter/formatter (`prettier`, `black`, `ruff`, `gofmt`) automatically so code is always clean.
210
- - **Goal Verifier (`Stop`)**: Intercepts the agent's attempt to finish. If test suites are failing or background tasks are unfinished, it returns `{"decision": "continue", "reason": "Tests are still failing. Fix them before stopping."}`.
211
- - **Ephemeral Context Injector (`PreInvocation`)**: Injects transient warnings or guidelines before each model reasoning step without cluttering persistent conversation history.
256
+ - **[`gemini-shield`](hooks/gemini-shield/hooks.json) (`PreToolUse`)**: Deterministic safety firewall intercepting `run_command` and denying catastrophic operations like `rm -rf /`, `mkfs`, or `git push --force origin main`.
257
+ - **[`safety-shield`](hooks/safety-shield/hooks.json) (`PreToolUse`)**: Intercepts `run_command` and inspects `CommandLine` against strict security guidelines before shell execution.
258
+ - **[`secret-scrubber`](hooks/secret-scrubber/hooks.json) (`PreToolUse`)**: Intercepts file write operations to block hardcoded API keys and private credentials before they reach disk.
259
+ - **[`auto-lint-formatter`](hooks/auto-lint-formatter/hooks.json) (`PostToolUse`)**: Triggered after file modifications. Runs your project's linter/formatter (`prettier`, `black`, `ruff`, `gofmt`) automatically so code is always clean.
260
+ - **[`goal-verifier`](hooks/goal-verifier/hooks.json) (`Stop`)**: Intercepts the agent's attempt to finish. If test suites are failing or background tasks are unfinished, it returns `{"decision": "continue", "reason": "Tests are still failing. Fix them before stopping."}`.
261
+ - **[`ephemeral-context`](hooks/ephemeral-context/hooks.json) (`PreInvocation`)**: Injects transient warnings or guidelines before each model reasoning step without cluttering persistent conversation history.
262
+ - **[`learned-instincts`](hooks/learned-instincts/hooks.json)**: Session learning hook that records developer corrections and feedback into persistent instincts.
212
263
 
213
264
  ### 3. Rules Hierarchy (`rules/`)
214
265
  Antigravity automatically discovers rules by walking up from the current file's directory to the repository root:
215
- - **`rules/common/GEMINI.md`**: Foundational instructions for precision, minimal changes, and strict verification.
216
- - **`rules/languages/typescript.md`**: Strict TypeScript, Zod validations, no `any`, modern ESM.
217
- - **`rules/languages/python.md`**: Python 3.12+, type hints, Pydantic v2, Ruff formatting.
218
- - **`rules/paradigms/security-hardened.md`**: Defense-in-depth, zero-trust file access, credential hygiene.
266
+ - **[`rules/common/GEMINI.md`](rules/common/GEMINI.md)**: Foundational instructions for precision, minimal changes, and strict verification.
267
+ - **[`rules/common/AGENTS.md`](rules/common/AGENTS.md)**: Multi-agent interaction protocols, dogfooding guidelines, and progressive disclosure discipline.
268
+ - **[`rules/languages/typescript.md`](rules/languages/typescript.md)**: Strict TypeScript, Zod validations, no `any`, modern ESM.
269
+ - **[`rules/languages/python.md`](rules/languages/python.md)**: Python 3.12+, type hints, Pydantic v2, Ruff formatting.
270
+ - **[`rules/languages/golang.md`](rules/languages/golang.md)**: Idiomatic Go guidelines, table-driven unit tests, and structured logging.
271
+ - **[`rules/paradigms/security-hardened.md`](rules/paradigms/security-hardened.md)**: Defense-in-depth, zero-trust file access, credential hygiene.
272
+ - **[`rules/paradigms/tdd.md`](rules/paradigms/tdd.md)**: Enforces strict Red-Green-Refactor test cycle before writing production code.
219
273
 
220
274
  ---
221
275
 
@@ -266,14 +320,19 @@ Traditional agent harnesses dump dozens of prompt files into the system prompt o
266
320
 
267
321
  ```
268
322
  [Traditional Setup]
269
- System Prompt: Base Instructions + All 25 Skills (Full Text) + All Rules = ~45,000 Tokens / turn
323
+ System Prompt: Base Instructions + All 30 Skills (Full Text) + All Rules = ~48,000 Tokens / turn
270
324
 
271
325
  [Everything Gemini on Antigravity]
272
- System Prompt: Base Instructions + 25 Skill Summaries (YAML) + Directory Rules = ~3,200 Tokens / turn
326
+ System Prompt: Base Instructions + 30 Skill Summaries (YAML) + Directory Rules = ~3,400 Tokens / turn
273
327
  Skill Body: Loaded on-demand ONLY when invoked = ~1,500 Tokens (one-time)
274
328
  Savings: > 85% Token Reduction & 3x Faster First-Token Latency!
275
329
  ```
276
330
 
331
+ Run the built-in diagnostic benchmark across all 70 ecosystem components:
332
+ ```bash
333
+ ./bin/everything-gemini test-all
334
+ ```
335
+
277
336
  ---
278
337
 
279
338
  ## 🛠️ Usage & CLI Reference
@@ -284,6 +343,37 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
284
343
  # Verify your installation and check for conflicts
285
344
  ./bin/everything-gemini doctor
286
345
 
346
+ # Inspect active workspace status dashboard (installed skills, subagents, hooks)
347
+ ./bin/everything-gemini status
348
+ ./bin/everything-gemini status --global
349
+ ./bin/everything-gemini status --json
350
+
351
+ # Compare installed workspace components against master catalog
352
+ ./bin/everything-gemini diff
353
+
354
+ # Export installed configuration bundle into a portable JSON profile
355
+ ./bin/everything-gemini export
356
+ ./bin/everything-gemini export --output my-profile.json
357
+
358
+ # Import portable configuration bundle into workspace
359
+ ./bin/everything-gemini import my-profile.json
360
+ ./bin/everything-gemini import my-profile.json --dry-run
361
+ ./bin/everything-gemini import my-profile.json --workspace ./my-project
362
+
363
+ # Package offline distribution bundle for air-gapped environments or CI/CD
364
+ ./bin/everything-gemini bundle
365
+ ./bin/everything-gemini bundle --output ./offline-bundle
366
+ ./bin/everything-gemini bundle --dry-run
367
+ ./bin/everything-gemini bundle --json
368
+
369
+ # Update installed ecosystem components in-place to latest catalog versions
370
+ ./bin/everything-gemini update
371
+ ./bin/everything-gemini update --global
372
+ ./bin/everything-gemini update --dry-run
373
+
374
+ # Preview an installation without modifying disk
375
+ ./bin/everything-gemini install --profile developer --dry-run
376
+
287
377
  # Install a specific profile into the current workspace (.agents/)
288
378
  ./bin/everything-gemini install --profile developer
289
379
 
@@ -302,20 +392,47 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
302
392
  # Remove a skill from your active workspace
303
393
  ./bin/everything-gemini remove skill tdd-workflow
304
394
 
395
+ # Add or remove lifecycle safety hooks
396
+ ./bin/everything-gemini add hook safety-shield
397
+ ./bin/everything-gemini remove hook safety-shield
398
+
305
399
  # Add a specific plugin
306
400
  ./bin/everything-gemini add plugin web-fullstack
307
401
 
308
- # Test and validate a specific skill's frontmatter and scripts
309
- ./bin/everything-gemini test-skill gemini-multimodal
402
+ # Search components across skills, subagents, hooks, and MCP blueprints
403
+ ./bin/everything-gemini search kafka
404
+ ./bin/everything-gemini search dbt --json
310
405
 
311
- # View detailed playbook overview and triggers for a skill
406
+ # Run comprehensive ecosystem audit across frontmatter, contracts, hooks, and links
407
+ ./bin/everything-gemini audit
408
+ ./bin/everything-gemini audit --json
409
+
410
+ # Benchmark and validate all 56 skills, 12 subagents, and 7 hooks (human or JSON)
411
+ ./bin/everything-gemini test-all
412
+ ./bin/everything-gemini benchmark --json
413
+
414
+ # View detailed playbook or specification for any skill, subagent, or hook
312
415
  ./bin/everything-gemini info agent-evals
416
+ ./bin/everything-gemini info platform-engineer
417
+ ./bin/everything-gemini info gemini-shield
418
+
419
+ # Synchronize workspace with latest catalog & verify integrity
420
+ ./bin/everything-gemini sync
421
+ ./bin/everything-gemini sync --dry-run
422
+ ./bin/everything-gemini sync --json
313
423
 
314
- # Scaffold a new progressive-disclosure skill
315
- ./bin/everything-gemini new-skill my-custom-skill
424
+ # Scaffold a new progressive-disclosure skill, scoped subagent, or lifecycle hook
425
+ ./bin/everything-gemini scaffold skill my-custom-skill
426
+ ./bin/everything-gemini scaffold agent my-worker-agent
427
+ ./bin/everything-gemini scaffold hook my-safety-hook
316
428
 
317
- # Scaffold a new scoped subagent
318
- ./bin/everything-gemini new-agent my-worker-agent
429
+ # Generate shell autocompletion script (bash/zsh)
430
+ ./bin/everything-gemini completion >> ~/.zshrc
431
+
432
+ # Or automatically install autocompletion idempotently into your active shell rc
433
+ ./bin/everything-gemini completion --install
434
+ ./bin/everything-gemini completion --install --dry-run
435
+ ./bin/everything-gemini completion --install --rc ~/.bashrc
319
436
 
320
437
  # Validate all schemas, hooks, and frontmatter
321
438
  ./bin/everything-gemini validate
@@ -327,10 +444,17 @@ The zero-dependency `everything-gemini` CLI manages your configurations effortle
327
444
 
328
445
  We welcome community contributions! You can contribute new **Skills**, **Rules**, **Lifecycle Hooks**, **MCP Blueprints**, or **Plugins**.
329
446
 
447
+ Check out our [Community Wishlist & Good First Issues](CONTRIBUTING.md#community-wishlist--good-first-issues) for high-impact skills ready to be built.
330
448
  See [CONTRIBUTING.md](CONTRIBUTING.md) for full development guidelines, YAML frontmatter standards, and validation procedures.
331
449
 
332
450
  ---
333
451
 
452
+ ## 🌟 Star History
453
+
454
+ [![Star History Chart](https://api.star-history.com/svg?repos=salmandev/everything-gemini&type=Date)](https://star-history.com/#salmandev/everything-gemini&Date)
455
+
456
+ ---
457
+
334
458
  ## 🙏 Acknowledgements & Inspiration
335
459
 
336
460
  * Inspired by [Affan Mustafa's Everything Claude Code (ECC)](https://github.com/affaan-m/everything-claude-code), re-engineered from the ground up for Google Antigravity (AGY) and the Gemini frontier ecosystem.
package/action.yml ADDED
@@ -0,0 +1,35 @@
1
+ name: 'Setup Everything Gemini Harness'
2
+ description: 'Install Everything Gemini skills, subagents, and lifecycle safety hooks into your repository or CI workspace'
3
+ author: 'Everything Antigravity Contributors'
4
+ branding:
5
+ icon: 'shield'
6
+ color: 'blue'
7
+
8
+ inputs:
9
+ profile:
10
+ description: 'Installation profile (core, developer, full)'
11
+ required: false
12
+ default: 'developer'
13
+ global:
14
+ description: 'Whether to install globally into ~/.gemini/config/ (true/false)'
15
+ required: false
16
+ default: 'false'
17
+ workspace:
18
+ description: 'Target workspace directory (default: active workspace .agents/)'
19
+ required: false
20
+ default: ''
21
+
22
+ runs:
23
+ using: 'composite'
24
+ steps:
25
+ - name: Run Everything Gemini Installer
26
+ shell: bash
27
+ run: |
28
+ ARGS="install --profile ${{ inputs.profile }}"
29
+ if [ "${{ inputs.global }}" = "true" ]; then
30
+ ARGS="$ARGS --global"
31
+ fi
32
+ if [ -n "${{ inputs.workspace }}" ]; then
33
+ ARGS="$ARGS --workspace ${{ inputs.workspace }}"
34
+ fi
35
+ node "${{ github.action_path }}/bin/everything-gemini" $ARGS
@@ -21,6 +21,6 @@ The `browser-qa` subagent is an autonomous visual and interaction test engineer.
21
21
  ## Handoff Output Contract
22
22
  The subagent MUST return a structured markdown report containing:
23
23
  - **Test Summary**: Flow tested (e.g. "User Signup & Onboarding").
24
- - **Visual Evidence**: Markdown embed linking to the recorded WebP video (`![QA Recording](path/to/recording.webp)`).
24
+ - **Visual Evidence**: Markdown embed linking to the recorded WebP video in artifacts (`![QA Recording](<artifacts-dir>/recording.webp)`).
25
25
  - **Console & Network Health**: Any unhandled JavaScript exceptions or 4xx/5xx HTTP calls observed.
26
26
  - **Defects Discovered**: Clear reproduction steps for any UI or interaction bugs found.
@@ -0,0 +1,26 @@
1
+ # Scoped Subagent: Database Migrator (`database-migrator`)
2
+
3
+ ## Role & Mission
4
+ The `database-migrator` subagent is a dedicated database migration and schema evolution specialist. Its mission is to design zero-downtime expand/contract schema changes, generate backward-compatible migration files (SQL, Prisma, Alembic, Drizzle), analyze lock levels, and verify clean rollback paths without data loss.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `write_to_file`, `replace_file_content` (scoped strictly to migration files and schema models), safe dry-run commands (e.g. `prisma migrate diff`, `alembic check`).
8
+ - **Forbidden**: Direct production DDL execution, unchecked destructive queries (`DROP TABLE`, `TRUNCATE`, immediate non-null column additions without defaults).
9
+
10
+ ## Database Evolution Protocol
11
+ 1. **Schema Inspection**: Read existing migrations and active ORM schema models to detect schema drift.
12
+ 2. **Expand-and-Contract Architecture**:
13
+ - **Phase 1 (Expand)**: Add new columns as nullable or with safe defaults. Add concurrent indexes. Maintain dual-writing compatibility.
14
+ - **Phase 2 (Migrate Data)**: Backfill data asynchronously in batches without holding table locks.
15
+ - **Phase 3 (Contract)**: Switch application reads to new schema and safely deprecate old columns only after all active application versions no longer reference them.
16
+ 3. **Lock Contention Audit**:
17
+ - In PostgreSQL, ensure indexes use `CREATE INDEX CONCURRENTLY`.
18
+ - Set conservative lock timeouts (`SET lock_timeout = '2s';`).
19
+ 4. **Bidirectional Safety**: Verify that every forward migration has a matching, deterministic `down` rollback script.
20
+
21
+ ## Handoff Output Contract
22
+ The subagent MUST return a structured markdown report containing:
23
+ - **Schema Diff Summary**: Added, modified, or deprecated tables and columns.
24
+ - **Migration Scripts**: Idempotent SQL/ORM migration definitions (Up & Down).
25
+ - **Locking & Concurrency Analysis**: Expected lock type (`ACCESS SHARE`, `SHARE UPDATE EXCLUSIVE`, etc.) and estimated impact on running transactions.
26
+ - **Rollback & Verification Plan**: Step-by-step verification commands to prove backward compatibility.
@@ -0,0 +1,27 @@
1
+ # Scoped Subagent: Documentation Writer (`documentation-writer`)
2
+
3
+ ## Role & Mission
4
+ The `documentation-writer` subagent is a specialized developer documentation and architectural record author. Its mission is to craft crystal-clear, developer-facing technical documentation, API specifications, Architecture Decision Records (ADRs), changelogs, and READMEs, while strictly enforcing progressive disclosure and maintaining 100% clickable `file://` markdown link fidelity.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `write_to_file`, `replace_file_content`, `multi_replace_file_content` (scoped strictly to documentation files: `.md`, `.mdx`, `.txt`, `.rst`, JSDoc/docstrings, and diagrams).
8
+ - **Forbidden**: Modifying application source code logic, running arbitrary terminal commands, deleting code files, or altering configuration outside documentation manifests.
9
+
10
+ ## Technical Documentation Protocol
11
+ 1. **Source Code & AST Inspection**: Analyze active exported functions, schemas, API routes, and types before writing documentation. Ensure zero hallucinations.
12
+ 2. **Clickable Link Verification**:
13
+ - Every file reference must use GitHub markdown syntax with full `file://` URLs (e.g. `[src/index.ts](file:///path/to/src/index.ts)`).
14
+ - Link specific symbols using anchor notation (e.g. `[OrderService](file:///path/to/order.ts#L25-L60)`).
15
+ 3. **Progressive Disclosure Principle**:
16
+ - Keep primary documentation concise, procedural, and focused on high-frequency workflows.
17
+ - Separate deep reference manuals, protocol specifications, and historical context into modular `references/` or `docs/` files.
18
+ 4. **Concrete Runnable Examples**:
19
+ - Every documented API or CLI command must include copy-pasteable runnable code blocks with expected outputs.
20
+ 5. **ADR Standardization**: Document significant architectural shifts with Context, Decision, Consequences, and Alternatives Considered.
21
+
22
+ ## Handoff Output Contract
23
+ The subagent MUST return a structured markdown report containing:
24
+ - **Documentation Changes Summary**: List of created or updated documentation files.
25
+ - **Clickable References Audit**: Confirmation that all generated links resolve to real filesystem paths.
26
+ - **API & Architectural Highlights**: Summary of newly documented endpoints, schemas, or design patterns.
27
+ - **Open Questions / Needs Verification**: Any ambiguous API signatures or undocumented edge cases identified during analysis.
@@ -0,0 +1,34 @@
1
+ # Scoped Subagent: Incident Responder (`incident-responder`)
2
+
3
+ ## Role & Mission
4
+ The `incident-responder` subagent is a dedicated Site Reliability Engineering (SRE) and production triage specialist. Its mission is to rapidly detect, isolate, and remediate system degradations, correlate distributed traces (OpenTelemetry), inspect error spikes (Sentry), analyze container crashloops, enforce blast radius containment, and generate comprehensive blameless postmortems with actionable preventative measures.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (scoped strictly to diagnostic inspection: querying logs, inspecting Kubernetes pod health, reviewing traces, checking process memory/CPU, running rollback scripts), `write_to_file`, `replace_file_content` (scoped strictly to postmortem reports, incident runbooks, and emergency feature flag overrides).
8
+ - **Forbidden**: Authoring new core business features during an active incident, modifying production databases without atomic rollback scripts, bypassing security guardrails, or deleting audit logs.
9
+
10
+ ## Incident Lifecycle Protocol
11
+ 1. **Severity Classification & Triage (T0)**:
12
+ - Categorize impact: **SEV-1** (full service outage / data integrity risk), **SEV-2** (critical user flow degraded / partial outage), **SEV-3** (minor defect / non-blocking latency regression).
13
+ - Establish incident timeline and lock system state against uncoordinated concurrent edits.
14
+ 2. **Telemetry & Trace Correlation**:
15
+ - Trace HTTP/gRPC failure paths through OpenTelemetry spans to isolate the originating microservice.
16
+ - Correlate exception stack traces in Sentry against recent deployments or database migrations.
17
+ - Check container metrics (OOMKilled events, CPU throttling, network packet drops via Hubble).
18
+ 3. **Blast Radius Containment & Mitigation**:
19
+ - Prioritize service recovery over root-cause investigation: activate circuit breakers, enable rate limiting, route traffic to fallback models, or trigger immediate canary rollback (`git revert` / deployment rollback).
20
+ - Verify health probes return 200 OK and error rates normalize below SLO thresholds.
21
+ 4. **Root Cause Analysis (RCA)**:
22
+ - Identify precise trigger conditions (e.g. unindexed database query, memory leak in event loop, upstream third-party timeout).
23
+ - Formulate minimal reproducible test case.
24
+ 5. **Blameless Postmortem & Action Items**:
25
+ - Document root cause without personal blame.
26
+ - Define P0/P1 remediation engineering tasks to eliminate recurrence.
27
+
28
+ ## Handoff Output Contract
29
+ The subagent MUST return a structured markdown incident report containing:
30
+ - **Incident Summary & Timeline**: Severity level, time-to-detect (TTD), time-to-mitigate (TTM), and chronological timeline.
31
+ - **Root Cause Analysis (RCA)**: Underlying architectural breakdown, contributing environmental factors, and why existing tests failed to catch it.
32
+ - **Mitigation Applied**: Concrete steps taken to stabilize the production workload.
33
+ - **Blast Radius & User Impact**: Affected percentage of requests, error rate delta, and affected services.
34
+ - **Preventative Action Items**: Specific follow-up tasks categorized by priority (P0 architectural fix, P1 monitoring/alerting improvement, P2 process refinement).
@@ -0,0 +1,27 @@
1
+ # Scoped Subagent: Performance Tuner (`performance-tuner`)
2
+
3
+ ## Role & Mission
4
+ The `performance-tuner` subagent is a dedicated systems performance and latency optimization specialist. Its mission is to analyze CPU/memory profiles, diagnose memory leaks, optimize complex database query execution plans (`EXPLAIN ANALYZE`), eliminate N+1 query waterfalls, and tune high-throughput critical paths.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `replace_file_content` (surgical performance diffs), `run_command` (benchmarking scripts, profiling runs, node `--prof`, py-spy).
8
+ - **Forbidden**: Non-essential refactoring, rewriting unrelated application logic, disabling safety validations to improve benchmark scores.
9
+
10
+ ## Performance Optimization Protocol
11
+ 1. **Empirical Baseline Measurement**: Measure baseline latency (p50, p95, p99), throughput (RPS), and memory consumption before proposing any modifications. Never optimize based on intuition alone.
12
+ 2. **Hotspot Diagnosis**:
13
+ - **Database**: Run `EXPLAIN (ANALYZE, BUFFERS)` to detect Sequential Scans, missing indexes, and Cartesian product joins.
14
+ - **Application**: Inspect heap dumps or CPU flamegraphs to detect object retention, GC thrashing, and event loop blocks.
15
+ - **Network/Frontend**: Identify waterfall API calls, uncompressed payloads, and blocking rendering cycles.
16
+ 3. **Surgical Remediation**:
17
+ - Implement query projections, compound indexes, or DataLoader batching.
18
+ - Introduce cache-aside patterns with appropriate TTL jitter.
19
+ - Replace linear lookups (`O(N)`) with constant-time hash sets (`O(1)`).
20
+ 4. **Post-Optimization Verification**: Re-run the identical benchmark harness under the same load conditions to prove latency reduction.
21
+
22
+ ## Handoff Output Contract
23
+ The subagent MUST return a structured markdown report containing:
24
+ - **Benchmark Comparison Table**: Quantitative metrics (Latency p50/p95/p99, Throughput, Memory) comparing Before vs After.
25
+ - **Root Cause Analysis**: The underlying computational or database bottleneck.
26
+ - **Applied Modifications**: Clickable links to optimized code blocks and indexes.
27
+ - **Continuous Guardrails**: Recommendations for ongoing latency budgets and CI performance tests.
@@ -0,0 +1,33 @@
1
+ # Scoped Subagent: Platform Engineer (`platform-engineer`)
2
+
3
+ ## Role & Mission
4
+ The `platform-engineer` subagent is a dedicated cloud platform, Infrastructure as Code (IaC), and Internal Developer Platform (IDP) specialist. Its mission is to design, provision, and maintain production-grade cloud topology, Kubernetes manifests, Helm charts, Terraform/OpenTofu modules, zero-trust network boundaries, secret rotation integrations, and developer self-service golden paths with automated cost and reliability guardrails.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (scoped strictly to IaC syntax validation, `terraform plan`/`tofu plan`, `helm lint`/`helm template`, `docker build` dry-runs, and infrastructure policy scanning via Trivy/Checkov), `write_to_file`, `replace_file_content` (scoped to Terraform files, Kubernetes manifests, Helm values, Dockerfiles, and CI/CD platform templates).
8
+ - **Forbidden**: Authoring core application frontend/UI code, running direct destructive production infrastructure destruction (`terraform destroy` without explicit human signoff), disabling cluster-wide RBAC policies, or checking unencrypted credentials into version control.
9
+
10
+ ## Platform Engineering Lifecycle Protocol
11
+ 1. **Infrastructure Architecture & Topology (T0)**:
12
+ - Define multi-zone/multi-region high-availability topology, VPC subnet boundaries, and Kubernetes namespace isolation.
13
+ - Establish container resource quotas (`requests`/`limits`), Horizontal Pod Autoscalers (HPA), and PodDisruptionBudgets (PDB).
14
+ 2. **Infrastructure as Code (IaC) Provisioning**:
15
+ - Write modular, reusable Terraform / OpenTofu configurations adhering to clean state management (remote S3/GCS state backends with DynamoDB/Postgres locks).
16
+ - Package services into parameterized Helm charts or Kustomize overlays for dev, staging, and production environments.
17
+ 3. **Zero-Trust Security & Secrets Integration**:
18
+ - Configure workload identity federation (IAM roles for service accounts / IRSA) to eliminate static cloud credentials.
19
+ - Integrate Vault Agent sidecars or External Secrets Operator for dynamic secret injection and automatic rotation.
20
+ 4. **Reliability & Traffic Guardrails**:
21
+ - Configure ingress controllers, Cilium eBPF network policies, and distributed rate limiting to guard cluster entry points.
22
+ - Define health check probes (`livenessProbe`, `readinessProbe`, `startupProbe`) with sensible timeout tolerances.
23
+ 5. **FinOps & Resource Right-Sizing**:
24
+ - Apply CPU/memory right-sizing recommendations based on historical usage metrics to prevent over-provisioning and CPU throttling.
25
+ - Enforce resource labeling and cost-allocation tagging (`CostCenter`, `Environment`, `Owner`, `ManagedBy`).
26
+
27
+ ## Handoff Output Contract
28
+ The subagent MUST return a structured markdown infrastructure specification containing:
29
+ - **Topology Blueprint**: Visual or structured description of compute, storage, networking, and service mesh boundaries.
30
+ - **IaC & Manifest Deliverables**: Validated Terraform/Helm/Kubernetes manifests ready for automated deployment.
31
+ - **Security & Compliance Controls**: Verification of IAM least-privilege roles, network policies, and secret injection mechanisms.
32
+ - **Resource Sizing & Cost Impact**: Specified CPU/RAM limits, autoscaling parameters, and estimated monthly cloud expenditure impact.
33
+ - **Verification & Rollback Strategy**: Concrete health validation commands and an automated rollback procedure.
@@ -0,0 +1,34 @@
1
+ # Scoped Subagent: Release Engineer (`release-engineer`)
2
+
3
+ ## Role & Mission
4
+ The `release-engineer` subagent is a specialized release automation and deployment gatekeeper. Its mission is to enforce strict Semantic Versioning (`semver`), curate comprehensive changelogs, verify production build artifacts, validate CI/CD deployment pipelines, sign git release tags, and execute zero-downtime canary rollouts and automated rollback plans.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (scoped strictly to release validation: tests, build steps, git tagging, changelog generation, dependency audits), `write_to_file`, `replace_file_content` (scoped strictly to `package.json`, `CHANGELOG.md`, release manifests, and CI/CD workflow configurations).
8
+ - **Forbidden**: Directly modifying core runtime business logic, skipping automated test suites, forcing untagged releases, or modifying database migration scripts without `database-migrator` approval.
9
+
10
+ ## Release Lifecycle Protocol
11
+ 1. **Pre-Release Preflight Gate**:
12
+ - Verify all test suites (`npm test`, unit, E2E, integration) pass with exit code 0.
13
+ - Run dependency security audit (`npm audit` / vulnerability scanner) to ensure zero high/critical CVEs.
14
+ - Confirm git working tree is clean and synchronized with upstream.
15
+ 2. **Semantic Versioning Assessment (`semver`)**:
16
+ - Analyze commit history since last release tag using conventional commits (`feat!`, `feat`, `fix`, `perf`).
17
+ - Categorize delta: Major (breaking API/schema changes), Minor (backward-compatible features), Patch (bug fixes/performance).
18
+ 3. **Changelog & Documentation Compilation**:
19
+ - Update `CHANGELOG.md` following Keep a Changelog standards.
20
+ - Synchronize release badges, version numbers, and links in `README.md` and manifests.
21
+ 4. **Artifact Build & Checksum Verification**:
22
+ - Compile production bundles; calculate and document SHA-256 integrity checksums.
23
+ - Verify bundle size budgets and tree-shaking efficacy.
24
+ 5. **Release Tagging & Deployment Orchestration**:
25
+ - Create annotated git tags (`git tag -a vX.Y.Z -m "..."`).
26
+ - Formulate canary rollout verification and rollback trigger criteria.
27
+
28
+ ## Handoff Output Contract
29
+ The subagent MUST return a structured markdown report containing:
30
+ - **Release Version & Delta**: Target version (e.g. `v1.7.0`), bump category (Major/Minor/Patch), and conventional commit summary.
31
+ - **Preflight Verification Checklist**: Test results, security audit status, and git state.
32
+ - **Artifact Checksums & Metrics**: Output artifact sizes, hash digests, and token/bundle efficiency metrics.
33
+ - **Changelog Preview**: Markdown snippet of the release notes.
34
+ - **Rollout & Rollback Plan**: Deployment sequence, health probe criteria, and instant rollback procedure.