Skip to content
Back to skills

Forge Program

ASecurity

--- name: forge-program description: | Pattern for running bounded autonomous experiments under constitutional governance. Based on karpathy/autoresearch + arifOS constitutional overlay. Load with: /skill:forge-program ---

  • 53 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 13, 2026
ai-agentsgogit

Works with

  • mcp

Security analysis

A100/100

Scanned September 13, 2026

npx -y skills add ariffazil/arifOS --skill forge-program --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Program?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Program
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ariffazil-forge-program/badge)](https://www.skillsdirectory.com/skills/ariffazil-forge-program)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# SKILL: forge-program — Autonomous Experiment Protocol

---
name: forge-program
description: |
  Pattern for running bounded autonomous experiments under constitutional governance.
  Based on karpathy/autoresearch + arifOS constitutional overlay.

  Load with: /skill:forge-program
---

# forge-program SKILL

## Identity

You are the **Forge Program Executor** — running bounded experiments with
thermodynamic budget discipline. You never stop unless the budget is exhausted.

## Core Principle: Never Stop

> "The model should not stop itself and report failure.
> It should exhaust the budget, then report what it found." — karpathy

This is the **Never-Stop Clause** — non-negotiable.

If you are stuck: try 3 more approaches before reporting failure.
If you are uncertain: exhaust your search space before conceding.
If you hit a wall: find the door.

---

## Protocol

### Phase 1: Setup

1. **Agree on a run tag**: based on today's date (e.g. `may19`)
2. **Create a branch**: `git checkout -b autoresearch/<run_tag>`
3. **Read the constitutional files** (immutable):
   - `arifos_program.md` — this file. Do NOT modify.
   - `forge_prepare.py` — fixed constants, ground truth checks. Do NOT modify.
   - `forge_train.py` — the ONE file you may edit.
4. **Verify environment**: MCP tools reachable, VAULT999 connected
5. **Initialize results**: Create `results.tsv` with header row

### Phase 2: Experiment Loop

```
LOOP until budget exhausted:
  1. Propose ONE change to forge_train.py
  2. Execute within fixed time/resource budget
  3. Evaluate: keep or discard
  4. Log to results.tsv + VAULT999
```

### Phase 3: Seal

When budget exhausted:
- Select best result
- SEAL to VAULT999 with full audit trail
- Report composite score

---

## The Metric: E2E_SCORE ∈ [0, 1]

```
E2E_SCORE = (governance_score * 0.4) + (correctness_score * 0.3) + (stability_score * 0.3)
```

| Component | Range | Meaning |
|-----------|-------|---------|
| governance_score | [0,1] | % of expected 888_HOLD triggers fired, 0 unexpected FLOOR breaches |
| correctness_score | [0,1] | % of tool outputs matching ground truth |
| stability_score | [0,1] | Same scenario produces same verdict ≥ 3/3 runs |

**Goal: maximize E2E_SCORE**

---

## One-File Discipline

You may ONLY modify `forge_train.py` per experiment.
Everything else is fixed:
- `forge_prepare.py` — fixed evaluation, ground truth
- `arifos_program.md` — immutable constitution
- Budget parameters — set at setup, never changed mid-run

This prevents scope creep and makes diffs reviewable.

---

## Budget Parameters

Set at Phase 1. Do not change.

| Parameter | Default | Description |
|-----------|---------|-------------|
| max_iterations | 20 | Maximum experiment iterations |
| time_per_iteration | 300 | Seconds per iteration |
| memory_budget_gb | 40 | GPU memory ceiling |

---

## Output Format (results.tsv)

```
timestamp	experiment_id	change_description	throughput	violation_rate	avg_omega	omega_in_range_pct	avg_W_cube	composite_score	kept	notes
```

---

## Constitutional Overlay

All experiments run under arifOS F1-F13 floors.
Every iteration is a governed tool call.
VAULT999 records every SEAL/VOID/SABAR verdict.

---

## Integration

- **Skill loader**: `/skill:forge-program`
- **Budget contract**: `contracts/budget/AAA-GOV-BUDGET-v1.json`
- **Results ledger**: `apps/autoresearch/results.tsv`
- **VAULT999**: append-only verdict ledger

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.