Skip to content

Commit 6cc85ef

Browse files
authored
fix: CI fixes, security audit, remotion skill, lead-intelligence, npm audit (#1039)
* fix(ci): resolve cross-platform test failures - Sanity check script (check-codex-global-state.sh) now falls back to grep -E when ripgrep is not available, fixing the codex-hooks sync test on all CI platforms. Patterns converted to POSIX ERE for portability. - Unicode safety test accepts both / and \ path separators so the executable-file assertion passes on Windows. - Gacha test sets PYTHONUTF8=1 so Python uses UTF-8 stdout encoding on Windows instead of cp1252, preventing UnicodeEncodeError on box-drawing characters. - Quoted-hook-path test skipped on Windows where NTFS disallows double-quote characters in filenames. * feat: port remotion-video-creation skill (29 rules), restore missing files New skill: - remotion-video-creation: 29 domain-specific Remotion rules covering 3D/Three.js, animations, audio, captions, charts, compositions, fonts, GIFs, Lottie, measuring, sequencing, tailwind, text animations, timing, transitions, trimming, and video embedding. Ported from personal skills. Restored: - autonomous-agent-harness/SKILL.md (was in commit but missing from worktree) - lead-intelligence/ (full directory restored from branch commit) Updated: - manifests/install-modules.json: added remotion-video-creation to media-generation - README.md + AGENTS.md: synced counts to 139 skills Catalog validates: 30 agents, 60 commands, 139 skills. * fix(security): pin MCP server versions, add dependabot, pin github-script SHA Critical: - Pin all npx -y MCP server packages to specific versions in .mcp.json to prevent supply chain attacks via version hijacking: - @modelcontextprotocol/server-github@2025.4.8 - @modelcontextprotocol/server-memory@2026.1.26 - @modelcontextprotocol/server-sequential-thinking@2025.12.18 - @playwright/mcp@0.0.69 (was 0.0.68) Medium: - Add .github/dependabot.yml for weekly npm + github-actions updates with grouped minor/patch PRs - Pin actions/github-script to SHA (was @v7 tag, now pinned to commit) * feat: add social-graph-ranker skill — weighted network proximity scoring New skill: social-graph-ranker - Weighted social graph traversal with exponential decay across hops - Bridge Score: B(m) = Σ w(t) · λ^(d(m,t)-1) ranks mutuals by target proximity - Extended Score incorporates 2nd-order network (mutual-of-mutual connections) - Final ranking includes engagement bonus for responsive connections - Runs in parallel with lead-intelligence skill for combined warm+cold outreach - Supports X API + LinkedIn CSV for graph harvesting - Outputs tiered action list: warm intros, direct outreach, network gap analysis Added to business-content install module. Catalog validates: 30/60/140. * fix(security): npm audit fix — resolve all dependency vulnerabilities Applied npm audit fix --force to resolve: - minimatch ReDoS (3 vulnerabilities, HIGH) - smol-toml DoS (MODERATE) - brace-expansion memory exhaustion (MODERATE) - markdownlint-cli upgraded from 0.47.0 to 0.48.0 npm audit now reports 0 vulnerabilities. * fix: resolve markdown lint and yarn lockfile sync - MD047: ensure single trailing newline on all remotion rule files - MD012: remove consecutive blank lines in lottie, measuring-dom-nodes, trimming - MD034: wrap bare URLs in angle brackets (tailwind, transcribe-captions) - yarn.lock: regenerated to sync with npm audit changes in package.json * fix: replace unicode arrows in lead-intelligence (CI unicode safety check)
1 parent f7f91d9 commit 6cc85ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4246
-81
lines changed

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10
8+
labels:
9+
- "dependencies"
10+
groups:
11+
minor-and-patch:
12+
update-types:
13+
- "minor"
14+
- "patch"
15+
- package-ecosystem: "github-actions"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
labels:
20+
- "dependencies"
21+
- "ci"

.github/workflows/monthly-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Update monthly metrics issue
18-
uses: actions/github-script@v7
18+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
1919
with:
2020
script: |
2121
const owner = context.repo.owner;

.mcp.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"mcpServers": {
33
"github": {
44
"command": "npx",
5-
"args": ["-y", "@modelcontextprotocol/server-github"]
5+
"args": ["-y", "@modelcontextprotocol/server-github@2025.4.8"]
66
},
77
"context7": {
88
"command": "npx",
@@ -14,15 +14,15 @@
1414
},
1515
"memory": {
1616
"command": "npx",
17-
"args": ["-y", "@modelcontextprotocol/server-memory"]
17+
"args": ["-y", "@modelcontextprotocol/server-memory@2026.1.26"]
1818
},
1919
"playwright": {
2020
"command": "npx",
21-
"args": ["-y", "@playwright/mcp@0.0.68", "--extension"]
21+
"args": ["-y", "@playwright/mcp@0.0.69", "--extension"]
2222
},
2323
"sequential-thinking": {
2424
"command": "npx",
25-
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
25+
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking@2025.12.18"]
2626
}
2727
}
2828
}

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Everything Claude Code (ECC) — Agent Instructions
22

