How manusingh090/hacktober works
Folklore mines maintainer pull-request feedback into reusable, path-scoped conventions, then can apply those conventions to changed files and export them as an Agent Skill. Its other distinct capability is replay evaluation against held-out review comments. The CLI and web dashboard are present in the tree, but their implementation was not sampled; their orchestration links are therefore shown as unverified. The README excerpt is empty, so capability coverage relies on sampled source and the source index.
Main entry points: cli.py Command-line entry · github.py Comment and PR client · distill.py Rule distillation · review.py PR review harness
Components 18
Feedback collection
- Command-line entry
folklore/folklore/cli.py - Comment and PR client
folklore/folklore/github.py - Web dashboard
folklore/folklore/web.py - Review comments
folklore/folklore/models.py
Convention mining
- Comment clustering
folklore/folklore/cluster.py - Text embeddings
folklore/folklore/embed.py - Rule distillation
folklore/folklore/distill.py - Convention rules
folklore/folklore/models.py - Local cache
folklore/folklore/store.py
Review and export
- PR review harness
folklore/folklore/review.py - Replay evaluation
folklore/folklore/evaluate.py - Agent Skill export
folklore/folklore/skill.py
Shared services
- Chat model client
folklore/folklore/llm.py - Environment settings
folklore/folklore/config.py - TLS configuration
folklore/folklore/net.py - Text utilities
folklore/folklore/text.py
Other components
- Maintainer
- GitHub API
Connections 33
- Maintainer → GitHub API: leaves feedback
- Comment and PR client → GitHub API: fetches comments
folklore/folklore/github.py - Comment and PR client → GitHub API: reads PR files
folklore/folklore/github.py - Comment and PR client → GitHub API: posts review
folklore/folklore/github.py - Comment and PR client → Review comments: parses comments
folklore/folklore/github.py - Comment clustering → Text embeddings: embeds comments
folklore/folklore/cluster.py - Comment clustering → Review comments: groups feedback
folklore/folklore/cluster.py - Comment clustering → Text utilities: extracts intent
folklore/folklore/cluster.py - Rule distillation → Comment clustering: distills clusters
folklore/folklore/distill.py - Rule distillation → Text embeddings: merges similar
folklore/folklore/distill.py - Rule distillation → Chat model client: requests rules
folklore/folklore/distill.py - Rule distillation → Convention rules: creates rules
folklore/folklore/distill.py - Rule distillation → Text utilities: formats evidence
folklore/folklore/distill.py - Local cache → Convention rules: reads and writes
folklore/folklore/store.py - Local cache → Review comments: reads and writes
folklore/folklore/store.py - PR review harness → Chat model client: requests findings
folklore/folklore/review.py - PR review harness → Convention rules: routes by path
folklore/folklore/review.py - PR review harness → Text utilities: grounds evidence
folklore/folklore/review.py - Replay evaluation → PR review harness: reuses rule routing
folklore/folklore/evaluate.py - Replay evaluation → Chat model client: judges and predicts
folklore/folklore/evaluate.py - Agent Skill export → Convention rules: renders conventions
folklore/folklore/skill.py - Agent Skill export → Local cache: uses rule data
folklore/folklore/skill.py - Text embeddings → Environment settings: uses settings
folklore/folklore/embed.py - Text embeddings → TLS configuration: configures TLS
folklore/folklore/embed.py - Chat model client → TLS configuration: configures TLS
folklore/folklore/llm.py - Comment and PR client → TLS configuration: configures TLS
folklore/folklore/github.py - Command-line entry → Comment and PR client: orchestrates
- Command-line entry → Comment clustering: orchestrates
- Command-line entry → Rule distillation: orchestrates
- Command-line entry → PR review harness: orchestrates
- Command-line entry → Replay evaluation: orchestrates
- Command-line entry → Agent Skill export: orchestrates
- Web dashboard → PR review harness: serves review view