mirror of
https://github.com/elementalsouls/Claude-BugHunter.git
synced 2026-11-24 20:30:23 +01:00
Phase 4a. Grounding was declared in frontmatter (sources: / report_count:) but lint_skills.py validated neither, so ~43 skill/field gaps passed CI clean. Validator (scripts/lint_skills.py): - every skill must declare `sources:`; hunt-* skills must also declare an integer `report_count:` (0 allowed when sources justify — pattern-library / research- derived skills). Gated behind GROUNDING_STRICT=False → emitted as WARNINGS this PR so main can't break mid-backfill; Phase 4b flips it to errors. Backfill (30 SKILL.md): - 17 hunt-* got report_count. Only hunt-cors carries a real count (19 — its disclosed-reports file states "built from 19 public bug bounty reports"); the rest are 0, because their pattern-library files explicitly say "not a complete enumeration" and no honest total exists. No counts were invented. - 26 skills got `sources:` with truthful provenance tags (hackerone_public, cve_database, owasp, portswigger_research, community, public_research, operator_experience, etc.) — drawn from each pattern-library file's stated provenance where one exists. Verified: grounding warnings 43 -> 0 after backfill; 0 errors; all 83 SKILL.md still valid YAML; stripping a skill's sources produces a WARNING (not error) in this phase; scan_identifiers + check_doc_counts still green. Co-authored-by: Sachin Sharma <elementalsoul@Sachins-MacBook-Pro.local> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>