This is the dogfooding loop. The contributor-onboarding pipeline (spec 097) lets you use Shepโs own agents to land a PR against Shep itself. The same loop works for any OSS project that adopts Shep โ nothing here is hardcoded to this repo.
If youโve never contributed before, start with CONTRIBUTING.md. Come back here once you have a green shep doctor and want to actually ship something.
You pick or Shep grooms Shep opens You merge Shep welcomes
file an issue โ it via agent โ the PR โ the PR โ + adds you to
recognition
Five steps, each backed by a use case in application/use-cases/contributors/.
# Browse curated issues
open ./GOOD_FIRST_ISSUES.md
# Or file one yourself using the structured form
# .github/ISSUE_TEMPLATE/feature-request.yml โ includes lane / difficulty / acceptance criteria
Issue templates require a lane (docs | agents | ui | cli | infra) and accept a difficulty (goodFirst | easy | medium | hard) plus acceptance criteria as a markdown checklist. The grooming agent reads these directly โ fill them in honestly so reviewers donโt have to guess.
pnpm dev:cli contributors groom-issue --number <issue>
What this runs:
IExternalIssueFetcher pulls the issue body via the existing GitHub integration.classify-into-lane.use-case.ts runs deterministic rules (title prefixes, label hints, keyword heuristics) โ sub-100 ms when conclusive.CreateCustomAgentUseCase) runs via IAgentExecutorProvider and returns a single ContributorLane enum value.propose-acceptance-criteria.use-case.ts returns a markdown checklist seeded from your issue body.{ lane, difficulty, acceptanceCriteria, suggestedLabels[], welcomeComment? }) is returned to you. Nothing is applied to the issue yet.If you want Shep to actually apply the labels and post a comment, run with --apply and the supervisor approval gate will surface the proposed mutation for human approval (per spec 093). The default is read-only.
shep feat new "fix: <description from the groomed issue>" --push --pr
Shep:
.worktrees/mainIAgentExecutorProvider)You stay in your editor. Open the worktree directly to take over manually if you ever want to.
Reviewer approves; you squash-merge. semantic-release publishes on feat/fix types.
On pull_request.closed (merged), .github/workflows/welcome-first-time-contributor.yml invokes a Shep CLI subcommand which calls:
welcome-first-time-contributor.use-case.ts โ detects whether youโre a first-time contributor (zero prior merged PRs); if yes, drafts a welcome comment and emits a RecognitionEvent. Posting the comment is supervisor-gated (NFR-5).award-recognition.use-case.ts โ idempotently inserts a RecognitionEvent (UNIQUE on contributor_id, kind, pr_number per NFR-11), upserts your Contributor record, calls IAllContributorsWriter.appendContributor(...) which mutates .all-contributorsrc and the README contributors block.You graduated from User to Contributor. No @all-contributors bot install needed โ Shep wrote the file itself.
The next monthly recap (generate-monthly-recap โ publish-monthly-recap, multi-channel via IRecapPublisher adapters: file, Discord, GitHub Discussion) will mention you again.
Spec 097โs premise: Shep is an AI-native SDLC platform; one of its native abilities should be helping itself grow. Outsourcing recognition to a third-party GitHub App, or leaving issue grooming to maintainersโ free time, contradicts that. The whole pipeline is built on existing Shep primitives โ the custom-agent rail, the supervisor approval gate, IAgentExecutorProvider, the in-process scheduler โ and nothing in it is Shep-repo-specific. Adopting projects get the same loop for free.
specs/097-ai-native-contributor-onboarding/packages/core/src/application/use-cases/contributors/prompts/contributor-onboarding/system.mdprompts/contributor-onboarding/output-schema.md.github/workflows/welcome-first-time-contributor.yml, .github/workflows/label-by-lane.yml