Skip to content

feat(curate): PR review feedback as a skill-gap signal#99

Draft
aktasbatuhan wants to merge 1 commit into
mainfrom
feat/pr-feedback-skill-signal
Draft

feat(curate): PR review feedback as a skill-gap signal#99
aktasbatuhan wants to merge 1 commit into
mainfrom
feat/pr-feedback-skill-signal

Conversation

@aktasbatuhan

Copy link
Copy Markdown
Member

Rebased onto v0.6.7 and import-verified. Draft — parked for review/continuation.

Teaches the curator/analyzer to read PR review outcomes as a high-signal source of codebase-specific skill gaps: when a session opened or updated a PR, look up how the maintainer received it and feed failure outcomes (changes-requested / close) into skill candidate generation.

Changes

  • analyze.py — new tool_fetch_pr_status (GitHub + Forgejo/Gitea), wired into the tool list, dispatch, and analysis system prompt
  • curate.py — candidate-finder prompt instructs using PR feedback; --skip-skills now runs stage 3 (CLAUDE.md) only instead of bailing
  • tools_lib.py — registers fetch_pr_status for the curator
  • .gitignore — ignore local demos/

Auth: GITHUB_TOKEN for github.com; WATCHMEN_FORGEJO_TOKEN for Forgejo hosts.

Adds fetch_pr_status tool (GitHub + Forgejo): looks up a PR's review
state + latest comments. Wires it into analyze.py and curate.py prompts
so when a session opened/updated a PR, the curator reads how the
maintainer received it (approved / changes-requested / merged / closed)
and treats failure outcomes as concrete codebase-specific skill gaps.

Also: curate --skip-skills runs stage 3 (CLAUDE.md) only; gitignore demos/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant