Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(rules): value suggestions behind the forge (branches first)

3 months ago

3988a14
Authored
grim7/23/2026, 10:54:52 AM
Add a suggest map to defineForge, capability by omission alongside produces;
GitHub implements branches via one installation read. The worker refreshes the
cache on push and install (fresh on fast-moving repos, not TTL-only) into a new
repo_suggestions table; the web reads it through a member-gated server function,
so the app never calls the forge. The builder's list-verb combobox renders the
suggestions for enum-ish signals, free text still allowed.

Parent614dc80

16 files changed
  • apps/web/src/components/rules/custom-rule-builder.tsx+12−0
  • apps/web/src/components/rules/rules-page.tsx+2−0
  • apps/web/src/lib/rules.functions.ts+21−0
  • apps/web/src/lib/rules.query.ts+18−0
  • apps/web/src/lib/server-fn-classification.ts+1−0
  • apps/worker/src/jobs/process-event.ts+37−0
  • apps/worker/src/jobs/refresh-suggestions.ts+27−0
  • packages/db/drizzle/0017_striped_senator_kelly.sql+10
−0
  • packages/db/drizzle/meta/0017_snapshot.json+2834−0
  • packages/db/drizzle/meta/_journal.json+7−0
  • packages/db/src/schema/repos.ts+25−0
  • packages/db/src/services/repos.ts+37−0
  • packages/forge-github/src/signals.test.ts+23−0
  • packages/forge-github/src/signals.ts+11−0
  • packages/sdk/src/forge.ts+23−0
  • packages/sdk/src/index.ts+3−0