Workflow resume

From AMDResearch/omniprobe · View interactive version

Workflow resume is an AI agent skill from the GitHub repository AMDResearch/omniprobe. Resume work on an existing workflow in a new session. Use when the user says "resume", "continue", "pick up where we left off", or names a specific workflow ID to work on. Loads the handoff, dossier, and run-log, then begins executing the next step.

How to use this skill

Skill file

workflow-resume

Purpose

Load the minimum context needed to continue working on an existing workflow in a new session. This is the most common agent entry point for returning sessions. The goal is to get oriented quickly without reading everything -- load what you need, skip what you do not.

Preconditions

Required Reads

Read in this exact order. Stop loading as soon as you have enough context to take the next step.

  1. .agents/workflows/<state>/<workflow-id>/handoff.md -- read this first. It tells you the current status, the exact next step, active risks, and what else you need to read.
  2. .agents/workflows/<state>/<workflow-id>/dossier.md -- read the Objective, Acceptance Criteria, Scope, and Plan of Record. Skip Background/Context and References unless the handoff says you need them.
  3. .agents/workflows/<state>/<workflow-id>/acceptance.sh -- the criteria in executable form. You do not need to read it closely; you need to run it (procedure step 7).
  4. .agents/state/active-workflows.md -- check for parallel workflows and write-scope conflicts before making changes.
  5. PM units listed in the handoff's "Required Reads Before Resuming" section, if any.
  6. .agents/workflows/<state>/<workflow-id>/run-log.md -- read only the last 3-5 entries unless the handoff indicates you need more history.

Procedure

  1. Identify the workflow. If the user names it, use that. Otherwise, read .agents/state/active-workflows.md or .agents/state/current-focus.md to find the most likely candidate.
  2. Read the handoff file first. Extract: current status, next exact step, active risks/blockers, and required reads.
  3. Read the dossier selectively. Load the contract-controlled sections (Objective, Acceptance Criteria, Failure Policy, Scope, Non-Goals). Load other sections only if the handoff references them.
  4. Check for blockers. If the handoff lists active blockers, assess whether they are resolved. If still blocked, report to the user and stop.
  5. Check for parallel work conflicts. Read active-workflows.md. If another workflow's write scope overlaps with yours, note this before proceeding.
  6. Declare execution mode. Unless the user explicitly requests otherwise, default to

autonomous execution. State to the user:

"I will execute <workflow-id> autonomously against its acceptance criteria. I will only

stop if: a stop condition from the guardrails is triggered, a blocker is encountered that

requires your input, or an acceptance criterion cannot be met."

Then proceed without waiting for confirmation. If the user has given a directive like

"execute <workflow-id>" or "work on <workflow-id>", treat it as authorization for

autonomous execution.

  1. Establish what "done" means before working. If the packet has an acceptance.sh, run it

now and read the output. That is the definition of done for this workflow -- not the handoff's

prose, not your own reading of the criteria. The FAIL lines are the work that remains; the

run also tells you which criteria are WEAK or JUDGE and so will never be closed by the

script alone.

Running it first is cheap and occasionally decisive: it can reveal that the previous session

finished more, or less, than the handoff claims. If the two disagree, the script is right and

the handoff is stale -- fix the handoff.

A packet with no acceptance.sh predates the convention. Fall back to the dossier's

Acceptance Criteria and Verification Strategy, and note in the run-log that the gate is

absent, so nothing later mistakes silence for a pass.

  1. Begin the next step as described in the handoff. Log the session start in run-log.md

with a new entry that includes the execution mode and checkpoint expectation:

Execution mode: autonomous. Checkpointing per guardrails § Checkpoint Protocol.

Follow the checkpoint protocol throughout the session — update handoff.md and append

to run-log.md at each trigger defined in guardrails.md.

When a blocking Stop hook is active, acceptance.sh exiting 0 is also the mechanical

condition for being allowed to stop. Nothing else counts -- not your own assessment, and

not a plausible account of why a criterion should be considered met.

Output

Completion Criteria

Error Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.