1.2 KiB
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
- chattr -i oss-discovery.php
- Changed $SKILLS_DIR to '/var/www/html/skills'
- Regenerated oss-cache.json with live data (action=skills)
- chattr +i relocked
- 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.