Filter the shipped instruction list to files selected by the install profile and make the retained paths independent of the launch directory. Record the resolved paths for repair, and anchor the bundled skill lookup to the same config root.
Refs #4029
Resolve conflicts with grok target and repair source-root changes:
keep both antigravity-home and grok targets, combine main's repair
source root with the PR's trusted-root selection, and rebind the
skill-trigger registry digest to the merged install registry.
When npm hoists ajv beside ecc-universal, path.relative(repoRoot, ...)
recorded sources like ../ajv/..., which doctor flags as
unsafe-repair-source and repair refuses. Record dependency sources as
node_modules/<name>[/node_modules/<name>...]/<file>, mirroring the
installed layout, and resolve each package from the repository with
Node module resolution at plan and repair time. Paths still reject
traversal, absolute paths, and malformed package names, and resolved
files must stay inside their package root.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge upstream main b92f181b, retaining updated ownership and script-boundary protections. Capture RED hook-policy and MCP-policy reproductions before fixes. Repair sibling Antigravity workflows: RED unsafe-root failure, GREEN focused regression and 73 lifecycle checks. Native plugin regression captures missing shared-script-utils target support.
Treat non-2xx activity responses as feed errors, preserve non-Markdown Copilot agent assets, and apply the reviewed reference escape parity correction with regenerated bindings. Allow the test runner to drain piped output on its existing success or failure exit status. Validate installed workflows and bounded real Node20/24 pipe regressions.
- Add antigravity-home target adapter installing directly into ~/.gemini/config/plugins/ecc/
- Support full Antigravity lifecycle hooks (PreToolUse, Stop) adhering to the protojson contract ({ decision, reason }) via scripts/hooks/antigravity-hook-bridge.js
- Generate native Antigravity plugin manifest (plugin.json) and shared ECC memory vault MCP config (mcp_config.json)
- Support dual scope (user and project) with full harness capability integration
- Update install schemas and manifests to recognize antigravity-home
- Fix upstream regressions in plan.js scaffoldOnly, plan-canvas child_process spawn, codex-hooks pre-push test, and claude-plugin-setup hook arguments
- Add comprehensive Tier 1 test suite (13 passing tests) with 100% pass across all 4919 repository tests
Preserve the contributor change and current installer contracts. Make automatically discovered plugin entrypoints inert without explicit runtime consent, verify managed ownership before deactivation, and retain prior consent on incomplete migration.
Source-PR: https://github.com/affaan-m/ECC/pull/3008
Source-Head: f8c0c2c182
Move stable hook metadata to a validated sidecar while preserving hook commands and installer identity. Reject moved fingerprints and duplicate IDs, and validate before updating metadata. Independent local review passed at c315271624a1fd055b992f2bff889ad2a0ff8a6b; CI run 34678210149 passed. Rollback: revert this squash commit.