The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
test: align antigravity manifest expectations
Affaan Mustafa67306c22cd03
diff --git a/tests/lib/install-manifests.test.js b/tests/lib/install-manifests.test.jsindex 7e6c743a0..72a488ae0 100644--- a/tests/lib/install-manifests.test.js+++ b/tests/lib/install-manifests.test.js@@ -112,14 +112,17 @@ function runTests() {);})) passed++; else failed++;- if (test('resolves antigravity profiles by skipping incompatible dependency trees', () => {+ if (test('resolves antigravity profiles while skipping only unsupported modules', () => {const projectRoot = '/workspace/app';const plan = resolveInstallPlan({ profileId: 'core', target: 'antigravity', projectRoot });- assert.deepStrictEqual(plan.selectedModuleIds, ['rules-core', 'agents-core', 'commands-core']);+ assert.deepStrictEqual(+ plan.selectedModuleIds,+ ['rules-core', 'agents-core', 'commands-core', 'platform-configs', 'workflow-quality']+ );assert.ok(plan.skippedModuleIds.includes('hooks-runtime'));- assert.ok(plan.skippedModuleIds.includes('platform-configs'));- assert.ok(plan.skippedModuleIds.includes('workflow-quality'));+ assert.ok(!plan.skippedModuleIds.includes('platform-configs'));+ assert.ok(!plan.skippedModuleIds.includes('workflow-quality'));assert.strictEqual(plan.targetAdapterId, 'antigravity-project');assert.strictEqual(plan.targetRoot, path.join(projectRoot, '.agent'));})) passed++; else failed++;diff --git a/tests/scripts/install-apply.test.js b/tests/scripts/install-apply.test.jsindex 257a29ffc..6bf3f2232 100644--- a/tests/scripts/install-apply.test.js+++ b/tests/scripts/install-apply.test.js@@ -258,7 +258,7 @@ function runTests() {}})) passed++; else failed++;- if (test('installs antigravity manifest profiles while skipping incompatible modules', () => {+ if (test('installs antigravity manifest profiles while skipping only unsupported modules', () => {const homeDir = createTempDir('install-apply-home-');const projectDir = createTempDir('install-apply-project-');@@ -269,14 +269,18 @@ function runTests() {assert.ok(fs.existsSync(path.join(projectDir, '.agent', 'rules', 'common-coding-style.md')));assert.ok(fs.existsSync(path.join(projectDir, '.agent', 'skills', 'architect.md')));assert.ok(fs.existsSync(path.join(projectDir, '.agent', 'workflows', 'plan.md')));- assert.ok(!fs.existsSync(path.join(projectDir, '.agent', 'skills', 'tdd-workflow', 'SKILL.md')));+ assert.ok(fs.existsSync(path.join(projectDir, '.agent', 'skills', 'tdd-workflow', 'SKILL.md')));const state = readJson(path.join(projectDir, '.agent', 'ecc-install-state.json'));assert.strictEqual(state.request.profile, 'core');assert.strictEqual(state.request.legacyMode, false);- assert.deepStrictEqual(state.resolution.selectedModules, ['rules-core', 'agents-core', 'commands-core']);- assert.ok(state.resolution.skippedModules.includes('workflow-quality'));- assert.ok(state.resolution.skippedModules.includes('platform-configs'));+ assert.deepStrictEqual(+ state.resolution.selectedModules,+ ['rules-core', 'agents-core', 'commands-core', 'platform-configs', 'workflow-quality']+ );+ assert.ok(state.resolution.skippedModules.includes('hooks-runtime'));+ assert.ok(!state.resolution.skippedModules.includes('workflow-quality'));+ assert.ok(!state.resolution.skippedModules.includes('platform-configs'));} finally {cleanup(homeDir);cleanup(projectDir);