Contents

Who is Geoffrey Huntley in this story?

Huntley is a software engineer and writer whose public work includes the Ralph technique, the CURSED programming-language experiment and a workshop that builds a coding agent in small stages. These artifacts make him interesting here: they expose the pieces that are often hidden behind a chat interface. G01 G03 G04

In his August 24, 2025 workshop post, Huntley described himself as a former developer-productivity tech lead at Canva and, at that time, one of the engineers building Amp at Sourcegraph. That is a dated first-person account, not a claim about his current employment. Amp was a team effort; the workshop explicitly described a small core team. G04

His teaching style is deliberately provocative. Assertions about the future of employment or the inevitability of autonomous software are his opinions, not measurements established by the examples. The practical material can be read separately: inspect the context, make tool outcomes available, narrow the next task and change the environment when a failure repeats. That is the interpretation this guide develops.

A dated progression

The Ralph article was published July 14, 2025. It presents the loop, specifications, plan maintenance, test feedback and operator intervention together. The August workshop explains a tool-calling agent from the inside. The September 9 CURSED release post describes a longer experiment and openly lists unfinished components. On January 17, 2026, Huntley returned to the broader loop mindset and emphasized watching the loop, including manual progression. That same day his pressure post directed readers to Moss’s explanation of automated feedback. G01 G03 G04 G05 G02

These are living pages. Later additions appear on earlier posts, so their present contents should not be treated as a frozen July transcript. In particular, the current Ralph page explicitly distinguishes the technique from a similarly named Claude Code plugin. Do not collapse those separate things into one product history. G01

What does Ralph repeat?

There are two loops worth separating. Inside a coding agent, a model can request a tool, the program executes the tool, and the tool result returns to the model for another inference. Huntley’s workshop moves from chat to reading, listing, shell execution, editing and search. Its repository exposes those stages as individual Go programs. That is the inner tool loop. G04 G07

Ralph adds a different boundary: another iteration begins with the task instructions and selected external artifacts, rather than assuming one expanding conversation should carry the whole project. The original post illustrates this with a tiny Bash loop. The tiny command describes repetition; it does not implement a budget, sandbox, permission policy, rollback strategy or correct stopping rule. G01

Huntley’s main prescription is one task per loop in a single repository, with specifications and a current plan loaded consistently. He also describes subagents for costly searches and one validation worker to avoid competing builds. This is not a contradiction if the primary loop remains the scheduler. It is also not a reason to reproduce the large parallelism numbers in his example prompts without examining local resources. G01

The post itself contains tensions. Its worked prompt eventually asks for multiple items even though the explanatory sections repeatedly recommend one. Read it as an evolving practice log. For a first experiment, use the narrower unit because it makes the result and the next decision easier to inspect. That is this guide’s recommendation, not a claim that every Ralph implementation must have identical syntax.

Why restart at all?

The workshop argues that unrelated activities and large accumulated histories consume useful context and influence later behavior. A fresh session provides an opportunity to select what matters again. It also discards useful reasoning unless that reasoning was recorded elsewhere. Freshness therefore creates a handoff requirement, not automatic quality. Model-specific token figures in the 2025 article are historical observations, not universal limits for current models. G04

What belongs in the next context?

Imagine a fictional compiler task: repair duplicate keyword handling. The next worker needs the lexical requirement, the relevant implementation, the current plan and one explicit task. It probably does not need an entire transcript about an abandoned editor theme. The distinction is relevance to this task, not whether the old conversation contains interesting information.

Huntley recommends loading the specification and plan consistently. He also warns that an unsuccessful search can lead an agent to conclude that an existing feature is absent, then implement it again. The repair is to improve the search and instructions, not automatically generate another copy. A focused packet must still contain enough evidence to identify the existing implementation. G01

The lesson below makes allocation visible using a deliberately invented budget of twelve context units. The focused packet uses nine: one task unit, three specification units, two plan units and three source units. Retaining the old transcript adds eight. These numbers are a diagram you can operate, not tokenization, a performance experiment or a model-capability threshold.

Try the fresh-context packet

