@nandhaalagesan/zerogravity 0.0.0-stage โ†’ 1.1.3

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 (206) hide show
  1. package/.agents/AGENTS.md +9 -0
  2. package/.agents/ARCHITECTURE.md +391 -0
  3. package/.agents/CHANGELOG.md +93 -0
  4. package/.agents/DEPENDENCY_GRAPH.md +231 -0
  5. package/.agents/VERSION +1 -0
  6. package/.agents/agents/architecture-analyzer.md +482 -0
  7. package/.agents/agents/article-analyzer.md +94 -0
  8. package/.agents/agents/assemble-reviewer.md +98 -0
  9. package/.agents/agents/backend-specialist.md +264 -0
  10. package/.agents/agents/code-archaeologist.md +107 -0
  11. package/.agents/agents/database-architect.md +227 -0
  12. package/.agents/agents/debugger.md +228 -0
  13. package/.agents/agents/devops-engineer.md +243 -0
  14. package/.agents/agents/documentation-writer.md +105 -0
  15. package/.agents/agents/domain-analyzer.md +126 -0
  16. package/.agents/agents/explorer-agent.md +74 -0
  17. package/.agents/agents/file-analyzer.md +522 -0
  18. package/.agents/agents/frontend-specialist.md +594 -0
  19. package/.agents/agents/game-developer.md +163 -0
  20. package/.agents/agents/graph-reviewer.md +241 -0
  21. package/.agents/agents/knowledge-graph-guide.md +100 -0
  22. package/.agents/agents/mobile-developer.md +378 -0
  23. package/.agents/agents/orchestrator.md +196 -0
  24. package/.agents/agents/penetration-tester.md +189 -0
  25. package/.agents/agents/performance-optimizer.md +188 -0
  26. package/.agents/agents/product-manager.md +113 -0
  27. package/.agents/agents/product-owner.md +96 -0
  28. package/.agents/agents/project-planner.md +410 -0
  29. package/.agents/agents/project-scanner.md +235 -0
  30. package/.agents/agents/qa-automation-engineer.md +104 -0
  31. package/.agents/agents/security-auditor.md +171 -0
  32. package/.agents/agents/seo-specialist.md +112 -0
  33. package/.agents/agents/test-engineer.md +159 -0
  34. package/.agents/agents/tour-builder.md +380 -0
  35. package/.agents/antigravity.json +39 -0
  36. package/.agents/cache/codebase.db +0 -0
  37. package/.agents/codebase_index.md +142 -0
  38. package/.agents/codebase_patch.md +68 -0
  39. package/.agents/codebase_summary.md +6155 -0
  40. package/.agents/hooks/README.md +121 -0
  41. package/.agents/hooks/antigravity-contract.schema.json +20 -0
  42. package/.agents/hooks/antigravity-doctor.mjs +275 -0
  43. package/.agents/hooks/antigravity-hooks.schema.json +44 -0
  44. package/.agents/hooks/build-plugin.mjs +130 -0
  45. package/.agents/hooks/plugin/GEMINI.md +13 -0
  46. package/.agents/hooks/plugin/gemini-extension.template.json +6 -0
  47. package/.agents/hooks/sync-mcp.mjs +101 -0
  48. package/.agents/hooks/tests/antigravity.test.mjs +89 -0
  49. package/.agents/hooks/validate-tool-call.mjs +111 -0
  50. package/.agents/hooks.json +11 -0
  51. package/.agents/knowledge/ecosystems/README.md +13 -0
  52. package/.agents/knowledge/ecosystems/docker.md +17 -0
  53. package/.agents/knowledge/ecosystems/general.md +34 -0
  54. package/.agents/knowledge/ecosystems/mobile.md +16 -0
  55. package/.agents/knowledge/ecosystems/python.md +28 -0
  56. package/.agents/knowledge/ecosystems/web.md +28 -0
  57. package/.agents/manifest.json +1332 -0
  58. package/.agents/manifest.lock.json +226 -0
  59. package/.agents/mcp-registry/INDEX.md +64 -0
  60. package/.agents/mcp-registry/mcp_catalog.json +21189 -0
  61. package/.agents/mcp-registry/recipes/chrome-devtools.md +41 -0
  62. package/.agents/mcp-registry/recipes/context7.md +39 -0
  63. package/.agents/mcp-registry/recipes/docker-gateway.md +46 -0
  64. package/.agents/mcp-registry/recipes/github.md +45 -0
  65. package/.agents/mcp-registry/recipes/neon.md +45 -0
  66. package/.agents/mcp-registry/recipes/playwright.md +43 -0
  67. package/.agents/mcp-registry/recipes/sentry.md +49 -0
  68. package/.agents/mcp-registry/recipes/serena.md +49 -0
  69. package/.agents/mcp-registry/recipes/supabase.md +46 -0
  70. package/.agents/mcp-registry/servers.json +183 -0
  71. package/.agents/mcp_config.json +3 -0
  72. package/.agents/memory/anti_patterns.json +102 -0
  73. package/.agents/memory/build_flows.json +16 -0
  74. package/.agents/memory/decisions.md +33 -0
  75. package/.agents/memory/goals.md +21 -0
  76. package/.agents/memory/gotchas.md +50 -0
  77. package/.agents/memory/learned_strategies.json +20 -0
  78. package/.agents/memory/session_context.md +58 -0
  79. package/.agents/memory/study_progress.md +45 -0
  80. package/.agents/plugins/ponytail/hooks/claude-codex-hooks.json +41 -0
  81. package/.agents/plugins/ponytail/hooks/copilot-hooks.json +21 -0
  82. package/.agents/plugins/ponytail/hooks/cursor-hooks.json +17 -0
  83. package/.agents/plugins/ponytail/hooks/ponytail-activate.js +115 -0
  84. package/.agents/plugins/ponytail/hooks/ponytail-config.js +169 -0
  85. package/.agents/plugins/ponytail/hooks/ponytail-instructions.js +98 -0
  86. package/.agents/plugins/ponytail/hooks/ponytail-mode-tracker.js +155 -0
  87. package/.agents/plugins/ponytail/hooks/ponytail-runtime.js +144 -0
  88. package/.agents/plugins/ponytail/hooks/ponytail-statusline.ps1 +24 -0
  89. package/.agents/plugins/ponytail/hooks/ponytail-statusline.sh +18 -0
  90. package/.agents/plugins/ponytail/hooks/ponytail-subagent.js +77 -0
  91. package/.agents/plugins/ponytail/hooks/qoder-hooks.json +26 -0
  92. package/.agents/plugins/ponytail/mcp_config.json +12 -0
  93. package/.agents/plugins/ponytail/package.json +48 -0
  94. package/.agents/plugins/ponytail/plugin.json +7 -0
  95. package/.agents/plugins/ponytail/plugin.yaml +21 -0
  96. package/.agents/plugins/ponytail/ponytail-mcp/README.md +46 -0
  97. package/.agents/plugins/ponytail/ponytail-mcp/index.js +52 -0
  98. package/.agents/plugins/ponytail/ponytail-mcp/instructions.js +26 -0
  99. package/.agents/plugins/ponytail/ponytail-mcp/package-lock.json +1204 -0
  100. package/.agents/plugins/ponytail/ponytail-mcp/package.json +13 -0
  101. package/.agents/plugins/ponytail/ponytail-mcp/test/instructions.test.js +22 -0
  102. package/.agents/plugins/ponytail/rules/ponytail.md +33 -0
  103. package/.agents/plugins/ponytail/skills/ponytail/SKILL.md +120 -0
  104. package/.agents/plugins/ponytail/skills/ponytail-audit/SKILL.md +41 -0
  105. package/.agents/plugins/ponytail/skills/ponytail-debt/SKILL.md +44 -0
  106. package/.agents/plugins/ponytail/skills/ponytail-gain/SKILL.md +50 -0
  107. package/.agents/plugins/ponytail/skills/ponytail-help/SKILL.md +71 -0
  108. package/.agents/plugins/ponytail/skills/ponytail-review/SKILL.md +57 -0
  109. package/.agents/rules/codebase_context.md +20 -0
  110. package/.agents/rules/core.md +31 -0
  111. package/.agents/rules/effort.md +17 -0
  112. package/.agents/scripts/agy-staff/companion/agy-companion.mjs +1910 -0
  113. package/.agents/scripts/agy-staff/companion/observation.mjs +147 -0
  114. package/.agents/scripts/agy-staff/companion/state-lock.mjs +103 -0
  115. package/.agents/scripts/agy-staff/companion/stream-worker.mjs +358 -0
  116. package/.agents/scripts/agy-staff/templates/ask.md +5 -0
  117. package/.agents/scripts/agy-staff/templates/harness-compatibility.md +5 -0
  118. package/.agents/scripts/agy-staff/templates/implement.md +39 -0
  119. package/.agents/scripts/agy-staff/templates/research.md +37 -0
  120. package/.agents/scripts/agy-staff/templates/review.md +27 -0
  121. package/.agents/scripts/agy-staff/templates/staffer.md +19 -0
  122. package/.agents/scripts/analyze.py +890 -0
  123. package/.agents/scripts/auto_evolve.py +471 -0
  124. package/.agents/scripts/auto_preview.py +148 -0
  125. package/.agents/scripts/batch_edit.py +299 -0
  126. package/.agents/scripts/checklist.py +400 -0
  127. package/.agents/scripts/db_cache.py +157 -0
  128. package/.agents/scripts/impact_check.py +297 -0
  129. package/.agents/scripts/ki_injector.py +285 -0
  130. package/.agents/scripts/learn.py +231 -0
  131. package/.agents/scripts/lockfile_extractor.py +126 -0
  132. package/.agents/scripts/mcp.py +219 -0
  133. package/.agents/scripts/mcp_runner.sh +8 -0
  134. package/.agents/scripts/reindex_skills.py +115 -0
  135. package/.agents/scripts/session_manager.py +120 -0
  136. package/.agents/scripts/summarizer.py +923 -0
  137. package/.agents/scripts/sync_knowledge.py +432 -0
  138. package/.agents/scripts/zg +148 -0
  139. package/.agents/skills/agy-ask/SKILL.md +40 -0
  140. package/.agents/skills/agy-implementer/SKILL.md +50 -0
  141. package/.agents/skills/agy-jobs/SKILL.md +83 -0
  142. package/.agents/skills/agy-jobs/references/setup.md +39 -0
  143. package/.agents/skills/agy-jobs/references/troubleshooting.md +27 -0
  144. package/.agents/skills/agy-lead/SKILL.md +32 -0
  145. package/.agents/skills/agy-researcher/SKILL.md +45 -0
  146. package/.agents/skills/agy-reviewer/SKILL.md +56 -0
  147. package/.agents/skills/agy-reviewer/references/code-review.md +44 -0
  148. package/.agents/skills/agy-reviewer/references/general-review.md +20 -0
  149. package/.agents/skills/agy-staffer/SKILL.md +47 -0
  150. package/.agents/skills/audit-agent/SKILL.md +735 -0
  151. package/.agents/skills/audit-agent/requirements.txt +6 -0
  152. package/.agents/skills/audit-agent/scripts/bootstrap.py +107 -0
  153. package/.agents/skills/coding-interview/SKILL.md +53 -0
  154. package/.agents/skills/coding-interview/curriculum.md +2021 -0
  155. package/.agents/skills/compress-tokens/SKILL.md +34 -0
  156. package/.agents/skills/compress-tokens/scripts/cli.py +91 -0
  157. package/.agents/skills/humanize-text/SKILL.md +97 -0
  158. package/.agents/skills/humanize-text/agents/openai.yaml +4 -0
  159. package/.agents/skills/humanize-text/eval.md +43 -0
  160. package/.agents/skills/react-components/SKILL.md +66 -0
  161. package/.agents/skills/react-components/rules/adapting.md +43 -0
  162. package/.agents/skills/react-components/rules/cli.md +67 -0
  163. package/.agents/skills/react-components/rules/components.md +428 -0
  164. package/.agents/skills/react-components/rules/craft.md +45 -0
  165. package/.agents/skills/react-components/rules/icons.md +39 -0
  166. package/.agents/skills/react-components/rules/quality.md +22 -0
  167. package/.agents/skills/react-components/rules/registry.md +35 -0
  168. package/.agents/skills/react-components/rules/styling.md +26 -0
  169. package/.agents/skills/react-components/rules/workflow.md +56 -0
  170. package/.agents/skills/react-components/tools.md +64 -0
  171. package/.agents/skills/skill-router/SKILL.md +54 -0
  172. package/.agents/skills_index.json +173 -0
  173. package/.agents/workflows/audit-agent.md +34 -0
  174. package/.agents/workflows/brainstorm.md +113 -0
  175. package/.agents/workflows/build-feature.md +58 -0
  176. package/.agents/workflows/codebase-design.md +114 -0
  177. package/.agents/workflows/compress-tokens.md +59 -0
  178. package/.agents/workflows/create.md +59 -0
  179. package/.agents/workflows/debug.md +103 -0
  180. package/.agents/workflows/deploy.md +176 -0
  181. package/.agents/workflows/design-ui.md +82 -0
  182. package/.agents/workflows/domain-model.md +74 -0
  183. package/.agents/workflows/effort-high.md +30 -0
  184. package/.agents/workflows/effort-low.md +30 -0
  185. package/.agents/workflows/effort-mid.md +29 -0
  186. package/.agents/workflows/effort-ultra.md +30 -0
  187. package/.agents/workflows/effort.md +21 -0
  188. package/.agents/workflows/enhance.md +63 -0
  189. package/.agents/workflows/focus.md +74 -0
  190. package/.agents/workflows/humanize-text.md +37 -0
  191. package/.agents/workflows/mcp.md +57 -0
  192. package/.agents/workflows/orchestrate.md +237 -0
  193. package/.agents/workflows/plan.md +89 -0
  194. package/.agents/workflows/prd-workflow.md +829 -0
  195. package/.agents/workflows/react-components.md +56 -0
  196. package/.agents/workflows/skill.md +71 -0
  197. package/.agents/workflows/spec-driven-dev.md +68 -0
  198. package/.agents/workflows/teach-concept.md +137 -0
  199. package/.agents/workflows/test.md +144 -0
  200. package/.agents/workflows/yagni-simplify.md +51 -0
  201. package/AGENTS.md +9 -0
  202. package/LICENSE +21 -0
  203. package/README.md +210 -2
  204. package/bin/cli.js +690 -0
  205. package/package.json +47 -4
  206. package/unpack-plugins.sh +58 -0
