#loom-builder-sol
97 files tagged loom-builder-sol.
Hardening Report Universal Artifact Contract 2026 06 17
--- title: "Hardening report — Universal Dispatch Artifact Contract" date: 2026-06-17 author: Claude (Opus 4.8), Operati…
Model Roster
# MODEL_ROSTER — single entry point for executor model availability **This file is THE place to update when model provi…
Claude Digest
# CLAUDE_DIGEST — loom-builder-sol 0.80.10 Migration ## Migration Summary Migrated `/home/mikes/leverage-loops-project…
Index
console.log("Hello via Bun!");
Auto 2E939D30 B295 40B9 A469 1781176691.V1
# auto-2e939d30-b295-40b9-a469--1781176691 ## When to use - Migrating an autonomous loop harness to a new model provide…
Executor Model Cards
# EXECUTOR MODEL CARDS — handout for orchestrator agents You are an orchestrator (glm-5.2 / kimi-k2.7-code). **Delegate…
Loom Realworld Test Report Cms V2 2026 06 10.Md.Meta
{ "title": "LOOM Real-World Test Report — CMS v2", "category": "test-report", "properties": {"harness": "loom-buil…
Review
#!/usr/bin/env bash # loom-builder review.sh — commit-pinned Gemini review of a sprint diff. # Round-1 lesson: reviews a…
Contract Audit
# Contract Audit Report — Dispatch Artifact Contract **Date**: 2026-07-02 **Auditor**: ClaudeArchitect (executor agen…
Tsconfig
{ "compilerOptions": { // Environment setup & latest features "lib": ["ESNext"], "target": "ESNext", "…
Loom Realworld Test Report Cms V2 2026 06 10
# LOOM Real-World Test Report — LEVERAGEAI CMS v2 **Date:** 2026-06-10/11 · **Harness:** loom-builder (`dispatch.sh` → …
Hardening Report Universal Artifact Contract 2026 06 17.Md.Meta
{ "title": "Hardening report — Universal Dispatch Artifact Contract", "created": "2026-06-17", "author": "Claude O…
Readme
# loom-builder Dispatch system for agent pipelines (pi/Claude/Gemini orchestration). ## Gate packs (versioned, scoped …
Manifest
{ "specId": "docs-batch-002", "verdict": "COMPLETE", "status": "DONE", "model": "deepseek/deepseek-v4-flash", …
Package
{ "name": "loom-builder-sol", "module": "index.ts", "devDependencies": { "@types/bun": "latest", "bun-type…
Run Graphify
#!/bin/bash PYTHON="" GRAPHIFY_BIN=$(which graphify 2>/dev/null) if [ -z "$PYTHON" ] && command -v uv >/dev/null 2>&1; t…
Agents
# AGENTS.md — loom-builder-sol ## Isolation Contract This is a **fully isolated clone** of loom-builder, dedicated to …
Dispatch
#!/usr/bin/env bash # loom-builder-sol dispatch wrapper — isolated instance for openai-codex/sol models. # Usage: /home/…
2026 06 10 123225 Wsllocalhostubuntu 2404Homemikesleverage
▐▛███▜▌ Claude Code v2.1.170 ▝▜█████▛▘ Fable 5 · Claude Pro ▘▘ ▝▝ ~/leverage-loops-projects/loom-builder ▎ Fab…
Claude
Default to using Bun instead of Node.js. - Use `bun <file>` instead of `node <file>` or `ts-node <file>` - Use `bun tes…
Model Roster
{ "fallbacks": { "openrouter": [ { "provider": "openai-codex", "id": "gpt-5.5", "reason": "OpenRouter credit…
Validate Categorization
#!/usr/bin/env bash # Deterministic quality gate for artifact categorization. # Exit 0 = PASS, exit 1 = FAIL. No LLM nee…
Governance
# Gate Governance (Phase 0) **Rule N15**: a gate pack file under `gates/v*/` is IMMUTABLE once it appears in `gates/MAN…
Manifest
{ "manifest_version": 2, "packs": { "v1.0.0/corpus-analysis": { "extends": "v1.0.0/default", "path":…
Hubcli
{ "scope": "hubcli", "description": "Fidelity gates for hubcli corpus porting: pytest, retention/structure counts on…
Default
{ "scope": "default", "description": "Base gate pack v1.1.0: RESULT: PASS grep + stale-digest mtime guard + verify-r…
Corpus Analysis
{ "scope": "corpus-analysis", "description": "Analysis gate pack: digest PASS, report exists, word-count band, requi…
Locked
# LOCKED marker — this version directory is immutable. # To make changes, copy v1.1.0/ to v1.2.0/ and edit the new direc…
Hubcli
{ "scope": "hubcli", "description": "Fidelity gates for hubcli corpus porting: pytest, retention/structure counts on…
Default
{ "scope": "default", "description": "Base gate pack: RESULT: PASS grep + stale-digest mtime guard", "validation":…
Corpus Analysis
{ "scope": "corpus-analysis", "description": "Analysis gate pack: digest PASS, report exists, word-count band, requi…
Locked
# LOCKED marker — this version directory is immutable. # To make changes, copy v1.0.0/ to v1.1.0/ and edit the new direc…
Hubcli
{ "scope": "hubcli", "description": "Fidelity gates for hubcli corpus porting: pytest, retention/structure counts on…
Default
{ "scope": "default", "description": "Base gate pack v1.1.1: RESULT: PASS grep + stale-digest mtime guard (v1.1.1: v…
Corpus Analysis
{ "scope": "corpus-analysis", "description": "Analysis gate pack: digest PASS, report exists, word-count band, requi…
Locked
# LOCKED marker — this version directory is immutable. # To make changes, copy v1.1.0/ to v1.2.0/ and edit the new direc…
Integrationard Phase0 Gate Governance 2026 07 07
# Integration ARD: phase0-gate-governance → loom-builder + pi-cybernetic **Date:** 2026-07-07 **Author:** Read-only int…
Pi Cybernetic Memory System Guide
# Pi Cybernetic Memory System Guide Pointer Canonical guide: `C:\Users\mikes\.codex\codex_memory\projects\pi-cyberneti…
Smoke
{ "id": "smoke", "promptFile": "prompts/smoke.md", "purpose": "Smoke test for loom-builder-sol isolation. Write a …
Batch 002.Analysis
# Batch 002 Analysis Report ## Mission Analyze all 12 documents in batch 002 of the docs corpus. Produce one consolida…
Cards
{"slug": "-understand-anything--trash-1781697066-tmp-recon-output-md", "quality_score": 4, "staleness": "STALE", "overla…
Pre Commit Gate Guard
#!/usr/bin/env python3 """pre_commit_gate_guard.py — git pre-commit enforcement of N15 (layer 3). Rules: 1. Any stage…
Pre Commit
#!/usr/bin/env bash # Versioned pre-commit shim (installed via `git config core.hooksPath .githooks`). # All logic lives…
Verify Run
#!/usr/bin/env bash # verify-run.sh — verify a loom-builder run directory. # Usage: scripts/verify-run.sh <runDir> # Exi…
Spec Lint Gates
#!/usr/bin/env python3 """spec_lint_gates.py — lint dispatch specs for gate governance (N16 + fidelity). Checks, per sp…
Test Gate Governance
#!/usr/bin/env python3 """test_gate_governance.py — N10 discipline applied to the governance system. Every enforcement …
Gate Manifest
#!/usr/bin/env python3 """gate_manifest.py — single hashing authority for the gate governance system. Every component (…
Cut Gate Version
#!/usr/bin/env python3 """cut_gate_version.py — the ONLY sanctioned way a gate pack changes (N15/N17). Creates gates/v<…
Gate Analysis
# Gate Analysis **Timestamp:** 2026-07-17T23:37:35.443Z **Total gates:** 2 **LLM available:** yes **CONFLICT verdicts:*…
Gate Analysis
# Gate Analysis **Timestamp:** 2026-07-18T00:07:50.982Z **Total gates:** 2 **LLM available:** yes **CONFLICT verdicts:*…
Claude Digest
# CLAUDE_DIGEST — smoke **Status:** DONE **Attempts:** 1 · **Tool calls:** 1 · **Wallclock:** 5s · **Provider retries:*…
Manifest
{ "id": "smoke", "status": "DONE", "attempts": 1, "toolCalls": 1, "wallclockMs": 4626, "providerRetries": 0,…
Gate Analysis
# Gate Analysis **Timestamp:** 2026-07-17T23:12:25.415Z **Total gates:** 2 **LLM available:** yes **CONFLICT verdicts:*…
Gate Analysis
# Gate Analysis **Timestamp:** 2026-07-18T00:06:06.769Z **Total gates:** 2 **LLM available:** yes **CONFLICT verdicts:*…
Claude Digest
# CLAUDE_DIGEST — smoke **Status:** DONE **Attempts:** 1 · **Tool calls:** 1 · **Wallclock:** 7s · **Provider retries:*…
Manifest
{ "id": "smoke", "status": "DONE", "attempts": 1, "toolCalls": 1, "wallclockMs": 6986, "providerRetries": 0,…
Gate Analysis
# Gate Analysis **Timestamp:** 2026-07-18T00:02:42.702Z **Total gates:** 2 **LLM available:** yes **CONFLICT verdicts:*…
Claude Digest
# CLAUDE_DIGEST — smoke **Status:** DONE **Attempts:** 1 · **Tool calls:** 1 · **Wallclock:** 5s · **Provider retries:*…
Manifest
{ "id": "smoke", "status": "DONE", "attempts": 1, "toolCalls": 1, "wallclockMs": 5288, "providerRetries": 0,…
Settings
{ "hooks": { "PreToolUse": [ { "matcher": "Edit|Write|MultiEdit|NotebookEdit|Bash", "hooks":…
Pretooluse Gate Guard
#!/usr/bin/env python3 """pretooluse_gate_guard.py — Claude Code PreToolUse hook enforcing N15. Blocks Edit/Write/Multi…
Claude Digest
# CLAUDE_DIGEST — AGENTS.md enrichment batch **Date:** 2026-07-15 **Executor:** ClaudeArchitect (this session) **Goal:*…
Manifest
{ "batch": "AGENTS.md enrichment batch", "date": "2026-07-15", "enriched": "14/14", "files_modified": [ "/ho…
Claude Digest
/home/mikes/AnyTool/AGENTS.md — CLEAN checked: 7 claims /home/mikes/analysis/AGENTS.md — CLEAN checked: 4 claims /…
Manifest
{ "reviewed": [ "/home/mikes/AnyTool/AGENTS.md", "/home/mikes/analysis/AGENTS.md", "/home/mikes/artifacts-…
Smoke
# Smoke Test — loom-builder-sol Write the file `/tmp/loom-sol-smoke.txt` with the exact content: ``` sol-ok ``` Nothi…
Types
/** Contract types for loom-builder dispatches. */ export interface ModelRef { provider: string; id: string; } exp…
Gate Packs
import { existsSync, readFileSync, statSync } from "node:fs"; import { join, resolve } from "node:path"; import type { V…
Gate Integrity
/** * gate-integrity.ts — Layer 1 runtime enforcement (A13 / N15 / N16). * * Verifies a spec's pinned gate reference …
Gate Analyzer
/** * gate-analyzer — preflight gate complexity review. * * Runs on EVERY dispatch after spec lint, before the execut…
Purpose.Test
import { describe, expect, test } from "bun:test"; import { injectPurpose, purposeBlock } from "./purpose.js"; describe…
Dispatch Archive.Test
/** * Structural proof of the Dispatch Artifact Contract across paths. * Asserts: on BOTH normal completion AND a SIGT…
Pi Executable
import { existsSync } from "node:fs"; export interface PiExecutableCheck { ok: boolean; path: string; reason: str…
Model Router
import { existsSync, readFileSync } from "node:fs"; import { resolve } from "node:path"; import type { DispatchSpec, Mod…
Spec Lint
/** * Spec-schema lint — validates DispatchSpec at preflight before dispatch. * * Checks: * - Unknown top-level keys…
Preflight Cli
/** * Pre-flight CLI: estimate tokens for a spec and exit non-zero if too large. * Usage: bun run src/preflight-cli.ts…
Preflight
import { readFileSync } from "node:fs"; import { globSync } from "glob"; import { resolve, relative } from "node:path"; …
Pi Executable.Test
import { afterEach, describe, expect, test } from "bun:test"; import { mkdtempSync, rmSync, writeFileSync } from "node:f…
Outcome
import type { DispatchOutcome } from "./types.js"; export type DispatchStatus = DispatchOutcome["status"]; export func…
Run
/** * loom-builder — homeostatic dispatch harness. * Runs one DispatchSpec: agent loop (pi-coding-agent SDK) under har…
Exit Matrix
/** * Exit-code retry matrix — maps process outcomes to verdicts. * * Bug fixed: executor exit -1 previously could re…
Import Lesson
/** * import-lesson.ts — reads enforcement artifacts from pi-cybernetic's file-based * queue and applies them to loom-…
Dispatch Archive
/** * dispatch-archive — THE single source of truth for the Dispatch Artifact Contract. * * Contract (see /home/mikes…
Gate Escalation
/** * gate-escalation — consecutive-failure tracking and diagnostic interrogation. * * When the same validation gate …
Gates
import { createHash } from "node:crypto"; import { GateHaltError, type HaltReason, type ValidationCmd } from "./types.js…
Gate Escalation.Test
import { describe, expect, test } from "bun:test"; import { GateEscalationTracker, buildDiagnosticPrompt, parseDia…
Preflight.Test
/** * Tests for token-cliff gate: pre-flight estimate, runtime ceiling, chain awareness. */ import { describe, test, e…
Purpose
import type { DispatchSpec } from "./types.js"; export const PURPOSE_HEADER = "## PURPOSE (INVARIANT — restated verbati…
Import Lesson.Test
/** * Tests for import-lesson.ts — the bridge from pi-cybernetic enforcement * artifacts to loom-builder's gate govern…
Gate Analyzer.Test
import { describe, expect, test, mock, beforeEach } from "bun:test"; import type { DispatchSpec, ValidationCmd, GateAnal…
Model Router.Test
import { describe, expect, test } from "bun:test"; import { PreFlightError } from "./preflight.js"; import { routeModelF…
Exit Matrix.Test
import { describe, test, expect } from "bun:test"; import { exitToVerdict, isRetryable, canBeDone, retryBackoffMs } from…
Outcome.Test
import { describe, expect, test } from "bun:test"; import { normalizeMaxReformulations, settleStatusAfterValidation, val…
Artifact Contract.Test
/** * Artifact Contract Tests for run.ts dispatch paths. * * Proves that run.ts enforces the Dispatch Artifact Contra…
Trace
import { appendFileSync, mkdirSync } from "node:fs"; import { dirname } from "node:path"; import type { TraceEvent } fro…
Gates.Test
import { describe, expect, test } from "bun:test"; import { BudgetGovernor, LoopDetector, actionHash, canonicalJ…
Gate Packs.Test
import { describe, test, expect } from "bun:test"; import { loadGatePack, resolvePackValidation, staleDigestGuard,…