TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/onenot8/issueLoop/llms.txt
Use this file to discover all available pages before exploring further.
issueloop Python package exposes a flat public API — every function is available directly on the top-level module. Import issueloop once and call issueloop.use(...) at startup to configure the database, LLM provider, and notification settings. After that, every other function is ready to call without additional imports or setup.
API categories
Scan & Test
scan_repo, run_tests, run_single_test, create_tickets, and get_file_inventory — the pipeline entry points that discover files, run your test suite, and convert failures into tickets.Ticket Lifecycle
get_top_error, resolve, fail, escalate, reassign, retry_bug, bulk_resolve, and get_bug_attempts — claim, advance, and close tickets.Bug Query
get_all_bugs, get_unresolved_bugs, search_bugs, get_bugs_by_status, get_bugs_by_priority, and more — read-only inspection of the ticket database.Fix-Apply
propose_fix, apply_fix, check_permission, and get_permission_audit_log — permission-gated shell command execution with automatic test re-verification.Live Monitoring
watch_process, watch_log_file, stop_watch, and list_active_watchers — real-time error detection from running processes and log files.LLM & Tokens
get_token_consumption, get_token_consumption_by_provider, get_llm_call_history, and get_llm_provider_status — audit LLM spend and debug provider configuration.Database
cleanup, purge_repo, get_database_stats, export_bugs, reap_stale_bugs, and rotate_logs — long-term ticket store maintenance.Config & Utils
use, get_config, list_repos, health_check, get_crash_log, and get_notification_config — setup and system diagnostics.Ticket object shape
Every function that returns a ticket —get_top_error, get_all_bugs, propose_fix, retry_bug, and so on — returns a dict with the following fields. Status and priority values are always lowercase strings.
| Field | Type | Description |
|---|---|---|
id | str | UUID assigned at creation |
repo | str | Repository name from the manifest |
priority | str | One of blocking, high, normal, low — set by LLM triage |
status | str | Current lifecycle status |
error_summary | str | Human-readable summary produced by LLM triage |
raw_log_ref | str | Reference to the source JSONL log entry |
command | str | The test command that produced this failure |
test_id | str | The test identifier from test_manifest.json |
attempts | int | Number of fix attempts made so far |
escalation_summary | str | None | Reason stored when the ticket is escalated |
proposed_fix | str | None | Shell command stored by propose_fix() |
created_at | str | ISO 8601 UTC timestamp |
resolved_at | str | None | ISO 8601 UTC timestamp, set on resolution |
dispensed_at | str | None | ISO 8601 UTC timestamp, set when claimed via get_top_error() |