Code Panel

src/components/brand-system/code-panel.tsx
Live
Context

Your software factory, defined in code.

Factories-as-code allows for a versioned and measured approach to optimizing costs and performance of your factories.

factory.yaml
yaml
schemaVersion: v1alpha2name: acme-engineeringalias: acme-engineeringdescription: Ships fixes and small features for the Acme storefront, payments API and mobile app.credentialStrategy: EXECUTORcodeForges: [GITHUB]repositories: - owner: acme-eng name: storefront - owner: acme-eng name: payments-api - owner: acme-eng name: mobile-appsecrets: - NPM_READ_TOKEN - SENTRY_AUTH_TOKENmcpServers: linear: warpId: acmeMcpLinear000000001 sentry: warpId: acmeMcpSentry000000001integrations: - type: slack - type: linearagentDefaults: model: claude-sonnet-4 runner: cloud-linux secrets: - NPM_READ_TOKEN - SENTRY_AUTH_TOKENselfImprovement: reviewerType: admins failedRunThreshold: 3blueprint: worker: foreman start: to: delivery stages: delivery: displayName: Delivery worker: foreman inputs: A request from Slack, a Linear issue, or a pull request event. outputs: A merged-ready pull request, an answer, or a clear blocker. start: to: - stage: triage when: New work. Default. - stage: implement when: A reviewer asked for changes. stages: triage: displayName: Triage worker: triage prompt: prompts/triage.md to: - stage: plan when: The change touches more than one service. - stage: implement when: The fix is small and well understood. - stage: end when: An answer is the complete deliverable. plan: displayName: Plan worker: planner prompt: prompts/plan.md to: - stage: implement when: The plan is approved. implement: displayName: Implement worker: implementer prompt: prompts/implement.md to: - stage: review when: A pull request is open. Default. - stage: end when: The change is documentation only. review: displayName: Review worker: reviewer prompt: prompts/review.md to: - stage: implement when: Changes are requested. - stage: end when: The pull request is approved. to: - stage: recap when: The work is delivered or blocked. recap: displayName: Recap worker: foreman prompt: Tell the requester what changed and link the pull request. to: end