forge-code / README.md
SNAPKITTYWEST's picture
Relicense to AGPL-3.0 with commercial license option
ff962f3 verified
|
Raw History Blame Contribute Delete
3.99 kB
metadata
license: agpl-3.0
language:
  - en
tags:
  - elixir
  - erlang
  - beam
  - compiler
  - tournament
  - mcp
  - agent-built
  - formal-verification
  - sovereign
  - snapkitty
  - provenance
  - scoring
  - developer-tools
  - python
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 Sovereign Package Switchboard — the runtime layer
SNAPKITTYWEST/sovereign-training-corpus Training corpus
SNAPKITTYWEST/burt-imma MMEP model architecture
GitHub Source repository

License

Licensed under AGPL-3.0. Full text: LICENSE.

Releases published before 2026-10-07 were licensed under MIT; copies obtained under those terms keep them.

💼 Commercial License

SnapKitty code is free and open under AGPL-3.0 for open-source use. Building a commercial product or service? A proprietary commercial license from Snapkitty Collective LLC lets you ship this code without the AGPL's source-sharing and network-use obligations.

→ Get a commercial license · A.parr@belespritdaccord.uk