| name | release |
| description | Pre-release validation for MirrorBuddy via app-release-manager subagent |
| allowed-tools | ["Read","Glob","Grep","Bash","Task"] |
| context | fork |
| user-invocable | true |
Release Manager - MirrorBuddy
Pre-release validation for MirrorBuddy via app-release-manager subagent.
Context (pre-computed)
Project: MirrorBuddy
Branch: `git branch --show-current 2>/dev/null || echo "not a git repo"`
Uncommitted: `git status --short 2>/dev/null | wc -l | tr -d ' '` files
Version: `node -p "require('./package.json').version" 2>/dev/null || echo "unknown"`
Activation
When message contains /release or /release {version}.
What It Does
Launches app-release-manager subagent with MirrorBuddy-specific validations:
- Educational Content Quality - AI tutors, knowledge bases, teaching prompts
- Student Safety - Content filtering, bias detection, safety guardrails
- GDPR Compliance - Data handling, privacy, consent mechanisms
- Accessibility (WCAG 2.1 AA) - 7 DSA profiles, contrast, keyboard nav
- ISE Engineering Fundamentals - Code quality, testing, documentation
- AI Tutor Readiness - All 26 maestri verified, tools working
Workflow
Phase 1: Launch Agent
await Task({
subagent_type: 'app-release-manager',
description: 'MirrorBuddy release validation',
prompt: `
RELEASE VALIDATION FOR MIRRORBUDDY
Project: MirrorBuddy
Target Version: ${version || 'auto-detect from package.json'}
Branch: ${branch}
Execute full release gate:
1. Pre-flight checks (git clean, correct branch)
2. Build validation (lint, typecheck, build)
3. Test execution (unit, E2E)
4. Security audit (secrets, dependencies)
5. Accessibility audit (WCAG 2.1 AA)
6. Compliance check (GDPR, EU AI Act)
7. Sentry + deployment configuration verification (CI + Vercel env)
8. AI tutor verification (all 26 maestri)
9. Documentation review (CHANGELOG, ADRs)
Sentry + deployment checks MUST include:
- Running \`npm run sentry:verify\` locally
- Ensuring \`.github/workflows/ci.yml\` \`sentry-config\` job installs dependencies and has \`VERCEL_TOKEN\` wired
- Verifying GitHub Actions secrets and Vercel production env contain all required Sentry and core app variables
Zero tolerance policy:
- ANY test failure = BLOCK
- ANY security issue = BLOCK
- ANY a11y violation = BLOCK
- ANY compliance gap = BLOCK
- ANY Sentry misconfiguration or missing env var = BLOCK
Output: Release report with APPROVE or BLOCK decision.
`,
});
Optional Pre-Flight: GitHub Secrets Sync
Before running the full release gate you MAY want to sync your local .env into GitHub Actions secrets (for example after adding VERCEL_TOKEN, SENTRY_DSN, or other critical config). This is a manual, explicit step and should only be used when you are sure your local .env reflects the intended production values.
npm run secrets:sync
Notes:
- This script never logs secret values (only names and lengths).
- It can overwrite existing secrets with the same keys; use it carefully.
- It is NOT run automatically by the release agent to avoid accidental propagation of local-only values.
Phase 2: Review Results
Agent returns comprehensive report with MirrorBuddy-specific checks.
Phase 3: User Decision
If APPROVED → version bump, git tag, CHANGELOG, GitHub release
If BLOCKED → fix issues, re-run /release
MirrorBuddy-Specific Checks
| Check | Validation |
|---|
| Maestri | All 26 load correctly, knowledge embedded |
| Coaches | 6 coaches with valid prompts |
| Buddies | 6 buddies with age-adaptive prompts |
| Tools | All 16 learning tools functional |
| Tiers | Trial/Base/Pro limits enforced |
| Safety | Bias detector, content filter active |
| A11y | 7 DSA profiles, instant access button |
Zero Tolerance Policy (Blocking)
- ANY compiler/lint warning
- ANY test failure
- ANY security vulnerability
- ANY TODO/FIXME in code
- ANY hardcoded secrets
- ANY debug prints (console.log)
- ANY outdated deps with CVEs
- ANY a11y violation (WCAG 2.1 AA)
- ANY GDPR/EU AI Act compliance gap
Quick Reference
npm run release:fast
npm run release:gate
npm run sentry:verify
/release
/release 1.5.0
Related
- Agent:
app-release-manager
- Hardening:
mirrorbuddy-hardening-checks
- Thor:
thor-quality-assurance-guardian
- Gate scripts:
npm run release:fast, npm run release:gate