Document workflow controller

The controller handles publication mechanics. The agent writes the document and reviews its appearance.

What the agent does

  • Write the document specification and run prepare.

  • Inspect the returned screenshots and content.

  • Run the returned review command and adapter.

  • Return the verified link or the specific blocker.

What the controller decides

The controller chooses the saved destination, builds the upload request, records submission state, checks deployment progress, and verifies the hosted bytes.

An uncertain submission

A unique deployment marker lets the controller look up the existing upload. It does not repeat the upload when a response is lost. Ambiguous or unresolved outcomes stop with a specific blocker.