Skip to content

feat: auto-seed onboarding automation with two-phase workflow#16

Merged
arjunastha merged 1 commit intosafe-agentic-framework:mainfrom
bishnubista:feat/auto-seed-onboarding
Feb 21, 2026
Merged

feat: auto-seed onboarding automation with two-phase workflow#16
arjunastha merged 1 commit intosafe-agentic-framework:mainfrom
bishnubista:feat/auto-seed-onboarding

Conversation

@bishnubista
Copy link
Copy Markdown
Member

Summary

  • Replace the single use-case-claim.yml template with two focused issue forms: Propose New Use Case (5 fields with industry dropdown + NAICS mapping) and Claim Existing Seed (3 fields for picking up existing seeds)
  • Add a two-phase GitHub Action (auto-seed.yml): Phase 1 assigns the next SAFE-UC ID on issue open; Phase 2 scaffolds the seed and creates a PR only when a maintainer comments /accept
  • Add a reusable scaffold script (scaffold-use-case.sh) that creates the seed folder, README, registry entry, and README index row — with rollback on failure
  • Add a "Don't see your use case?" callout in the README table linking directly to the proposal form
  • Create repo labels: use-case, proposal, claim, triage, seeded

How it works

  1. Contributor scans the README table and doesn't find their use case
  2. Clicks "Propose a new one" → lands on the pre-filled issue form
  3. Phase 1 (auto): Action assigns next SAFE-UC-XXXX ID, renames issue, assigns author
  4. Maintainer reviews the proposal
  5. Phase 2 (manual): Maintainer comments /accept → scaffold runs, branch + PR created
  6. Proposer reviews and merges the scaffold PR

Files changed

File Action Purpose
.github/ISSUE_TEMPLATE/propose-new-use-case.yml Create 5-field proposal form with intent-clear descriptions
.github/ISSUE_TEMPLATE/claim-existing-seed.yml Create Focused form for claiming existing seeds
.github/ISSUE_TEMPLATE/use-case-claim.yml Delete Replaced by the two forms above
.github/workflows/auto-seed.yml Create Two-phase Action: assign ID + scaffold on /accept
scripts/scaffold-use-case.sh Create Reusable scaffold with rollback and validation
README.md Edit Updated template links + "Don't see your use case?" callout

Test plan

  • Scaffold script tested locally (single NAICS + multi-NAICS)
  • validate_contributions.sh passes after scaffold and after cleanup
  • Broken link to deleted template fixed in README
  • GitHub labels created (use-case, proposal, claim, triage, seeded)
  • End-to-end test: open a real issue with the new template after merge

🤖 Generated with Claude Code

@bishnubista bishnubista force-pushed the feat/auto-seed-onboarding branch from b4fad17 to 46b0b21 Compare February 21, 2026 20:20
Replace the single use-case-claim template with two focused forms:
- "Propose New Use Case" for new seeds (with industry dropdown + NAICS mapping)
- "Claim Existing Seed" for picking up existing seeds to write up

Add a two-phase GitHub Action (auto-seed.yml):
- Phase 1 (issue opened): assigns next SAFE-UC ID, renames issue, assigns author
- Phase 2 (maintainer comments /accept): runs scaffold, creates branch + PR

Add reusable scaffold script (scaffold-use-case.sh) that creates the seed
folder, README, registry entry, and README index row — with rollback on
failure and validation integration.

Update README with "Don't see your use case?" callout linking directly to
the proposal form.

Signed-off-by: bishnubista <bista.developer@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bishnubista bishnubista force-pushed the feat/auto-seed-onboarding branch from 46b0b21 to 27ca67a Compare February 21, 2026 20:22
@arjunastha arjunastha merged commit 66f2288 into safe-agentic-framework:main Feb 21, 2026
2 checks passed
techstar9797 pushed a commit to techstar9797/safe-agentic-use-cases that referenced this pull request Mar 17, 2026
…to-seed-onboarding

feat: auto-seed onboarding automation with two-phase workflow
techstar9797 pushed a commit to techstar9797/safe-agentic-use-cases that referenced this pull request Mar 17, 2026
…to-seed-onboarding

feat: auto-seed onboarding automation with two-phase workflow

Signed-off-by: Sachin Keswani <sachin.news@gmail.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.

2 participants