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: resolve markdownlint MD028 and ESLint eqeqeq warnings

Ke Wang6a247d4c43f3
diff --git a/README.md b/README.md
index 45fc65685..387ec8fff 100644
--- a/README.md
+++ b/README.md
@@ -179,7 +179,7 @@ Get up and running in under 2 minutes:
### Step 2: Install Rules (Required)
> WARNING: **Important:** Claude Code plugins cannot distribute `rules` automatically. Install them manually:
-
+>
> If your local Claude setup was wiped or reset, that does not mean you need to repurchase ECC. Start with `ecc list-installed`, then run `ecc doctor` and `ecc repair` before reinstalling anything. That usually restores ECC-managed files without rebuilding your setup. If the problem is account or marketplace access for ECC Tools, handle billing/account recovery separately.
```bash
diff --git a/scripts/hooks/session-activity-tracker.js b/scripts/hooks/session-activity-tracker.js
index 9d4716a19..7d286f692 100644
--- a/scripts/hooks/session-activity-tracker.js
+++ b/scripts/hooks/session-activity-tracker.js
@@ -55,7 +55,7 @@ function sanitizeParamValue(value, depth = 0) {
return '[Truncated]';
}
- if (value == null) {
+ if (value === null || value === undefined) {
return value;
}
@@ -502,7 +502,7 @@ function summarizeInput(toolName, toolInput, filePaths) {
if (toolInput && typeof toolInput === 'object') {
const shallow = {};
for (const [key, value] of Object.entries(toolInput)) {
- if (value == null) {
+ if (value === null || value === undefined) {
continue;
}
if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {
@@ -517,7 +517,7 @@ function summarizeInput(toolName, toolInput, filePaths) {
}
function summarizeOutput(toolOutput) {
- if (toolOutput == null) {
+ if (toolOutput === null || toolOutput === undefined) {
return '';
}