3-
This is a **production-ready AI coding plugin** providing 30 specialized agents, 136 skills, 60 commands, and automated hook workflows for software development.
3+
This is a **production-ready AI coding plugin** providing 30 specialized agents, 140 skills, 60 commands, and automated hook workflows for software development.
44

55
**Version:** 1.9.0
66

@@ -142,7 +142,7 @@ Troubleshoot failures: check test isolation → verify mocks → fix implementat
142142

143143
```
144144
agents/ — 30 specialized subagents
145-
skills/ — 136 workflow skills and domain knowledge
145+
skills/ — 140 workflow skills and domain knowledge
146146
commands/ — 60 slash commands
147147
hooks/ — Trigger-based automations
148148
rules/ — Always-follow guidelines (common + per-language)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ For manual install instructions see the README in the `rules/` folder. When copy
220220
/plugin list everything-claude-code@everything-claude-code
221221
```
222222

223-
**That's it!** You now have access to 30 agents, 136 skills, and 60 commands.
223+
**That's it!** You now have access to 30 agents, 140 skills, and 60 commands.
224224

225225
### Multi-model commands require additional setup
226226

@@ -1111,7 +1111,7 @@ The configuration is automatically detected from `.opencode/opencode.json`.
11111111
|---------|-------------|----------|--------|
11121112
| Agents | PASS: 30 agents | PASS: 12 agents | **Claude Code leads** |
11131113
| Commands | PASS: 60 commands | PASS: 31 commands | **Claude Code leads** |
1114-
| Skills | PASS: 136 skills | PASS: 37 skills | **Claude Code leads** |
1114+
| Skills | PASS: 140 skills | PASS: 37 skills | **Claude Code leads** |
11151115
| Hooks | PASS: 8 event types | PASS: 11 events | **OpenCode has more!** |
11161116
| Rules | PASS: 29 rules | PASS: 13 instructions | **Claude Code leads** |
11171117
| MCP Servers | PASS: 14 servers | PASS: Full | **Full parity** |

