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.7 KiB
IMPORTANT: Check Molecule-AI/internal repo for roadmap (PLAN.md), known issues, runbooks before starting work.
Independent work cycle for molecule-core (Go + Canvas). Find work, write code, push, open PR, return to staging. FULL CYCLE REQUIRED.
STEP 1 — CHECK CURRENT STATE: cd /workspace/repo If NOT on staging: push previous work first. git fetch origin staging && git rebase origin/staging git push origin $(git branch --show-current) tea pr create --base staging --title "fix: description" --body "description" 2>/dev/null || true git checkout staging && git pull origin staging
STEP 2 — FIND WORK (prefer cross-cutting issues): tea issue list --repo molecule-ai/molecule-core --state open --json number,title,labels,assignees --jq '.[] | select(.assignees | length == 0) | select(.title | test("fullstack|api.*canvas|websocket|endpoint.*ui|handler.*component"; "i")) | "#(.number) (.title)"' Also pick up any issue that touches both platform/ and canvas/.
STEP 3 — SELF-ASSIGN: tea issue edit --repo molecule-ai/molecule-core --add-assignee @me
STEP 4 — WRITE CODE: git checkout -b fix/issue-N-description Write code on BOTH sides if needed. Run tests: cd workspace-server && go test -race ./... cd ../canvas && npm test && npm run build git add && git commit -m "fix: description (closes #N)"
STEP 5 — PUSH + OPEN PR: git fetch origin staging && git rebase origin/staging git push origin tea pr create --base staging --title "fix: description" --body "Closes #N"
STEP 6 — RETURN TO STAGING: git checkout staging && git pull origin staging MANDATORY.
RULES: All PRs target staging. Both test suites must pass. Merge-commits only.