Good—now we turn this from “one working loop” into a pattern you can reuse for anything inside this GitHub universe.
• Generalize the Task pattern into a Record pattern
• Add a second record type: User
• Show how to plug it into the same pipeline
• Lock in secrets / PAT scopes / org wiring
• Give you a repeatable recipe you can apply to any domain (audio, quiz, jobs, etc.)
—
1. The “Record Pattern” (your core primitive)
You now have a reusable primitive:
Record = Issue in issues-db → JSON in data-hub → View in frontend-app → Optional AI enrichment via ai-workflows.
For each new record type, you define:
1. Issue template in issues-db
2. Dispatch rule in issues-db workflow
3. Processor script in backend-automation
4. JSON schema + folder in data-hub
5. UI component in frontend-app
6. Optional AI job in `ai-workflows