kodelyth-ecc 1.5.8 → 1.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,29 @@
2
2
 
3
3
  All notable changes to Kodelyth ECC are documented here.
4
4
 
5
+ ## v1.5.10 — Fix install crash on macOS bash 3.2 (May 2026)
6
+
7
+ ### Bug Fix
8
+
9
+ - **`install.sh` crashes after Rules (common) on `claude-home` target** — `set -euo pipefail` + bash 3.2 (macOS default) treats an empty array `"${LANGUAGE_MODULES[@]}"` as an unbound variable and exits. Fixed by using the bash 3.2-safe empty-array expansion `"${LANGUAGE_MODULES[@]+"${LANGUAGE_MODULES[@]}"}"`, matching the pattern already correctly used for the JSON install state on line 430. Users who install without any `--profile` or language flags (the majority) were affected.
10
+
11
+ ---
12
+
13
+ ## v1.5.9 — Intent routing for all 5 parallel commands (May 2026)
14
+
15
+ ### Bug Fix / Feature
16
+
17
+ - **5 parallel commands now fully routable by natural language** — `/security-audit`, `/pre-release`, `/debug-blitz`, `/refactor-sprint`, and `/onboard` were added in v1.5.4 but never added to `rules/common/agent-intent-routing.md`. Users had to type the exact command name. Now the AI auto-routes to them from plain descriptions:
18
+ - "been stuck on this bug for 2 days" → `/debug-blitz`
19
+ - "cutting v2 today, last check" → `/pre-release`
20
+ - "is my app secure? check everything" → `/security-audit`
21
+ - "clean up this whole module, add types and tests" → `/refactor-sprint`
22
+ - "I just joined this team, where do I start?" → `/onboard`
23
+ - Each command now has a full routing section with signal table, key rule, counter-signals, and agent list.
24
+ - 10 new examples added to the routing examples table.
25
+
26
+ ---
27
+
5
28
  ## v1.5.8 — README and SVG refresh (May 2026)
6
29
 
7
30
  ### Changes
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.8
1
+ 1.5.10
package/install.sh CHANGED
@@ -363,7 +363,7 @@ case "$TARGET" in
363
363
  cp -r "$SCRIPT_DIR/rules/common"/. "$RULES_DEST/"
364
364
  echo -e " ${GREEN}✓${RESET} Rules (common) ${BLUE}(→ $RULES_DEST)${RESET}"
365
365
  fi
366
- for lang in "${LANGUAGE_MODULES[@]}"; do
366
+ for lang in "${LANGUAGE_MODULES[@]+"${LANGUAGE_MODULES[@]}"}"; do
367
367
  if [[ -d "$SCRIPT_DIR/rules/$lang" ]]; then
368
368
  mkdir -p "$RULES_DEST/$lang"
369
369
  cp -r "$SCRIPT_DIR/rules/$lang"/. "$RULES_DEST/$lang/"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kodelyth-ecc",
3
- "version": "1.5.8",
3
+ "version": "1.5.10",
4
4
  "description": "Production-grade AI coding toolkit — 62 agents, 188 skills, 90 commands, parallel multi-agent commands, semantic intent routing, self-learning memory. Works with Claude Code, Windsurf, Cursor, Codex, Antigravity, and OpenCode.",
5
5
  "author": "Kodelyth <github.com/sifxprime>",
6
6
  "license": "MIT",
