-
-
Notifications
You must be signed in to change notification settings - Fork 0
Template Guide
Lodri Péter edited this page Jun 25, 2026
·
1 revision
This repo is a loop-experiment-researcher template. Scaffold a new research project from an idea to a published manuscript.
git clone https://github.com/peterlodri-sec/longrun-eval-kompress.git my-research
cd my-research
python template/scaffold.py --name "my-research" --description "Studying X via loop Y"Or click "Use this template" on GitHub.
my-research/
├── loop/ ← The loop scaffold
│ ├── STATE.md ← Durable memory spine
│ ├── SKILL.md ← Project conventions
│ ├── genesis.md ← Genesis contract
│ └── loop.py ← Four-phase runner: Plan → Execute → Evaluate → Decide
├── paper/ ← LaTeX manuscript
├── baselines/ ← Baseline comparison scripts
├── mcp_server/ ← MCP server for agent interaction
├── notebook.py ← Marimo interactive notebook
├── site/ ← HTML sites
├── .github/ ← CI workflows
├── .devcontainer/ ← Full dev environment
└── ... (AGENTS.md, README, LICENSE, etc.)
- Write the genesis contract (
loop/genesis.md) - Write the skill file (
loop/SKILL.md) - Run the loop:
python loop/loop.py "your hypothesis" - Each iteration: Plan → Execute → Evaluate → Decide
- The correctable loop invariant: 3 iterations, no improvement → stop
- Write up in
paper/
See template/README.md for the full guide.