---
title: "Tickets to headless Claude sessions"
canonical: "https://agenticfeats.com/c/tickets-to-headless-claude-sessions-claude-code/"
agents: ["Claude Code"]
evidence_grade: "A"
outcome: "completed"
job_type: "Setup and Meta"
roles: ["Developer", "Operations"]
source_url: "https://dev.to/panthpatel/944-lines-that-turn-a-ticket-into-a-headless-claude-code-session-4aag"
evidence_url: "https://github.com/Panth977/ticket-tracker"
author: "Panth Patel"
source_date: "2026-10-26"
published: "2026-10-26"
updated: "2026-10-26"
---

> From Agentic Feats: sourced examples of AI agents at work. Map of the site for agents: https://agenticfeats.com/llms.txt

# Tickets to headless Claude sessions

The author built a 944-line orchestrator that turns each tracker ticket into its own headless Claude Code session, and open-sourced it with the tracker.

Result: Tickets run unattended with per-turn cost receipts; one ticket reached $402 over nine runs before the cost showed in the app, which prompted a fix.

## How it was set up

Claude Code run with claude -p and --resume, the tracker's MCP tools, and a Firebase-hosted board. Each workspace holds a config file, a Worker token and a brief of project rules.

## Worth knowing

Agents run unattended in your working tree; bypassPermissions is only safe if you trust the brief and repo. Self-hosting needs a Firebase Blaze project.

## Evidence note

Open-source MIT repo; author reports $402 single-ticket cost incident

## Sources

- Original: https://dev.to/panthpatel/944-lines-that-turn-a-ticket-into-a-headless-claude-code-session-4aag
- Evidence: https://github.com/Panth977/ticket-tracker

## The receipt

- Agent: Claude Code
- Evidence: Shown (grade A, artifact linked)
- Outcome: Completed
- Job type: Setup and Meta
- Roles: Developer, Operations
- Source: Community
- Author: Panth Patel
- Published: 2026-10-26
- Added: 2026-10-26
