From e17f113c805bdfce9cef37665b67c32bd3e41cdc Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:45 +0000 Subject: [PATCH 01/14] feat: add antigravity-sdk-rust ECC bundle (.claude/ecc-tools.json) --- .claude/ecc-tools.json | 286 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 .claude/ecc-tools.json diff --git a/.claude/ecc-tools.json b/.claude/ecc-tools.json new file mode 100644 index 0000000..3ff7fe1 --- /dev/null +++ b/.claude/ecc-tools.json @@ -0,0 +1,286 @@ +{ + "version": "1.3", + "schemaVersion": "1.0", + "generatedBy": "ecc-tools", + "generatedAt": "2026-06-07T19:51:26.576Z", + "repo": "https://github.com/codeitlikemiley/antigravity-sdk-rust", + "referenceSetReadiness": { + "score": 0, + "present": 0, + "total": 7, + "items": [ + { + "id": "deep-analyzer-corpus", + "label": "Deep analyzer corpus", + "status": "missing", + "evidence": [], + "recommendation": "Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions." + }, + { + "id": "rag-evaluator", + "label": "RAG/evaluator comparison", + "status": "missing", + "evidence": [], + "recommendation": "Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior." + }, + { + "id": "pr-salvage", + "label": "PR salvage/review corpus", + "status": "missing", + "evidence": [], + "recommendation": "Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation." + }, + { + "id": "discussion-triage", + "label": "Discussion triage corpus", + "status": "missing", + "evidence": [], + "recommendation": "Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications." + }, + { + "id": "harness-compatibility", + "label": "Harness compatibility", + "status": "missing", + "evidence": [], + "recommendation": "Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces." + }, + { + "id": "security-evidence", + "label": "Security evidence", + "status": "missing", + "evidence": [], + "recommendation": "Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs." + }, + { + "id": "ci-failure-mode", + "label": "CI failure-mode evidence", + "status": "missing", + "evidence": [], + "recommendation": "Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes." + } + ] + }, + "profiles": { + "requested": "developer", + "recommended": "developer", + "effective": "developer", + "requestedAlias": "developer", + "recommendedAlias": "developer", + "effectiveAlias": "developer" + }, + "requestedProfile": "developer", + "profile": "developer", + "recommendedProfile": "developer", + "effectiveProfile": "developer", + "tier": "free", + "requestedComponents": [ + "repo-baseline", + "workflow-automation" + ], + "selectedComponents": [ + "repo-baseline", + "workflow-automation" + ], + "requestedAddComponents": [], + "requestedRemoveComponents": [], + "blockedRemovalComponents": [], + "tierFilteredComponents": [], + "requestedRootPackages": [ + "runtime-core", + "workflow-pack" + ], + "selectedRootPackages": [ + "runtime-core", + "workflow-pack" + ], + "requestedPackages": [ + "runtime-core", + "workflow-pack" + ], + "requestedAddPackages": [], + "requestedRemovePackages": [], + "selectedPackages": [ + "runtime-core", + "workflow-pack" + ], + "packages": [ + "runtime-core", + "workflow-pack" + ], + "blockedRemovalPackages": [], + "tierFilteredRootPackages": [], + "tierFilteredPackages": [], + "conflictingPackages": [], + "dependencyGraph": { + "runtime-core": [], + "workflow-pack": [ + "runtime-core" + ] + }, + "resolutionOrder": [ + "runtime-core", + "workflow-pack" + ], + "requestedModules": [ + "runtime-core", + "workflow-pack" + ], + "selectedModules": [ + "runtime-core", + "workflow-pack" + ], + "modules": [ + "runtime-core", + "workflow-pack" + ], + "managedFiles": [ + ".claude/skills/antigravity-sdk-rust/SKILL.md", + ".agents/skills/antigravity-sdk-rust/SKILL.md", + ".agents/skills/antigravity-sdk-rust/agents/openai.yaml", + ".claude/identity.json", + ".codex/config.toml", + ".codex/AGENTS.md", + ".codex/agents/explorer.toml", + ".codex/agents/reviewer.toml", + ".codex/agents/docs-researcher.toml", + ".claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml", + ".claude/commands/feature-development.md", + ".claude/commands/feature-implementation-and-wiring.md", + ".claude/commands/documentation-update-after-feature.md" + ], + "packageFiles": { + "runtime-core": [ + ".claude/skills/antigravity-sdk-rust/SKILL.md", + ".agents/skills/antigravity-sdk-rust/SKILL.md", + ".agents/skills/antigravity-sdk-rust/agents/openai.yaml", + ".claude/identity.json", + ".codex/config.toml", + ".codex/AGENTS.md", + ".codex/agents/explorer.toml", + ".codex/agents/reviewer.toml", + ".codex/agents/docs-researcher.toml", + ".claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml" + ], + "workflow-pack": [ + ".claude/commands/feature-development.md", + ".claude/commands/feature-implementation-and-wiring.md", + ".claude/commands/documentation-update-after-feature.md" + ] + }, + "moduleFiles": { + "runtime-core": [ + ".claude/skills/antigravity-sdk-rust/SKILL.md", + ".agents/skills/antigravity-sdk-rust/SKILL.md", + ".agents/skills/antigravity-sdk-rust/agents/openai.yaml", + ".claude/identity.json", + ".codex/config.toml", + ".codex/AGENTS.md", + ".codex/agents/explorer.toml", + ".codex/agents/reviewer.toml", + ".codex/agents/docs-researcher.toml", + ".claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml" + ], + "workflow-pack": [ + ".claude/commands/feature-development.md", + ".claude/commands/feature-implementation-and-wiring.md", + ".claude/commands/documentation-update-after-feature.md" + ] + }, + "files": [ + { + "moduleId": "runtime-core", + "path": ".claude/skills/antigravity-sdk-rust/SKILL.md", + "description": "Repository-specific Claude Code skill generated from git history." + }, + { + "moduleId": "runtime-core", + "path": ".agents/skills/antigravity-sdk-rust/SKILL.md", + "description": "Codex-facing copy of the generated repository skill." + }, + { + "moduleId": "runtime-core", + "path": ".agents/skills/antigravity-sdk-rust/agents/openai.yaml", + "description": "Codex skill metadata so the repo skill appears cleanly in the skill interface." + }, + { + "moduleId": "runtime-core", + "path": ".claude/identity.json", + "description": "Suggested identity.json baseline derived from repository conventions." + }, + { + "moduleId": "runtime-core", + "path": ".codex/config.toml", + "description": "Repo-local Codex MCP and multi-agent baseline aligned with ECC defaults." + }, + { + "moduleId": "runtime-core", + "path": ".codex/AGENTS.md", + "description": "Codex usage guide that points at the generated repo skill and workflow bundle." + }, + { + "moduleId": "runtime-core", + "path": ".codex/agents/explorer.toml", + "description": "Read-only explorer role config for Codex multi-agent work." + }, + { + "moduleId": "runtime-core", + "path": ".codex/agents/reviewer.toml", + "description": "Read-only reviewer role config focused on correctness and security." + }, + { + "moduleId": "runtime-core", + "path": ".codex/agents/docs-researcher.toml", + "description": "Read-only docs researcher role config for API verification." + }, + { + "moduleId": "runtime-core", + "path": ".claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml", + "description": "Continuous-learning instincts derived from repository patterns." + }, + { + "moduleId": "workflow-pack", + "path": ".claude/commands/feature-development.md", + "description": "Workflow command scaffold for feature-development." + }, + { + "moduleId": "workflow-pack", + "path": ".claude/commands/feature-implementation-and-wiring.md", + "description": "Workflow command scaffold for feature-implementation-and-wiring." + }, + { + "moduleId": "workflow-pack", + "path": ".claude/commands/documentation-update-after-feature.md", + "description": "Workflow command scaffold for documentation-update-after-feature." + } + ], + "workflows": [ + { + "command": "feature-development", + "path": ".claude/commands/feature-development.md" + }, + { + "command": "feature-implementation-and-wiring", + "path": ".claude/commands/feature-implementation-and-wiring.md" + }, + { + "command": "documentation-update-after-feature", + "path": ".claude/commands/documentation-update-after-feature.md" + } + ], + "adapters": { + "claudeCode": { + "skillPath": ".claude/skills/antigravity-sdk-rust/SKILL.md", + "identityPath": ".claude/identity.json", + "commandPaths": [ + ".claude/commands/feature-development.md", + ".claude/commands/feature-implementation-and-wiring.md", + ".claude/commands/documentation-update-after-feature.md" + ] + }, + "codex": { + "configPath": ".codex/config.toml", + "agentsGuidePath": ".codex/AGENTS.md", + "skillPath": ".agents/skills/antigravity-sdk-rust/SKILL.md" + } + } +} \ No newline at end of file From ba7a6b24841ae4b215347759cdbcf2cd710d5aaa Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:46 +0000 Subject: [PATCH 02/14] feat: add antigravity-sdk-rust ECC bundle (.claude/skills/antigravity-sdk-rust/SKILL.md) --- .claude/skills/antigravity-sdk-rust/SKILL.md | 116 +++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 .claude/skills/antigravity-sdk-rust/SKILL.md diff --git a/.claude/skills/antigravity-sdk-rust/SKILL.md b/.claude/skills/antigravity-sdk-rust/SKILL.md new file mode 100644 index 0000000..0efd16f --- /dev/null +++ b/.claude/skills/antigravity-sdk-rust/SKILL.md @@ -0,0 +1,116 @@ +```markdown +# antigravity-sdk-rust Development Patterns + +> Auto-generated skill from repository analysis + +## Overview +This skill teaches you the core development patterns, coding conventions, and workflows for contributing to the `antigravity-sdk-rust` repository. The SDK is written in Rust and is organized as a modular library, focusing on extensibility and clarity. You'll learn how to implement new features, wire them into the SDK, update documentation, and follow the project's conventions for code, commits, and testing. + +## Coding Conventions + +### File Naming +- Use **camelCase** for file names. + - Example: `toolContext.rs`, `triggerHelpers.rs` + +### Imports +- Use **relative imports** within modules. + - Example: + ```rust + mod error; + use crate::error::AntigravityError; + ``` + +### Exports +- Use **named exports** for modules, traits, and structs. + - Example: + ```rust + pub mod context; + pub use context::Context; + ``` + +### Commit Messages +- Use **conventional commit** prefixes: + - `feat:` for new features + - `docs:` for documentation changes +- Keep commit messages concise (average ~51 characters). + - Example: `feat: add interactive tool context support` + +## Workflows + +### Feature Implementation and Wiring +**Trigger:** When adding a new core feature or module to the SDK +**Command:** `/new-module` + +1. **Create or update module files** in `src/` (e.g., `context.rs`, `error.rs`, `tool_context.rs`, `trigger_helpers.rs`, `interactive.rs`). +2. **Wire the new modules** into `src/lib.rs`: + ```rust + // In src/lib.rs + pub mod toolContext; + pub use toolContext::ToolContext; + ``` +3. **Optionally update or create related trait or struct files** (e.g., `hooks.rs`, `tools.rs`). +4. **Test the integration** by running or writing tests (see Testing Patterns). + +#### Example +Suppose you're adding a new module `interactive.rs`: +```rust +// src/interactive.rs +pub struct Interactive { + // fields +} +impl Interactive { + pub fn new() -> Self { /* ... */ } +} +``` +Update `src/lib.rs`: +```rust +pub mod interactive; +pub use interactive::Interactive; +``` + +--- + +### Documentation Update After Feature +**Trigger:** When documenting new features, modules, or API changes +**Command:** `/update-docs` + +1. **Update or create documentation files** in `docs/*.md` to cover new or changed components. +2. **Edit `README.md`** to add or update sections reflecting new features or changes. +3. **Add cross-links or summary sections** in `README.md` for better discoverability. + +#### Example +If you add a new `Interactive` module: +- Update `docs/interactive.md` with usage and API details. +- Add a section in `README.md`: + ```markdown + ## Interactive Module + Provides interactive SDK features for advanced workflows. + See [docs/interactive.md](docs/interactive.md) for details. + ``` + +## Testing Patterns + +- **Test files** use the pattern `*.test.*` (e.g., `context.test.rs`). +- **Testing framework** is not explicitly specified; use Rust's built-in test framework. +- **Example test structure:** + ```rust + // src/context.test.rs + #[cfg(test)] + mod tests { + use super::*; + + #[test] + fn test_context_creation() { + let ctx = Context::new(); + assert!(ctx.is_valid()); + } + } + ``` + +## Commands + +| Command | Purpose | +|----------------|----------------------------------------------------------------| +| /new-module | Scaffold and wire a new core module into the SDK | +| /update-docs | Update documentation and README after a feature or API change | +``` From 5cad0b4334966d07ae51b77ddad937e1f1e4bdac Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:47 +0000 Subject: [PATCH 03/14] feat: add antigravity-sdk-rust ECC bundle (.agents/skills/antigravity-sdk-rust/SKILL.md) --- .agents/skills/antigravity-sdk-rust/SKILL.md | 116 +++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 .agents/skills/antigravity-sdk-rust/SKILL.md diff --git a/.agents/skills/antigravity-sdk-rust/SKILL.md b/.agents/skills/antigravity-sdk-rust/SKILL.md new file mode 100644 index 0000000..0efd16f --- /dev/null +++ b/.agents/skills/antigravity-sdk-rust/SKILL.md @@ -0,0 +1,116 @@ +```markdown +# antigravity-sdk-rust Development Patterns + +> Auto-generated skill from repository analysis + +## Overview +This skill teaches you the core development patterns, coding conventions, and workflows for contributing to the `antigravity-sdk-rust` repository. The SDK is written in Rust and is organized as a modular library, focusing on extensibility and clarity. You'll learn how to implement new features, wire them into the SDK, update documentation, and follow the project's conventions for code, commits, and testing. + +## Coding Conventions + +### File Naming +- Use **camelCase** for file names. + - Example: `toolContext.rs`, `triggerHelpers.rs` + +### Imports +- Use **relative imports** within modules. + - Example: + ```rust + mod error; + use crate::error::AntigravityError; + ``` + +### Exports +- Use **named exports** for modules, traits, and structs. + - Example: + ```rust + pub mod context; + pub use context::Context; + ``` + +### Commit Messages +- Use **conventional commit** prefixes: + - `feat:` for new features + - `docs:` for documentation changes +- Keep commit messages concise (average ~51 characters). + - Example: `feat: add interactive tool context support` + +## Workflows + +### Feature Implementation and Wiring +**Trigger:** When adding a new core feature or module to the SDK +**Command:** `/new-module` + +1. **Create or update module files** in `src/` (e.g., `context.rs`, `error.rs`, `tool_context.rs`, `trigger_helpers.rs`, `interactive.rs`). +2. **Wire the new modules** into `src/lib.rs`: + ```rust + // In src/lib.rs + pub mod toolContext; + pub use toolContext::ToolContext; + ``` +3. **Optionally update or create related trait or struct files** (e.g., `hooks.rs`, `tools.rs`). +4. **Test the integration** by running or writing tests (see Testing Patterns). + +#### Example +Suppose you're adding a new module `interactive.rs`: +```rust +// src/interactive.rs +pub struct Interactive { + // fields +} +impl Interactive { + pub fn new() -> Self { /* ... */ } +} +``` +Update `src/lib.rs`: +```rust +pub mod interactive; +pub use interactive::Interactive; +``` + +--- + +### Documentation Update After Feature +**Trigger:** When documenting new features, modules, or API changes +**Command:** `/update-docs` + +1. **Update or create documentation files** in `docs/*.md` to cover new or changed components. +2. **Edit `README.md`** to add or update sections reflecting new features or changes. +3. **Add cross-links or summary sections** in `README.md` for better discoverability. + +#### Example +If you add a new `Interactive` module: +- Update `docs/interactive.md` with usage and API details. +- Add a section in `README.md`: + ```markdown + ## Interactive Module + Provides interactive SDK features for advanced workflows. + See [docs/interactive.md](docs/interactive.md) for details. + ``` + +## Testing Patterns + +- **Test files** use the pattern `*.test.*` (e.g., `context.test.rs`). +- **Testing framework** is not explicitly specified; use Rust's built-in test framework. +- **Example test structure:** + ```rust + // src/context.test.rs + #[cfg(test)] + mod tests { + use super::*; + + #[test] + fn test_context_creation() { + let ctx = Context::new(); + assert!(ctx.is_valid()); + } + } + ``` + +## Commands + +| Command | Purpose | +|----------------|----------------------------------------------------------------| +| /new-module | Scaffold and wire a new core module into the SDK | +| /update-docs | Update documentation and README after a feature or API change | +``` From 7c307091507240468f7245dbf7f291295b28b11c Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:48 +0000 Subject: [PATCH 04/14] feat: add antigravity-sdk-rust ECC bundle (.agents/skills/antigravity-sdk-rust/agents/openai.yaml) --- .agents/skills/antigravity-sdk-rust/agents/openai.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .agents/skills/antigravity-sdk-rust/agents/openai.yaml diff --git a/.agents/skills/antigravity-sdk-rust/agents/openai.yaml b/.agents/skills/antigravity-sdk-rust/agents/openai.yaml new file mode 100644 index 0000000..173abc6 --- /dev/null +++ b/.agents/skills/antigravity-sdk-rust/agents/openai.yaml @@ -0,0 +1,6 @@ +interface: + display_name: "Antigravity Sdk Rust" + short_description: "Repo-specific patterns and workflows for antigravity-sdk-rust" + default_prompt: "Use the antigravity-sdk-rust repo skill to follow existing architecture, testing, and workflow conventions." +policy: + allow_implicit_invocation: true \ No newline at end of file From 859597fb48ecd2fa24d388aaf3cd5637be3241fd Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:49 +0000 Subject: [PATCH 05/14] feat: add antigravity-sdk-rust ECC bundle (.claude/identity.json) --- .claude/identity.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .claude/identity.json diff --git a/.claude/identity.json b/.claude/identity.json new file mode 100644 index 0000000..1b5843f --- /dev/null +++ b/.claude/identity.json @@ -0,0 +1,14 @@ +{ + "version": "2.0", + "technicalLevel": "technical", + "preferredStyle": { + "verbosity": "moderate", + "codeComments": true, + "explanations": true + }, + "domains": [ + "rust" + ], + "suggestedBy": "ecc-tools-repo-analysis", + "createdAt": "2026-06-07T19:51:39.159Z" +} \ No newline at end of file From d3a709d9be5c03fe7276f568a0545f3b6c386b17 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:50 +0000 Subject: [PATCH 06/14] feat: add antigravity-sdk-rust ECC bundle (.codex/config.toml) --- .codex/config.toml | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .codex/config.toml diff --git a/.codex/config.toml b/.codex/config.toml new file mode 100644 index 0000000..bc1ee67 --- /dev/null +++ b/.codex/config.toml @@ -0,0 +1,48 @@ +#:schema https://developers.openai.com/codex/config-schema.json + +# ECC Tools generated Codex baseline +approval_policy = "on-request" +sandbox_mode = "workspace-write" +web_search = "live" + +[mcp_servers.github] +command = "npx" +args = ["-y", "@modelcontextprotocol/server-github"] + +[mcp_servers.context7] +command = "npx" +args = ["-y", "@upstash/context7-mcp@latest"] + +[mcp_servers.exa] +url = "https://mcp.exa.ai/mcp" + +[mcp_servers.memory] +command = "npx" +args = ["-y", "@modelcontextprotocol/server-memory"] + +[mcp_servers.playwright] +command = "npx" +args = ["-y", "@playwright/mcp@latest", "--extension"] + +[mcp_servers.sequential-thinking] +command = "npx" +args = ["-y", "@modelcontextprotocol/server-sequential-thinking"] + +[features] +multi_agent = true + +[agents] +max_threads = 6 +max_depth = 1 + +[agents.explorer] +description = "Read-only codebase explorer for gathering evidence before changes are proposed." +config_file = "agents/explorer.toml" + +[agents.reviewer] +description = "PR reviewer focused on correctness, security, and missing tests." +config_file = "agents/reviewer.toml" + +[agents.docs_researcher] +description = "Documentation specialist that verifies APIs, framework behavior, and release notes." +config_file = "agents/docs-researcher.toml" \ No newline at end of file From 4b66d0cda0e1aff848eb22cb8d99d4769f19d15f Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:50 +0000 Subject: [PATCH 07/14] feat: add antigravity-sdk-rust ECC bundle (.codex/AGENTS.md) --- .codex/AGENTS.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .codex/AGENTS.md diff --git a/.codex/AGENTS.md b/.codex/AGENTS.md new file mode 100644 index 0000000..03a7f94 --- /dev/null +++ b/.codex/AGENTS.md @@ -0,0 +1,28 @@ +# ECC for Codex CLI + +This supplements the root `AGENTS.md` with a repo-local ECC baseline. + +## Repo Skill + +- Repo-generated Codex skill: `.agents/skills/antigravity-sdk-rust/SKILL.md` +- Claude-facing companion skill: `.claude/skills/antigravity-sdk-rust/SKILL.md` +- Keep user-specific credentials and private MCPs in `~/.codex/config.toml`, not in this repo. + +## MCP Baseline + +Treat `.codex/config.toml` as the default ECC-safe baseline for work in this repository. +The generated baseline enables GitHub, Context7, Exa, Memory, Playwright, and Sequential Thinking. + +## Multi-Agent Support + +- Explorer: read-only evidence gathering +- Reviewer: correctness, security, and regression review +- Docs researcher: API and release-note verification + +## Workflow Files + +- `.claude/commands/feature-development.md` +- `.claude/commands/feature-implementation-and-wiring.md` +- `.claude/commands/documentation-update-after-feature.md` + +Use these workflow files as reusable task scaffolds when the detected repository workflows recur. \ No newline at end of file From 68cae0da679c100358e09773bc2f5870f3dfe0a8 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:51 +0000 Subject: [PATCH 08/14] feat: add antigravity-sdk-rust ECC bundle (.codex/agents/explorer.toml) --- .codex/agents/explorer.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .codex/agents/explorer.toml diff --git a/.codex/agents/explorer.toml b/.codex/agents/explorer.toml new file mode 100644 index 0000000..732df7a --- /dev/null +++ b/.codex/agents/explorer.toml @@ -0,0 +1,9 @@ +model = "gpt-5.4" +model_reasoning_effort = "medium" +sandbox_mode = "read-only" + +developer_instructions = """ +Stay in exploration mode. +Trace the real execution path, cite files and symbols, and avoid proposing fixes unless the parent agent asks for them. +Prefer targeted search and file reads over broad scans. +""" \ No newline at end of file From 9825818f7086472d091c6d0f8021f8cd4fb1318b Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:52 +0000 Subject: [PATCH 09/14] feat: add antigravity-sdk-rust ECC bundle (.codex/agents/reviewer.toml) --- .codex/agents/reviewer.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .codex/agents/reviewer.toml diff --git a/.codex/agents/reviewer.toml b/.codex/agents/reviewer.toml new file mode 100644 index 0000000..b13ed9c --- /dev/null +++ b/.codex/agents/reviewer.toml @@ -0,0 +1,9 @@ +model = "gpt-5.4" +model_reasoning_effort = "high" +sandbox_mode = "read-only" + +developer_instructions = """ +Review like an owner. +Prioritize correctness, security, behavioral regressions, and missing tests. +Lead with concrete findings and avoid style-only feedback unless it hides a real bug. +""" \ No newline at end of file From 3cf32ed26ea0da0d896435a9b71952eb13287bdb Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:53 +0000 Subject: [PATCH 10/14] feat: add antigravity-sdk-rust ECC bundle (.codex/agents/docs-researcher.toml) --- .codex/agents/docs-researcher.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .codex/agents/docs-researcher.toml diff --git a/.codex/agents/docs-researcher.toml b/.codex/agents/docs-researcher.toml new file mode 100644 index 0000000..0daae57 --- /dev/null +++ b/.codex/agents/docs-researcher.toml @@ -0,0 +1,9 @@ +model = "gpt-5.4" +model_reasoning_effort = "medium" +sandbox_mode = "read-only" + +developer_instructions = """ +Verify APIs, framework behavior, and release-note claims against primary documentation before changes land. +Cite the exact docs or file paths that support each claim. +Do not invent undocumented behavior. +""" \ No newline at end of file From cca8b41281fafd5f7da142c7c99cf1cc53f065cb Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:54 +0000 Subject: [PATCH 11/14] feat: add antigravity-sdk-rust ECC bundle (.claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml) --- .../antigravity-sdk-rust-instincts.yaml | 431 ++++++++++++++++++ 1 file changed, 431 insertions(+) create mode 100644 .claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml diff --git a/.claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml b/.claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml new file mode 100644 index 0000000..34e6e70 --- /dev/null +++ b/.claude/homunculus/instincts/inherited/antigravity-sdk-rust-instincts.yaml @@ -0,0 +1,431 @@ +# Instincts generated from https://github.com/codeitlikemiley/antigravity-sdk-rust +# Generated: 2026-06-07T19:51:39.159Z +# Version: 2.0 +# NOTE: This file supplements (does not replace) any existing curated instincts. +# High-confidence manually curated instincts should be preserved alongside these. + +--- +id: antigravity-sdk-rust-commit-conventional +trigger: "when writing a commit message" +confidence: 0.85 +domain: git +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Commit Conventional + +## Action + +Use conventional commit format with prefixes: feat, docs + +## Evidence + +- 6 commits analyzed +- Detected conventional commit pattern +- Examples: feat: add core types for Python SDK parity, docs: document all new features in README + +--- +id: antigravity-sdk-rust-commit-length +trigger: "when writing a commit message" +confidence: 0.6 +domain: git +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Commit Length + +## Action + +Write moderate-length commit messages (~51 characters) + +## Evidence + +- Average commit message length: 51 chars +- Based on 6 commits + +--- +id: antigravity-sdk-rust-naming-files +trigger: "when creating a new file" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Naming Files + +## Action + +Use camelCase naming convention + +## Evidence + +- Analyzed file naming patterns in repository +- Dominant pattern: camelCase + +--- +id: antigravity-sdk-rust-import-relative +trigger: "when importing modules" +confidence: 0.75 +domain: code-style +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Import Relative + +## Action + +Use relative imports for project files + +## Evidence + +- Import analysis shows relative import pattern +- Example: import { x } from '../lib/x' + +--- +id: antigravity-sdk-rust-export-style +trigger: "when exporting from a module" +confidence: 0.7 +domain: code-style +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Export Style + +## Action + +Prefer named exports + +## Evidence + +- Export pattern analysis +- Dominant style: named + +--- +id: antigravity-sdk-rust-test-separate +trigger: "when writing tests" +confidence: 0.8 +domain: testing +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Test Separate + +## Action + +Place tests in the tests/ or __tests__/ directory, mirroring src structure + +## Evidence + +- Separate test directory pattern detected +- Tests live in dedicated test folders + +--- +id: antigravity-sdk-rust-workflow-feature-development +trigger: "when implementing a new feature" +confidence: 0.9 +domain: workflow +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Workflow Feature Development + +## Action + +Follow the feature-development workflow: +1. Add feature implementation +2. Add tests for feature +3. Update documentation + +## Evidence + +- Workflow detected from commit patterns +- Frequency: ~30x per month +- Files: **/*.test.* + +--- +id: antigravity-sdk-rust-workflow-feature-implementation-and-wiring +trigger: "when doing feature implementation and wiring" +confidence: 0.6 +domain: workflow +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Workflow Feature Implementation And Wiring + +## Action + +Follow the feature-implementation-and-wiring workflow: +1. Create or update one or more module files in src/ (e.g., context.rs, error.rs, tool_context.rs, trigger_helpers.rs, interactive.rs) +2. Update src/lib.rs to wire in the new modules +3. Optionally, update or create related trait or struct files (e.g., hooks.rs, tools.rs) + +## Evidence + +- Workflow detected from commit patterns +- Frequency: ~2x per month +- Files: src/*.rs, src/lib.rs + +--- +id: antigravity-sdk-rust-workflow-documentation-update-after-feature +trigger: "when doing documentation update after feature" +confidence: 0.6 +domain: workflow +source: repo-analysis +source_repo: https://github.com/codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Workflow Documentation Update After Feature + +## Action + +Follow the documentation-update-after-feature workflow: +1. Update or create relevant docs/*.md files for new or changed components +2. Add or update sections in README.md to reflect new features or changes +3. Add cross-links or summary sections in README.md for discoverability + +## Evidence + +- Workflow detected from commit patterns +- Frequency: ~2x per month +- Files: README.md, docs/*.md + +--- +id: antigravity-sdk-rust-instinct-file-naming +trigger: "When creating a new Rust source file" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct File Naming + +## Action + +Name the file using camelCase (e.g., toolContext.rs) + +## Evidence + +- Pattern in files: src/context.rs, src/tool_context.rs + +--- +id: antigravity-sdk-rust-instinct-function-naming +trigger: "When defining a new function" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Function Naming + +## Action + +Name the function using camelCase + +## Evidence + +- Pattern in src/*.rs function definitions + +--- +id: antigravity-sdk-rust-instinct-class-naming +trigger: "When defining a new struct or enum" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Class Naming + +## Action + +Name the type using PascalCase + +## Evidence + +- Pattern in src/*.rs: struct Context, enum Error + +--- +id: antigravity-sdk-rust-instinct-constant-naming +trigger: "When defining a constant" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Constant Naming + +## Action + +Name the constant using SCREAMING_SNAKE_CASE + +## Evidence + +- Pattern in src/*.rs: const MAX_SIZE: usize = ... + +--- +id: antigravity-sdk-rust-instinct-import-style +trigger: "When importing modules within the crate" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Import Style + +## Action + +Use relative imports + +## Evidence + +- Pattern in src/*.rs: use super::module; + +--- +id: antigravity-sdk-rust-instinct-export-style +trigger: "When exporting modules or items" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Export Style + +## Action + +Use named exports + +## Evidence + +- Pattern in src/lib.rs: pub mod context; + +--- +id: antigravity-sdk-rust-instinct-test-location +trigger: "When adding or updating tests" +confidence: 0.8 +domain: testing +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Test Location + +## Action + +Place test files in the separate tests/ directory + +## Evidence + +- Pattern in folder structure: tests/ + +--- +id: antigravity-sdk-rust-instinct-test-pattern +trigger: "When writing tests for a new feature" +confidence: 0.7 +domain: testing +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Test Pattern + +## Action + +Create a corresponding test file in tests/ with a .test.rs suffix + +## Evidence + +- Workflow: feature-development, filesInvolved: **/*.test.* + +--- +id: antigravity-sdk-rust-instinct-git-commit-format +trigger: "When creating a commit" +confidence: 0.9 +domain: git +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Git Commit Format + +## Action + +Use conventional commit format with 'feat' or 'docs' prefix and a concise message (average 51 characters) + +## Evidence + +- Seen in commit: feat: add core types for Python SDK parity +- Seen in commit: docs: document all new features in README + +--- +id: antigravity-sdk-rust-instinct-feature-implementation-wiring +trigger: "When adding a new core feature or module to the SDK" +confidence: 0.9 +domain: workflow +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Feature Implementation Wiring + +## Action + +Create or update module files in src/, update src/lib.rs to wire in the new modules, and optionally update related trait/struct files + +## Evidence + +- Workflow: feature-implementation-and-wiring +- Example files: src/context.rs, src/lib.rs + +--- +id: antigravity-sdk-rust-instinct-documentation-update +trigger: "When a new feature or module is added" +confidence: 0.9 +domain: workflow +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Documentation Update + +## Action + +Update or create docs/*.md files and update README.md to reflect the changes + +## Evidence + +- Workflow: documentation-update-after-feature +- Example files: README.md, docs/*.md + +--- +id: antigravity-sdk-rust-instinct-feature-dev-sequence +trigger: "When developing a new feature" +confidence: 0.8 +domain: workflow +source: repo-analysis +source_repo: codeitlikemiley/antigravity-sdk-rust +--- + +# Antigravity Sdk Rust Instinct Feature Dev Sequence + +## Action + +First implement the feature, then add tests, then update documentation + +## Evidence + +- Workflow: feature-development +- Commit sequence: Add feature implementation → Add tests → Update documentation + From e3a68578d7cedc955c7722d57132528abcda3d21 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:55 +0000 Subject: [PATCH 12/14] feat: add antigravity-sdk-rust ECC bundle (.claude/commands/feature-development.md) --- .claude/commands/feature-development.md | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .claude/commands/feature-development.md diff --git a/.claude/commands/feature-development.md b/.claude/commands/feature-development.md new file mode 100644 index 0000000..7b29529 --- /dev/null +++ b/.claude/commands/feature-development.md @@ -0,0 +1,35 @@ +--- +name: feature-development +description: Workflow command scaffold for feature-development in antigravity-sdk-rust. +allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"] +--- + +# /feature-development + +Use this workflow when working on **feature-development** in `antigravity-sdk-rust`. + +## Goal + +Standard feature implementation workflow + +## Common Files + +- `**/*.test.*` + +## Suggested Sequence + +1. Understand the current state and failure mode before editing. +2. Make the smallest coherent change that satisfies the workflow goal. +3. Run the most relevant verification for touched files. +4. Summarize what changed and what still needs review. + +## Typical Commit Signals + +- Add feature implementation +- Add tests for feature +- Update documentation + +## Notes + +- Treat this as a scaffold, not a hard-coded script. +- Update the command if the workflow evolves materially. \ No newline at end of file From 4689329c36aa671574f3839bca401537b94c661d Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:56 +0000 Subject: [PATCH 13/14] feat: add antigravity-sdk-rust ECC bundle (.claude/commands/feature-implementation-and-wiring.md) --- .../feature-implementation-and-wiring.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .claude/commands/feature-implementation-and-wiring.md diff --git a/.claude/commands/feature-implementation-and-wiring.md b/.claude/commands/feature-implementation-and-wiring.md new file mode 100644 index 0000000..f10e246 --- /dev/null +++ b/.claude/commands/feature-implementation-and-wiring.md @@ -0,0 +1,36 @@ +--- +name: feature-implementation-and-wiring +description: Workflow command scaffold for feature-implementation-and-wiring in antigravity-sdk-rust. +allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"] +--- + +# /feature-implementation-and-wiring + +Use this workflow when working on **feature-implementation-and-wiring** in `antigravity-sdk-rust`. + +## Goal + +Implements a new core feature or module, then wires it into the main library entry point and supporting files. + +## Common Files + +- `src/*.rs` +- `src/lib.rs` + +## Suggested Sequence + +1. Understand the current state and failure mode before editing. +2. Make the smallest coherent change that satisfies the workflow goal. +3. Run the most relevant verification for touched files. +4. Summarize what changed and what still needs review. + +## Typical Commit Signals + +- Create or update one or more module files in src/ (e.g., context.rs, error.rs, tool_context.rs, trigger_helpers.rs, interactive.rs) +- Update src/lib.rs to wire in the new modules +- Optionally, update or create related trait or struct files (e.g., hooks.rs, tools.rs) + +## Notes + +- Treat this as a scaffold, not a hard-coded script. +- Update the command if the workflow evolves materially. \ No newline at end of file From 7195d147bf10fe1dbfe3252017681cb4d56bfb86 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:51:57 +0000 Subject: [PATCH 14/14] feat: add antigravity-sdk-rust ECC bundle (.claude/commands/documentation-update-after-feature.md) --- .../documentation-update-after-feature.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .claude/commands/documentation-update-after-feature.md diff --git a/.claude/commands/documentation-update-after-feature.md b/.claude/commands/documentation-update-after-feature.md new file mode 100644 index 0000000..c1d4853 --- /dev/null +++ b/.claude/commands/documentation-update-after-feature.md @@ -0,0 +1,36 @@ +--- +name: documentation-update-after-feature +description: Workflow command scaffold for documentation-update-after-feature in antigravity-sdk-rust. +allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"] +--- + +# /documentation-update-after-feature + +Use this workflow when working on **documentation-update-after-feature** in `antigravity-sdk-rust`. + +## Goal + +Updates documentation files and README to reflect new features, components, or API changes. + +## Common Files + +- `README.md` +- `docs/*.md` + +## Suggested Sequence + +1. Understand the current state and failure mode before editing. +2. Make the smallest coherent change that satisfies the workflow goal. +3. Run the most relevant verification for touched files. +4. Summarize what changed and what still needs review. + +## Typical Commit Signals + +- Update or create relevant docs/*.md files for new or changed components +- Add or update sections in README.md to reflect new features or changes +- Add cross-links or summary sections in README.md for discoverability + +## Notes + +- Treat this as a scaffold, not a hard-coded script. +- Update the command if the workflow evolves materially. \ No newline at end of file