# Engineering workflow

Use this guide before starting or resuming work on a software project. It describes a reusable
method for a person or an agent using CMDOP, not an automated project manager.

**In short:** Read the project's instructions and current plan. Confirm the machine, repository and scope.
Make one bounded change, verify it, record the result and next action. Improve the process with
verified lessons.

## When to use this

Use this workflow for development, debugging, research and delivery. Adapt it to the project's
existing rules and tools. For a small task, a short plan and one verification may be enough.

An agent connected over MCP can read this guide with
[`docs_read`](https://docs.cmdop.ai/reference/tools/docs_read.md):

```json
{
  "name": "docs_read",
  "arguments": { "path": "guides/workflow" }
}
```

The result is Markdown from the server's documentation snapshot. If the installed snapshot
does not contain the page, read the public guide in your browser. Reading guidance does not
grant access to a machine or change a project.

## Work in a repeatable cycle

1. **Enter the right project.** Establish the requested outcome and allowed scope. Use
   [`machines_list`](https://docs.cmdop.ai/reference/tools/machines_list.md) to select the requested machine, then
   check the project instructions, current revision and existing work.
2. **Plan and investigate.** Read the owning plan and actual source. Reuse supported solutions.
   Define acceptance and separate uncertain experiments from production changes.
3. **Make the change.** Resolve who owns the files and integration. Keep changes bounded.
   Use the project's authorized commands and existing workflow; preserve other work.
4. **Keep evidence.** Record the exact revision, meaningful changes and real task handles.
   After an interruption, inspect what happened before repeating a command.
5. **Verify and deliver.** Run the applicable project checks, inspect the result and use the
   existing delivery procedure. Distinguish a commit, a remote push and a live deployment.
6. **Improve the process.** Record transferable lessons and revise the project rules when
   evidence shows that a different approach works better.

## Choose the next guide

| Guide | Use it to |
|---|---|
| [Start a project](https://docs.cmdop.ai/guides/workflow/project-setup.md) | Establish scope, rules, ownership and an existing workflow |
| [Research and plan](https://docs.cmdop.ai/guides/workflow/research-and-planning.md) | Choose a small solution, plan parallel work and test assumptions |
| [Checkpoint and resume](https://docs.cmdop.ai/guides/workflow/checkpoints-and-recovery.md) | Preserve task state and recover after interruptions |
| [Verify and deliver](https://docs.cmdop.ai/guides/workflow/testing-and-delivery.md) | Record real checks and deliver an authorized result |
| [Improve the workflow](https://docs.cmdop.ai/guides/workflow/continuous-improvement.md) | Turn verified lessons into better reusable rules |

## Check

Before changing anything, name the project, current goal, authorized scope and next step.
At completion, identify the actual result, evidence and any remaining limitations.

## If work is blocked

Missing access is not permission to widen it. An unknown operation outcome is not a failed
operation. Reconcile the current state and report the specific blocker rather than start
a competing task.

## Related

[Agent brief](https://docs.cmdop.ai/start/agent-brief.md) · [Work with files](https://docs.cmdop.ai/guides/files.md) ·
[Run commands and tasks](https://docs.cmdop.ai/guides/run.md) · [Grants and ceiling](https://docs.cmdop.ai/concepts/grants-and-ceiling.md)
