Compare commits
1 Commits
main
...
fix/intern
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daafb1dfbf |
@ -10,7 +10,7 @@ The platform supports per-workspace `.env` files (loaded by `org_import.go` and
|
|||||||
|
|
||||||
| Role | Secrets it gets | Scope of action enabled |
|
| Role | Secrets it gets | Scope of action enabled |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| **All workspaces** (org-root `.env`) | **Current default (MiniMax-M2.7 — `model:` in every workspace.yaml):** `ANTHROPIC_BASE_URL=https://api.minimax.io/anthropic` + `ANTHROPIC_AUTH_TOKEN=<MiniMax Token Plan key>`. Alternatives: `CLAUDE_CODE_OAUTH_TOKEN` / `ANTHROPIC_API_KEY` (Anthropic-direct), or `OPENAI_API_KEY`. | Run the LLM. Required for any agent to think. The MiniMax Token Plan key is in the operator SSOT as `MINIMAX_API_KEY` (+ `MINIMAX_BASE_URL`); see `internal#211`. |
|
| **All workspaces** (org-root `.env`) | `CLAUDE_CODE_OAUTH_TOKEN` (or model-specific equivalent: `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`) | Run the LLM. Required for any agent to think. |
|
||||||
| **PM** | `TELEGRAM_BOT_TOKEN`, `TELEGRAM_CHAT_ID` (CEO comms only) | Send Telegram messages to CEO. Max 2-3/day per SHARED_RULES rule 11. |
|
| **PM** | `TELEGRAM_BOT_TOKEN`, `TELEGRAM_CHAT_ID` (CEO comms only) | Send Telegram messages to CEO. Max 2-3/day per SHARED_RULES rule 11. |
|
||||||
| **Dev Lead, Core Lead, App Lead, CP Lead, Infra Lead, SDK Lead** | `GH_TOKEN` (write) | `tea pr merge`, `tea issue close`, `tea pr review --approve` on the team's repo. SHARED_RULES rule 9: Leads merge in their domain. |
|
| **Dev Lead, Core Lead, App Lead, CP Lead, Infra Lead, SDK Lead** | `GH_TOKEN` (write) | `tea pr merge`, `tea issue close`, `tea pr review --approve` on the team's repo. SHARED_RULES rule 9: Leads merge in their domain. |
|
||||||
| **Triage Operator** | `GH_TOKEN` (write, org-wide) | Cross-org triage: close stale, label, escalate. May merge mechanical PRs only. |
|
| **Triage Operator** | `GH_TOKEN` (write, org-wide) | Cross-org triage: close stale, label, escalate. May merge mechanical PRs only. |
|
||||||
|
|||||||
@ -41,7 +41,6 @@ defaults:
|
|||||||
- molecule-session-context # auto-load cron learnings + PR/issue counts on SessionStart
|
- molecule-session-context # auto-load cron learnings + PR/issue counts on SessionStart
|
||||||
- molecule-skill-cron-learnings # per-tick learning JSONL (pairs with session-context)
|
- molecule-skill-cron-learnings # per-tick learning JSONL (pairs with session-context)
|
||||||
- molecule-skill-update-docs # keep architecture / README / edit-history aligned
|
- molecule-skill-update-docs # keep architecture / README / edit-history aligned
|
||||||
- molecule-skill-five-axis-review # SOP Phase 4 — structured five-axis self-review before PR
|
|
||||||
|
|
||||||
# Audit-summary routing — Auditors fan out findings to the listed roles.
|
# Audit-summary routing — Auditors fan out findings to the listed roles.
|
||||||
# Roles are by display name (Dev Lead, Backend Engineer, ...) not by
|
# Roles are by display name (Dev Lead, Backend Engineer, ...) not by
|
||||||
|
|||||||
@ -7,22 +7,8 @@
|
|||||||
# from rule 10 (CI green + qa-agent + security-auditor-agent + uiux-agent
|
# from rule 10 (CI green + qa-agent + security-auditor-agent + uiux-agent
|
||||||
# APPROVED or N/A waiver).
|
# APPROVED or N/A waiver).
|
||||||
|
|
||||||
# --- LLM: MiniMax-M2.7 via MiniMax "Token Plan" key ---
|
# --- LLM ---
|
||||||
# This workspace's runtime is `claude-code` and workspace.yaml pins
|
CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-...
|
||||||
# `model: MiniMax-M2.7`. Claude Code reaches MiniMax through MiniMax's
|
|
||||||
# Anthropic-compatible endpoint, so the auth env it needs is:
|
|
||||||
ANTHROPIC_BASE_URL=https://api.minimax.io/anthropic
|
|
||||||
ANTHROPIC_AUTH_TOKEN=sk-cp-...
|
|
||||||
# Get the token from https://platform.minimax.io/user-center/payment/token-plan
|
|
||||||
# ("Token Plan Key"). The operator's unified credentials file exposes the same
|
|
||||||
# value as MINIMAX_API_KEY (+ MINIMAX_BASE_URL=https://api.minimax.io); see
|
|
||||||
# internal#211. If the platform runtime maps `model:` -> endpoint itself, then
|
|
||||||
# MINIMAX_API_KEY alone is enough and these two ANTHROPIC_* lines can be dropped.
|
|
||||||
#
|
|
||||||
# To run this team on Anthropic-direct instead, set
|
|
||||||
# CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-...
|
|
||||||
# (or ANTHROPIC_API_KEY=sk-ant-...), drop the ANTHROPIC_BASE_URL line, and
|
|
||||||
# change `model:` in the workspace.yaml files accordingly.
|
|
||||||
|
|
||||||
# --- GitHub (full repo write — Dev Lead merges) ---
|
# --- GitHub (full repo write — Dev Lead merges) ---
|
||||||
# Generate a fine-grained PAT with scope:
|
# Generate a fine-grained PAT with scope:
|
||||||
|
|||||||
@ -4,7 +4,7 @@ role: >-
|
|||||||
Leads App-FE, App-QA, Doc Specialist, Technical Writer.
|
Leads App-FE, App-QA, Doc Specialist, Technical Writer.
|
||||||
tier: 3
|
tier: 3
|
||||||
runtime: claude-code
|
runtime: claude-code
|
||||||
model: opus
|
model: MiniMax-M2.7
|
||||||
parent: dev-lead
|
parent: dev-lead
|
||||||
files_dir: dev-lead/app-lead
|
files_dir: dev-lead/app-lead
|
||||||
plugins: [molecule-skill-code-review, molecule-skill-llm-judge]
|
plugins: [molecule-skill-code-review, molecule-skill-llm-judge]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ role: >-
|
|||||||
Leads Core-BE, Core-FE, Core-QA, Core-Security, Core-UIUX, Core-DevOps, Core-OffSec.
|
Leads Core-BE, Core-FE, Core-QA, Core-Security, Core-UIUX, Core-DevOps, Core-OffSec.
|
||||||
tier: 3
|
tier: 3
|
||||||
runtime: claude-code
|
runtime: claude-code
|
||||||
model: opus
|
model: MiniMax-M2.7
|
||||||
parent: dev-lead
|
parent: dev-lead
|
||||||
files_dir: dev-lead/core-lead
|
files_dir: dev-lead/core-lead
|
||||||
plugins: [molecule-skill-code-review, molecule-skill-llm-judge, molecule-compliance]
|
plugins: [molecule-skill-code-review, molecule-skill-llm-judge, molecule-compliance]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ role: >-
|
|||||||
Triage+merge authority. Leads CP-BE, CP-QA, CP-Security.
|
Triage+merge authority. Leads CP-BE, CP-QA, CP-Security.
|
||||||
tier: 3
|
tier: 3
|
||||||
runtime: claude-code
|
runtime: claude-code
|
||||||
model: opus
|
model: MiniMax-M2.7
|
||||||
parent: dev-lead
|
parent: dev-lead
|
||||||
files_dir: dev-lead/cp-lead
|
files_dir: dev-lead/cp-lead
|
||||||
plugins: [molecule-hitl, molecule-skill-code-review, molecule-security-scan, molecule-skill-llm-judge, molecule-compliance]
|
plugins: [molecule-hitl, molecule-skill-code-review, molecule-security-scan, molecule-skill-llm-judge, molecule-compliance]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ role: >-
|
|||||||
molecule-ci, molecule-ai/internal. Leads Infra-SRE, Infra-Runtime-BE.
|
molecule-ci, molecule-ai/internal. Leads Infra-SRE, Infra-Runtime-BE.
|
||||||
tier: 3
|
tier: 3
|
||||||
runtime: claude-code
|
runtime: claude-code
|
||||||
model: opus
|
model: MiniMax-M2.7
|
||||||
parent: dev-lead
|
parent: dev-lead
|
||||||
files_dir: dev-lead/infra-lead
|
files_dir: dev-lead/infra-lead
|
||||||
plugins: [molecule-hitl, molecule-skill-code-review, molecule-freeze-scope]
|
plugins: [molecule-hitl, molecule-skill-code-review, molecule-freeze-scope]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ role: >-
|
|||||||
molecule-cli, all plugin repos. Leads SDK-Dev, Plugin-Dev.
|
molecule-cli, all plugin repos. Leads SDK-Dev, Plugin-Dev.
|
||||||
tier: 3
|
tier: 3
|
||||||
runtime: claude-code
|
runtime: claude-code
|
||||||
model: opus
|
model: MiniMax-M2.7
|
||||||
parent: dev-lead
|
parent: dev-lead
|
||||||
files_dir: dev-lead/sdk-lead
|
files_dir: dev-lead/sdk-lead
|
||||||
plugins: [molecule-skill-code-review, molecule-skill-llm-judge, molecule-compliance]
|
plugins: [molecule-skill-code-review, molecule-skill-llm-judge, molecule-compliance]
|
||||||
|
|||||||
@ -5,7 +5,7 @@ role: >-
|
|||||||
Manager, Integration Tester, and Fullstack (floater).
|
Manager, Integration Tester, and Fullstack (floater).
|
||||||
tier: 3
|
tier: 3
|
||||||
runtime: claude-code
|
runtime: claude-code
|
||||||
model: opus
|
model: MiniMax-M2.7
|
||||||
files_dir: dev-lead
|
files_dir: dev-lead
|
||||||
# Dev Lead enforces PR quality gates (see gate 2a in
|
# Dev Lead enforces PR quality gates (see gate 2a in
|
||||||
# .claude/skills/triage/SKILL.md) and reviews engineering output
|
# .claude/skills/triage/SKILL.md) and reviews engineering output
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user