Working Notes on Agent Systems/Brad Zhang

@teach_fireworks / X longform

Loop Engineering recommends: At the end of each day, let the agent do an architecture physical examination.

Loop Engineering recommends: At the end of each day, let the agent do an architecture physical examination. The original prompt word of the architecture satisfaction loop is ver...

June 22, 2026 · 1 min read

Loop Engineering recommends: At the end of each day, let the agent do an architecture physical examination.
Figure 1 / source image

Loop Engineering recommends: At the end of each day, let the agent do an architecture physical examination.

The original prompt word of the architecture satisfaction loop is very short: refactor until you are happy with the architecture.

This sentence is a bit dangerous to read alone, but the version in the Loop Library adds several key guardrails: small step refactor, live test, autoreview, checkpoint commit, and recording progress.

It’s better suited as a “closing move” at the end of a day of development.

During the day, many local decisions were made for the sake of speed.

At night, the agent was asked to look back at duplication, naming, module boundaries, and coupling, and clear the obvious architectural debt first.

The most important thing here is rhythm.

Don’t let the agent make major changes in one go.

Only move a small piece at a time, run tests, do reviews, roll back, and continue with the next round.

Harness and verifier are key here: the agent can be allowed to do more, but every step must have evidence, boundaries, and exit paths.

The video starts here: Corresponding loop: Open source project:

Visual summary

Article argument map

Generated from the post's content graph

FORMATTOPICCAPABILITYMARKETcoverscoverscoverssignalssignalssignalssignalsFORMATlongform noteTOPICagentsTOPICharness engineeringTOPIClong running agentsCAPABILITYagent workflowCAPABILITYharness engineeringCAPABILITYlong-running agentsMARKETopen-source builders
Mermaid outline
flowchart LR
  format-long_post["longform note"]
  topic-agents["agents"]
  topic-harness-engineering["harness engineering"]
  topic-long-running-agents["long running agents"]
  capability-agent-workflow["agent workflow"]
  capability-harness-engineering["harness engineering"]
  capability-long-running-agents["long-running agents"]
  market-open-source-builders["open-source builders"]
  format-long_post -->|covers| topic-agents
  format-long_post -->|covers| topic-harness-engineering
  format-long_post -->|covers| topic-long-running-agents
  format-long_post -->|signals| capability-agent-workflow
  format-long_post -->|signals| capability-harness-engineering
  format-long_post -->|signals| capability-long-running-agents
  format-long_post -->|signals| market-open-source-builders

Visual structure

Essay structure map

Built from summary and key paragraph positions

Loop Engineering recommends: At the end of each day, let the agent do an architecture...THESISLoop Engineeringrecommends: At the endof each day, let theagent do anSIGNALLoop Engineeringrecommends: At the endof each day, let theagent do anOPERATORAt night, the agentwas asked to look backat duplication,naming, moduleIMPLICATIONThe video starts here:Corresponding loop:Open source project:
Mermaid outline
flowchart LR
  thesis["Loop Engineering recommends: At the end of each day, let the agent do an architecture physical examination...."]
  signal["Loop Engineering recommends: At the end of each day, let the agent do an architecture physical examination."]
  operator["At night, the agent was asked to look back at duplication, naming, module boundaries, and coupling, and cle..."]
  implication["The video starts here: Corresponding loop: Open source project:"]
  thesis -->|frames| signal
  signal -->|develops| operator
  operator -->|lands in| implication

Source: View the original post