Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

It’s Got What Content Craves: Sanity, Built for the People of Idiocracy

说明与用途

在 Sanity 中创建了完整的自动化工作流,AI 代理编写计划,人类内阁通过图片按钮界面批准,运行时执行浇水和收割,所有步骤均准确完成。

问题

Enable non‑technical users (the Cabinet) to approve or reject agricultural plans via a simple picture‑button interface while an AI agent drafts proposals and a runtime executes approved actions.

结果

The workflow automates proposal drafting, approval, and field actions, achieving 100% correct timed edits across three interfaces.

工作流

  • Define a single schema used by two Studio workspaces (Kiosk and Stock).
  • Create a Sanity Workflow definition (joes‑plan) with stages: submit → cabinet → watering → growing → harvest (or reject → dust‑bowl).
  • Deploy the workflow with role conditions read from environment variables, assigning administrator to Cabinet and editor to agent.
  • Agent submits proposal; Cabinet approves in Kiosk; runtime watches for harvestAt and executes watering and harvesting via Sanity Functions.
  • Track votes on brawndo.gov using GROQ count queries; enforce one vote per citizen per field by ID design.
  • Measure execution time of each step in three interfaces (Studio, Cabinet Room, runtime) using a stopwatch.
  • Verify all edits are correct (27 of 27 timed edits).

证据

agent → Cabinet → watering → harvest on the live project; 27 of 27 timed edits correct

来源

The Kiosk is hosted at brawndo-agriculture.sanity.studio and signs in through the Sanity Dashboard.

来源

The agent submits, the Cabinet approves in the Kiosk, and the runtime waters and harvests.

来源

  • 记录日期: 2026-09-21T20:45:41.371Z