LATTICE Autoresearch Ratchet Driver

Community

Drive score-gated code improvements safely.

AuthorJeromyJSmith
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It automates a reproducible “ratchet loop” that turns a targeted section’s goal into a proposal, safely applies it only when a score improves, and records every decision for later debugging.

Core Features & Use Cases

  • Single-section improvement cycle: Runs one autoresearch cycle for a chosen section (e.g., schema, api, frontend) while preventing concurrent runs via a single-writer lock.
  • Unified-diff proposal with apply gating: Generates a unified diff using Codex, validates it with git apply --check, then accepts only if score_after > score_before.
  • Full audit trail for diagnosis: Logs outcomes (accepted/rejected), diffs, scores, and events to Pixeltable harness tables for review and recovery from failures.

Quick Start

Ask the system to run one LATTICE autoresearch cycle for a specific section, for example: “Run one autoresearch ratchet cycle for the api section and report whether the proposal was accepted or rejected, including score_before and score_after.”

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: LATTICE Autoresearch Ratchet Driver
Download link: https://github.com/JeromyJSmith/lattice-platform/archive/main.zip#lattice-autoresearch-ratchet-driver

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.