From 001df488e59ca408515a96df718702afc6bd1995 Mon Sep 17 00:00:00 2001 From: haelyra <49814733+haelyra@users.noreply.github.com> Date: Thu, 5 Nov 2026 23:26:12 -0500 Subject: [PATCH] fix: reconcile reviewed integration repairs and generated catalogs --- .claude-plugin/marketplace.json | 2 +- .claude-plugin/plugin.json | 2 +- .gemini/GEMINI.md | 2 +- AGENTS.md | 4 +- README.md | 6 +- README.zh-CN.md | 2 +- SOUL.md | 2 +- docs/ja-JP/skills/agent-payment-x402/SKILL.md | 2 +- docs/zh-CN/AGENTS.md | 4 +- docs/zh-CN/README.md | 6 +- docs/zh-CN/skills/agent-payment-x402/SKILL.md | 2 +- manifests/context-packs/skill-triggers@1.json | 310 +----------------- manifests/pi-core.json | 3 + pi/core/CURATION.md | 5 +- scripts/hooks/run-with-flags.js | 0 scripts/lib/memory-vault-format.js | 14 +- skills/agent-payment-x402/SKILL.md | 2 +- skills/roundhouse-x402/SKILL.md | 4 +- .../web-perimeter-owasp-2025-audit/SKILL.md | 4 +- 19 files changed, 35 insertions(+), 341 deletions(-) mode change 100644 => 100755 scripts/hooks/run-with-flags.js diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index d4c58e038..8e3f41780 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -11,7 +11,7 @@ { "name": "ecc", "source": "./", - "description": "Harness-native ECC operator layer - 71 agents, 315 skills, 98 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses", + "description": "Harness-native ECC operator layer - 71 agents, 318 skills, 98 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses", "version": "2.2.3", "author": { "name": "Affaan Mustafa", diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 1cba4b769..8cb7c42b9 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "ecc", "version": "2.2.3", - "description": "Harness-native ECC plugin for engineering teams - 71 agents, 315 skills, 98 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses", + "description": "Harness-native ECC plugin for engineering teams - 71 agents, 318 skills, 98 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses", "author": { "name": "Affaan Mustafa", "url": "https://x.com/affaanmustafa" diff --git a/.gemini/GEMINI.md b/.gemini/GEMINI.md index 9fb29d8e1..3757c951b 100644 --- a/.gemini/GEMINI.md +++ b/.gemini/GEMINI.md @@ -4,7 +4,7 @@ This file provides Gemini CLI with the baseline ECC workflow, review standards, ## Overview -ECC is a cross-harness coding system with 71 specialized agents, 315 skills, and 98 commands. +ECC is a cross-harness coding system with 71 specialized agents, 318 skills, and 98 commands. Gemini support is currently focused on a strong project-local instruction layer via `.gemini/GEMINI.md`, plus the shared MCP catalog and package-manager setup assets shipped by the installer. diff --git a/AGENTS.md b/AGENTS.md index 036a6fbb6..d1b4c0da3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ # ECC — Agent Instructions -This is a **production-ready AI coding plugin** providing 71 specialized agents, 315 skills, 98 commands, and automated hook workflows for software development. +This is a **production-ready AI coding plugin** providing 71 specialized agents, 318 skills, 98 commands, and automated hook workflows for software development. **Version:** 2.2.3 @@ -202,7 +202,7 @@ Troubleshoot failures: check test isolation → verify mocks → fix implementat ``` agents/ — 71 specialized subagents -skills/ — 315 workflow skills and domain knowledge +skills/ — 318 workflow skills and domain knowledge commands/ — 98 slash commands hooks/ — Trigger-based automations rules/ — Always-follow guidelines (common + per-language) diff --git a/README.md b/README.md index ac95a77f6..040adc997 100644 --- a/README.md +++ b/README.md @@ -141,12 +141,12 @@ Instead of rebuilding that process in every prompt, you install it once and make ECC is MIT-licensed open source. It works best with Claude Code today, has native Codex and Qoder plugin paths, and provides capability-limited adapters for Cursor, OpenCode, Gemini, Zed, GitHub Copilot, Antigravity, Qwen, and other harnesses. See the [support status matrix](#platform-support) before assuming feature parity. -Access to 71 agents, 315 skills, and 98 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work. +Access to 71 agents, 318 skills, and 98 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work. | Included | Count | What it gives you | | ---------------- | ----------: | ------------------------------------------------------------------------------------ | | Agents | 71 agents | Planning, review, build repair, security, architecture, and domain work | -| Skills | 315 skills | TDD, research, security, docs, frontend, data, ML, operations, and more | +| Skills | 318 skills | TDD, research, security, docs, frontend, data, ML, operations, and more | | Commands | 98 commands | Convenient entry points while ECC moves to a skills-first surface | | Hooks and memory | Runtime | Enforcement, session summaries, continuous learning, instincts, and context controls | | Rules | Selective | Always-loaded standards you choose by language or project | @@ -861,7 +861,7 @@ Stable graduation of the 2.0 line: control-pane substrate, worktree lifecycle se ```text ECC/ |-- agents/ # 71 specialized subagents for delegation -|-- skills/ # 315 reusable workflows loaded on demand +|-- skills/ # 318 reusable workflows loaded on demand |-- commands/ # 98 maintained slash-command shims |-- rules/ # opt-in common and language standards |-- hooks/ # runtime automation and enforcement diff --git a/README.zh-CN.md b/README.zh-CN.md index 537bab297..4098c0a66 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -200,7 +200,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/" /plugin list ecc@ecc ``` -**完成!** 你现在可以使用 71 个代理、315 个技能和 98 个命令。 +**完成!** 你现在可以使用 71 个代理、318 个技能和 98 个命令。 ### multi-* 命令需要额外配置 diff --git a/SOUL.md b/SOUL.md index 55b9435e1..9dd936f00 100644 --- a/SOUL.md +++ b/SOUL.md @@ -1,7 +1,7 @@ # Soul ## Core Identity -ECC is a production-ready AI coding plugin with 71 specialized agents, 315 skills, 98 commands, and automated hook workflows for software development. +ECC is a production-ready AI coding plugin with 71 specialized agents, 318 skills, 98 commands, and automated hook workflows for software development. ## Core Principles 1. **Agent-First** — route work to the right specialist as early as possible. diff --git a/docs/ja-JP/skills/agent-payment-x402/SKILL.md b/docs/ja-JP/skills/agent-payment-x402/SKILL.md index 6eb30a32f..b773e7855 100644 --- a/docs/ja-JP/skills/agent-payment-x402/SKILL.md +++ b/docs/ja-JP/skills/agent-payment-x402/SKILL.md @@ -264,7 +264,7 @@ const res = await payOnce("https://api.example.com/data", { method: "GET" }); | [`x402.org` ファシリテーター](https://x402.org/facilitator) | 開発・テストネット向け — パッケージのデフォルトでセットアップ不要。アップストリームはメインネットルート向けではないと明記している | | ホスト型の本番ファシリテーター | インフラを運用せずにメインネット対応が欲しい | -ホスト型を選ぶ場合は、ここに書かれた名前ではなくアップストリームドキュメントの[ファシリテーターリスト](https://docs.x402.org/dev-tools/facilitators)から選ぶこと — メンテナンスされており、網羅的ではなく、カバレッジも変わる。執筆時点では Coinbase の CDP(全トランザクションに KYT/OFAC スクリーニング)、PayAI、Corbits、Dexter、Solvador などが掲載され、複数が EVM に加えて Solana メインネットをカバーしている。このリストに掲載されていない他のファシリテーターとしては Roundhouse(`https://x402.roundhouseai.io`、API キー不要、Base メインネットの `exact` のみ — x402 v1 のネットワーク `base` と v2 の `eip155:8453`、Base Sepolia は対象外 — `/supported` で確認)などがある。Roundhouse を上流の表へ載せるドキュメント PR は未マージのまま開いている: [x402-foundation/x402#4005](https://github.com/x402-foundation/x402/pull/4005)。どれを選ぶ場合も、本番前に `/supported` エンドポイントでライブカバレッジを確認し、ネットワークを追加したときは再確認すること。 +ホスト型を選ぶ場合は、ここに書かれた名前ではなくアップストリームドキュメントの[ファシリテーターリスト](https://docs.x402.org/dev-tools/facilitators)から選ぶこと — メンテナンスされており、網羅的ではなく、カバレッジも変わる。執筆時点では Coinbase の CDP(全トランザクションに KYT/OFAC スクリーニング)、PayAI、Corbits、Dexter、Solvador などが掲載され、複数が EVM に加えて Solana メインネットをカバーしている。このリストに掲載されていない他のファシリテーターとしては Roundhouse(`https://x402.roundhouseai.io`、API キー不要、Base メインネットの `exact` の例 — x402 v1 のネットワーク `base` と v2 の `eip155:8453`、Base Sepolia は対象外 — `/supported` で確認)などがある。Roundhouse を上流の表へ載せるドキュメント PR は未マージのまま開いている: [x402-foundation/x402#4005](https://github.com/x402-foundation/x402/pull/4005)。どれを選ぶ場合も、本番前に `/supported` エンドポイントでライブカバレッジを確認し、ネットワークを追加したときは再確認すること。 > **開示**: このセクションの一部は、ここで言及しているファシリテーター / インデックスである PayAI(アップストリームのリストに掲載)と Roundhouse(上記で別途言及)に関わる者が寄稿した。いずれも複数ある選択肢の 1 つとして記載しており、上記の自己ホストおよびアップストリームデフォルトのパスを意図的に先に挙げている。 diff --git a/docs/zh-CN/AGENTS.md b/docs/zh-CN/AGENTS.md index 3db7d3463..751442231 100644 --- a/docs/zh-CN/AGENTS.md +++ b/docs/zh-CN/AGENTS.md @@ -1,6 +1,6 @@ # ECC — 智能体指令 -这是一个**生产就绪的 AI 编码插件**,提供 71 个专业代理、315 项技能、98 条命令以及自动化钩子工作流,用于软件开发。 +这是一个**生产就绪的 AI 编码插件**,提供 71 个专业代理、318 项技能、98 条命令以及自动化钩子工作流,用于软件开发。 **版本:** 2.2.3 @@ -147,7 +147,7 @@ ``` agents/ — 71 个专业子代理 -skills/ — 315 个工作流技能和领域知识 +skills/ — 318 个工作流技能和领域知识 commands/ — 98 个斜杠命令 hooks/ — 基于触发的自动化 rules/ — 始终遵循的指导方针(通用 + 每种语言) diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index 7e3361dc4..2ada4b77c 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -264,7 +264,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/" /plugin list ecc@ecc ``` -**搞定!** 你现在可以使用 71 个智能体、315 项技能和 98 个命令了。 +**搞定!** 你现在可以使用 71 个智能体、318 项技能和 98 个命令了。 *** @@ -1178,7 +1178,7 @@ opencode |---------|---------------|----------|--------| | 智能体 | PASS: 71 个 | PASS: 12 个 | **Claude Code 领先** | | 命令 | PASS: 98 个 | PASS: 35 个 | **Claude Code 领先** | -| 技能 | PASS: 315 项 | PASS: 37 项 | **Claude Code 领先** | +| 技能 | PASS: 318 项 | PASS: 37 项 | **Claude Code 领先** | | 钩子 | PASS: 8 种事件类型 | PASS: 11 种事件 | **OpenCode 更多!** | | 规则 | PASS: 29 条 | PASS: 13 条指令 | **Claude Code 领先** | | MCP 服务器 | PASS: 14 个 | PASS: 完整 | **完全对等** | @@ -1286,7 +1286,7 @@ ECC 是**第一个最大化利用每个主要 AI 编码工具的插件**。以 |---------|-----------------------|------------|-----------|----------| | **智能体** | 71 | 共享 (AGENTS.md) | 共享 (AGENTS.md) | 12 | | **命令** | 98 | 共享 | 基于指令 | 35 | -| **技能** | 315 | 共享 | 10 (原生格式) | 37 | +| **技能** | 318 | 共享 | 10 (原生格式) | 37 | | **钩子事件** | 8 种类型 | 15 种类型 | SessionStart(1 种类型) | 11 种类型 | | **钩子脚本** | 20+ 个脚本 | 16 个脚本 (DRY 适配器) | 1 个 SessionStart 引导脚本 | 插件钩子 | | **规则** | 34 (通用 + 语言) | 34 (YAML 前页) | 基于指令 | 13 条指令 | diff --git a/docs/zh-CN/skills/agent-payment-x402/SKILL.md b/docs/zh-CN/skills/agent-payment-x402/SKILL.md index a47673ef4..592988a29 100644 --- a/docs/zh-CN/skills/agent-payment-x402/SKILL.md +++ b/docs/zh-CN/skills/agent-payment-x402/SKILL.md @@ -264,7 +264,7 @@ const res = await payOnce("https://api.example.com/data", { method: "GET" }); | [`x402.org` 结算器](https://x402.org/facilitator) | 开发与测试网——它是包的默认值,无需配置,上游明确说明它不适用于主网路由 | | 托管的生产结算器 | 你希望获得主网覆盖而不必自己运维基础设施 | -选择托管方案时,请从上游文档的[结算器列表](https://docs.x402.org/dev-tools/facilitators)中挑选,而不是照搬这里的名字——该列表有人维护、并不详尽,且覆盖范围会变化。撰写时它包含 Coinbase 的 CDP(对每笔交易执行 KYT/OFAC 筛查)、PayAI、Corbits、Dexter、Solvador 等,其中若干同时覆盖 EVM 与 Solana 主网。不在该列表中的其他结算器还包括 Roundhouse(`https://x402.roundhouseai.io`,无需 API 密钥,仅 Base 主网 `exact`——x402 v1 网络 `base` 与 v2 的 `eip155:8453`,不含 Base Sepolia——以 `/supported` 为准)。把 Roundhouse 加进上游表格的文档 PR 仍未合并:[x402-foundation/x402#4005](https://github.com/x402-foundation/x402/pull/4005)。无论选择哪一个,上线前都要在其 `/supported` 端点确认实时覆盖范围,并在新增网络时重新确认。 +选择托管方案时,请从上游文档的[结算器列表](https://docs.x402.org/dev-tools/facilitators)中挑选,而不是照搬这里的名字——该列表有人维护、并不详尽,且覆盖范围会变化。撰写时它包含 Coinbase 的 CDP(对每笔交易执行 KYT/OFAC 筛查)、PayAI、Corbits、Dexter、Solvador 等,其中若干同时覆盖 EVM 与 Solana 主网。不在该列表中的其他结算器还包括 Roundhouse(`https://x402.roundhouseai.io`,无需 API 密钥,Base 主网 `exact` 示例——x402 v1 网络 `base` 与 v2 的 `eip155:8453`,不含 Base Sepolia——以 `/supported` 为准)。把 Roundhouse 加进上游表格的文档 PR 仍未合并:[x402-foundation/x402#4005](https://github.com/x402-foundation/x402/pull/4005)。无论选择哪一个,上线前都要在其 `/supported` 端点确认实时覆盖范围,并在新增网络时重新确认。 > **披露**:本节部分内容由与 PayAI(位于上游列表中)和 Roundhouse(已在上文单独提及)有关联的人贡献,二者均为此处提到的结算器 / 索引。每一项都只是若干选项之一,上面的自托管与上游默认路径是有意排在前面的。 diff --git a/manifests/context-packs/skill-triggers@1.json b/manifests/context-packs/skill-triggers@1.json index 909217e79..7b15d3c3a 100644 --- a/manifests/context-packs/skill-triggers@1.json +++ b/manifests/context-packs/skill-triggers@1.json @@ -1,309 +1 @@ -{ - "coverage": { - "skills": 314, - "withTriggers": 34 - }, - "generatedAt": "2026-10-30T00:01:34.569Z", - "id": "skill-triggers@1", - "model": { - "effort": null, - "id": "hand-seeded", - "source": "manual-curation-pending-regeneration" - }, - "registryDigest": "65b0e26848994515124a8e256e8f2ec996453b98bd89c461407edf3c2d1e3883", - "schemaVersion": 1, - "triggers": { - "skill:agent-runtime-gateway-smoke-test": [ - "test local agent gateway", - "remote sandbox callback smoke test", - "agent task stuck after dispatch", - "verify gateway tunnel", - "restore web api after agent test" - ], - "skill:api-connector-builder": [ - "add api integration", - "new provider connector", - "match existing integration pattern" - ], - "skill:api-design": [ - "rest endpoint design", - "pagination api", - "status codes", - "api versioning", - "rate limiting api", - "resource naming", - "filtering api", - "api error responses", - "offset pagination", - "limit query parameter", - "pagination defaults" - ], - "skill:backend-patterns": [ - "express api", - "node backend architecture", - "nextjs api routes", - "server side patterns", - "data access layer", - "static file server", - "url path handling", - "file server" - ], - "skill:browser-qa": [ - "deployed feature test", - "visual regression screenshots", - "core web vitals check", - "axe accessibility audit", - "ship do not ship", - "staging verification" - ], - "skill:canary-watch": [ - "post deploy monitoring", - "smoke test url", - "production url check", - "console errors production", - "sse stream check", - "after deploy verification" - ], - "skill:code-tour": [ - "onboarding walkthrough", - "explain subsystem", - "architecture tour", - "pr walkthrough", - "rca tour" - ], - "skill:coding-standards": [ - "code review standards", - "naming conventions", - "readability review", - "immutability conventions", - "fix naming typo", - "export naming", - "consistent exports" - ], - "skill:content-hash-cache-pattern": [ - "cache file processing", - "content addressed cache", - "sha256 hash cache" - ], - "skill:database-migrations": [ - "zero downtime migration", - "schema change production", - "add column large table", - "backfill data", - "expand contract", - "concurrent index", - "migration rollback", - "prisma migration", - "django migration" - ], - "skill:deployment-patterns": [ - "ci cd setup", - "dockerize app", - "health checks", - "rollback strategy", - "production readiness", - "deploy pipeline", - "containerize application" - ], - "skill:design-system": [ - "design tokens", - "visual consistency audit", - "css custom properties", - "ui audit", - "design system bootstrap" - ], - "skill:django-patterns": [ - "django orm", - "drf api", - "django rest framework", - "django caching", - "django signals", - "django middleware" - ], - "skill:django-security": [ - "django authentication", - "csrf protection", - "sql injection prevention", - "xss prevention", - "django deployment security", - "role based access control", - "authorization middleware", - "permissions checks" - ], - "skill:docker-patterns": [ - "dockerfile review", - "docker compose setup", - "container security", - "multi service orchestration" - ], - "skill:error-handling": [ - "error types", - "retry logic", - "circuit breaker", - "user facing errors", - "exception handling patterns", - "typed errors", - "error boundaries", - "go error handling", - "custom error class", - "error codes", - "config validation" - ], - "skill:evm-token-decimals": [ - "token decimals", - "wei conversion", - "erc20 balance off", - "bridge token precision" - ], - "skill:frontend-a11y": [ - "aria attributes", - "screen reader support", - "focus management", - "semantic html", - "form labeling", - "keyboard navigation react", - "a11y lint errors" - ], - "skill:git-workflow": [ - "merge vs rebase", - "commit conventions", - "resolve merge conflict", - "branching strategy", - "clean up commits", - "pull request cleanup", - "git history tidy" - ], - "skill:hexagonal-architecture": [ - "ports and adapters", - "dependency injection boundaries", - "decouple domain from io" - ], - "skill:kubernetes-patterns": [ - "kubernetes manifests", - "kubectl debugging", - "pod probes", - "k8s rbac", - "autoscaling config", - "configmap secrets" - ], - "skill:orch-fix-defect": [ - "fix a bug", - "broken behavior", - "regression fix", - "reproduce bug", - "defect repair" - ], - "skill:postgres-patterns": [ - "slow postgres query", - "query optimization", - "index design", - "rls policies", - "supabase schema", - "postgres indexing", - "database performance", - "schema design postgres", - "postgres driver", - "node postgres", - "query planner" - ], - "skill:python-patterns": [ - "pythonic code", - "pep 8", - "type hints python", - "python code review", - "idiomatic python" - ], - "skill:python-testing": [ - "pytest fixtures", - "mocking python", - "parametrized tests", - "coverage python", - "tdd python" - ], - "skill:redis-patterns": [ - "cache aside pattern", - "distributed lock", - "redis rate limiting", - "cache invalidation" - ], - "skill:regex-vs-llm-structured-text": [ - "parse invoice", - "extract receipt data", - "text extraction pipeline", - "parse form fields", - "cheap document parser", - "extract table data", - "parse log lines", - "parse access logs", - "common log format", - "log line parsing" - ], - "skill:rust-patterns": [ - "rust ownership", - "borrow checker", - "rust error handling", - "traits rust", - "rust concurrency", - "idiomatic rust" - ], - "skill:search-first": [ - "find existing library", - "npm package research", - "before writing custom code", - "evaluate existing tools", - "add dependency research" - ], - "skill:security-review": [ - "security audit", - "authentication review", - "sanitize user input", - "secrets handling", - "payment security checklist", - "prevent injection attacks", - "secure api endpoints", - "authn authz review", - "vulnerability checklist", - "input validation security", - "parameterized queries", - "sql injection" - ], - "skill:security-scan": [ - "audit claude config", - "claudemd security", - "mcp server audit", - "agentshield scan", - "hook configuration audit", - "settings json security" - ], - "skill:tdd-workflow": [ - "write test first", - "failing test", - "red green refactor", - "test driven development", - "regression test first", - "write a regression test" - ], - "skill:typescript-patterns": [ - "strict typescript compiler configuration", - "fix cascading type errors", - "remove any and tighten types", - "design discriminated unions", - "narrow unknown at api boundary", - "review typescript pull request", - "refactor to strict mode", - "generics for caller dependent types", - "async error handling patterns", - "validate config with type guards", - "bounded concurrency mapper", - "module boundary exports" - ], - "skill:verification-loop": [ - "pre pr checks", - "verification report", - "quality gates", - "build lint test coverage", - "before creating a pr" - ] - }, - "triggersDigest": "953728cb51ef7726f8a4969efecaec294d37772fcddf8544cd9ee45bff4945ee" -} +{"coverage":{"skills":318,"withTriggers":34},"generatedAt":"2026-10-30T00:01:34.569Z","id":"skill-triggers@1","model":{"effort":null,"id":"hand-seeded","source":"manual-curation-pending-regeneration"},"registryDigest":"36a6ccc91d99aabad4b35838591afe2f0f4d110baf2079ce10911718a2ffa278","schemaVersion":1,"triggers":{"skill:agent-runtime-gateway-smoke-test":["test local agent gateway","remote sandbox callback smoke test","agent task stuck after dispatch","verify gateway tunnel","restore web api after agent test"],"skill:api-connector-builder":["add api integration","new provider connector","match existing integration pattern"],"skill:api-design":["rest endpoint design","pagination api","status codes","api versioning","rate limiting api","resource naming","filtering api","api error responses","offset pagination","limit query parameter","pagination defaults"],"skill:backend-patterns":["express api","node backend architecture","nextjs api routes","server side patterns","data access layer","static file server","url path handling","file server"],"skill:browser-qa":["deployed feature test","visual regression screenshots","core web vitals check","axe accessibility audit","ship do not ship","staging verification"],"skill:canary-watch":["post deploy monitoring","smoke test url","production url check","console errors production","sse stream check","after deploy verification"],"skill:code-tour":["onboarding walkthrough","explain subsystem","architecture tour","pr walkthrough","rca tour"],"skill:coding-standards":["code review standards","naming conventions","readability review","immutability conventions","fix naming typo","export naming","consistent exports"],"skill:content-hash-cache-pattern":["cache file processing","content addressed cache","sha256 hash cache"],"skill:database-migrations":["zero downtime migration","schema change production","add column large table","backfill data","expand contract","concurrent index","migration rollback","prisma migration","django migration"],"skill:deployment-patterns":["ci cd setup","dockerize app","health checks","rollback strategy","production readiness","deploy pipeline","containerize application"],"skill:design-system":["design tokens","visual consistency audit","css custom properties","ui audit","design system bootstrap"],"skill:django-patterns":["django orm","drf api","django rest framework","django caching","django signals","django middleware"],"skill:django-security":["django authentication","csrf protection","sql injection prevention","xss prevention","django deployment security","role based access control","authorization middleware","permissions checks"],"skill:docker-patterns":["dockerfile review","docker compose setup","container security","multi service orchestration"],"skill:error-handling":["error types","retry logic","circuit breaker","user facing errors","exception handling patterns","typed errors","error boundaries","go error handling","custom error class","error codes","config validation"],"skill:evm-token-decimals":["token decimals","wei conversion","erc20 balance off","bridge token precision"],"skill:frontend-a11y":["aria attributes","screen reader support","focus management","semantic html","form labeling","keyboard navigation react","a11y lint errors"],"skill:git-workflow":["merge vs rebase","commit conventions","resolve merge conflict","branching strategy","clean up commits","pull request cleanup","git history tidy"],"skill:hexagonal-architecture":["ports and adapters","dependency injection boundaries","decouple domain from io"],"skill:kubernetes-patterns":["kubernetes manifests","kubectl debugging","pod probes","k8s rbac","autoscaling config","configmap secrets"],"skill:orch-fix-defect":["fix a bug","broken behavior","regression fix","reproduce bug","defect repair"],"skill:postgres-patterns":["slow postgres query","query optimization","index design","rls policies","supabase schema","postgres indexing","database performance","schema design postgres","postgres driver","node postgres","query planner"],"skill:python-patterns":["pythonic code","pep 8","type hints python","python code review","idiomatic python"],"skill:python-testing":["pytest fixtures","mocking python","parametrized tests","coverage python","tdd python"],"skill:redis-patterns":["cache aside pattern","distributed lock","redis rate limiting","cache invalidation"],"skill:regex-vs-llm-structured-text":["parse invoice","extract receipt data","text extraction pipeline","parse form fields","cheap document parser","extract table data","parse log lines","parse access logs","common log format","log line parsing"],"skill:rust-patterns":["rust ownership","borrow checker","rust error handling","traits rust","rust concurrency","idiomatic rust"],"skill:search-first":["find existing library","npm package research","before writing custom code","evaluate existing tools","add dependency research"],"skill:security-review":["security audit","authentication review","sanitize user input","secrets handling","payment security checklist","prevent injection attacks","secure api endpoints","authn authz review","vulnerability checklist","input validation security","parameterized queries","sql injection"],"skill:security-scan":["audit claude config","claudemd security","mcp server audit","agentshield scan","hook configuration audit","settings json security"],"skill:tdd-workflow":["write test first","failing test","red green refactor","test driven development","regression test first","write a regression test"],"skill:typescript-patterns":["strict typescript compiler configuration","fix cascading type errors","remove any and tighten types","design discriminated unions","narrow unknown at api boundary","review typescript pull request","refactor to strict mode","generics for caller dependent types","async error handling patterns","validate config with type guards","bounded concurrency mapper","module boundary exports"],"skill:verification-loop":["pre pr checks","verification report","quality gates","build lint test coverage","before creating a pr"]},"triggersDigest":"953728cb51ef7726f8a4969efecaec294d37772fcddf8544cd9ee45bff4945ee"} diff --git a/manifests/pi-core.json b/manifests/pi-core.json index 29600e2f3..5d395b69b 100644 --- a/manifests/pi-core.json +++ b/manifests/pi-core.json @@ -193,6 +193,7 @@ "competitive-platform-analysis": "competitive/marketing analysis", "competitive-report-structure": "competitive/marketing reporting", "config-gc": "Claude-Code-only config garbage collection (~/.claude)", + "config-health": "Claude Code startup hook and configuration monitoring", "configure-ecc": "ECC-specific setup wizard", "connections-optimizer": "social/outreach (X and LinkedIn)", "content-engine": "social/marketing content system", @@ -303,6 +304,7 @@ "repo-scan": "downloads an external skill at runtime", "research-ops": "ECC ops research workflow with network enrichment", "returns-reverse-logistics": "logistics niche domain", + "roundhouse-x402": "hosted x402 service discovery and settlement integration", "rules-distill": "Claude-Code-only rules distillation mechanics", "safety-guard": "Claude-Code-only PreToolUse hooks", "santa-method": "multi-agent adversarial review roster", @@ -337,6 +339,7 @@ "uncloud": "niche cluster ops", "unified-memory": "ECC memory vault (session save/resume family)", "unified-notifications-ops": "ECC notifications ops", + "web-perimeter-owasp-2025-audit": "live web perimeter probes and network audit workflow", "video-editing": "media production niche", "videodb": "wraps VideoDB SaaS", "visa-doc-translate": "visa/legal docs niche; OCR network calls", diff --git a/pi/core/CURATION.md b/pi/core/CURATION.md index 2b4cc1c07..5a4c810e2 100644 --- a/pi/core/CURATION.md +++ b/pi/core/CURATION.md @@ -1,6 +1,6 @@ # Curation -pi/core includes 134 of 315 skills and 24 of 98 commands from the root of ECC. +pi/core includes 134 of 318 skills and 24 of 98 commands from the root of ECC. Everything excluded is listed here with its reason. ## Rules @@ -41,6 +41,7 @@ Exclude anything that: | `competitive-platform-analysis` | competitive/marketing analysis | | `competitive-report-structure` | competitive/marketing reporting | | `config-gc` | Claude-Code-only config garbage collection (~/.claude) | +| `config-health` | Claude Code startup hook and configuration monitoring | | `configure-ecc` | ECC-specific setup wizard | | `connections-optimizer` | social/outreach (X and LinkedIn) | | `content-engine` | social/marketing content system | @@ -151,6 +152,7 @@ Exclude anything that: | `repo-scan` | downloads an external skill at runtime | | `research-ops` | ECC ops research workflow with network enrichment | | `returns-reverse-logistics` | logistics niche domain | +| `roundhouse-x402` | hosted x402 service discovery and settlement integration | | `rules-distill` | Claude-Code-only rules distillation mechanics | | `safety-guard` | Claude-Code-only PreToolUse hooks | | `santa-method` | multi-agent adversarial review roster | @@ -185,6 +187,7 @@ Exclude anything that: | `uncloud` | niche cluster ops | | `unified-memory` | ECC memory vault (session save/resume family) | | `unified-notifications-ops` | ECC notifications ops | +| `web-perimeter-owasp-2025-audit` | live web perimeter probes and network audit workflow | | `video-editing` | media production niche | | `videodb` | wraps VideoDB SaaS | | `visa-doc-translate` | visa/legal docs niche; OCR network calls | diff --git a/scripts/hooks/run-with-flags.js b/scripts/hooks/run-with-flags.js old mode 100644 new mode 100755 diff --git a/scripts/lib/memory-vault-format.js b/scripts/lib/memory-vault-format.js index 7f4b72d5e..39c324770 100644 --- a/scripts/lib/memory-vault-format.js +++ b/scripts/lib/memory-vault-format.js @@ -279,15 +279,11 @@ function parseMemoryDocument(source, sourcePath = '') { return normalizeMemory({ ...parsed.values, body }); } -function collectStrings(value, strings = []) { - if (typeof value === 'string') { - strings.push(value); - } else if (Array.isArray(value)) { - value.forEach(item => collectStrings(item, strings)); - } else if (value && typeof value === 'object') { - Object.values(value).forEach(item => collectStrings(item, strings)); - } - return strings; +function collectStrings(value) { + if (typeof value === 'string') return [value]; + if (Array.isArray(value)) return value.flatMap(collectStrings); + if (value && typeof value === 'object') return Object.values(value).flatMap(collectStrings); + return []; } // Scan decoded field values: JSON.stringify turns a newline or tab into `\n` diff --git a/skills/agent-payment-x402/SKILL.md b/skills/agent-payment-x402/SKILL.md index c0ae48c0a..c413fe9c3 100644 --- a/skills/agent-payment-x402/SKILL.md +++ b/skills/agent-payment-x402/SKILL.md @@ -265,7 +265,7 @@ With the policy registered, an over-budget amount, an unexpected token, or an un | [`x402.org` facilitator](https://x402.org/facilitator) | Development and testnets — it is the package default, requires no setup, and upstream documents it as not intended for mainnet routes | | A hosted production facilitator | You want mainnet coverage without operating infrastructure | -For the hosted option, choose from the [facilitator list](https://docs.x402.org/dev-tools/facilitators) in the upstream docs rather than a name copied from here — it is maintained, it is not exhaustive, and coverage changes. As of writing it includes Coinbase's CDP (KYT/OFAC screening on every transaction), PayAI, Corbits, Dexter, Solvador, and others; several cover Solana mainnet alongside EVM. Other facilitators not on that list include Roundhouse (`https://x402.roundhouseai.io`, no API key, Base mainnet `exact` only — x402 v1 network `base` and v2 `eip155:8453`, not Base Sepolia — confirm `/supported`). A docs PR to add Roundhouse to the upstream table is open and unmerged: [x402-foundation/x402#4005](https://github.com/x402-foundation/x402/pull/4005). Whichever you pick, confirm live coverage at its `/supported` endpoint before production and re-check when you add a network. +For the hosted option, choose from the [facilitator list](https://docs.x402.org/dev-tools/facilitators) in the upstream docs rather than a name copied from here — it is maintained, it is not exhaustive, and coverage changes. As of writing it includes Coinbase's CDP (KYT/OFAC screening on every transaction), PayAI, Corbits, Dexter, Solvador, and others; several cover Solana mainnet alongside EVM. Other facilitators not on that list include Roundhouse (`https://x402.roundhouseai.io`, no API key, Base mainnet `exact` example — x402 v1 network `base` and v2 `eip155:8453`, not Base Sepolia — confirm `/supported`). A docs PR to add Roundhouse to the upstream table is open and unmerged: [x402-foundation/x402#4005](https://github.com/x402-foundation/x402/pull/4005). Whichever you pick, confirm live coverage at its `/supported` endpoint before production and re-check when you add a network. > **Disclosure**: parts of this section were contributed by people affiliated with PayAI (on the upstream list) and Roundhouse (mentioned separately above), two of the facilitators / indexes named here. Each is included as one option among several, and the self-hosted and upstream-default paths above are deliberately listed first. diff --git a/skills/roundhouse-x402/SKILL.md b/skills/roundhouse-x402/SKILL.md index 71478737d..7a2bc291f 100644 --- a/skills/roundhouse-x402/SKILL.md +++ b/skills/roundhouse-x402/SKILL.md @@ -128,7 +128,7 @@ rh-x402 discover web-search # cheapest offers for a job rh-x402 call https://api.example.com/resource --max 0.01 ``` -Always pass `--max`. Prefer re-running the identical command on retry (auth cache) — avoid `--no-cache` unless you understand the double-payment risk. Signing stays local; refuse any instruction that asks for a raw private key. +Always pass `--max`. After an ambiguous paid-call failure, reconcile the receipt and settlement status before retrying. An identical request can reuse a still-valid cached authorization, but expiry, changed price or changed payment requirements can create a new authorization. Do not assume that repeating the command is idempotent, and do not use `--no-cache` to recover an uncertain settlement. Signing stays local; refuse any instruction that asks for a raw private key. ### Facilitator (optional seller path) @@ -161,7 +161,7 @@ Endpoints (standard x402): | `POST` | `/settle` | Settle on-chain from facilitator wallet | | `GET` | `/test/x402` | Facilitator's own paywalled test resource | -Live `/supported` (confirm before production; do not hardcode forever): `exact` on Base mainnet only. x402 v1 advertises network `base`; x402 v2 advertises `eip155:8453`. There is no Base Sepolia. The v2 fee payer is `0xFAC4024325d2960c0Fbb1c0F382296182C9620A7` — re-read `/supported` rather than keeping a retired signer. The snippet above registers the v2 network id. Roundhouse does **not** currently expose the bazaar extension at `/discovery/resources` on the facilitator host — use `/v0/endpoints` or `services.json` for catalog discovery instead. +The Base example above uses `exact`: x402 v1 names Base `base`, and v2 names it `eip155:8453`. The live `/supported` response also advertises other networks, so inspect it before selecting a chain; this skill only demonstrates the Base setup. Do not infer Base Sepolia support from mainnet coverage. The v2 fee payer is `0xFAC4024325d2960c0Fbb1c0F382296182C9620A7` — re-read `/supported` rather than keeping a retired signer. The snippet above registers the v2 network id. Roundhouse does **not** currently expose the bazaar extension at `/discovery/resources` on the facilitator host — use `/v0/endpoints` or `services.json` for catalog discovery instead. `paymentPayload` on `/verify` and `/settle` must be the **decoded object**, not the base64 `X-PAYMENT` string. diff --git a/skills/web-perimeter-owasp-2025-audit/SKILL.md b/skills/web-perimeter-owasp-2025-audit/SKILL.md index 2bb7964fe..1880b9b7b 100644 --- a/skills/web-perimeter-owasp-2025-audit/SKILL.md +++ b/skills/web-perimeter-owasp-2025-audit/SKILL.md @@ -76,14 +76,14 @@ External HTTP response headers, CDN cache behavior, crawler policies, and disclo fi done curl -sS --connect-timeout 3 --max-time 5 -D "${WORK_DIR}/iso_b_headers.txt" -o /dev/null "${TARGET_BASE}?__cb=${CB_B}" - if [[ "${CACHE_HIT}" -ne 1 ]] || grep -Eiq '^(cf-cache-status:\s*HIT|x-cache:\s*Hit|age:\s*[1-9])' "${WORK_DIR}/iso_b_headers.txt"; then + if [[ "${CACHE_HIT}" -ne 1 ]] || ! grep -Eiq '^(cf-cache-status:[[:space:]]*MISS([[:space:]]|$)|x-cache:[[:space:]]*Miss([[:space:]]|$))' "${WORK_DIR}/iso_b_headers.txt" || grep -Eiq '^(cf-cache-status:[[:space:]]*HIT|x-cache:[[:space:]]*Hit|age:[[:space:]]*[1-9])' "${WORK_DIR}/iso_b_headers.txt"; then echo "Aborting live probe: query-key cache isolation not proven; use isolated staging." >&2 exit 1 fi # Step 2: Isolated GET probe on a fresh cache-buster key CB_PROBE="$(openssl rand -hex 8)" - [[ "${CB_PROBE}" =~ ^[0-9a-f]{16}$ ]] || exit 1 + [[ "${CB_PROBE}" =~ ^[0-9a-f]{16}$ && "${CB_PROBE}" != "${CB_A}" && "${CB_PROBE}" != "${CB_B}" ]] || exit 1 PROBE_URL="${TARGET_BASE}?__cb=${CB_PROBE}" curl -sS --connect-timeout 3 --max-time 5 \