LLM Workflow

This workflow defines the execution sequence for tasks in this project.

1. Load Project Rules

Always load the mandatory baseline in this order before executing a task:

Always-loaded context budget: 41984 bytes (41 KiB) — the entry point plus this baseline.

After the baseline, load only the task-relevant files:

Also:

2. Interpret the Task

2.1 Apply Feature and Task Scope

3. Plan the Work

3.1 Isolate Concurrent Work

When more than one writer may change the repository at the same time:

documents/01-async-worktree.md is the worked example. When the agent is the only writer, the main checkout is permitted.

4. Apply the Test Policy

4.1 Test Tiers

Classify every test into one tier:

Rules:

4.2 Test Organization

5. Implement the Requested Scope

6. Verify the Work

Determine the verification applicable to the task (section 4.1), then perform it.

7. Update Task Status

7.1 Commit Completed Work

A project declares whether the LLM commits completed tasks. The setting lives in README.md or the applicable project rules; the default is enabled.

When automatic task commits are enabled:

When automatic task commits are disabled, or the task says the human owns commits:

An outcome record is written after the episode settles and the human reviews it; records/README.md owns the record rules, including the separate commit and the prohibition on a placeholder hash.

7.2 Definition of Done

A task is complete only when every applicable item is satisfied:

Verification produces evidence; acceptance remains the human’s decision (see prompts/common/03-glossary.md).

8. Produce Output

9. Apply Corrections

10. Stability