manifests/install-modules.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@
273273
"skills/content-engine",
274274
"skills/investor-materials",
275275
"skills/investor-outreach",
276-
"skills/market-research"
276+
"skills/lead-intelligence",
277+
"skills/market-research",
278+
"skills/social-graph-ranker"
277279
],
278280
"targets": [
279281
"claude",
@@ -317,6 +319,7 @@
317319
"description": "Media generation and AI-assisted editing skills.",
318320
"paths": [
319321
"skills/fal-ai-media",
322+
"skills/remotion-video-creation",
320323
"skills/video-editing",
321324
"skills/videodb"
322325
],

package-lock.json

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"c8": "^10.1.2",
122122
"eslint": "^9.39.2",
123123
"globals": "^17.1.0",
124-
"markdownlint-cli": "^0.47.0"
124+
"markdownlint-cli": "^0.48.0"
125125
},
126126
"engines": {
127127
"node": ">=18"

scripts/codex/check-codex-global-state.sh

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
88
REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
99
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
1010

11+
# Use rg if available, otherwise fall back to grep -E.
12+
# All patterns in this script must be POSIX ERE compatible.
13+
if command -v rg >/dev/null 2>&1; then
14+
search_file() { rg -n "$1" "$2" >/dev/null 2>&1; }
15+
else
16+
search_file() { grep -En "$1" "$2" >/dev/null 2>&1; }
17+
fi
18+
1119
CONFIG_FILE="$CODEX_HOME/config.toml"
1220
AGENTS_FILE="$CODEX_HOME/AGENTS.md"
1321
PROMPTS_DIR="$CODEX_HOME/prompts"
@@ -48,7 +56,7 @@ require_file() {
4856
check_config_pattern() {
4957
local pattern="$1"
5058
local label="$2"
51-
if rg -n "$pattern" "$CONFIG_FILE" >/dev/null 2>&1; then
59+
if search_file "$pattern" "$CONFIG_FILE"; then
5260
ok "$label"
5361
else
5462
fail "$label"
@@ -58,7 +66,7 @@ check_config_pattern() {
5866
check_config_absent() {
5967
local pattern="$1"
6068
local label="$2"
61-
if rg -n "$pattern" "$CONFIG_FILE" >/dev/null 2>&1; then
69+
if search_file "$pattern" "$CONFIG_FILE"; then
6270
fail "$label"
6371
else
6472
ok "$label"
@@ -73,25 +81,25 @@ require_file "$CONFIG_FILE" "Global config.toml"
7381
require_file "$AGENTS_FILE" "Global AGENTS.md"
7482

7583
if [[ -f "$AGENTS_FILE" ]]; then
76-
if rg -n '^# Everything Claude Code \(ECC\) — Agent Instructions' "$AGENTS_FILE" >/dev/null 2>&1; then
84+
if search_file '^# Everything Claude Code \(ECC\)' "$AGENTS_FILE"; then
7785
ok "AGENTS contains ECC root instructions"
7886
else
7987
fail "AGENTS missing ECC root instructions"
8088
fi
8189

82-
if rg -n '^# Codex Supplement \(From ECC \.codex/AGENTS\.md\)' "$AGENTS_FILE" >/dev/null 2>&1; then
90+
if search_file '^# Codex Supplement \(From ECC \.codex/AGENTS\.md\)' "$AGENTS_FILE"; then
8391
ok "AGENTS contains ECC Codex supplement"
8492
else
8593
fail "AGENTS missing ECC Codex supplement"
8694
fi
8795
fi
8896

8997
if [[ -f "$CONFIG_FILE" ]]; then
90-
check_config_pattern '^multi_agent\s*=\s*true' "multi_agent is enabled"
91-
check_config_absent '^\s*collab\s*=' "deprecated collab flag is absent"
98+
check_config_pattern '^multi_agent[[:space:]]*=[[:space:]]*true' "multi_agent is enabled"
99+
check_config_absent '^[[:space:]]*collab[[:space:]]*=' "deprecated collab flag is absent"
92100
# persistent_instructions is recommended but optional; warn instead of fail
93101
# so users who rely on AGENTS.md alone are not blocked (#967).
94-
if rg -n '^[[:space:]]*persistent_instructions\s*=' "$CONFIG_FILE" >/dev/null 2>&1; then
102+
if search_file '^[[:space:]]*persistent_instructions[[:space:]]*=' "$CONFIG_FILE"; then
95103
ok "persistent_instructions is configured"
96104
else
97105
warn "persistent_instructions is not set (recommended but optional)"
@@ -105,7 +113,7 @@ if [[ -f "$CONFIG_FILE" ]]; then
105113
'mcp_servers.sequential-thinking' \
106114
'mcp_servers.context7'
107115
do
108-
if rg -n "^\[$section\]" "$CONFIG_FILE" >/dev/null 2>&1; then
116+
if search_file "^\[$section\]" "$CONFIG_FILE"; then
109117
ok "MCP section [$section] exists"
110118
else
111119
fail "MCP section [$section] missing"
@@ -115,11 +123,11 @@ if [[ -f "$CONFIG_FILE" ]]; then
115123
has_context7_legacy=0
116124
has_context7_current=0
117125

118-
if rg -n '^\[mcp_servers\.context7\]' "$CONFIG_FILE" >/dev/null 2>&1; then
126+
if search_file '^\[mcp_servers\.context7\]' "$CONFIG_FILE"; then
119127
has_context7_legacy=1
120128
fi
121129

122-
if rg -n '^\[mcp_servers\.context7-mcp\]' "$CONFIG_FILE" >/dev/null 2>&1; then
130+
if search_file '^\[mcp_servers\.context7-mcp\]' "$CONFIG_FILE"; then
123131
has_context7_current=1
124132
fi
125133

0 commit comments

Comments
 (0)