Create and release a plan
Write a plan with Operator and people's steps, create it held, review it, release it with a budget, follow its jobs, approve their changes in the app, and tick its gates.
This guide takes one plan from a file to completion. At the end, Operator has done its steps, a person has approved every change it proposed in the app, people have done theirs, and the plan shows Completed.
Before you begin
You need:
- the
operatorCLI signed in to your organization with a full login, or an agent connected to its MCP server. See Set up the operator CLI and MCP server; - staff standing in your organization's tracker, which a full login needs. Organization administrators have it by default; other members need a staff grant from a tracker administrator. An Operator-only login cannot create or release plans;
- an admin or member role in the organization and Operator switched on there, because releasing a plan with Operator steps lets Operator act as you;
- a spend budget for the plan, and room under your organization's monthly Operator budget, which an organization administrator sets under Settings → Operator;
- the team key for people's steps, such as
FIN.
Read How plans work first if you have not used plans before.
Write the plan
Create plan.yaml. The root's fields sit at the top level, and every step has a key that other steps refer to:
title: Follow up on overdue deal-team tasks
spend_budget_cents: 5000 # needed to release a plan with Operator steps
steps:
- key: find
title: Find overdue tasks
executor: operator # Operator runs it; the description is its instruction
description: >-
List the open contact tasks assigned to the deal team that are past
their due date, and propose a follow-up task for each one.
- key: review
title: Review the proposed follow-ups
blocked_by: [find] # a person's step, filed in the --team team
conditions:
- kind: gate
label: Partner sign-off
- key: report
title: Report the outcome in the Monday meeting
blocked_by: [review]
conditions:
- kind: not_before
not_before: "2026-10-12T08:00:00Z"
An Operator step needs a description, which is its instruction. Leave out team and assignee on Operator steps; they are filed in your organization's Operator team. JSON works too: name the file plan.json.
Create, review, and release it
-
Create the plan. It starts held, so nothing runs yet:
infraone operator plan create --file plan.yaml --team FIN --idempotency-key overdue-tasks-2026-10The output names the plan's identifier and its root issue. If the command times out, run it again with the same
--idempotency-keyto get the same plan back instead of a second one. -
Review it:
infraone operator plan show <plan-id>Check each step's key, executor, and status, the edges between steps, and the wait conditions. The plan's status is
held. -
Open the root issue in the app at
https://harness.infra.one/your-organization-slug/issues/<root-identifier>. The Plan section shows the status Held, the steps, and who runs each one. -
Release the plan. In the app, select Release plan, enter the Plan budget in US dollars, add anyone who should follow Operator's results under Collaborators to add to the plan room, check Steps Operator runs, Cost estimate, and Org budget left this month, and select Release plan. From the terminal:
infraone operator plan release <plan-id> --spend-budget-cents 5000 --collaborator grace@example.comThe CLI answers with the new revision number and how many steps are ready now. In the app, the status changes to Released, then Running once the first Operator step starts, and a Plan room link appears.
-
Follow Operator's step. List the open jobs and find the one whose plan step is your step's issue:
infraone operator jobs --status open infraone operator watch <job-id>watchexits4when a person has to act and prints the link to act on. When the job waits for approval, open the approval link, review the proposed changes, and approve them in the app. No command approves anything. -
Do the people's steps. When Review the proposed follow-ups is ready, its assignee or anyone on its team works it like any other issue. Tick the gate in the plan view, or:
infraone operator gate satisfy FIN-128 "Partner sign-off"gate satisfytakes the gate's key, label, or condition identifier. If the gate has an owner, only that owner can tick it. The output says whether other wait conditions still hold the step. Thenot_beforecondition on the last step holds by itself once its time has passed. -
Close the remaining steps as they are done. When every step is complete, the plan driver completes the root issue and the plan.
To stop new work at any point, select Hold plan or run infraone operator plan hold <plan-id>. Jobs already dispatched, including queued ones, still run and finish; nothing else starts until you release the plan again.
Success check
infraone operator plan show <plan-id>reports the plan ascompleted, with every stepdone.- The Plan section in the app shows Completed.
- For Operator's step,
infraone operator job <job-id>shows the statecompletedand the verification statusverified, and the effect counts match the changes you approved.
Troubleshooting
- The create is refused with a list of violations. Nothing was created. Each line names the step key and the rule, for example
missing_instruction(give the Operator step a description),outside_operator_team(removeteamfrom the Operator step),agent_step_assignee(removeassigneefrom the Operator step),unknown_parent, ordependency_cycle. Fix the file and create it again. - The release is refused with
spend_budget_required. A plan with Operator steps needs a positive spend budget to be released. In the app the message is "Set a plan budget for Operator's steps". Enter a Plan budget in US dollars, or pass--spend-budget-cents. - Release plan is disabled. Its tooltip says why: "Harness staff role required", or "Only Harness staff or the plan's requester can release it".
- The release says "You cannot run Operator jobs in this organization." You need an admin or member role in the organization and Operator switched on there.
- The release says "The plan room's people must be you and exactly the collaborators you name." A later release reuses the plan room. Release it as someone already in the room, and name exactly its other people as collaborators.
- A budget change is refused with
plan_released. Hold the plan, change the budget withinfraone operator plan edit, and release it again. A plan that is held or needs attention can also take the budget ininfraone operator plan release. - A step shows
heldafter you edited it. Editing a released step holds it and moves the plan to Needs attention. Release the plan again. - The plan needs attention. A branch stopped after its retries, a job needs reconciliation, a skill was deleted, or the grant expired. Fix the cause and release the plan again.
- A plan command answers
403with "This token may not access the Harness API". You are signed in with an Operator-only login. Plans need a full login, which needs staff standing in the tracker. - You cannot claim an Operator step. Only the plan driver claims it. To do the step yourself, set its executor to
nonewithinfraone operator plan editand release the plan again.
For CLI errors and exit codes, see Troubleshoot Operator from the CLI and agents.