loom
loom weaves a development loop out of five specialist roles —
researcher, planner, plan evaluator, developer, code evaluator — and drives
them through a file-based, spec-driven process so that work survives context
resets and is reviewed through independent cold-agent evaluation with controlled
inputs.
loom provides its behavioral workflow across multiple client environments:
- Claude Code (
plugins/loom, .claude-plugin/marketplace.json)
- Codex CLI (
plugins/loom, .agents/plugins/marketplace.json)
- Antigravity / Gemini CLI (
.agents/skills/, .gemini/skills/)
Inside a repository, loom detects how aligned that repo is with loom's conventions
and either bootstraps, migrates, or resumes work. A thin orchestrator spawns each
role as a cold agent on the model best suited to its job, enforces
cross-family evaluation routing so evaluators never approve their own model family's
work, hands off work through durable files in .docs/, and stops at the scope boundary
or human checkpoint you declare.
Why
- Context drift — long sessions lose the thread. loom keeps durable memory in
.docs/ so any cold agent can resume from files alone.
- Controlled evaluation — independent cold-agent evaluation with controlled,
sanitized inputs separates producing and evaluating invocations and prohibits
self-approval.
- Token-smart automation — each role runs on the model best suited to its job;
judgment-heavy evaluation roles use the strongest model from an independent family.
- Fail-closed safety — strict identity guards, per-session write-ahead backstops,
and atomic git-ref coordination prevent repo corruption and accidental commits.
Status
Current milestone: M10
Milestones M0 through M9 complete; M10 in progress.
- M0 — Baseline & Multi-Client Proof: Reproducible local gate (
scripts/check),
four-cell hosted CI, static Claude Code / Codex packaging contracts, and verified
native lifecycle (install, hook wire, helper resolution, uninstall).
- M1 — Coordinator Safety: Centralized identifier validation, ABA-safe git-ref CAS
locking (
refs/loom/lock), atomic claims (refs/loom/claims/<sha1>), ownership
re-adoption, and background lease renewal (plugins/loom/bin/loom-coord).
- M2 — Remote Publication Landing Boundary: Remote publication as the sole landing
authority via
plugins/loom/bin/loom-land, atomic push-destination verification,
receipt binding, and untracked session coordination state.
- M3 — Identity Guards & PreCompact Backstop: Raw-command identity scanning
(
git-identity-guard.sh), post-command verification (loom-verify-identity), and
per-session write-ahead PreCompact backstops (precompact-write-ahead-backstop.sh).
- M4 — Local Review Orchestration: Loom-owned review finders, deterministic findings
assembly (
loom-review), and complete local review loop without external plugins.
- M5 — Evaluation Trust Model: Sanitized evaluation workspaces, bounded gate reruns in
isolated scratch workspaces, and schema-valid evaluation recording (
loom-eval-workspace).
- M6 — Executable Checks & Living Document Shape: Foundation diagnostics (
loom doctor),
mechanical documentation state validation (validate-repository.mjs --all), and living
document shape and milestone synchronization rules.
- M7 — Packaging Conformance & README Refresh: Canonical MIT license, version [0.2.0] CHANGELOG,
CommonMark code fence tracking, supported platforms/prerequisites, multi-client installation/upgrade
guides, end-to-end example, tier expectations table, and 947 Bats tests snapshot.
- M8 — Process Cost & Repository Noise: Paired workflow benchmark harness (
scripts/workflow-benchmark.sh),
owner-selected workflow profiles and recommendations (plugins/loom/bin/loom-profile), and provisional
landing history policy with squash publication and durable tracked evidence (ADR 0028).
- M9 — Client Compatibility & Native App Integration: Full five-harness matrix support across Claude Code CLI,
Codex CLI, Antigravity CLI, Orca host, and Herdr (
hc) host; host evaluator delegation to isolated cold POSIX
workspaces (ADR 0034); cross-family evaluation invariant enforcement; and published v0.3.0 live proof with release evidence record.
Authoritative design lives in .docs/spec/ — start with
00-overview.md; architecture decisions are in
.docs/ADR/; active progress is recorded in
.docs/status/progress.md and
.docs/status/roadmap.md.
Supported Platforms & Prerequisites