@@ -0,0 +1,9 @@
1
+ # ZeroGravity OS (AGENTS.md)
2
+
3
+ Autonomous Supercoding Engine. 5-stage pipeline (on `/build-feature`): Memory Sweepโ†’Blueprintโ†’CodeCrushโ†’AAA Testโ†’Sync.
4
+ Anti-patterns inlined in `.agents/rules/core.md`. Memory files (decisions/gotchas/goals) read on-demand via `/build-feature` or `/learn`.
5
+
6
+ ## Tooling
7
+ - MCPs: zero-default, on-demand (`npx @nandhaalagesan/zerogravity mcp enable <name>` or `zg mcp enable <name>`). 13 verified servers + 2,600+ searchable catalog.
8
+ - CLI: `npx @nandhaalagesan/zerogravity` / `zg` (install|update|mcp)
9
+ - Slash: /build-feature /mcp /effort /effort-low /effort-mid /effort-high /effort-ultra /brainstorm /plan /create /debug /test /deploy /teach-concept /enhance /spec-driven-dev /design-ui /codebase-design /domain-model /prd-workflow /orchestrate /focus /humanize-text /compress-tokens /skill /yagni-simplify /audit-agent /react-components
@@ -0,0 +1,391 @@
1
+ # AG Kit Architecture
2
+
3
+ > Antigravity-native AI Agent Capability Toolkit โ€” 2026.7.26
4
+
5
+ ---
6
+
7
+ ## ๐Ÿ“‹ Overview
8
+
9
+ AG Kit is a modular Antigravity workspace system consisting of:
10
+
11
+ - **20 Specialist Agents** โ€” role-based AI personas and orchestration roles;
12
+ - **47 Skills** โ€” domain knowledge modules with progressive conditional loading;
13
+ - **13 Workflows** โ€” slash-command procedures;
14
+ - **6 Rules** โ€” workspace routing, coding, design, safety, and quick-reference constraints;
15
+ - **Antigravity runtime layer** โ€” contract, native hook, MCP helper, plugin builder, Doctor, schemas, and tests.
16
+
17
+ ---
18
+
19
+ ## ๐Ÿ” Managed Component Registry (2026.7.26)
20
+
21
+ AG Kit uses dual-track versioning:
22
+
23
+ - Toolkit releases use **CalVer** in `VERSION` (`YYYY.M.D`).
24
+ - Agents, skills, workflows, and rules use strict **SemVer** in frontmatter.
25
+ - `manifest.json` records component paths, versions, tools, dependencies, and the Antigravity runtime contract.
26
+ - `manifest.lock.json` records deterministic SHA-256 hashes for managed components and runtime tooling.
27
+ - `DEPENDENCY_GRAPH.md` is generated from the registry and must not be edited manually.
28
+
29
+ The registry is synchronized by executable checks:
30
+
31
+ ```bash
32
+ python .agents/scripts/generate_manifest.py --check
33
+ python .agents/scripts/dependency_graph.py --check
34
+ python .agents/scripts/validate_kit.py
35
+ ```
36
+
37
+ Any managed change without registry regeneration fails validation and CI. Google Antigravity is the primary production runtime; other Markdown-compatible tools are best-effort consumers.
38
+
39
+ ---
40
+
41
+ ## ๐Ÿ—๏ธ Directory Structure
42
+
43
+ ```plaintext
44
+ .agents/
45
+ โ”œโ”€โ”€ README.md # Toolkit operating guide
46
+ โ”œโ”€โ”€ ARCHITECTURE.md # Capability inventory and design
47
+ โ”œโ”€โ”€ VERSION # Toolkit CalVer
48
+ โ”œโ”€โ”€ antigravity.json # Runtime contract and six integration phases
49
+ โ”œโ”€โ”€ hooks.json # Native Antigravity hook registration
50
+ โ”œโ”€โ”€ mcp_config.json # Workspace MCP example/source
51
+ โ”œโ”€โ”€ manifest.json # Generated component registry
52
+ โ”œโ”€โ”€ manifest.lock.json # Generated integrity lock
53
+ โ”œโ”€โ”€ DEPENDENCY_GRAPH.md # Generated workflow โ†’ agent โ†’ skill graph
54
+ โ”œโ”€โ”€ agent/ # 20 specialist role definitions
55
+ โ”œโ”€โ”€ skills/ # 47 progressive skills
56
+ โ”œโ”€โ”€ workflows/ # 13 slash-command procedures
57
+ โ”œโ”€โ”€ rules/ # 6 workspace constraints
58
+ โ”œโ”€โ”€ memory/ # Persistent project context
59
+ โ”œโ”€โ”€ hooks/ # Antigravity Doctor, policy, MCP, plugin, schemas, tests
60
+ โ”œโ”€โ”€ schemas/ # Managed component and memory schemas
61
+ โ””โ”€โ”€ scripts/ # Registry, validator, and project verification tools
62
+ ```
63
+
64
+ ---
65
+
66
+
67
+ ## Antigravity runtime architecture
68
+
69
+ ```text
70
+ .antigravity.json contract
71
+ โ†“
72
+ workspace discovery โ”€โ”€ rules + skills + workflows + agent roles
73
+ โ†“
74
+ routing/orchestration โ”€โ”€ direct role | /coordinate | /orchestrate
75
+ โ†“
76
+ Antigravity permissions + .agents/hooks.json PreToolUse gate
77
+ โ†“
78
+ tool execution, project validation, evidence, memory update
79
+ โ†“
80
+ optional plugin packaging and production release gates
81
+ ```
82
+
83
+ | Phase | Managed files | Production guarantee |
84
+ | --- | --- | --- |
85
+ | Discovery | `rules/`, `skills/`, `workflows/` | Frontmatter and required paths validated |
86
+ | MCP | `mcp_config.json`, `hooks/sync-mcp.mjs` | No implicit home-directory write; placeholder and conflict protection |
87
+ | Hooks | `hooks.json`, `hooks/validate-tool-call.mjs` | Narrow destructive-command gate; native permissions retained |
88
+ | Orchestration | workflows, agents, routing skills | Antigravity `/agents` and `/tasks` remain runtime state |
89
+ | Plugin | `hooks/build-plugin.mjs`, `hooks/plugin/` | Reviewable local bundle with SHA-256 inventory |
90
+ | Validation | Doctor, tests, CI, production checklist | Automated checks plus mandatory hands-on smoke test |
91
+
92
+ The Antigravity runtime files are included in the managed integrity lock beginning with `2026.7.26`.
93
+
94
+ ---
95
+
96
+ ## ๐Ÿค– Agents (20)
97
+
98
+ Specialist AI personas for different domains.
99
+
100
+ | Agent | Focus | Skills Used |
101
+ | ------------------------ | -------------------------- | -------------------------------------------------------- |
102
+ | `orchestrator` | Multi-agent coordination | parallel-agents, coordinator-mode, memory-system, context-compression, verify-changes |
103
+ | `project-planner` | Discovery, task planning | brainstorming, plan-writing, architecture |
104
+ | `frontend-specialist` | Web UI/UX | frontend-design, nextjs-react-expert, tailwind-patterns |
105
+ | `backend-specialist` | API, business logic | api-patterns, nodejs-best-practices, database-design |
106
+ | `database-architect` | Schema, SQL | database-design |
107
+ | `mobile-developer` | iOS, Android, RN | mobile-design |
108
+ | `game-developer` | Game logic, mechanics | game-development |
109
+ | `devops-engineer` | CI/CD, Docker | deployment-procedures, server-management |
110
+ | `security-auditor` | Security compliance | vulnerability-scanner, red-team-tactics |
111
+ | `penetration-tester` | Offensive security | red-team-tactics |
112
+ | `test-engineer` | Testing strategies | testing-patterns, tdd-workflow, webapp-testing |
113
+ | `debugger` | Root cause analysis | systematic-debugging |
114
+ | `performance-optimizer` | Speed, Web Vitals | performance-profiling |
115
+ | `seo-specialist` | Ranking, visibility | seo-fundamentals, geo-fundamentals |
116
+ | `documentation-writer` | Manuals, docs | documentation-templates |
117
+ | `product-manager` | Requirements, user stories | plan-writing, brainstorming |
118
+ | `product-owner` | Strategy, backlog, MVP | plan-writing, brainstorming |
119
+ | `qa-automation-engineer` | E2E testing, CI pipelines | webapp-testing, testing-patterns |
120
+ | `code-archaeologist` | Legacy code, refactoring | clean-code, code-review-checklist |
121
+ | `explorer-agent` | Codebase analysis | - |
122
+
123
+ ---
124
+
125
+ ## ๐Ÿงฉ Skills (47)
126
+
127
+ Modular knowledge domains that agents can load on-demand based on task context. Each skill has a `when_to_use` frontmatter field for conditional/intelligent loading.
128
+
129
+ ### Frontend & UI
130
+
131
+ | Skill | Description |
132
+ | ----------------------- | --------------------------------------------------------------------- |
133
+ | `design-spec` | DESIGN.md token format โ€” required design source-of-truth before UI |
134
+ | `nextjs-react-expert` | React & Next.js performance optimization (Vercel - 58 rules) |
135
+ | `frontend-architecture` | Frontend code organization โ€” layers, state tiers, services (React/Vue) |
136
+ | `web-design-guidelines` | Web UI audit - 100+ rules for accessibility, UX, performance (Vercel) |
137
+ | `tailwind-patterns` | Tailwind CSS v4 utilities |
138
+ | `frontend-design` | UI/UX patterns, design systems |
139
+
140
+ ### Backend & API
141
+
142
+ | Skill | Description |
143
+ | ----------------------- | ------------------------------ |
144
+ | `api-patterns` | REST, GraphQL, tRPC |
145
+ | `nodejs-best-practices` | Node.js async, modules |
146
+ | `python-patterns` | Python standards, FastAPI |
147
+ | `rust-pro` | Rust async, systems, type system |
148
+
149
+ ### Database
150
+
151
+ | Skill | Description |
152
+ | ----------------- | --------------------------- |
153
+ | `database-design` | Schema design, optimization |
154
+
155
+ ### Cloud & Infrastructure
156
+
157
+ | Skill | Description |
158
+ | ----------------------- | ------------------------- |
159
+ | `deployment-procedures` | CI/CD, deploy workflows |
160
+ | `server-management` | Infrastructure management |
161
+
162
+ ### Testing & Quality
163
+
164
+ | Skill | Description |
165
+ | ----------------------- | ------------------------ |
166
+ | `testing-patterns` | Jest, Vitest, strategies |
167
+ | `webapp-testing` | E2E, Playwright |
168
+ | `tdd-workflow` | Test-driven development |
169
+ | `code-review-checklist` | Code review standards |
170
+ | `lint-and-validate` | Linting, validation |
171
+
172
+ ### Security
173
+
174
+ | Skill | Description |
175
+ | ----------------------- | ------------------------ |
176
+ | `vulnerability-scanner` | Security auditing, OWASP |
177
+ | `red-team-tactics` | Offensive security |
178
+
179
+ ### Architecture & Planning
180
+
181
+ | Skill | Description |
182
+ | --------------- | -------------------------- |
183
+ | `app-builder` | Full-stack app scaffolding |
184
+ | `architecture` | System design patterns |
185
+ | `plan-writing` | Task planning, breakdown |
186
+ | `brainstorming` | Socratic questioning |
187
+
188
+ ### Mobile
189
+
190
+ | Skill | Description |
191
+ | --------------- | --------------------- |
192
+ | `mobile-design` | Mobile UI/UX patterns |
193
+
194
+ ### Game Development
195
+
196
+ | Skill | Description |
197
+ | ------------------ | --------------------- |
198
+ | `game-development` | Game logic, mechanics |
199
+
200
+ ### SEO & Growth
201
+
202
+ | Skill | Description |
203
+ | ------------------ | ----------------------------- |
204
+ | `seo-fundamentals` | SEO, E-E-A-T, Core Web Vitals |
205
+ | `geo-fundamentals` | GenAI optimization |
206
+
207
+ ### Shell/CLI
208
+
209
+ | Skill | Description |
210
+ | -------------------- | ------------------------- |
211
+ | `bash-linux` | Linux commands, scripting |
212
+ | `powershell-windows` | Windows PowerShell |
213
+
214
+ ### Orchestration & Memory (2026.5.13)
215
+
216
+ | Skill | Description |
217
+ | ------------------------- | ----------------------------------------------------------- |
218
+ | `coordinator-mode` | Multi-agent orchestration with parallel workers & synthesis |
219
+ | `memory-system` | Persistent cross-session memory with MEMORY.md index |
220
+ | `context-compression` | Auto-compress context in long sessions |
221
+ | `verify-changes` | Prove code works by running it, not just inspecting |
222
+ | `batch-operations` | Multi-file pattern-based modifications |
223
+ | `simplify-code` | Reduce over-engineered complexity |
224
+ | `skillify` | Auto-create skills from repetitive workflows |
225
+ | `code-review-graph` | Token-efficient code review via Tree-sitter AST + MCP |
226
+
227
+ ### Other
228
+
229
+ | Skill | Description |
230
+ | ------------------------- | ------------------------- |
231
+ | `clean-code` | Coding standards (Global) |
232
+ | `behavioral-modes` | Agent personas |
233
+ | `parallel-agents` | Multi-agent patterns |
234
+ | `mcp-builder` | Model Context Protocol |
235
+ | `documentation-templates` | Doc formats |
236
+ | `i18n-localization` | Internationalization |
237
+ | `performance-profiling` | Web Vitals, optimization |
238
+ | `systematic-debugging` | Troubleshooting |
239
+ | `intelligent-routing` | Request โ†’ agent routing |
240
+
241
+ ---
242
+
243
+ ## ๐Ÿ”„ Workflows (13)
244
+
245
+ Slash command procedures. Invoke with `/command`.
246
+
247
+ | Command | Description |
248
+ | ---------------- | ---------------------------------------------- |
249
+ | `/brainstorm` | Socratic discovery |
250
+ | `/coordinate` | **NEW** Advanced multi-agent coordination |
251
+ | `/create` | Create new features |
252
+ | `/debug` | Debug issues |
253
+ | `/deploy` | Deploy application |
254
+ | `/enhance` | Improve existing code |
255
+ | `/orchestrate` | Multi-agent coordination |
256
+ | `/plan` | Task breakdown |
257
+ | `/preview` | Preview changes |
258
+ | `/remember` | **NEW** Save to persistent memory |
259
+ | `/status` | Check project status |
260
+ | `/test` | Run tests |
261
+ | `/verify` | **NEW** Prove code works by running it |
262
+
263
+ ---
264
+
265
+ ## ๐ŸŽฏ Skill Loading Protocol (Conditional)
266
+
267
+ ```plaintext
268
+ User Request โ†’ Check `when_to_use` frontmatter โ†’ Match? โ†’ Load full SKILL.md
269
+ โ†“ No match
270
+ Skip (save tokens)
271
+ ```
272
+
273
+ ### Skill Structure
274
+
275
+ ```plaintext
276
+ skill-name/
277
+ โ”œโ”€โ”€ SKILL.md # (Required) Metadata, when_to_use & instructions
278
+ โ”œโ”€โ”€ scripts/ # (Optional) Python/Bash scripts
279
+ โ”œโ”€โ”€ references/ # (Optional) Templates, docs
280
+ โ””โ”€โ”€ assets/ # (Optional) Images, logos
281
+ ```
282
+
283
+ ### Required Frontmatter Fields
284
+
285
+ ```yaml
286
+ ---
287
+ name: skill-name
288
+ description: What this skill does
289
+ when_to_use: "When to activate. NOT for X." # 2026.5.13
290
+ allowed-tools: Read, Grep, Glob
291
+ ---
292
+ ```
293
+
294
+ ### Enhanced Skills (with scripts/references)
295
+
296
+ | Skill | Files | Coverage |
297
+ | ------------------- | ----- | ----------------------------------- |
298
+ | `app-builder` | 20 | Full-stack scaffolding |
299
+
300
+ ---
301
+
302
+ ## ๐Ÿ› ๏ธ Runtime Scripts
303
+
304
+ AG Kit includes **7 user-facing top-level utilities**, **2 internal registry/runner modules**, **4 Antigravity runtime utilities**, and **18 skill-level scripts**.
305
+
306
+ ### Toolkit utilities
307
+
308
+ | Script | Purpose | Typical use |
309
+ |---|---|---|
310
+ | `scripts/checklist.py` | Fast, priority-ordered validation | During development and pre-commit |
311
+ | `scripts/verify_all.py` | Complete verification suite | Before release or deployment |
312
+ | `scripts/validate_kit.py` | Self-check versions, registry, memory, links, and references | After editing `.agents/` |
313
+ | `scripts/generate_manifest.py` | Generate/check component registry and lock | After changing managed metadata or runtime files |
314
+ | `scripts/dependency_graph.py` | Generate/check workflow-agent-skill graph | After changing dependencies |
315
+ | `scripts/session_manager.py` | Summarize project/session context | At session start or status checks |
316
+ | `scripts/auto_preview.py` | Start, stop, and inspect local preview servers | UI development |
317
+ | `scripts/validation_runner.py` | Shared process runner used by checklist/verify | Internal module |
318
+ | `scripts/component_registry.py` | Registry parser, SemVer resolver, runtime metadata, and hasher | Internal module |
319
+
320
+ ### Antigravity runtime utilities
321
+
322
+ | Script | Purpose |
323
+ |---|---|
324
+ | `hooks/antigravity-doctor.mjs` | Read-only six-phase compatibility and release diagnostics |
325
+ | `hooks/validate-tool-call.mjs` | Native destructive-command safety gate |
326
+ | `hooks/sync-mcp.mjs` | Review and explicitly synchronize MCP configuration |
327
+ | `hooks/build-plugin.mjs` | Build a reviewable Antigravity plugin bundle |
328
+
329
+ ### Usage
330
+
331
+ ```bash
332
+ # Regenerate managed metadata after component/runtime edits
333
+ python .agents/scripts/generate_manifest.py
334
+ python .agents/scripts/dependency_graph.py
335
+
336
+ # Validate toolkit and Antigravity integration
337
+ npm run check:agents
338
+ npm run check:antigravity
339
+ npm run test:antigravity
340
+
341
+ # Fast project checks
342
+ python .agents/scripts/checklist.py .
343
+
344
+ # Full verification with a running app
345
+ python .agents/scripts/verify_all.py . \
346
+ --url http://localhost:3000 \
347
+ --report .agents/reports/verification.json
348
+ ```
349
+
350
+ ### Verification coverage
351
+
352
+ - Component SemVer, registry, lock, dependency graph, memory, links, and references
353
+ - Antigravity discovery, MCP shape/placeholders, native hook registration, orchestration inputs, plugin inputs, and version synchronization
354
+ - Security and secret scanning with blocking exit codes
355
+ - Offline dependency/lock-file hygiene
356
+ - Linting, type coverage, schema validation, and tests
357
+ - UX, accessibility, SEO, GEO, API, mobile, and i18n audits
358
+ - Build asset/bundle sizing
359
+ - Lighthouse and Playwright runtime checks when a URL is available
360
+
361
+ For command details and prerequisites, see [scripts/README.md](scripts/README.md) and [hooks/README.md](hooks/README.md).
362
+
363
+ ---
364
+
365
+ ## ๐Ÿ“Š Statistics
366
+
367
+ | Metric | Value |
368
+ | ------------------- | --------------------------------- |
369
+ | **Total Agents** | 20 (1 major upgrade in 2026.5.13) |
370
+ | **Total Skills** | 47 |
371
+ | **Total Workflows** | 13 (+2 new in 2026.5.13) |
372
+ | **Toolkit Utilities** | 7 user-facing + 2 internal modules |
373
+ | **Antigravity Utilities** | 4 runtime utilities |
374
+ | **Total Skill Scripts** | 18 |
375
+ | **Coverage** | Web, API, mobile, security, quality, runtime, orchestration |
376
+ | **Token Efficiency**| Reduced via conditional skill loading |
377
+
378
+ ---
379
+
380
+ ## ๐Ÿ”— Quick Reference
381
+
382
+ | Need | Agent | Skills |
383
+ | -------- | --------------------- | ------------------------------------- |
384
+ | Web App | `frontend-specialist` | nextjs-react-expert, frontend-design |
385
+ | API | `backend-specialist` | api-patterns, nodejs-best-practices |
386
+ | Mobile | `mobile-developer` | mobile-design |
387
+ | Database | `database-architect` | database-design |
388
+ | Security | `security-auditor` | vulnerability-scanner |
389
+ | Testing | `test-engineer` | testing-patterns, webapp-testing |
390
+ | Debug | `debugger` | systematic-debugging |
391
+ | Plan | `project-planner` | brainstorming, plan-writing |
@@ -0,0 +1,93 @@
1
+ # ZeroGravity OS Changelog
2
+
3
+ ## 1.1.3 (2026-10-15)
4
+
5
+ ### Highlights & Major Optimization
6
+ - **Portability & Zero-Dependency Installation**: Bundled authoritative `AGENTS.md` directly into `.agents/` ensuring complete standalone functionality when copying `.agents/` to any new workspace.
7
+ - **Complete OpenHuman Purge**: Removed all legacy OpenHuman references across workflows, agents, scripts, templates, and memory; established pure 5-stage feature pipeline (`/build-feature`).
8
+ - **2,648+ MCP Server Catalog**: Deleted bloated `servers/` sources and compiled a lightweight, structured `mcp_catalog.json` indexing 2,648 MCP servers with runtime commands and zero background bloat.
9
+ - **Skills Renamed & Standardized**: Renamed skills to match slash workflows (`compress-tokens`, `humanize-text`, `audit-agent`, `react-components`); all skills verified with valid `SKILL.md` frontmatters.
10
+ - **Time & Context Economy Rules**: Strengthened `rules/core.md` with strict pre-flight tool selection (ยง0), whole-file analysis invariant (ยง1), and reactive async waiting with live status (ยง9).
11
+ - **Scripts & Schemas Pruned**: Removed obsolete Chinese documentation validators and non-mandatory schemas; enhanced `checklist.py` with multi-project fallback.
12
+
13
+ ## 2026.8.31
14
+
15
+ ### Added
16
+
17
+ - Embedded mandatory `DESIGN.md` (Design Source-of-Truth) gate into `app-builder` orchestration pipeline, scaffolding structure, and Next.js templates.
18
+ - Added 2026 AI Application Pattern (Vercel AI SDK streaming, PostgreSQL pgvector, vector search, LLM API rate limiting) and SQL-first Drizzle ORM options in `tech-stack.md`.
19
+ - Added project type detection for AI/Chatbot applications and Game applications (`game-development` skill routing).
20
+ - Integrated automatic preview verification (`auto_preview.py`) into iterative enhancement and DevOps handoff.
21
+
22
+ ### Changed
23
+
24
+ - Advanced toolkit version to `2026.8.31`.
25
+ - Bumped `app-builder` skill version to `1.1.0`.
26
+ - Standardized `globals.css` path to `src/app/globals.css` across Next.js templates.
27
+ - Fixed Express API template dependencies to include `@prisma/client` in dependencies and `prisma` as devDependency.
28
+ - Updated the `mcp-builder` skill for the stable MCP `2026-07-28` specification: stateless per-request metadata, `server/discover`, explicit state handles, extension negotiation, JSON Schema 2020-12, compatibility behavior, and migration guidance for deprecated features.
29
+ - Reworked the orchestrator and `parallel-agents` guidance around Antigravity-native agents and tasks while retaining best-effort portability for other runtimes.
30
+
31
+ ### Security
32
+
33
+ - Added required safeguards for external `$ref` resolution, schema-validation resource limits, untrusted tool annotations, explicit consent, least privilege, secret handling, and execution isolation.
34
+ - Added explicit trust boundaries for repository content, MCP responses, tool annotations, web content, logs, and subagent outputs.
35
+ - Added finite agent, delegation-depth, turn/retry, timeout, cancellation, and no-progress controls to prevent recursive delegation and indefinite ReAct loops.
36
+
37
+
38
+ ## 2026.7.26
39
+
40
+ ### Added
41
+
42
+ - Antigravity runtime contract with six production integration phases.
43
+ - Native `PreToolUse` hook and destructive-command policy.
44
+ - Antigravity Doctor, MCP synchronization helper, plugin builder, schemas, and regression tests.
45
+ - Complete migration, production checklist, security, and operator documentation.
46
+
47
+ ### Changed
48
+
49
+ - Toolkit version advanced from `2026.7.18` to `2026.7.26`.
50
+ - Google Antigravity is the primary production runtime; other Markdown-compatible tools are best-effort consumers.
51
+ - Component manifest now records Antigravity runtime metadata.
52
+ - Integrity lock now covers `antigravity.json`, `hooks.json`, and the complete `hooks/` runtime-tooling tree.
53
+ - Self-validation and Antigravity Doctor enforce synchronized root, CLI, web, and toolkit versions.
54
+
55
+ ### Security
56
+
57
+ - High-confidence root/disk destructive commands are blocked before tool execution.
58
+ - Invalid or unknown hook payloads fail open with a warning to avoid runtime-wide lockout.
59
+ - MCP writes remain explicit, placeholder-blocked, conflict-aware, and backup-protected.
60
+ - Plugin artifacts are reviewable and contain no home-directory configuration or environment secrets.
61
+
62
+ ### Compatibility
63
+
64
+ - Existing agent, skill, workflow, rule, and memory names remain compatible.
65
+ - The native safety hook is enabled by default and can be temporarily disabled for compatibility diagnosis.
66
+ - Plugin installation is optional; repository `.agents/` remains the project source of truth.
67
+
68
+ ## 2026.7.18
69
+
70
+ ### Added
71
+
72
+ - Strict SemVer metadata for all 20 agents, 47 skills, 13 workflows, and 6 rules.
73
+ - Machine-readable `manifest.json` with agent-to-skill and workflow dependencies.
74
+ - Deterministic `manifest.lock.json` with SHA-256 integrity hashes.
75
+ - Generated `DEPENDENCY_GRAPH.md` for workflow โ†’ agent โ†’ skill orchestration.
76
+ - JSON schemas for component metadata, manifest, lock, and memory topics.
77
+ - Standard memory topic files for user preferences, technical decisions, and feedback history.
78
+ - Registry and graph generation scripts with non-mutating `--check` modes.
79
+
80
+ ### Changed
81
+
82
+ - Toolkit version advanced from `2026.7.12` to `2026.7.18`.
83
+ - Self-validation now checks component versions, workflow references, dependency compatibility, registry drift, lock integrity, graph drift, and memory contracts.
84
+ - CI now treats generated registry files as release artifacts that must remain synchronized.
85
+
86
+ ### Compatibility
87
+
88
+ - Official runtime support remained Gemini CLI and Google Antigravity for that release.
89
+ - The component metadata and dependency format remain portable and avoid unnecessary platform coupling.
90
+
91
+ ## 2026.7.12
92
+
93
+ - Release-safety upgrade, non-destructive CLI updates, rollback support, CI, dependency review, and hardened publishing.