Commit Graph

6 Commits

Author SHA1 Message Date
sickn33
3efff111d2 fix(security): Harden skill tooling file handling
Guard metadata repair and doc sync scripts against symlink targets so
repo maintenance tasks cannot overwrite arbitrary local files.

Replace recursive skill discovery with an iterative walk that skips
symlinked directories, and harden the VideoDB listener to write only
private regular files in the user-owned state directory.

Also fix the broken pr:preflight script entry and make the last30days
skill stop embedding raw user arguments directly in the shell command.
2026-03-21 11:50:16 +01:00
sickn33
41af2d2877 fix(bundles): Return all skills for complete bundle
Make the skill filter helper treat the complete bundle as a
pass-through so categories missing from the hardcoded map are
not silently omitted.

Add a regression test to keep complete bundle behavior aligned
with its name.
2026-03-18 19:00:40 +01:00
sck_0
fe07e07215 fix: harden filesystem trust boundaries 2026-03-15 08:39:22 +01:00
sickn33
e325b0ee30 fix: streamline pr and release workflow (#289)
Co-authored-by: sck_0 <samujackson1337@gmail.com>
2026-03-13 14:20:49 +01:00
Abkari Mohammed Sayeem
5f6f94b53f feat: Add skill filtering utility to fix Gemini token truncation (Iss… (#219)
* feat: Add skill filtering utility to fix Gemini token truncation (Issue #215)  Adds skill-filter.js module that provides: - Category-based skill filtering to reduce context overhead - Pre-configured skill bundles (minimal, balanced, complete)  - Support for environments with token limits  This addresses the "could not convert a single message before hitting truncation" error when all 1,200+ skills are loaded with Gemini.  Users can now use the minimal bundle to avoid truncation:   - Minimal bundle: ~5k tokens   - Balanced bundle: ~15k tokens     - Complete bundle: ~50k tokens  Fixes #215

This module filters and manages skills by category to address token limit issues in Gemini, providing various skill bundles to optimize performance.

* Fix: Use catalog-backed categories for skill bundles  Replaces hardcoded categories (core, architecture, etc) with actual categories present in skills_index.json to ensure getSkillsByBundle returns a usable subset instead of empty set.
2026-03-07 10:02:18 +01:00
sck_0
45844de534 refactor: reorganize repo docs and tooling layout
Consolidate the repository into clearer apps, tools, and layered docs areas so contributors can navigate and maintain it more reliably. Align validation, metadata sync, and CI around the same canonical workflow to reduce drift across local checks and GitHub Actions.
2026-03-06 15:01:38 +01:00