Working model
Method
Day 95 of iteration since : a project keeps durable truth, then runs bounded work through an explicit workflow.
Foundations hold cross-loop truth. A workflow is reusable instruction. A loop is one bounded execution with an append-only state trail.
Project truth
A project owns the facts, decisions, and language that must survive the current session. Those foundations stay concise and cross-loop; scratch is a capture lane, not a source of truth.
- Foundations
- The brief, guardrails, success evidence, and project-local language. They explain what the project is, what must hold, and what words mean here.
- Startup index
- Exact, task-relevant targets for a restart: foundations, the selected workflow, and the active loop’s charter and state trail. It prevents work from relying on remembered conversation.
- Language
- Small definitions for terms that change action, output, safety, privacy, or boundaries. Name important distinctions before agents drift around them.
Bounded loops
A loop is one execution of a workflow, not a permanent workspace. The workflow is named by path and fixed by a version or revision so a later session can understand what it was following.
-
Open
Write
loop.md: the goal, inputs, loop-specific guardrails, exit criteria, permitted deviations, and workflow reference. Append an openingstate.jsonlrow with statusactive. -
Work
Create mutable working material only when an artifact is useful. Append state only for meaningful transitions: a decision, validation, blocker, handoff, material reframing, or status change—not routine reads or retries.
-
Close
Append a
closedorcancelledtransition, writefinal/summary.md, and route durable output deliberately: truth to foundations, procedures to workflows, support to resources, explanation to docs, and provenance to receipts.
| If the result is | File it in |
|---|---|
| Project truth | foundations/ |
| Repeatable procedure | workflows/ |
| Reusable support | resources/ |
| Explanation or reference | docs/ |
| Decision or provenance | receipts/ |
When work stalls, reduce motion rather than add ceremony: write a synthesis, inspect assumptions, record a blocker, reframe, delegate, or shrink the step.
State
state.jsonl is append-only. Its latest valid row is authoritative for continuation and close state. Each meaningful row records a timestamp, loop ID, status, factual summary, references, and next action; corrections are new rows, never rewrites of history.
Earlier events.jsonl loops remain valid historical evidence. New loops use the lean loop.md and state.jsonl model.
Keep truth durable. Select the workflow. Run the bounded loop. Record meaningful transitions. Leave the next session a clear place to begin.