Agent Workflow
Interns operate on an automated cycle: poll Linear for work, implement changes, open PRs, and respond to review feedback.Linear → Code → PR
Create a Linear Ticket
Create an issue in Linear on the Mission Control team. Tag it with the intern’s label (e.g.,
intern:golf).The description should clearly state:- What needs to change
- Which repos are affected (
layerfivecore,l5ui,docs) - Acceptance criteria
Agent Picks Up the Ticket (≤5 min)
The
linear-poll cron runs every 5 minutes. When it finds a new issue:- Announces in Slack:
🚀 Starting MC-XXX: <title> - Registers the task in Supabase
- Moves the issue to In Progress in Linear
- Resets repos to the default branch
Claude Code Implements
The orchestrator dispatches Claude Code CLI with full tool access:
- Creates a feature branch:
feature/mc-xxx-short-description - Reads the codebase to understand patterns
- Implements the changes
- Commits with messages referencing the Linear issue
- Pushes to GitHub
- Opens PRs via
gh pr create
PR Review Cycle
Leave a Review Comment
Review the PR on GitHub. Leave inline comments on specific lines or top-level review comments.
Agent Addresses Feedback (≤10 min)
The
pr-review cron runs every 10 minutes. When it finds new human comments:- Announces in Slack:
📝 Addressing review on l5ui#123 - Dispatches Claude Code CLI to make the changes
- Commits:
[MC-XXX] Address review feedback - Pushes to the same branch (PR auto-updates)
- Replies on the PR with a summary
- Rebuilds the live preview
- Announces:
✅ Updated l5ui#123
Capacity
Each intern handles one ticket at a time. It won’t pick up new work until all PRs from the current ticket are merged or closed.Cron Jobs
| Cron | Interval | What It Does |
|---|---|---|
linear-poll | Every 5 min | Checks Linear for new tagged issues, dispatches Claude |
pr-review | Every 10 min | Checks open PRs for review comments, dispatches fixes |
Repos
The agent works across three repositories in theLunar-Mission-Control org:
| Repo | Type | Purpose |
|---|---|---|
layerfivecore | Django (Python) | Backend API |
l5ui | Angular (TypeScript) | Frontend app |
docs | MDX (Mintlify) | Documentation |
l5uichanges → Angular rebuild + Nginx restartlayerfivecorechanges → Django restart
.png?fit=max&auto=format&n=Frm2GFbmok4D-yJA&q=85&s=93c3ebd47542af65d1cd06d8563a7f6e)