← Back to Design
C3 Code AI Factory
Autonomous Bug Resolution

From Jira ticket to verified fix with one label.

AI Factory turns everyday Jira tickets into autonomous development orders. Adding the C3 Code Factory label routes an issue directly into the Agent Queue—where coding agents reproduce the bug, ship a patch, and stage a live preview in the Inspection Queue for a developer to verify.

C3 Code Factory
Jira label trigger
5 Stages
On Hold → Queued → In Process → Inspection → Complete
1-Click
Live sandbox Preview for dev verification
Full Telemetry
Per-order runs, token usage & cost tracking
The Workflow

Zero-friction handoff from bug report to human inspection.

UI polish bugs, scroll flickers, and layout regressions often sit in backlog triage because context-switching is expensive. With AI Factory, designers and engineers file a clear Jira ticket with reproduction steps, apply the C3 Code Factory label, and let autonomous agents handle the implementation loop.

1

Label in Jira

Add the C3 Code Factory label to any Jira issue (e.g. PLAT-160847) with steps to reproduce.

2

Agent Queue

Ticket auto-ingests into the Queued column and provisions a workspace agent (Starting agent).

3

Autonomous Fix

Agent moves to In Process, reproduces the issue, writes the code fix, and opens a pull request.

4

Inspection Queue

Order lands in Inspection with a live Preview link so a developer can verify and merge.

C3 Code · Factory — Interactive Prototype
Open Fullscreen ↗
Live Queue Triage

Watching labeled Jira tickets spin up agents in real time.

As soon as tickets are tagged with C3 Code Factory, they populate the Queued column on the Factory board. Team members can filter the board by assignee initials at the top, monitor run count and dollar cost per card, and launch a live preview environment directly from the card footer.

C3 Code · Factory Board — Queued Column
3 Orders Queued
AI Factory Queued column showing three C3 Code - Genesis tickets (CODE-622, CODE-620, CODE-621) starting agents

Instant Jira synchronization

Each card links both the local issue key (CODE-622, CODE-620, CODE-621) and the platform Jira ticket (PLAT-160847, PLAT-160846, PLAT-160845) alongside priority badges.

Live agent lifecycle status

Cards display the target application (C3 Code - Genesis) and real-time provisioning state (Starting agent) before transitioning to In Process.

Transparent run & cost telemetry

Every order tracks agent attempts and compute spend (0 runs · $0.00 at queue time, updating as tokens are consumed) so teams can audit ROI across the fleet.

One-click developer verification

Once the agent finishes its run and moves the card to the Inspection column, the Preview button opens the running sandbox build for human sign-off.

Real Tickets Sent to the Factory

Filing UX polish bugs for autonomous resolution.

Here are two of the actual UI bugs captured and labeled C3 Code Factory in the queue above—demonstrating how visual interaction glitches are documented and handed off to the agents.

Home Prompt Input Sizing
CODE-622 P2 PLAT-160847
C3 Code | Home prompt text area is too small for multi-line prompts. When pasting or typing a prompt longer than ~2 lines on the Home screen ("What do you want to create?"), the text area constrains visibility instead of expanding smoothly. Tagged C3 Code Factory and queued for an agent fix.
Chat Scroll-to-Bottom Flicker
CODE-621 P2 PLAT-160845
C3 Code | Chat flickers badly when clicking the "scroll to bottom" arrow. During or after a long agent response in a workspace chat, scrolling up and clicking the ↓ jump-to-bottom button triggers severe layout/scroll thrashing. Tagged C3 Code Factory for autonomous debugging and verification.
Closing the Loop

The agent diagnoses the root cause, ships the PR, and updates Jira.

Once the C3 Code Factory agent picks up the scroll-flicker ticket, it traces the bug down to a conflict between a MutationObserver smooth-scroll loop and an in-flow 89px sticky header, ships a PR with 11 unit tests, and writes the structured Root Cause Assessment back to Jira—automatically moving the ticket from Open → In progress → In Review.

Jira Issue Activity · C3Code@c3.ai Automated Update
PR #2704
Jira update by C3Code@c3.ai detailing Root Cause, Fix (useAutoScrollToBottom hook in PR #2704), Prevention (11 unit tests + frontend skill rule), and status transition to In Review

Deep root-cause diagnosis

The agent identified two interacting bugs: ChatSessionView firing smooth scrolls on every streamed token while scrollHeight grew, and StickyPromptHeader inserting an 89px in-flow block that caused scroll-step jumping.

Clean architectural fix

Extracted a dedicated useAutoScrollToBottom hook using ResizeObserver that immediately yields when a user wheels up, and converted the sticky prompt header to a zero-height overlay anchor.

Self-improving prevention

Beyond fixing the bug, the agent added 11 unit tests, a layout assertion for StickyPromptHeader, and a new frontend skill rule for streaming transcripts so future agents never repeat the pattern.

Zero-touch Jira hygiene

C3Code@c3.ai populates the required Root Cause Assessment fields, links GitHub PR #2704, sets the fix version (8.13-studio), and transitions the Jira status to In Review for the Inspection Queue.