turnstone/web
pyr0ball 600e5a9eac feat(sources): context-aware filesystem log scanner (#23)
Add scan_log_directories() to discover.py that recursively walks
/var/log and /opt, filters to readable log files, and scores each
candidate by recency (mtime, 0.7 weight), file size (0.3), and
keyword match against an optional problem-context query (shifts
weights to 0.4/0.2/0.4 when a query is provided).

- GET /api/setup/scan?query=...&max_results=N — new API endpoint
- SourcesView: "Scan" button opens a panel with ranked candidates,
  checkboxes, and "Add selected" to write to sources.yaml
- 13 new unit tests, 466 passing total

Closes: #23
2026-06-14 14:01:45 -07:00
..
src feat(sources): context-aware filesystem log scanner (#23) 2026-06-14 14:01:45 -07:00
index.html feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
package-lock.json feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
package.json feat: Alpha milestone — corpus management, upload ingest, harvester agent 2026-05-19 07:45:58 -07:00
tsconfig.json feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
uno.config.ts feat: dark/light theme — CSS variables, OS preference, toggle button 2026-05-09 16:20:07 -07:00
vite.config.ts feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00