Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

fix(ci): restore green main for the Itô skill test suite (#2720)

haelyra59a99d669f54
diff --git a/tests/ci/ito-basket-compare-skill.test.js b/tests/ci/ito-basket-compare-skill.test.js
index a96c64044..8b5e2c157 100644
--- a/tests/ci/ito-basket-compare-skill.test.js
+++ b/tests/ci/ito-basket-compare-skill.test.js
@@ -46,7 +46,7 @@ function main() {
const skill = fs.readFileSync(SKILL_PATH, "utf8");
const tests = [
["has valid discoverable frontmatter and representative trigger phrases", () => {
- assert.match(skill, /^---\nname: ito-basket-compare\ndescription: [^\n]+\nmetadata:\n origin: ECC\n---\n/);
+ assert.match(skill, /^---\nname: ito-basket-compare\ndescription: [^\n]+\nmetadata:\n {2}origin: ECC\n---\n/);
for (const phrase of ["compare this basket", "basket vs", "gap analysis", "stale assumptions", "watchlist"]) {
assert.match(skill.toLowerCase(), new RegExp(phrase));
}
diff --git a/tests/ci/ito-inference-skill.test.js b/tests/ci/ito-inference-skill.test.js
index bbc02e920..0899158c7 100644
--- a/tests/ci/ito-inference-skill.test.js
+++ b/tests/ci/ito-inference-skill.test.js
@@ -110,7 +110,7 @@ const results = [
{
id: "capability:ito-compute",
family: "capability",
- description: "Authenticated Itô GPU inventory, RFQ, status, and explicitly gated node-qualification workflows through the separately installed canonical CLI.",
+ description: "Authenticated Itô GPU inventory, RFQ, status, device revocation, and explicitly gated node-qualification workflows through the separately installed canonical CLI.",
modules: ["ito-compute"],
}
);
diff --git a/tests/ci/ito-trade-planner-skill.test.js b/tests/ci/ito-trade-planner-skill.test.js
index eec5dc4ac..55d6265ff 100644
--- a/tests/ci/ito-trade-planner-skill.test.js
+++ b/tests/ci/ito-trade-planner-skill.test.js
@@ -34,7 +34,7 @@ function main() {
const skill = read('skills/ito-trade-planner/SKILL.md');
const tests = [
['has portable discovery metadata and representative triggers', () => {
- assert.match(skill, /^---\nname: ito-trade-planner\ndescription: [^\n]+\nmetadata:\n origin: ECC\n---/);
+ assert.match(skill, /^---\nname: ito-trade-planner\ndescription: [^\n]+\nmetadata:\n {2}origin: ECC\n---/);
for (const trigger of ['trade plan', 'planning worksheet', 'venue comparison', 'basket adjustment']) {
assert.match(skill, new RegExp(trigger, 'i'), `missing trigger phrase: ${trigger}`);
}