docs: 72h sweep — add MCP, coding-agent, security, observability, and remote-sandbox parts (17–21) - #6
Conversation
…remote-sandbox parts (17-21) - Part 17 (MCP Servers): stdio/HTTP transports, sampling/createMessage, 14 recommended MCPs, writing your own, /mcp commands, troubleshooting - Part 18 (Coding Agents): Claude Code / Codex / Gemini CLI / OpenCode / Aider; print-mode delegation, OpenClaw thread-bound runtimes, ACP client+server, git isolation, cost routing - Part 19 (Security Playbook): defenses against Apr 15 'Comment and Control' prompt injection; provenance labels, approval layers, secrets redaction, webhook sig, SSRF, MCP trust levels, quarantine mode - Part 20 (Observability & Cost): Langfuse / Helicone / OpenTelemetry+Phoenix; cost-routing playbook that drops typical spend 90%; prompt caching, /fast usage, alerts, eval-driven regression - Part 21 (Remote Sandboxes): SSH / Modal / Daytona / Fly Machines / E2B; bulk tar-pipe sync with SIGINT-safe sync-back on teardown (#8018 merged Apr 17), cross-sandbox patterns README: add 'Pick Your Path' decision tree (7 reader personas), 'Cooking on main' post-v0.10 section covering Gemini CLI OAuth, Gemini TTS, multi-model FAL, GLM 5.1, Azure GPT-5.x chat/completions, TCP keepalives, concept-diagrams skill, Feishu card fix, OCAS skill sync. Expand TOC 17 -> 22 entries. Part 9: flagship model cheat sheet (GPT-5.4/Cyber, Claude Mythos, Gemini 3 Flash Preview, Kimi K2.5, GLM 5.1, Grok 4, MiMo, Cerebras); task-type routing cheat sheet; Gemini CLI OAuth (1500 req/day free) and Gemini TTS sections. Cross-links added: Part 3, Part 5, Part 8 now point to the new parts where relevant. Co-Authored-By: Rob <onerobby@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
| enabled: true # Scrub known-secret patterns from model-visible output | ||
| patterns: | ||
| - "sk-[a-zA-Z0-9]{20,}" # OpenAI-style keys | ||
| - "xoxb-[0-9-a-f]{20,}" # Slack bot tokens |
There was a problem hiding this comment.
🟡 Slack bot token redaction regex will fail to match real tokens
The Slack bot token regex pattern xoxb-[0-9-a-f]{20,} has two problems. First, the character class [0-9-a-f] is ambiguous — the hyphen between 9 and a may be interpreted as a range (9–a in ASCII, covering digits through @) rather than a literal hyphen, depending on the regex engine. Second, even if parsed as intended ([0-9\-a-f]), the class only covers digits, hyphens, and lowercase a–f. Real Slack bot tokens look like xoxb-1234567890-1234567890123-AbCdEfGhIjKlMnOpQrStUvWx and contain uppercase letters and lowercase letters beyond f. The {20,} quantifier will break the match when it hits any character outside the class, so this pattern will not redact actual Slack bot tokens. In a security playbook recommending these patterns for secrets redaction, a non-matching pattern gives users a false sense of safety.
| - "xoxb-[0-9-a-f]{20,}" # Slack bot tokens | |
| - "xoxb-[0-9a-zA-Z-]{20,}" # Slack bot tokens |
Was this helpful? React with 👍 or 👎 to provide feedback.
- Part 17 (MCP Servers): stdio/HTTP transports, sampling/createMessage, 14 recommended MCPs, writing your own, /mcp commands, troubleshooting - Part 18 (Coding Agents): Claude Code / Codex / Gemini CLI / OpenCode / Aider; print-mode delegation, OpenClaw thread-bound runtimes, ACP client+server, git isolation, cost routing - Part 19 (Security Playbook): defenses against Apr 15 'Comment and Control' prompt injection; provenance labels, approval layers, secrets redaction, webhook sig, SSRF, MCP trust levels, quarantine mode - Part 20 (Observability & Cost): Langfuse / Helicone / OpenTelemetry+Phoenix; cost-routing playbook that drops typical spend 90%; prompt caching, /fast usage, alerts, eval-driven regression - Part 21 (Remote Sandboxes): SSH / Modal / Daytona / Fly Machines / E2B; bulk tar-pipe sync with SIGINT-safe sync-back on teardown (#8018 merged Apr 17), cross-sandbox patterns README: add 'Pick Your Path' decision tree (7 reader personas), 'Cooking on main' post-v0.10 section covering Gemini CLI OAuth, Gemini TTS, multi-model FAL, GLM 5.1, Azure GPT-5.x chat/completions, TCP keepalives, concept-diagrams skill, Feishu card fix, OCAS skill sync. Expand TOC 17 -> 22 entries. Part 9: flagship model cheat sheet (GPT-5.4/Cyber, Claude Mythos, Gemini 3 Flash Preview, Kimi K2.5, GLM 5.1, Grok 4, MiMo, Cerebras); task-type routing cheat sheet; Gemini CLI OAuth (1500 req/day free) and Gemini TTS sections. Cross-links added: Part 3, Part 5, Part 8 now point to the new parts where relevant. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Summary
Major Phase-2 expansion after PR #5. This pass closes the biggest gaps the previous refresh left open and captures everything that went viral in the Hermes / agents ecosystem in the past 72 hours. The guide now covers every layer of a production Hermes deployment — from fresh install through observability, cost routing, prompt-injection defense, and remote-sandbox execution.
Guide structure: 16 parts → 21 parts.
New parts
sampling/createMessagewith trust/cost controls,/mcpcommands, and a full troubleshooting matrix./usage→ Langfuse/Helicone/Phoenix). Config blocks for all three providers. The five-rule cost-routing playbook that drops typical feature-implementation spend from ~$34 to ~$3 (empirical). Fast Mode tradeoffs, prompt caching, cost-spike alerts, eval-driven regression prevention.README overhaul
main" section — the post-v0.10 PRs shipping toward v0.11, all landed in the past 72 hours: Gemini CLI OAuth (#11270), Gemini TTS (#10922), multi-model FAL picker (#11265), GLM 5.1 in OpenCode Go catalogs (#11269), Azure GPT-5.x on/chat/completions(#10086), TCP keepalives (#11277),concept-diagramsskill, Feishu CARD WebSocket, OCAS skill sync.Part 9 refresh
Cross-links added
Parts 3 (LightRAG), 5 (Skills), and 8 (Subagents) now link to the new parts where relevant.
Review & Testing Checklist for Human
Docs-only PR — no code paths touched, no runtime risk. Review focus:
Notes
[!NOTE]admonitions) used — stays portable for README mirrors and future static-site generation.Link to Devin session: https://app.devin.ai/sessions/42780dee7d0d4798b1910200a1f7280d
Requested by: @OnlyTerp