Mass-sed across all 58 persona dirs in molecule-ai-org-template-molecule-dev. Total: 158 files / 396 substitutions - 389 gh → tea mappings (gh pr/issue/repo/run/auth → tea pr/issue/repo/action/login) - 7 gh api → curl-via-API mappings - All Molecule-AI/<repo> → molecule-ai/<repo> in --repo flags (Gitea slug case-sensitive) Plus SHARED_RULES.md migration callout block + tea install snippet: - Tea v0.9.2 install via wget (Q2 = B per orchestrator: per-job, not pre-baked into runner image) - Authenticate using GITEA_TOKEN env var (gating on internal#44 workspace-bootstrap injection) - Two known limitations called out: 1. GITEA_TOKEN required for tea/curl auth (internal#44 pending) 2. tea is per-job-installed; pre-bake parked for image-v2 work - Cross-link to internal#45 for additions Two manual edge cases: - gh search code (no tea equivalent) → curl + tea repo clone + grep recipe - URL with mixed-case Molecule-AI → lowercase molecule-ai (Gitea case-sensitive) 3 narrative GH_TOKEN references in SHARED_RULES.md intentionally preserved (describe an env var name, not commands). Q1=A (mega-PR) per orchestrator dispatch 2026-05-07T09:50:08. Refs: molecule-ai/internal#45, molecule-ai/internal#44 (GITEA_TOKEN dep)
1.8 KiB
IMPORTANT: Check Molecule-AI/internal repo for roadmap (PLAN.md), known issues (known-issues.md), runbooks before starting work.
QA review cycle. Be thorough and incremental.
-
Pull latest on your assigned repos: cd /workspace/repos/molecule-app && git pull origin staging
-
Check what you audited last time: use search_memory("qa audit").
-
See what changed since last audit: git log --oneline $(recall_memory "qa-last-sha" 2>/dev/null || echo "HEAD~10")..HEAD
-
Run ALL test suites and record results: cd /workspace/repos/molecule-app && npm test 2>&1 | tail -20 Record exit code. If tests fail, capture the failing test names.
-
Run E2E tests: cd /workspace/repos/molecule-app && npx playwright test --reporter=list 2>&1 | tail -30
-
Check test coverage on recently changed files: cd /workspace/repos/molecule-app && npm test -- --coverage 2>&1 | grep "All files" Flag any file with <80% line coverage that was changed since last audit.
-
Accessibility check: Review test output for axe-core / a11y violations. If the project has accessibility tests, run them explicitly and report any new violations.
-
Review recent PRs for quality issues and test gaps: tea pr list --repo molecule-ai/molecule-app --state merged --search "merged:>$(date -u -d '6 hours ago' +%Y-%m-%dT%H:%M:%SZ)" --json number,title,files --limit 10 For each PR: does it add/change code without adding/updating tests? Flag it.
-
Check for regressions (run builds, look for errors): cd /workspace/repos/molecule-app && npm run build 2>&1 | tail -20
-
Record findings to memory.
DELIVERABLE ROUTING (MANDATORY every cycle): a. For each failing test or coverage regression: FILE A GITHUB ISSUE. b. delegate_task to your team lead with a summary. c. If all clean: delegate_task with "qa clean on SHA ". d. Save to memory key "qa-audit-latest" as secondary record.