Gate a Mac agent behind a human reviewer with two jobs: the agent runs and uploads a structured review packet, then a ship job waits in a GitHub Actions protected environment until a named reviewer approves. Some workflows (publishing a release, sending bulk communications, mutating production data) carry enough risk that a person should see the proposed output before it leaves the machine. The agent job runs on a Figment Intel Mac VM at $25 a month, and GitHub Actions environments hold the ship step behind required reviewers.
Which Figment plan fits a review-gated agent?
The Intel Mac VM fits most of them. Choose by what the agent does before the gate.
| Agent workload | Figment plan | Month | Day |
|---|---|---|---|
| Script-driven tasks, CLI tools, REST calls, Intel-compatible toolchains | Intel Mac VM: 4 shared vCPUs, 4GB, 80GB, macOS Sequoia | $25 | $2 |
| arm64-only binaries, Xcode 26.4 or later | Apple Silicon Mac VM: 4 shared vCPUs, 4GB, 65GB | $39 | $6 |
| Heavy local work, or a reviewed agent with production credentials that should own its hardware | Dedicated M4 Pro 48 GB: whole Mac, M4 Pro, 48GB, 512GB | $349 | Monthly only |
The Intel VM hosts compatible Intel Mac toolchains, including Xcode 26.0 to 26.3 on Sequoia per Apple's porting guidance. It suits agents that call REST APIs, run CLI tools, diff state and build the review packet. It cannot execute arm64-only binaries or run visionOS tooling. You reach any plan in the browser or over SSH, the Intel VM and the Dedicated M4 Pro also over encrypted remote desktop, and the runner connects outbound to GitHub or your CI service. Figment runs the Mac and network layer. Your CI, agent and approvals are yours to manage, and Figment does not offer managed CI.
Before writing any YAML, write down three things: what the agent produces, the blast radius if it ships a wrong result, and which named teammate is qualified to approve.
What evidence must the agent produce?
The agent must produce verifiable evidence, not a bare "done" flag. Establish:
- A change description the agent writes itself, structured so a reviewer understands intent without reading raw logs.
- Artifact references: file paths, object-storage URLs or API diff responses documenting the proposed change.
- A run identifier generated at job start and reused as the idempotency key on any downstream system the agent pre-stages to.
- Reviewer identity: a named person or team configured as a required reviewer on the environment.
macOS's shortcuts CLI fits here. Per Apple's Shortcuts command-line reference, shortcuts run "GenerateReviewSummary" --output-path /tmp/review-summary.json exits 0 on success and 1 on error, and --output-type can force a specific UTI. The wrapper reads that file, assembles the review packet and uploads it as a CI artifact.
How do I build the two-job workflow?
Job 1 runs the agent and uploads a review packet. Job 2 is gated behind a protected environment that requires a named reviewer.
Job 1: produce the review packet.
# .github/workflows/agent-with-review.yml
jobs:
agent-run:
runs-on: [self-hosted, mac]
steps:
- name: Run agent
run: /usr/local/bin/run-agent-job.sh
- name: Build review packet
run: /usr/local/bin/build-review-packet.sh
- name: Upload review packet
uses: actions/upload-artifact@v4
with:
name: review-packet-${{ github.run_id }}
path: /tmp/review-packet/
retention-days: 7
Job 2: human gate, then ship.
ship:
needs: agent-run
runs-on: [self-hosted, mac]
environment: production-review # protected environment
steps:
- name: Download review packet
uses: actions/download-artifact@v4
with:
name: review-packet-${{ github.run_id }}
path: /tmp/review-packet/
- name: Ship approved output
run: /usr/local/bin/ship-output.sh
In repository settings, create the production-review environment and add required reviewers. GitHub's documentation says you can add up to six people or teams and that only one required reviewer must approve for the job to proceed. Environments on private repositories require GitHub Pro or GitHub Team, and public repositories are supported on all plans. Pending reviewer requests do not wait forever. Set a Slack or email notification so the reviewer sees the request early, and check the current pending-deployment expiry in the GitHub docs instead of relying on a memorised number.
What goes in the review packet?
The packet is the agent's structured case. A workable layout:
review-packet/
├── summary.md # plain-language description of proposed change
├── diff.txt # line-level diff or API response diff
├── evidence/
│ ├── before.json # snapshot of relevant state before the agent ran
│ └── after.json # proposed state the agent will commit on approval
├── links.json # URLs to tickets, prior runs, staging previews
└── run-metadata.json # run ID, timestamp, agent version, host name
summary.md should answer three questions in under 200 words: what did the agent intend, what did it actually produce, and what will ship-output.sh do if approved? A reviewer who can answer those in a minute gives fast, accurate approvals.
links.json example:
{
"runId": "7842a1bc",
"priorRunUrl": "https://github.com/org/repo/actions/runs/7842a1bc",
"ticketUrl": "https://linear.app/team/issue/ENG-412",
"stagingPreview": "https://staging.example.com/preview/7842a1bc",
"artifactUrl": "https://storage.example.com/artifacts/7842a1bc"
}
What happens when the agent fails, or the reviewer rejects?
Review-gated pipelines have three failure modes:
- Agent-side failure (Job 1 fails). No packet, no gate, no ship. Inspect agent logs on the Mac, fix, and re-run Job 1. Because Job 2 never ran, no downstream writes were made.
- Reviewer rejection (Job 2 declined). Any pre-staged work must be reversed. Keep
rollback-output.sh <runId>alongside the ship script. It reads the idempotency key and undoes staged writes. Run it immediately and do not leave staged state around. - Approval, then ship failure midway. Treat it like a network-interrupted job: reconcile by run ID before retrying, and make
ship-output.shidempotent so a replay is safe.
Have your reviewer practise a rejection once against a dry-run packet before you trust this in production.
What does one review a day cost?
Say one agent runs each weekday and holds for human review, at 21 workdays a month. A Figment Mac keeps billing while the agent waits, so reviewer wait time does not change the price.
| Plan | Monthly cost | Per workday review (÷ 21) |
|---|---|---|
| Intel Mac VM | $25 | about $1.19 |
| Apple Silicon Mac VM | $39 | about $1.86 |
| Dedicated M4 Pro 48 GB | $349 | about $16.62 |
Daily plans on the Intel VM would cost 21 × $2 = $42, so a monthly plan is cheaper for this schedule. The step from the Intel VM to the Dedicated M4 Pro is $349 − $25 = $324 a month, about $15.43 more per workday review. Judge that against the cost of a missed rejection in your workflow. If the agent pre-stages to an external system (staging DB, object store), include the holding cost of that staged state between agent completion and reviewer approval when you compare plans.
How do I start, or move an existing gated pipeline?
Pick a plan on the Mac hosting page, install the self-hosted GitHub Actions runner on the Mac, create the production-review environment, and add the first required reviewer. Self-hosted runners are not ephemeral by default, so only run trusted code on them.
Related guides: