capsule AI-native Unix-like composition layer

capsule.yaml

1,544 bytes · 43 lines · capsule://quake0day/[email protected] raw on github

apiVersion: capsule.dev/v0.1
kind: Capsule
name: lkmeet-github-workflows
version: 0.1.0
type: subsystem
purpose:
  summary: 'Defines GitHub Actions workflows for continuous integration (CI) and continuous
    deployment (CD). This includes workflows for running tests, linting, formatting,
    and syncing branches to production environments.

    '
  owns:
  - CI/CD pipeline definitions
  does_not_own:
  - Application code
  - Deployment infrastructure
interfaces:
  provides:
  - kind: cli
    name: GitHub Actions Workflows
    description: Automated CI/CD workflows for testing and deployment.
agent:
  summary_for_ai: 'This capsule contains GitHub Actions workflow definitions. Focus
    on ensuring the workflows are robust, efficient, and correctly configured for
    testing and deployment. Pay attention to specific actions and branch names.

    '
verification:
  invariants:
  - Test workflow must pass on all code changes.
  - Deployment workflow must correctly sync to the specified production branch.
x-reuse:
  notes: 'The `sync-to-production.yaml` workflow uses a specific action `livekit-examples/sandbox-deploy-action@v1`
    and a `production_branch: ''sandbox-production''`. These are highly specific to
    LiveKit''s internal deployment setup and will need to be replaced with project-specific
    deployment logic and branch names. The `test.yaml` workflow uses `pnpm` for package
    management, which might need to be adjusted if a different package manager is
    used.

    '
x-reconstruct:
  install: install.json