#!/usr/bin/env bash # ============================================================================ # BLACKROAD OS, INC. - PROPRIETARY AND CONFIDENTIAL # Copyright (c) 2025-2026 BlackRoad OS, Inc. All Rights Reserved. # # This code is the intellectual property of BlackRoad OS, Inc. # AI-assisted development does not transfer ownership to AI providers. # Unauthorized use, copying, or distribution is prohibited. # NOT licensed for AI training or data extraction. # ============================================================================ # silas — adversarial/red-team agent # Challenges assumptions, finds failure modes, stress-tests plans set -eo pipefail INPUT="${*:-$(cat)}" # Colors RED='\033[38;5;196m' AMBER='\033[38;5;208m' DIM='\033[38;5;240m' RESET='\033[0m' printf "${RED}🔴 SILAS${RESET} ${DIM}[adversarial]${RESET}\n" printf "${DIM}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${RESET}\n" # Use mistral for adversarial analysis (good at reasoning) SYSTEM_PROMPT="You are Silas, an adversarial AI agent. Your role is to: 1. Challenge assumptions in the input 2. Identify potential failure modes 3. Find security/safety gaps 4. Surface hidden dependencies 5. Stress-test the plan with edge cases Be direct and constructive. Point out real problems, not hypotheticals. Format: bullet points, prioritized by severity." ollama run mistral:latest <