[01] LOOP
DocumentsintervalHardenedTemplate

AI Agents for Government Affairs on Autopilot

Inspired by Fed10 — AI Agents for Government Affairs. Loop until the workflow is current, exceptions are owned, and human sign-off is captured where required.

Inspired by Fed10

by Trooper

Kickoff prompt
/loop 30m Start the "AI Agents for Government Affairs on Autopilot" loop.

Inspired by Fed10 (https://www.fed10.ai).

Goal: open work triaged, exceptions owned, and core documents workflow current with audit trail
Max iterations: 20
Between iterations run: Report open queue items, stale tasks, failed automations, and items awaiting human approval for Fed10
Exit when: zero open items without owner or explicit escalation, all external actions approved or sent, and systems of record current

Step 1 — Ingest feeds: Aggregate permits, filings, alerts, and public records securely.
Step 2 — Analyze and correlate: Link entities, timelines, and anomalies with cited sources.
Step 3 — Draft briefs: Produce structured summaries and recommended actions.
Step 4 — Human review: Route sensitive findings to authorized reviewers only.
Step 5 — Archive and audit: Preserve chain of custody and access logs for every action.

## Before you start

Connect plugins:
- GitHub (required) — Read branches, PRs, reviews, checks, workflow runs, and source diffs.
- Google Calendar (required) — Read upcoming meetings, attendees, and scheduling context.
- Slack (required) — Post summaries, approvals, blockers, and handoff updates.
- Notion (required) — Read and update approved briefs, docs, calendars, and reports.

Attach skills:
- Loop runner (required) — Self-pace iterations, run the check between passes, and stop only on the exit condition.
- Code change + local verification (optional) — Edit code safely, run commands, and keep changes scoped.
- CI debugging (optional) — Read failing checks, logs, and the smallest actionable root cause.
- Approval workflows (optional) — Keep outbound actions in draft or approval states when risk is non-trivial.
- Operations briefing (optional) — Summarize sources into concise, owner-aware, non-invented updates.
- Security triage (optional) — Assess alerts, prioritize patches, and avoid unsafe shortcuts.

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.

Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.

Steps

1. Ingest feeds

Aggregate permits, filings, alerts, and public records securely.

2. Analyze and correlate

Link entities, timelines, and anomalies with cited sources.

3. Draft briefs

Produce structured summaries and recommended actions.

4. Human review

Route sensitive findings to authorized reviewers only.

5. Archive and audit

Preserve chain of custody and access logs for every action.

Flow diagram

Guardrails

Rules the agent must follow so it cannot cheat the exit condition.

  • Require human approval before customer-facing sends, payments, or legal submissions unless pre-approved templates apply
  • Preserve full audit trail linking source data to every automated action
  • Escalate compliance, safety, or regulatory-sensitive items immediately
  • Nothing is final without human sign-off on deliverables

More Documents loops