Context resets
The next session starts by rediscovering intent instead of continuing the highest-value open unit.
Repository control for long-running agent work
LoopCode first understands the repository, forms explicit domain hypotheses, and researches only the bounded discipline the work needs. It keeps goals, decisions, constraints, active work, dependencies, and verification in the repository—so Codex, Claude Code, or another compatible host can resume from evidence instead of reconstructing a conversation.
Private beta · local-first, host-owned, readable in Git
01 — The missing layer
A coding agent can read thousands of files and still miss why a decision was made, what another session already tried, which constraint is non-negotiable, or what must pass before a change is accepted.
The next session starts by rediscovering intent instead of continuing the highest-value open unit.
Current code survives, but rejected options, risks, ownership, and recovery paths disappear.
A plausible answer can look complete even when no independent check proves the outcome.
The product in one sentence
Make consequential agent work resumable, inspectable, and verifiable.
02 — The operating loop
LoopCode is a repository contract and evidence layer, not another model or hidden daemon. It tells the host what must be understood, researched, declared, executed, checked, and left behind.
Read the bound goals, day plan, newest operations-log leg, queue, and current evidence. Repository documents are authority; conversation history is context.
Write the unit down before it runs: owner, capability, acceptance, side-effect class, recovery, and evidence it must leave.
Dependencies, worktree fences, and independent verification become inspectable nodes. The host decides which seat actually launches.
Deterministic gates and named reviewers decide acceptance. A returned answer is not proof; a receipt records what was checked and what remains.
A bounded return looks like this
The host owns worker launch, credentials, sandboxing, scheduling, billing, and production authority. LoopCode records the proposal, the observed effect, the verifier, and the residual.
$ loopcode drive .
"doctor": "CONTROL_PLANE_HEALTHY",
"next": "domain-pack.schema",
"authority": "host-owned",
"status": "ready-for-host-execution",
"receipt": "LIFECYCLE-…".loopcode/binding.json keeps the repository's own documents canonical. loopcode roster discovers launchable seats and loopcode dispatch-plan recommends a route; neither command launches a worker.
When the repository is unfamiliar
The overlay records sources, freshness, rules, roles, risks, gates, recovery, privacy, and unknowns. If the domain or authority is unclear, LoopCode stops safely and asks instead of guessing.
03 — The proof layer
LoopCode keeps the state, action, verifier, limitations, and responsibility that make work inspectable after the model context is gone.
Goal, queue row, graph node, owner, capability snapshot, and stable idempotency key.
Command or tool call, side-effect class, artifact reference, and retry or rollback history.
Deterministic check, source-linked claim, named reviewer, or an explicit not-verified result.
Receipt anatomy
04 — The change in practice
LoopCode adds a small, structured collection of Markdown files, graph state, and receipts to the repository. People can read them, hosts can project them, and a new session can continue from them.
Intent, attempted work, decisions, and proof are spread across context windows and must be reconstructed.
Goals, queue state, dependencies, evidence, recovery, and the next action remain versioned beside the code.
05 — Domain packs
A domain pack is a versioned operating contract around a bounded job—not a prompt bundle or a claim that LoopCode knows an entire profession. The core keeps identity, graph, receipts, and evidence portable; the domain declares its state, tools, policies, fixtures, validators, roles, recovery, privacy, and source limits.
Supported proof domain
Repository goals, queue rows, worktree fences, tests, release checks, review, and Git evidence.
repo → graph → patch → tests → receiptAdaptive kernel
LoopCode observes the monorepo, keeps competing domain hypotheses visible, researches declared sources, and compiles the smallest removable overlay.
census → sources → overlay → refreshResearch direction
Provenance, source authority, approvals, privacy, recovery, and expert review stay explicit. No professional or compliance authority is implied.
claim → evidence → review → boundaryPortable contract
loopcode pack-validate checks a manifest, its declared references, and the authority boundary without contacting a model provider.
{
"kind": "domain-pack",
"id": "software-delivery",
"fixtures": "fixtures/",
"validators": "validators/",
"evidence": ["artifact", "verifier", "limitations"]
}Healthcare, finance, legal, science, browser, robotics, and other vertical examples remain research directions until their fixtures, validators, approvals, recovery semantics, and privacy rules are verified.
06 — The operator view
loopcode dashboard --open rebuilds a light, read-only projection from bound documents, workflow receipts, host capabilities, and adaptive-domain evidence. Overview, Queue, Workflow, Programs, Evidence, Hosts, Domains, and Settings make the next decision easier to see; canonical truth stays in the files.
Now, Ready, Waiting, Blocked, and Parked work with ownership, dependencies, evidence, and recovery.
Text-first dependencies, fences, why-next reasoning, acceptance, proof, blockers, and recovery.
Receipts, source freshness, host capabilities, domain hypotheses, and explicit unknowns.
07 — Boundaries
LoopCode is not a new model and does not replace Codex or Claude Code. It keeps repository memory and evidence legible while the host retains the authority that must remain close to the user.
LoopCode keeps
The host keeps
08 — Open conventions
LoopCode adopts open conventions when they improve portability, while keeping authority and proof explicit.
Progressive instructions and resources that do not grant credentials or permission.
Host-managed typed tools and context; the host still owns consent, authorization, and transport.
Portable shapes and deterministic checks keep acceptance inspectable when optional advisers fail.
09 — Availability
The current package is verified across the available Codex and Claude Code surfaces. Public installation stays gated until the distribution repository, license, release channel, and onboarding path are ready for people outside the development team.
Current status
Private source · verified package · public release in preparationClaude Code
claude plugin marketplace add peppty-dev/LoopCodePlugin
claude plugin install loopcode@loopcode-plugins
Codex (development checkout)
codex plugin marketplace add /absolute/path/to/LoopCodePlugin
Access currently requires permission to the private repository. Host permissions, credentials, scheduling, billing, and production actions remain host-owned.
View the development repositoryQuestions
No. The host remains the coding agent. LoopCode gives it durable repository context, operating rules, verification gates, and receipts.
The current core has no network dependency and canonical memory stays in local Markdown. Future analytics, if any, must be separately opt-in and privacy-scoped.
No. Small reversible work stays lightweight. Deeper graph and evidence paths are for consequential, cross-system, uncertain, repeated-failure, or hard-to-reverse work.
A versioned contract for a bounded domain job: ontology, source authorities, tools, policy, fixtures, validators, human responsibility, recovery, metrics, and privacy. It is not a prompt bundle or automatic compliance certification.
No. Jev is disabled by default and shadow-only if explicitly evaluated. A provider outage or disagreement cannot change deterministic routing, safety, acceptance, or completion.