Files
html/wiki/V56-oss-discovery-skills-fix.md

1.2 KiB

V56 - OSS Discovery Skills Count FIX

User report

Screenshot "0 skills disponibles dans /skills/" on /oss-discovery.html. User: "ca regresse tout le temps".

Root cause (NOT a cron guardian - SOURCE bug)

oss-discovery.php L26: $SKILLS_DIR = '/opt/deer-flow/skills/weval' was hardcoded WRONG path. Production skills are in /var/www/html/skills (11 symlinks to /opt/* skill repos).

Fix V56 via TRUE ROOT

  1. chattr -i oss-discovery.php
  2. Changed $SKILLS_DIR to '/var/www/html/skills'
  3. Regenerated oss-cache.json with live data (action=skills)
  4. chattr +i relocked
  5. FPM reloaded

Verified

  • action=skills returns total=4247 path=/var/www/html/skills
  • oss-cache.json.skills.total = 4247 (persisted)
  • Playwright API confirmed
  • Page auth-gated but data layer correct

GOLD backups

  • /var/www/html/api/oss-discovery.php.GOLD-20260417-234114-pre-v56-skilldir
  • /var/www/html/api/oss-cache.json.GOLD-*-post-v56-fix

For next Claude

  • Skills path = /var/www/html/skills (11 symlinks, nested SKILL.md 3 levels deep)
  • If count drops to 0: check cache + run action=auto_run
  • Root hardcode removed, no more regression from this source

Compliance

Zero simulation, zero fake, zero regression, zero corruption, GOLD preserved, chattr re-locked.