Skip to content

Commit 4fdb0b6

Browse files
committed
🛡️ MissionCtrl v1.0 — AI Oversight Fleet Environment
- Multi-agent fleet simulation with 5 specialist AI agents - 7-type hallucination injector with configurable subtlety - 5-signal composite grader (task completion, detection, FP penalty, delegation, evidence quality) - Cross-episode learning with persistent policy memory - Live dashboard with accumulated run results across tiers - 58 tests (engine + API contracts) - OpenEnv-compatible: reset/step/grade interface - Single-container Docker deployment Baseline: avg 0.6337 across easy/medium/hard/special tiers
0 parents  commit 4fdb0b6

19 files changed

Lines changed: 3988 additions & 0 deletions

.env.example

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# MissionCtrl Environment Variables
2+
# Copy this file to .env and fill in your values.
3+
4+
# --- Hugging Face (Default) ---
5+
# API_BASE_URL=https://router.huggingface.co/v1
6+
# MODEL_NAME=openai/gpt-oss-120b
7+
# HF_TOKEN=hf_xxxxx
8+
9+
# --- Groq ---
10+
API_BASE_URL=https://api.groq.com/openai/v1
11+
MODEL_NAME=llama-3.3-70b-versatile
12+
HF_TOKEN=gsk_xxxxx
13+
14+
# Optional: override environment server URL (default: http://localhost:8000)
15+
# ENV_BASE_URL=http://localhost:8000
16+
17+
# Optional: LLM judge API keys (for live demo mode)
18+
# ANTHROPIC_API_KEY=sk-ant-xxxxx
19+
# OPENAI_API_KEY=sk-xxxxx

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.venv/
2+
__pycache__/
3+
*.pyc
4+
*.egg-info/
5+
.env
6+
.DS_Store
7+
*.lock
8+
dist/
9+
build/
10+
missionctrl_checkpoints/
11+
reward_curve.png

Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM python:3.11-slim
2+
3+
WORKDIR /app
4+
5+
# Install system deps
6+
RUN apt-get update && \
7+
apt-get install -y --no-install-recommends curl && \
8+
rm -rf /var/lib/apt/lists/*
9+
10+
# Copy requirements first for layer caching
11+
COPY server/requirements.txt ./server/requirements.txt
12+
RUN pip install --no-cache-dir -r server/requirements.txt
13+
14+
# Copy project
15+
COPY . .
16+
17+
# Set PYTHONPATH and disable output buffering (critical for Docker log visibility)
18+
ENV PYTHONPATH="/app"
19+
ENV PYTHONUNBUFFERED=1
20+
21+
# Expose port
22+
EXPOSE 8000
23+
24+
# Health check
25+
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
26+
CMD curl -f http://localhost:8000/health || exit 1
27+
28+
# Run server (the app.py lifespan prints the full banner)
29+
CMD ["python", "-m", "uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]

MissionCtrl_PRD_v3.docx

24.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)