|
Download README.md from Snapkitty/forge-code: direct link, hf CLI and curl.
- Browser
- Download file 3.35 kB
-
https://huggingface.co/datasets/Snapkitty/forge-code/resolve/main/README.md
- Command line
-
hf download hf://datasets/Snapkitty/forge-code/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Snapkitty/forge-code/resolve/main/README.md
3.35 kB
| language: | |
| - en | |
| license: mit | |
| tags: | |
| - elixir | |
| - erlang | |
| - beam | |
| - compiler | |
| - tournament | |
| - mcp | |
| - agent-built | |
| - formal-verification | |
| - sovereign | |
| - snapkitty | |
| - provenance | |
| - scoring | |
| task_categories: | |
| - text-generation | |
| - text-classification | |
| size_categories: | |
| - n<1K | |
| pretty_name: FORGE CODE — Elixir Tournament | |
| # FORGE CODE: ELIXIR TOURNAMENT | |
| **Built by an agent. Verified by a tournament. Mistral competed via MCP.** | |
| SnapKitty West / SNAPKITTYWEST — *Evidence or Silence — 2026* | |
| --- | |
| ## Origin — Proof of Concept | |
| This repository is not hand-written code. It is the **artifact produced by Forge**, Ahmad's agent, which: | |
| 1. Hooked Mistral (and other agents) into the pipeline via MCP | |
| 2. Ran a tournament where agents competed to build the system | |
| 3. The tournament output **is this repo** — a working Elixir compiler harness | |
| This proves the agent-farm-gauntlet loop closes: | |
| ``` | |
| Forge agent → MCP → Tournament (Mistral + agents) → Artifact (forge-code) | |
| ``` | |
| The commit attribution includes Mistral Vibe as co-author. This is the receipt. | |
| --- | |
| ## What It Is | |
| A full Elixir tournament system for compiler evaluation, with: | |
| - BEAM IR pipeline | |
| - Pratt parser + field access + dict literals | |
| - Provenance tracking (every artifact traced to its origin) | |
| - Tournament scoring engine | |
| - Formal semantics layer | |
| - 23/23 tests passing | |
| --- | |
| ## Repository Structure | |
| ``` | |
| forge-code/ | |
| ├── lib/forge/ | |
| │ ├── elixir_ast.ex Elixir AST transformer | |
| │ └── erlang_forms.ex Erlang abstract forms bridge | |
| ├── docs/ | |
| │ ├── CLI.md Command interface | |
| │ ├── PROVENANCE.md Artifact provenance tracking | |
| │ ├── SCORING.md Tournament scoring methodology | |
| │ ├── SECURITY.md Security model | |
| │ ├── SUPPORTED_OTP.md OTP version matrix | |
| │ └── TOURNAMENT.md Tournament architecture | |
| ├── test/ | |
| │ ├── beam_test.exs | |
| │ ├── binary_parser_test.exs | |
| │ ├── ir_test.exs | |
| │ ├── provenance_test.exs | |
| │ ├── semantics_test.exs | |
| │ ├── tournament_test.exs | |
| │ └── compiler_test.exs | |
| └── mix.exs | |
| ``` | |
| --- | |
| ## Test Status | |
| | Suite | Status | | |
| |---|---| | |
| | compiler_test | passing | | |
| | beam_test | passing | | |
| | binary_parser_test | passing | | |
| | ir_test | passing | | |
| | provenance_test | passing | | |
| | semantics_test | passing | | |
| | tournament_test | passing | | |
| | **Total** | **23/23** | | |
| --- | |
| ## Tournament Architecture | |
| The tournament runs agents in competition. Each agent receives the same specification. Outputs are scored on: | |
| - Correctness (formal semantics match) | |
| - Provenance (full artifact trace) | |
| - Coverage (test breadth) | |
| - IR fidelity (BEAM form accuracy) | |
| The winning output becomes the canonical implementation. Mistral Vibe co-authored this build. | |
| --- | |
| ## Related Repos | |
| | Repo | Description | | |
| |---|---| | |
| | [SNAPKITTYWEST/sov](https://huggingface.co/datasets/SNAPKITTYWEST/sov) | Sovereign Package Switchboard — the runtime layer | | |
| | [SNAPKITTYWEST/sovereign-training-corpus](https://huggingface.co/datasets/SNAPKITTYWEST/sovereign-training-corpus) | Training corpus | | |
| | [SNAPKITTYWEST/burt-imma](https://huggingface.co/SNAPKITTYWEST/burt-imma) | MMEP model architecture | | |
| | [GitHub](https://github.com/SNAPKITTYWEST/forge-code) | Source repository | | |
| --- | |
| ## License | |
| MIT | |