@@ -428,6 +428,98 @@ Route to `/team-review` — fires `code-reviewer` + `security-reviewer` + `perfo
428
428
 
429
429
  ---
430
430
 
431
+ ### `/security-audit` — Full parallel security sweep
432
+
433
+ Trigger when the user is worried about security across the whole project, not just one file. Also trigger before any public launch, API exposure, or when secrets/auth/dependencies are mentioned together.
434
+
435
+ | Signal | Real human phrasing |
436
+ |---|---|
437
+ | Full security concern | "is my app secure?", "security audit", "check my security", "is there anything insecure?", "run a security check" |
438
+ | Pre-launch security | "before I go public", "about to expose this API", "launching soon, any security issues?" |
439
+ | Dependency worry | "are my deps safe?", "any vulnerable packages?", "CVEs in my dependencies?" |
440
+ | Auth concern | "is my auth secure?", "is my login safe?", "JWT/OAuth/session security" combined with dep or API mention |
441
+ | Multiple security angles | User mentions secrets AND API keys AND dependencies together — all three need sweeping |
442
+
443
+ **Key rule:** Single security concern on one file → `security-reviewer`. Full project sweep or multiple security vectors at once → `/security-audit`.
444
+
445
+ **Counter-signals (do NOT route here):** Single endpoint with a specific injection concern → `security-reviewer`. Dependency-only question → `dependency-doctor`.
446
+
447
+ Route to `/security-audit` — fires `security-reviewer` + `dependency-doctor` + `api-guardian` simultaneously.
448
+
449
+ ---
450
+
451
+ ### `/pre-release` — Ship-readiness parallel check
452
+
453
+ Trigger when the user is about to cut a release, tag a version, or deploy to production and wants confidence everything is correct. Also trigger when they mention "release" + "check" or "ready to ship" + version number.
454
+
455
+ | Signal | Real human phrasing |
456
+ |---|---|
457
+ | About to release | "ready to cut v2?", "about to release", "cutting a release", "tagging v1.0", "shipping today" |
458
+ | Release checklist | "what do I need before releasing?", "release checklist", "anything missing before v2?" |
459
+ | Version confidence | "is v3 ready?", "can I ship this version?", "pre-release check for 2.0" |
460
+ | Final sanity check | "last check before I push to prod", "final review before release", "one more look before shipping" |
461
+ | Combined signals | User mentions semver + "ready" or "deploy" + "safe" together |
462
+
463
+ **Key rule:** General "is this ready" with no version/release framing → `/team-review`. Explicit release or version cut → `/pre-release`.
464
+
465
+ Route to `/pre-release` — fires `release-captain` + `security-reviewer` + `code-reviewer` simultaneously.
466
+
467
+ ---
468
+
469
+ ### `/debug-blitz` — Triple-agent parallel debug for stubborn bugs
470
+
471
+ Trigger when a bug has resisted normal debugging, when the user is frustrated after trying multiple things, or when the problem could be in multiple layers (code + env + hidden failure).
472
+
473
+ | Signal | Real human phrasing |
474
+ |---|---|
475
+ | Persistent bug | "I've been fighting this bug for hours", "can't figure this out", "nothing is working", "tried everything" |
476
+ | Multi-layer problem | "works locally not in CI", "works on my machine", "only fails in prod", "sometimes fails" |
477
+ | Hidden failure | "no error but wrong behavior", "silently failing", "something is wrong but I don't know what" |
478
+ | Environment suspicion | "is it my env?", "could it be a config issue?", "not sure if it's the code or environment" |
479
+ | Frustration signal | "I give up", "losing my mind", "this is driving me crazy", "been stuck for X hours/days" |
480
+
481
+ **Key rule:** First-time bug report → `debug-detective`. Persistent, multi-attempt, or multi-layer bug → `/debug-blitz`. Emotion of long frustration is a strong signal for blitz.
482
+
483
+ Route to `/debug-blitz` — fires `debug-detective` + `silent-failure-hunter` + `env-debugger` simultaneously.
484
+
485
+ ---
486
+
487
+ ### `/refactor-sprint` — Full parallel refactor + type + test pass
488
+
489
+ Trigger when the user wants a comprehensive cleanup of existing code — not just one function, but a module, file, or system. Also trigger when multiple quality concerns are mentioned together (readability + types + tests).
490
+
491
+ | Signal | Real human phrasing |
492
+ |---|---|
493
+ | Big cleanup | "refactor this module", "clean up this whole file", "this code is a mess", "technical debt cleanup" |
494
+ | Multi-concern quality | "improve quality, types, and add tests", "make this cleaner and add coverage", "full cleanup" |
495
+ | Code health | "code is getting hard to maintain", "too much complexity", "needs a full cleanup", "legacy code overhaul" |
496
+ | Combined refactor | "refactor + add types + write tests" — three concerns together always means blitz |
497
+ | Pre-hire prep | "cleaning up before the new dev joins", "making this more readable for the team" |
498
+
499
+ **Key rule:** Cleanup of one function → `refactor-cleaner`. Cleanup of a whole module/file with types and tests → `/refactor-sprint`.
500
+
501
+ Route to `/refactor-sprint` — fires `refactor-cleaner` + `code-simplifier` + `type-design-analyzer` + `tdd-guide` simultaneously.
502
+
503
+ ---
504
+
505
+ ### `/onboard` — New-joiner parallel codebase onboarding
506
+
507
+ Trigger when someone is new to a codebase and needs to understand it — either a new team member, or the user themselves joining a project they didn't write.
508
+
509
+ | Signal | Real human phrasing |
510
+ |---|---|
511
+ | New to codebase | "I just joined the team", "new to this project", "inherited this codebase", "taking over this repo" |
512
+ | Explore unfamiliar code | "never seen this code before", "trying to understand this project", "where do I even start?" |
513
+ | Onboarding docs | "we need onboarding docs", "no documentation for new devs", "new dev joining, need to explain the codebase" |
514
+ | Architecture understanding | "what does this system do?", "explain the architecture to me", "how does all of this fit together?" |
515
+ | Ramp-up request | "help me get up to speed", "ramp me up on this", "what should I know about this codebase?" |
516
+
517
+ **Key rule:** Single "explain this function" → `code-explorer`. Full codebase orientation or onboarding a new person → `/onboard`.
518
+
519
+ Route to `/onboard` — fires `code-explorer` + `architect` + `doc-updater` simultaneously.
520
+
521
+ ---
522
+
431
523
  ### `/lessons` — Project lessons management
432
524
 
433
525
  Trigger when the user references project rules, preferences, corrections, or past instructions. Also trigger proactively at session start if `tasks/lessons.md` exists in the project root.
@@ -501,6 +593,16 @@ When the user's request spans multiple concerns, name the parallel agents and ex
501
593
  | "review my code before I deploy" | `/team-review` | Pre-release, full scope |
502
594
  | "is my project ready to ship?" | `/team-review` | Readiness check |
503
595
  | "full audit before we release v2" | `/team-review` | Explicit full audit |
596
+ | "is my app secure? check everything" | `/security-audit` | Full security sweep |
597
+ | "any CVEs in my deps?" | `/security-audit` | Dependency + security combo |
598
+ | "cutting v2 today, last check" | `/pre-release` | Release + confidence combo |
599
+ | "anything missing before I tag 1.0?" | `/pre-release` | Release checklist signal |
600
+ | "been stuck on this bug for 2 days" | `/debug-blitz` | Persistent frustration = blitz |
601
+ | "works locally not in prod" | `/debug-blitz` | Multi-layer problem |
602
+ | "clean up this whole module, add types and tests" | `/refactor-sprint` | Multi-concern quality |
603
+ | "this code is a mess, full cleanup needed" | `/refactor-sprint` | Technical debt + scope |
604
+ | "I just joined this team, where do I start?" | `/onboard` | New-joiner onboarding |
605
+ | "inherited this codebase, help me understand it" | `/onboard` | Unfamiliar codebase |
504
606
  | "remember we always use pnpm here" | `/lessons` | Preference to encode |
505
607
  | "what rules do we follow in this project?" | `/lessons` | Load lessons |
506
608
  | "from now on never use var" | `/lessons` | Rule to save |