Director-owned setup before the first business-request issue moves past intake. Agents assume these exist; DevOps extends them per job tech spec.
Secrets: use local .env (from .env.example) and GitHub repository secrets. Never commit tokens, PATs, or .env.
| # | Item | Owner | Verify |
|---|---|---|---|
| 1 | GitHub Issues + labels on work-queue repo | Director | Issues — templates work |
| 2 | gh authenticated with repo scope |
Director | gh auth status |
| 3 | .env copied from .env.example and filled |
Director | ./scripts/verify-prerequisites.sh |
| 4 | squad-config.yaml from squad-config.example.yaml (optional) |
Director | — |
| 5 | WhatsApp Director channel (optional — GitHub APPROVE works without it) |
Director | whatsapp-director-channel.md · blocked by ideas#1 |
| 6 | Cloudflare account + API token (if any job uses Workers/R2/D1) | Director / DevOps | wrangler whoami |
| 7 | Hugging Face token (if agents use Hub/Jobs) | Director | hf auth whoami |
| 8 | Copilot coding agent enabled (cloud) or local Cursor | Director | agent-runtime-strategy.md |
| 9 | main branch protected (PR required; squad-safe) |
Director | docs/branch-protection.md — ./scripts/setup-branch-protection.sh |
| 10 | Job-specific secrets identified below | Architect → DevOps | Documented on issue |
CI/CD pipelines: deferred until first job implementation (DevOps sub-issue).
- Create/update issues, comments, labels
- Open PRs on target repos (same org or fork)
- Releases, tags, changelog (Release Manager)
- Repository secrets when Actions exist (DevOps)
- Ensure ai-alpha-squad is the work queue (issues for every job).
- Authenticate CLI:
gh auth login(scopes:repo,read:orgif using org). - For automation without interactive
gh, create a fine-grained or classic PAT with repo access →GITHUB_TOKENin.env.
Configure when CI or GitHub Actions automation is added (first job). Standard names:
| Secret | Used by | Notes |
|---|---|---|
GITHUB_TOKEN |
Actions | Often ${{ secrets.GITHUB_TOKEN }} default is enough for same-repo |
CLOUDFLARE_API_TOKEN |
Deploy Worker | From Cloudflare dashboard |
VSCE_PAT |
Publish VS Code extension | Marketplace Manage scope |
OPENVSX_PAT |
Publish to Open VSX | open-vsx.org profile → Access Tokens |
HF_TOKEN |
HF Jobs / model pull in CI | Hugging Face settings |
WHATSAPP_ACCESS_TOKEN |
WhatsApp webhook Worker | Meta or Kapso |
WHATSAPP_WEBHOOK_VERIFY_TOKEN |
Webhook verification | Random string you define |
Use Environments (production, staging) for release approvals when DevOps adds workflows.
| Variable | Example |
|---|---|
CLOUDFLARE_ACCOUNT_ID |
Cloudflare dashboard |
VSCE_PUBLISHER |
Marketplace publisher name |
GITHUB_OWNER |
eduardocerqueira |
Required only if Business Owner / Release Manager should notify the Director outside GitHub.
- Meta Business → WhatsApp → API setup.
- Add a business phone number; note
phone_number_id. - Permanent token or System User token →
WHATSAPP_ACCESS_TOKEN. - Set
WHATSAPP_DIRECTOR_PHONE(Director personal E.164). - Deploy inbound webhook (Cloudflare Worker recommended) — DevOps first-job deliverable if not done early.
WHATSAPP_WEBHOOK_VERIFY_TOKEN— random string for GET verification.- Sync to GitHub Actions:
./scripts/setup-squad-whatsapp-github.sh(validates token; required for orchestrator WhatsApp notify).
kapso loginorKAPSO_API_KEY+KAPSO_API_BASE_URL.- Skills:
integrate-whatsapp,observe-whatsapp.
Protocol: whatsapp-director-channel.md.
Needed when tech spec includes Workers, R2, D1, DNS, or WhatsApp webhook hosting.
- Account at dash.cloudflare.com.
- Create API token: Edit Cloudflare Workers (+ Zone/DNS if using a custom webhook hostname) →
CLOUDFLARE_API_TOKEN. - Account ID →
CLOUDFLARE_ACCOUNT_IDon the ai-alpha-squad Cloudflare account only (not the Bmhp org account — that is a separate project). - Optional:
CLOUDFLARE_EXPECT_ACCOUNT_NAMEin.envsodeploy-whatsapp-webhook.shrefuses the wrong account. - Local:
npm i -g wranglerthenwrangler loginor use token:export CLOUDFLARE_API_TOKEN=...
Agents use skills: wrangler, cloudflare, workers-best-practices, agents-sdk.
Needed when jobs use Hub models, Spaces, or HF Jobs for training/inference.
- huggingface.co/settings/tokens → read/write as needed.
HF_TOKENin.envand GitHub secret for CI.- CLI:
pip install huggingface_hub→hf auth loginorHF_TOKEN.
Skill: hf-cli.
| Credential | Where | Purpose |
|---|---|---|
VSCE_PAT |
.env + GitHub secret |
vsce publish — Azure DevOps PAT with Marketplace Manage |
OPENVSX_PAT |
.env + GitHub secret |
ovsx publish — Open VSX access token |
| Publisher ID | squad-config / issue |
Marketplace publisher name (public) |
| Open VSX namespace | issue | Usually aligned with publisher |
Create publisher: Visual Studio Marketplace, open-vsx.org.
Extension code repo may differ from ai-alpha-squad; track delivery repo on the issue.
Credentials live in each target repository, not in ai-alpha-squad:
| Item | Notes |
|---|---|
| Clone access | gh auth must reach eduardocerqueira/seeker, eduardocerqueira/cloudbitsgo |
| Stack-specific | Read each repo README; Architect documents in tech spec |
| Deploy keys / cloud | Per-repo .env.example — DevOps adds CI secrets on target repo |
| No squad-wide PAT in git | Use GitHub Apps or repo-scoped tokens per project |
Work queue issue on ai-alpha-squad links to target repo PRs.
| Credential | Where | Purpose |
|---|---|---|
| Apple Developer Program | Apple account | Membership active |
| App Store Connect API key | .p8 file outside repo |
CI/TestFlight/upload |
APP_STORE_CONNECT_KEY_ID, ISSUER_ID |
.env / secrets |
API auth |
APPLE_TEAM_ID |
config | Signing |
| Certificates / profiles | Xcode or Fastlane Match | DevOps + Developer — never commit |
| App-specific password | .env only if using altool legacy |
Prefer API key |
Skill: appstore-readiness, swiftui-expert-skill.
Recommended: agent-runtime-strategy.md — use GitHub Copilot cloud agent on product repos for code; use ai-alpha-squad as the issue queue with custom agents in .github/agents/.
| Check | Action |
|---|---|
| Copilot plan | Pro+, Business, or Enterprise |
| Coding agent enabled | Repo Settings → Copilot → enable for ai-alpha-squad and each target repo |
Custom agents on main |
Merge .github/agents/*.agent.md |
| Agents UI | github.com/eduardocerqueira/ai-alpha-squad/agents |
Cloud runs use GitHub Secrets, not your laptop .env. Local Cursor remains optional for Director or ad-hoc work.
- Open workspace at repo root (or target project).
- Load
.env— use direnv or Cursor env settings. - Skills:
./.agents/skills-install.shornpx skills experimental_install -y --agent cursor.
Optional: Cursor Cloud API (CURSOR_API_KEY) for scripted orchestration.
cp .env.example .env
# edit .env
cp .agents/squad-config.example.yaml .agents/squad-config.yaml
# edit non-secret defaults
./scripts/verify-prerequisites.sh| Agent | Infra action |
|---|---|
| Architect | List required secrets/bindings in tech spec |
| DevOps | Target-repo Actions, Cloudflare deploy, webhook, environments |
| Security | Review secret handling, least privilege, no leaks in issues |
| Release Manager | GitHub Release permissions, changelog, WhatsApp release notify |