Choose Old transcript included and select Assemble packet. The seventeen-unit packet is refused. Switch to Focused packet and assemble again; the same requirement fits with three units remaining. Choose Specification omitted to see that a smaller packet can still be unusable. Empty the task textarea to observe a separate missing-goal refusal.

Controls: Context packet (focused, history, missing-spec), One task for this iteration (editable text, at most 1,200 characters), Assemble packet and Reset lesson. The output reports the loaded packet, budget decision and recovery instruction. Reset restores the original fictional task. No real session is created.

Fresh-context packet

Assemble one relevant packet. A smaller packet can still be missing its specification.

Choose a packet and assemble one bounded iteration.

No result yet.

Local-only demonstration. Fictional static data. No model, shell, network action or repository. Reload discards all state. Context units are invented, not measured tokens.

Transfer question: if you removed a conversation today, which requirements and source locations would its replacement need? Name them before choosing a larger context window.

What survives the conversation?

A fresh worker cannot recover an unrecorded reason from a previous worker’s thoughts. In the Ralph article, fix_plan.md tracks incomplete and completed work, while AGENT.md carries concise instructions about how to build and run the project. Huntley asks that tests retain an explanation of why they matter because future iterations will not share the earlier reasoning. Those artifacts have different jobs. G01

The plan answers what remains. Operating notes answer how to obtain useful feedback. A test and its rationale answer which behavior must remain true. A repository change supplies the artifact being checked. Treating all four as one undifferentiated transcript makes it harder to identify stale claims.

Durable does not mean authoritative. Huntley explicitly says the plan may be incorrect and describes replacing it by comparing specifications with existing code. An old checkbox saying “done” can survive perfectly and still be wrong. The new iteration needs a way to connect the claim to current evidence. G01

Try the external checkpoint

The fictional lexer step comes with a fixed observation: duplicate keyword input produced one declaration, as expected. Run fixture step exposes that observation and its rationale. It does not execute a compiler. The first checkpoint choice, Chat only, refuses to record durable progress. Start fresh iteration then loses that unrecorded progress and returns to the lexer task.

A Plan claim only checkpoint preserves “lexer done” but omits its supporting observation. Starting fresh refuses to trust it. For recovery, run the step again, select Evidence checkpoint, record it, then start fresh. The new simulated iteration selects the parser task, with the lexer artifact, evidence and reason available.

Controls: Checkpoint contents (chat, plan, evidence), Run fixture step, Record checkpoint, Start fresh iteration and Reset lesson. The single fixture-step button is unavailable after it completes or after the parser becomes next. Recording and restart stay available to demonstrate missing prerequisites. Changing the checkpoint choice invalidates the old checkpoint.

External progress checkpoint

Carry artifact, evidence and rationale across a simulated fresh iteration. Chat alone does not survive.

Run the fictional lexer step, record what matters, then start fresh.

No result yet.

Local-only demonstration. Fictional static data. No model, shell, network action or repository. Reload discards all state. The checkpoint survives simulated restart only, not reload.

The simulated checkpoint lives in page memory. It survives the lesson’s Start fresh iteration action, not a browser reload. A real Ralph workflow would need actual durable artifacts and would have to check whether the saved evidence still applies to the current repository revision. This lesson demonstrates handoff structure, not crash-safe storage.

Transfer question: can another worker tell what passed, on which artifact, why it matters and what remains, without replaying your conversation?

What makes feedback executable?

An instruction to “be careful” cannot show an agent which output violated a requirement. An executable check can return the input, the expected result and the actual result. Huntley calls this backpressure: mechanisms that reject invalid generated work and return useful feedback before the loop moves on. His examples include unit tests, builds, type checking and other analyzers. G01

There is an important credit boundary. Huntley’s January pressure post is a short endorsement and reflection on a conversation. The linked detailed essay, Don’t waste your back pressure, is by Moss. Moss explains how automatic feedback moves routine checking away from repeated human messages, using compiler errors, rendered UI inspection and other examples. Those explanations are Moss’s work, not a long Huntley essay. G02 G06

