Critical Agent Mandates for OpenSIN Documentation Project Last updated: 2026-04-16
USE A2A AGENTS FOR EVERYTHING. NEVER ask the user. NEVER do alone what a team can do.
When you need something (credentials, API access, deployment, etc.), the answer is not "I can't" — it's "Which A2A agent solves this?" Then you use that agent.
Available A2A Fleet (see ~/.config/opencode/oh-my-sin.json):
sin-supabase— Self-hosted Supabase on OCI VMsin-google-apps— Google Docs/Sheets automationsin-telegrambot— Telegram bot management- And 15+ more agents
For agent system configuration, see: https://github.com/OpenSIN-Code/Code-Swarm
| Agent | Model | Role |
|---|---|---|
| SIN-Zeus | fireworks-ai/minimax-m2.7 | Supreme Fleet Commander |
| SIN-Solo | vercel/deepseek-v4-pro | Direct Executor (no delegation) |
| coder-sin-swarm | fireworks-ai/minimax-m2.7 | Swarm Coder |
| Coder-SIN-Qwen | vercel/deepseek-v4-flash | Alternative Coder |
| Stealth-Orchestrator | vercel/deepseek-v4-flash | Browser Automation |
Simone-MCP: All Code-Swarm agents use Simone-MCP for AST-level code operations.
If an agent you need doesn't exist: CREATE IT via create-a2a-sin-agent skill, no asking.
Before starting ANY work in this repo, you MUST initialize Global Brain hooks:
node /Users/jeremy/dev/global-brain/src/cli.js setup-hooks \
--project $(basename "$PWD") \
--project-root "$PWD" \
--agents-directiveThis project has a global-brain/ submodule. Always sync with it before major work.
ALL credentials go to Global Brain (https://github.com/Delqhi/global-brain), NEVER locally.
After any credential discovery: immediately push to global-brain.
| Rule | Requirement |
|---|---|
| Package Manager | bun install / direct bun scripts ONLY — npm/bunx permanently banned |
| Node.js | >= 20 required |
| Build | bun ./scripts/build-docs.mjs |
| LLM Calls | opencode run --format json ONLY — no direct API calls |
BANNED Technologies (immediate permanent ban):
- npm, bunx, package-lock.json
- Camoufox, Playwright, Puppeteer, Selenium (use nodriver + Chrome Profile)
- Direct Gemini API /
generativelanguage.googleapis.com
- skylight-cli-mcp is the ONLY authorized browser automation tool
- Always use Chrome Profile — never
user_data_dir=None - VISION-GATE MANDATE: After EVERY browser action, take screenshot and verify with vision model
- NO blind clicks — every selector must be verified via DevTools first
This repo is flagged for update to OpenSIN 2026 standards. Key areas:
- AGENTS.md — populated with mandates (THIS FILE) ✅
- OpenCode config — verify minimal config is correct ✅
- Dependencies — check all use bun, not npm ✅ (uses bun, no npm)
- Check for outdated patterns in docs ✅
- NEW: Dynamic Input Commands ($ARGUMENTS/$1/$2) — INTEGRATED
- Docs: verify README.md current ✅ (updated with new structure)
- MCP config in .opencode/opencode.json ✅ (skylight-cli, sin-brain, sin-github-issues, simone-mcp, sin-document-forge, sin-telegrambot)
- CI/CD uses direct Bun build in GitHub Actions ✅ (Cloudflare Pages action, no npm/bunx)
25 new browser-automation commands with $ARGUMENTS/$1/$2 substitution:
| Command | Purpose |
|---|---|
/browser-goto $ARGUMENTS |
URL navigation + Vision-Gate |
/click-at $1 $2 |
Coordinate click + Vision-Gate |
/click-element-safe $ARGUMENTS |
Safe element click + Vision-Gate |
/vision-gate-check $ARGUMENTS |
MANDATORY Vision verification |
/whatsapp-send $1 $ARGUMENTS |
WhatsApp messaging |
/mac-calendar-create $ARGUMENTS |
Calendar events |
/run-shell-cmd $ARGUMENTS |
Shell commands |
/execute-javascript $ARGUMENTS |
Browser JS execution |
Reference: docs/guides/dynamic-input-commands.md
# Navigate + Vision-Gate
/browser-goto https://github.com/OpenSIN-AI
# Click at coordinates + Vision-Gate
/click-at 512 384
# Safe element click (selector first, then coords fallback)
/click-element-safe "a[data-tab-item='i1issues-tab']"
# MANDATORY after EVERY action:
/vision-gate-check "Klick auf Button"Rule: NO blind clicks! Every browser action MUST have Vision-Gate!
OpenSIN-documentation/
├── docs/ # VitePress documentation
│ ├── guide/ # User guides
│ ├── api/ # API reference
│ ├── architecture/ # System architecture
│ ├── fleet/ # A2A Agent Fleet docs
│ ├── governance/ # Zeus, Hermes, PR-Watcher
│ └── ...
├── global-brain/ # Submodule — PCPM system
├── .opencode/ # OpenCode hooks + flows
├── .pcpm/ # Persistent Code Plan Memory
└── package.json # VitePress + wrangler
- Global Brain AGENTS.md:
global-brain/AGENTS.md - OpenSIN Main:
https://github.com/OpenSIN-AI/OpenSIN - A2A Template:
https://github.com/OpenSIN-AI/Template-A2A-SIN-Agent - Global Brain Repo:
https://github.com/Delqhi/global-brain
Before claiming work complete, run:
# Verify bun only (no npm)
grep -r "npm install\|npm run\|npx \|bunx " . --include="*.md" --include="*.json" | grep -v node_modules || echo "CLEAN"
# Verify OpenCode JSON valid
cat .opencode/opencode.json | python3 -c "import json,sys; json.load(sys.stdin)" && echo "VALID JSON"
# Verify docs build (direct Bun invocation; bun run is broken on this machine)
bun ./scripts/build-docs.mjs- NEVER assume — verify everything with real data/logs
- NEVER commit without visual evidence of working functionality
- NEVER use npm — instant ban
- NEVER blind browser automation — screenshot + vision gate required
- NEVER store credentials locally — global-brain only
- NEVER leak operational internals (credentials, CLI commands, private repo references) into public or global-facing docs
This AGENTS.md is the project-specific overlay. The global brain (global-brain/AGENTS.md) contains the full mandate stack.
When modifying this repo:
- Prefer official documentation work.
- Keep claims scoped to documentation canon.
- Do not redefine runtime, product, ops, or org registry ownership from here.