An open API service indexing awesome lists of open source software.

https://github.com/dubsopenhub/havoc-hackathon

Pit AI models against each other. Score them sealed. Crown a winner. All built using the GitHub Copilot CLI. โšก
https://github.com/dubsopenhub/havoc-hackathon

adversarial-ai ai-agents blind-adjudication copilot-cli copilot-extensions multi-agent multi-model orchestration prompt-engineering

Last synced: 1 day ago
JSON representation

Pit AI models against each other. Score them sealed. Crown a winner. All built using the GitHub Copilot CLI. โšก

Awesome Lists containing this project

README

          

# ๐ŸŸ๏ธ Havoc Hackathon

**Pit AI models against each other. Score them sealed. Crown a winner. All built using the GitHub Copilot CLI. โšก**

[![GitHub](https://img.shields.io/badge/GitHub-Copilot_CLI-blue?logo=github)](https://github.com/features/copilot)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Security Policy](https://img.shields.io/badge/Security-Policy-brightgreen?logo=github)](SECURITY.md)

> ### โšก One Command. That's It.
>
> **Never used the CLI before? No problem.** Follow these 3 steps:
>
> **1. Open your terminal**
> - ๐ŸŽ **Mac:** Press `โŒ˜ + Space`, type **Terminal**, hit Enter
> - ๐ŸชŸ **Windows:** Press `Win + X`, choose **Terminal** or **PowerShell**
> - ๐Ÿง **Linux:** Press `Ctrl + Alt + T`
>
> **2. Paste this line and press Enter:**
> ```bash
> curl -fsSL https://raw.githubusercontent.com/DUBSOpenHub/havoc-hackathon/main/quickstart.sh | bash
> ```
> *Already have the CLI? No worries โ€” this detects it and skips straight to adding the skill.*
>
> **3. When Copilot opens, type:** `run hackathon`
>
> That's it โ€” let the models compete! ๐ŸŸ๏ธ
>
> *Requires an active [Copilot subscription](https://github.com/features/copilot/plans). [Get one here โ†’](https://github.com/features/copilot/plans)*

---


Havoc Hackathon Demo โ€” terminal preview showing ELO leaderboard, tournament heats, ensemble synthesis, and winner reveal


โ–ฒ Preview of a 13-model tournament: ELO leaderboard โ†’ 4 heats โ†’ finals โ†’ ensemble synthesis โ†’ winner reveal ยท python3 docs/demo/demo.py to run locally

---

## ๐Ÿค” What Is This?

**Havoc Hackathon** is a multi-model orchestration skill for the [Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-copilot-cli) that turns your terminal into a competitive arena. Give it any task, code, copy, design, architecture, naming, anything, and it dispatches up to **13 current full-size AI models** in tournament elimination heats, scores them with sealed judge panels, evolves the best ideas between rounds, synthesizes the final output from collective intelligence across all finalists, and tracks persistent ELO ratings so it gets smarter over time. No servers, no API keys, just a skill file and your terminal.

### ๐Ÿ’ฌ The Problem

You ask one AI model and hope for the best. But one model gives you one perspective with unknown quality - no baseline, no comparison, no way to know if the output is great or just okay. Havoc Hackathon lets you throw any idea into the arena and see how multiple AIs attack it independently, then find out which approach actually holds up under sealed evaluation.

### โšก What Makes It Different

- ๐ŸŸ๏ธ **Tournament mode** โ€“ up to 13 current full-size models compete in elimination heats, not just 3
- ๐Ÿงฌ **Evolution between rounds** โ€“ Round 2 finalists learn what won Round 1
- ๐Ÿ—ณ๏ธ **Ensemble synthesis** โ€“ voting merge across all finalists (CONSENSUS/MAJORITY/UNIQUE)
- ๐Ÿ”’ **Sealed judging** โ€“ judges never see which model wrote what
- โš–๏ธ **Per-heat judge panels** โ€“ 3 judges ร— N heats running in parallel
- ๐Ÿ”„ **Self-correcting scores** โ€“ rubrics adapt when judges disagree
- ๐Ÿ“ˆ **Persistent leaderboard** โ€“ tracks which models actually deliver over time
- ๐Ÿ† **Full ceremony** โ€“ podiums, drumrolls, and dramatic reveals in your terminal
- ๐Ÿ“„ **Zero infrastructure** โ€“ no servers, no API keys, no build step

---

## ๐Ÿ“ฆ Install (30 seconds)

### Prerequisites

- [GitHub Copilot CLI](https://github.com/github/copilot-cli) installed
- An active [Copilot subscription](https://github.com/features/copilot/plans)

### Add the Skill

#### Instant Install (no clone needed) โšก

```bash
mkdir -p ~/.copilot/skills/havoc-hackathon ~/.copilot/agents && \
curl -sL https://raw.githubusercontent.com/DUBSOpenHub/havoc-hackathon/main/skills/havoc-hackathon/SKILL.md \
-o ~/.copilot/skills/havoc-hackathon/SKILL.md && \
curl -sL https://raw.githubusercontent.com/DUBSOpenHub/havoc-hackathon/main/agents/havoc-hackathon.agent.md \
-o ~/.copilot/agents/havoc-hackathon.agent.md && \
curl -sL https://raw.githubusercontent.com/DUBSOpenHub/havoc-hackathon/main/agents/grid-medic.agent.md \
-o ~/.copilot/agents/grid-medic.agent.md && \
echo "โœ… Installed! Run /skills reload in Copilot CLI, then say: run hackathon"
```

#### Full Install (clone the repo)

```bash
git clone https://github.com/DUBSOpenHub/havoc-hackathon.git && \
mkdir -p ~/.copilot/skills ~/.copilot/agents && \
cp -r havoc-hackathon/skills/havoc-hackathon ~/.copilot/skills/ && \
cp havoc-hackathon/agents/*.agent.md ~/.copilot/agents/ && \
echo "โœ… Havoc Hackathon installed! Run /skills reload in Copilot CLI."
```

Other options

**Auto-discovery (run from repo):**

```bash
git clone https://github.com/DUBSOpenHub/havoc-hackathon.git
cd havoc-hackathon
copilot
```

The skill at `.github/skills/havoc-hackathon/` is automatically discovered - no copy needed.

---

## ๐ŸŽฎ Run Your First Hackathon

### Run a Hackathon

```
> run hackathon - build a REST API for a todo app
```

```
> run hackathon - review this PR for security issues
```

```
> run hackathon - design a landing page hero section
```

### What Happens

1. **๐ŸŽฌ Opening Ceremony** - Arena banner, mode selection (Tournament or Classic), model tier (โšก Standard or ๐Ÿ‘‘ Premium), contestant lineup, scoring rubric
2. **๐Ÿ Round 1 - Heats** - All models dispatched in parallel across elimination heats with live commentary
3. **โš–๏ธ Per-Heat Judging** - 3-judge sealed panels score each heat independently (up to 12 judge agents in parallel)
4. **๐Ÿงฌ Evolution Brief** - Orchestrator summarizes what strategies won each heat (zero extra LLM calls)
5. **๐Ÿ Round 2 - Finals** - Heat winners compete with Evolution Brief prepended to their prompt
6. **๐Ÿ† Winner Reveal** - Drumroll โ†’ fireworks โ†’ ASCII podium โ†’ detailed scoreboard
7. **๐Ÿ—ณ๏ธ Ensemble Synthesis** - Voting merge across ALL finalists (CONSENSUS/MAJORITY/UNIQUE)
8. **๐Ÿ“ˆ ELO Update** - Per-round leaderboard changes with commentary
9. **๐Ÿซก Closing Ceremony** - Tournament bracket recap, final stats, optional replay export

### Customize

- Choose model tier: `"run hackathon with premium models"` or `"run hackathon with standard models"`
- Choose specific models: `"hackathon with opus, gemini, and codex"`
- Classic mode (3 models, no heats): `"run hackathon quick"` or `"run hackathon fast"`
- Set custom rubric: `"judge on security, performance, and readability"`
- Preflight check: `"dry run"` or `"preflight"` to validate setup without running a real hackathon
- Show stats: `"show leaderboard"` or `"show stats"` anytime

๐Ÿ“ผ Example Run - Full Hackathon Transcript (Premium Tier)

```
> run hackathon - write a Mass Effect themed motivational quote for open source developers

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘ โšก H A V O C H A C K A T H O N โšก โ•‘
โ•‘ โ•‘
โ•‘ ๐ŸŸ๏ธ THE ARENA IS READY. THE AI MODELS ARE READY TO COMPETE. ๐ŸŸ๏ธ โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐ŸŽฏ TASK: Write a Mass Effect themed motivational quote for open source developers

๐Ÿ‘‘ CONTESTANTS:
๐Ÿ”ต GPT-5.5 (Premium)
๐ŸŸฃ Claude Opus 4.7 (Premium)
๐Ÿ”ต Claude Opus 4.6 (Premium)

โš–๏ธ RUBRIC: Clarity ยท Simplicity ยท Relevance ยท Inspiration ยท Memorability (each /10)

3... 2... 1... GO! ๐Ÿ

๐Ÿ ALL MODELS CROSSED THE FINISH LINE!
๐Ÿ”ต GPT-5.5 โœ… 3s โšก Speedrun!
๐ŸŸฃ Claude Opus 4.7 โœ… 4s โšก
๐Ÿ”ต Claude Opus 4.6 โœ… 7s

โš–๏ธ The panel convenes... ๐Ÿ”’ Submissions anonymized. No favoritism. No mercy.
๐Ÿ‘จโ€โš–๏ธ Judges: Claude Opus 4.5 ยท GPT-5.4 ยท Codex GPT-5.2

๐Ÿฅ ... ๐Ÿฅ๐Ÿฅ ... ๐Ÿฅ๐Ÿฅ๐Ÿฅ

๐ŸŽ†๐ŸŽ†๐ŸŽ† AND THE WINNER IS... ๐ŸŽ†๐ŸŽ†๐ŸŽ†

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘ ๐Ÿ† CHAMPION: GPT-5.5 โ•‘
โ•‘ SCORE: 44/50 ยท CONSENSUS: STRONG ยท ALL JUDGES AGREED โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ… THE PODIUM

๐Ÿฅ‡
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ GPT โ”‚
โ”‚ 5.5 โ”‚
โ”‚ โ”‚
๐Ÿฅˆ โ”‚ 44 โ”‚ ๐Ÿฅ‰
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ OPUS โ”‚ โ”‚ โ”‚ โ”‚ OPUS โ”‚
โ”‚ 4.7 โ”‚ โ”‚ โ”‚ โ”‚ 4.6 โ”‚
โ”‚ 42 โ”‚ โ”‚ โ”‚ โ”‚ 40 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“Š DETAILED SCOREBOARD
Category ๐Ÿฅ‡ GPT-5.5 ๐Ÿฅˆ Opus 4.7 ๐Ÿฅ‰ Opus 4.6
Clarity 9 9 8
Simplicity 8 8 8
Relevance 9 9 8
Inspiration 9 8 8
Memorability 9 8 8
TOTAL 44/50 42/50 40/50

๐Ÿ“ˆ ELO UPDATE
๐Ÿ“ˆ GPT-5.5 1532 (+32) โฌ†๏ธ
โžก๏ธ Claude Opus 4.7 1500 (ยฑ0)
๐Ÿ“‰ Claude Opus 4.6 1468 (-32) โฌ‡๏ธ

๐Ÿงฌ How would you like to apply the improvements?
> Smart merge โญ (apply high-confidence improvements) โ† SELECTED
> Winner's improvements only
> Review each individually
> Discard all

โœ… Merged! Here's what changed:
Applied Claude Opus 4.6's quote with Codex's tighter phrasing

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘ ๐ŸŸ๏ธ HACKATHON COMPLETE ๐ŸŸ๏ธ โ•‘
โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
โ•‘ ๐Ÿ“‹ Task: Mass Effect motivational quote โ•‘
โ•‘ ๐Ÿ† Winner: Claude Opus 4.6 (43/50) โ•‘
โ•‘ ๐Ÿงฌ Merged: Smart merge โ€” best of Opus + Codex phrasing โ•‘
โ•‘ ๐Ÿ“ˆ ELO: Opus climbs to 1532 โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ“ผ Want the highlight reel?
> Save replay
> Skip

GG WP! Scores logged. ELOs updated. May your diffs be clean and your builds be green. ๐Ÿ’š Until next time... ๐Ÿซก
```

๐Ÿ“ผ **See a [full real-world run transcript](docs/EXAMPLE-RUN.md)** from a Premium tier hackathon where 3 models competed to design a CLI Skills Marketplace.

---

## ๐Ÿ”ง How It Works

```mermaid
flowchart TD
USER["๐Ÿ‘ค User"] --> SKILL["๐ŸŸ๏ธ SKILL.md
Orchestration rules"]
SKILL --> MODE{"Mode?"}
MODE -->|Tournament default| HEATS["โšก Round 1: Elastic Heats
All models dispatched in parallel"]
MODE -->|Classic quick/fast| CLASSIC["โšก Classic: 3 models
Single round"]
HEATS --> H1["Heat 1: 3 models"]
HEATS --> H2["Heat 2: 3 models"]
HEATS --> H3["Heat 3: 3 models"]
HEATS --> H4["Heat 4: 3 models"]
H1 --> JP1["โš–๏ธ Judge Panel 1"]
H2 --> JP2["โš–๏ธ Judge Panel 2"]
H3 --> JP3["โš–๏ธ Judge Panel 3"]
H4 --> JP4["โš–๏ธ Judge Panel 4"]
JP1 --> EVOLUTION["๐Ÿงฌ Evolution Brief
Winning strategies summarized"]
JP2 --> EVOLUTION
JP3 --> EVOLUTION
JP4 --> EVOLUTION
EVOLUTION --> FINALS["๐Ÿ Round 2: Finals
Heat winners + Evolution Brief"]
FINALS --> FJUDGE["โš–๏ธ Finals Judge Panel"]
CLASSIC --> CJUDGE["โš–๏ธ Judge Panel"]
FJUDGE --> ENSEMBLE["๐Ÿ—ณ๏ธ Ensemble Synthesis
CONSENSUS / MAJORITY / UNIQUE"]
CJUDGE --> MERGE["๐Ÿงฌ Smart Merge"]
ENSEMBLE --> ELO["๐Ÿ“ˆ ELO Update"]
MERGE --> ELO
ELO --> CLOSING["๐ŸŸ๏ธ Closing Ceremony"]
SKILL --> SQL["๐Ÿ—„๏ธ SQL
ELO & history"]
```

---

## ๐Ÿ“ Project Structure

```
havoc-hackathon/
โ”œโ”€โ”€ .github/
โ”‚ โ”œโ”€โ”€ CODEOWNERS โ† ๐Ÿ‘‘ Code ownership rules
โ”‚ โ”œโ”€โ”€ ISSUE_TEMPLATE/ โ† ๐Ÿ› Bug & feature templates
โ”‚ โ”œโ”€โ”€ PULL_REQUEST_TEMPLATE.md โ† ๐Ÿ“ PR checklist
โ”‚ โ”œโ”€โ”€ dependabot.yml โ† ๐Ÿค– Automated dependency updates
โ”‚ โ”œโ”€โ”€ workflows/
โ”‚ โ”‚ โ””โ”€โ”€ validate.yml โ† โœ… CI: structural validation + YAML check
โ”‚ โ”œโ”€โ”€ DISCUSSION_TEMPLATE/
โ”‚ โ”‚ โ””โ”€โ”€ share-your-run.yml โ† ๐Ÿ“ผ Share your hackathon results
โ”‚ โ””โ”€โ”€ skills/
โ”‚ โ””โ”€โ”€ havoc-hackathon/
โ”‚ โ””โ”€โ”€ SKILL.md โ† ๐ŸŸ๏ธ Auto-discovered skill
โ”œโ”€โ”€ agents/
โ”‚ โ”œโ”€โ”€ havoc-hackathon.agent.md โ† ๐Ÿค– Agent config (tournament orchestrator)
โ”‚ โ””โ”€โ”€ grid-medic.agent.md โ† ๐Ÿš‘ Self-healing agent (recursive improvement loop)
โ”œโ”€โ”€ docs/
โ”‚ โ”œโ”€โ”€ TECHNICAL.md โ† ๐Ÿ”ฌ Technical deep-dive
โ”‚ โ”œโ”€โ”€ demo-hackathon-prompt.md โ† ๐ŸŽฏ Competition prompt for demo
โ”‚ โ”œโ”€โ”€ demo/
โ”‚ โ”‚ โ”œโ”€โ”€ demo.py โ† ๐ŸŽฌ 20s terminal animation (stdlib only)
โ”‚ โ”‚ โ”œโ”€โ”€ demo.tape โ† ๐Ÿ“ผ VHS tape for GIF recording
โ”‚ โ”‚ โ””โ”€โ”€ demo.gif โ† ๐Ÿ–ผ๏ธ Recorded GIF (after vhs run)
โ”‚ โ””โ”€โ”€ images/ โ† ๐Ÿ“ท Screenshots
โ”œโ”€โ”€ skills/
โ”‚ โ””โ”€โ”€ havoc-hackathon/
โ”‚ โ”œโ”€โ”€ SKILL.md โ† ๐ŸŸ๏ธ Canonical skill source
โ”‚ โ””โ”€โ”€ catalog.yml โ† ๐Ÿ“‹ Catalog metadata
โ”œโ”€โ”€ tests/
โ”‚ โ”œโ”€โ”€ validate_skill.py โ† ๐Ÿงช Structural validation (60 checks)
โ”‚ โ”œโ”€โ”€ preflight.py โ† ๐Ÿ”ง Offline preflight validator
โ”‚ โ””โ”€โ”€ dry_run_sim.py โ† ๐ŸŸ๏ธ Full 9-phase dry-run simulator (69 checks)
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ CHANGELOG.md โ† ๐Ÿ“‹ Version history
โ”œโ”€โ”€ CODE_OF_CONDUCT.md โ† ๐Ÿค Contributor Covenant
โ”œโ”€โ”€ CONTRIBUTING.md โ† ๐Ÿ› ๏ธ How to contribute
โ”œโ”€โ”€ GALLERY.md โ† ๐Ÿ† Best hackathon runs showcase
โ”œโ”€โ”€ LICENSE โ† ๐Ÿ“„ MIT
โ”œโ”€โ”€ SECURITY.md โ† ๐Ÿ”’ Security policy
โ”œโ”€โ”€ TESTING.md โ† ๐Ÿงช Conversation playbooks & QA
โ””โ”€โ”€ README.md โ† ๐Ÿ‘‹ You are here!
```

---

## ๐Ÿค– Models

| Display Name | Model ID | Tier |
|-------------|----------|------|
| Claude Opus 4.7 | `claude-opus-4.7` | Premium |
| Claude Opus 4.7 (1M) | `claude-opus-4.7-1m-internal` | Premium |
| Claude Opus 4.6 | `claude-opus-4.6` | Premium |
| Claude Opus 4.6 (1M) | `claude-opus-4.6-1m` | Premium |
| Claude Opus 4.5 | `claude-opus-4.5` | Premium |
| GPT-5.5 | `gpt-5.5` | Premium |
| Claude Sonnet 4.6 | `claude-sonnet-4.6` | Standard |
| Claude Sonnet 4.5 | `claude-sonnet-4.5` | Standard |
| Claude Sonnet 4 | `claude-sonnet-4` | Standard |
| GPT-5.4 | `gpt-5.4` | Standard |
| Codex (GPT-5.3) | `gpt-5.3-codex` | Standard |
| Codex (GPT-5.2) | `gpt-5.2-codex` | Standard |
| GPT-5.2 | `gpt-5.2` | Standard |
| Claude Haiku 4.5 | `claude-haiku-4.5` | Fast/Cheap |
| GPT-5.4 Mini | `gpt-5.4-mini` | Fast/Cheap |
| GPT-5 Mini | `gpt-5-mini` | Fast/Cheap |
| GPT-4.1 | `gpt-4.1` | Fast/Cheap |

**Default contestants (Standard โšก):** Claude Sonnet 4.6, GPT-5.4, GPT-5.2
**Default contestants (Premium ๐Ÿ‘‘):** GPT-5.5, Claude Opus 4.7, Claude Opus 4.6
**Default judges (Standard โšก):** Claude Sonnet 4.5, Codex (GPT-5.3), Codex (GPT-5.2)
**Default judges (Premium ๐Ÿ‘‘):** Claude Opus 4.5, GPT-5.4, Codex (GPT-5.2)

> ๐Ÿ’ก **Tip:** Standard models are selected by default. Say `"run hackathon with premium models"` to use the heavy hitters.

---

## ๐Ÿš‘ Grid-Medic: Recursive Self-Improvement

Havoc Hackathon ships with **Grid-Medic**, a self-healing agent that monitors your agent fleet. When it detects an underperforming agent (โ‰ค5/10 quality or 3+ critical errors), it **automatically escalates to a Havoc Hackathon** - up to 13 current full-size models compete to rewrite the broken agent, the best version is merged, and Grid-Medic re-diagnoses to confirm the fix.

```
Grid-Medic diagnoses agent fleet
โ”œโ”€โ”€ Score > 5/10 โ†’ surgical fix (validate + apply)
โ””โ”€โ”€ Score โ‰ค 5/10 โ†’ ๐Ÿšจ ESCALATE
โ†’ Havoc Hackathon: up to 13 current full-size models compete to rewrite it
โ†’ Ensemble synthesis merges best parts
โ†’ Grid-Medic re-diagnoses โ†’ confirms improvement
```

Install: `cp agents/grid-medic.agent.md ~/.copilot/agents/`

---

## ๐Ÿ† Gallery

See the best hackathon runs from the community in [GALLERY.md](GALLERY.md).

**Share your own run!** After a hackathon, choose "Save replay" and post it in [Discussions](https://github.com/DUBSOpenHub/havoc-hackathon/discussions/new?category=show-and-tell).

---

## ๐Ÿ”ง Preflight Check

Not sure if everything is set up correctly? Run a dry-run before your first hackathon:

```
> dry run
```

This runs a **full 9-phase simulation** with mock data โ€” validating SQL tables, bracket math, ELO calculations, judge separation, smart mode detection, scoring logic, ensemble voting, and more โ€” all without burning tokens on a real competition. Then it pings each model to confirm availability.

You can also run the offline validators locally:

```bash
python3 tests/validate_skill.py # 60 structural checks
python3 tests/preflight.py # SQL, bracket math, file structure
python3 tests/dry_run_sim.py # Full 9-phase simulation (69 checks)
```

---

## ๐Ÿ”’ Security

See [SECURITY.md](SECURITY.md) for our security policy and how to report vulnerabilities.

---

## ๐Ÿค Contributing

Got ideas to make the arena even better? ๐ŸŽจ See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide!

**Quick ways to help:**
- ๐Ÿ› [Report a bug](https://github.com/DUBSOpenHub/havoc-hackathon/issues/new?template=bug_report.md)
- ๐Ÿ’ก [Suggest a feature](https://github.com/DUBSOpenHub/havoc-hackathon/issues/new?template=feature_request.md)
- ๐Ÿ“ผ [Share a hackathon run](https://github.com/DUBSOpenHub/havoc-hackathon/discussions/new?category=show-and-tell)

See [TESTING.md](TESTING.md) for conversation playbooks and QA checklists.

---

## ๐Ÿ“„ License

[MIT](LICENSE) - use it, share it, remix it! ๐ŸŽถ

---

## ๐Ÿ™ Created with ๐Ÿ’œ by [@DUBSOpenHub](https://github.com/DUBSOpenHub) with the [GitHub Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-copilot-cli).

Let's build! ๐Ÿš€โœจ