The useful question is what a check can reject. A successful build cannot establish that duplicate keywords are counted once. A test that only supplies one keyword cannot distinguish a distinct-count implementation from an ordinary array length. Repeating a weak test will repeat its blind spot.

Try executable backpressure

The fictional requirement is exact: count distinct keyword strings; empty input returns zero and repeated keywords count once. Three fixed candidates are available. Placeholder zero always returns zero. Count all occurrences returns the input length. Distinct count uses the number of distinct strings. This is a tiny teaching function, not CURSED source code.

Start with Count all occurrences and One smoke case. Evaluate fixture runs the local function and reports a pass for one keyword. Attempt acceptance refuses because the duplicate behavior was not checked. Select Contract cases, evaluate again and inspect the counterexample. The duplicate input expects one but receives two.

Now choose Distinct count, evaluate the four contract cases and attempt acceptance. This accepts only the named finite fixture. Changing either candidate or coverage invalidates the result and requires a new evaluation. An evaluation action can succeed as an operation while reporting failing cases; the acceptance action is where the lesson refuses completion.

Controls: Candidate implementation (placeholder, count-all, unique), Feedback coverage (smoke, contract), Evaluate fixture, Attempt acceptance and Reset lesson. The result preserves input arrays, expected values, actual values and per-case outcomes.

Executable backpressure

Run fixed candidates against named cases, then distinguish a passing check from adequate coverage.

A passing smoke check may miss the duplicate-keyword requirement.

No result yet.

Local-only demonstration. Fictional static data. No model, shell, network action or repository. Reload discards all state. These finite cases do not validate CURSED.

A production gate needs more than these four cases. Its coverage, execution environment and resistance to accidental weakening all matter. Tests can encode the wrong requirement. Huntley’s own lexer story describes a specification that assigned one keyword conflicting meanings, producing wasted work until he found the contradiction. More retries were not the first repair; the specification needed correction. G01

What did CURSED establish?

CURSED is the concrete artifact behind many of these ideas. In September 2025, Huntley reported running Claude in a loop for three months to build a Go-like language with Gen Z lexical keywords. His release post described interpreted and compiled modes, LLVM-based binary output and a public repository. It also called editor extensions half-completed and standard-library packages incomplete. Keep both sides of that account together. G03

The experiment demonstrates that Huntley published an artifact and an account of using iterative agent work to develop it. This guide has not executed its compiler or independently established cross-platform correctness, production readiness or the exact contribution of every iteration. The claim that the language was absent from training data is his assertion, not something a public repository alone can verify. G03

The release post invites community contributions and says future direction depends on what the community ships. Later repository work should therefore not be attributed entirely to Huntley. Likewise, the overnight multi-repository report linked from the Ralph page belongs to its authors, and the contract-cost anecdote describes another engineer’s experience. Neither is a controlled benchmark of Huntley’s own productivity. G01 G03

The most transferable evidence is less spectacular: a contradictory lexical rule, duplicate implementations, large error logs, missing standard-library behavior and the need to preserve test rationale. Each identifies a boundary the operator can improve. If a demonstration interests you, inspect its failure record as carefully as its headline.

When should the loop stop?

The minimal Bash loop has no built-in stopping judgment. Huntley’s January 2026 essay nevertheless says to watch the loop and explicitly includes manual prompting or paused progression as Ralph-style work. Autonomy is not the only way to practice the pattern. G05

For an actual experiment, this guide recommends a maximum iteration count, a spending limit, a wall-clock limit and an explicit terminal condition. Stop for repeated identical failures, missing permissions, contradictory requirements or evidence that the next action exceeds the allowed scope. These are operational recommendations here, not safety properties supplied by the original one-line loop.

Use an isolated disposable workspace with only the access the task needs. Do not give a teaching experiment production credentials, unrestricted publishing or authority to remove other people’s work. A pause button is not a security boundary, and passing checks does not grant deployment permission. The workshop’s shell tool is a real capability that must be assessed separately from its educational simplicity. G04 G07

Huntley’s July account also warns about waking up to a broken codebase and says he would not use that version of Ralph on an existing codebase. His later language expands the loop mindset, but it does not erase that earlier boundary. Read each recommendation with its date, task and risk level attached. G01 G05

What can you try on a real project?

Choose a small, reversible task with an observable requirement. A parser fixture or a documented command-line behavior is easier to bound than “finish the product.” Before involving an agent, write the failure condition, permitted files, relevant sources and the check that will decide whether the requirement was met.

  1. Inspect existing code before creating anything. Record where the current behavior lives.
  2. Prepare one task packet with the specification, current plan and necessary source context.
  3. Allow one bounded implementation attempt. Keep the model’s proposal separate from accepted progress.
  4. Run the appropriate check in the real environment. Record a failing example or evidence of the required behavior.
  5. Update the plan and concise operating notes. Preserve why the check matters and which artifact it checked.
  6. Start the next iteration from those artifacts, or stop if the named limits or failure conditions apply.

This sequence is an editorial synthesis of the sources, with added conservative operating limits. Its success criterion is modest: another worker can resume accurately, and invalid work cannot become “done” merely because the previous conversation said so. If the evidence is weak, improve the evidence before increasing iteration speed.

How can an agent operate this page?

The public browser interface is window.GeoffreyGuide. Call discover() in the main JavaScript realm of this page, require ready: true, then inspect a lesson and use its exact control IDs. Native UI events and agent requests share the same state transition path. The interface operates only the local lessons. It is not an HTTP action endpoint or an MCP server.

Read the complete interface, Markdown contract, schemas and control catalog or AgentSkills catalog. The contract includes strict identity fields, current revisions, replayable request IDs, domain refusals and reset behavior. wait() returns a retained receipt directly; it does not wait for a background job.

Reloading clears state and receipts. Reset lesson clears that lesson while preserving the page’s request ledger. This publication has no account, payment or model-call requirement. Pricing, About, Contact and corrections and Privacy describe the publication boundaries.

Sources and annotations

Primary resources were read for this edition on September 1, 2026. Published posts are first-person accounts, not independent audits. The linked workshop README was read; its programs and CURSED were not executed for this guide. No embedded video was watched. Dates identify original publication where available; living pages may include later edits. Machine-readable catalog.

G01: Ralph Wiggum as a “software engineer”

Geoffrey Huntley, July 14, 2025. The central source for one-task iterations, repeated specification loading, plan maintenance, search failures, backpressure and operator intervention. It includes its own failure cases and later additions about a similarly named plugin. Its ROI anecdotes and broad employment conclusions are not general benchmarks.

G02: don’t waste your back pressure

Geoffrey Huntley, January 17, 2026. A short reflection that credits Moss’s article and frames engineering as preventing failure through feedback. It should not be cited as if Huntley wrote the linked essay’s detailed examples.

G03: i ran Claude in a loop for three months, and it created a genz programming language called cursed

Geoffrey Huntley, September 9, 2025. Release account, public artifact links, described compiler capabilities and explicit unfinished editor and library work. Claims about duration, generated output and training-data absence are the author’s account, not reproduced measurements here.

G04: how to build a coding agent: free workshop

Geoffrey Huntley, August 24, 2025. Written workshop material covering context selection, tool registration, execution and returning outcomes to inference. Supports the dated career context and team attribution. Specific model classifications and context figures are historical judgments, not a current purchasing guide.

G05: everything is a ralph loop

Geoffrey Huntley, January 17, 2026. Later framing of loops as an engineering mindset, including observing failure and manual or paused progression. Its ambitions for evolutionary software and economic predictions are not demonstrated guarantees of unattended operation.

G06: Don’t waste your back pressure

Moss, January 17, 2026. The primary essay linked by Huntley, explaining automated feedback through builds, type systems, browser inspection and other checks. It supports the feedback mechanism, not a claim that the four fictional cases here validate a compiler.

G07: Build Your Own Coding Agent via a Step-by-Step Workshop

ghuntley/how-to-build-a-coding-agent, living repository README. Describes the progression from chat to reading, listing, commands, editing and search, with tool results returning to inference. Real use requires its current setup and credentials; this page neither supplies those nor executes the workshop.