> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop.md).

# In your long-living branches: The code maintenance loop

- [What is the code maintenance loop?](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/code-maintenance-loop.md): Learn how to discover and solve issues already in your main codebase with the SonarQube Hunter Agent and Remediation Agent.
- [Remediation Agent](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/remediation-agent.md): This page outlines the SonarQube Remediation Agent, built to help you fix and manage code issues and SCA dependency vulnerabilities found by SonarQube.
- [Hunter Agent](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/hunter-agent.md): SonarQube Hunter Agent is an AI-powered agent that finds broken access control, business logic, and authentication flaws that traditional analysis misses.
- [AI CodeFix](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/ai-codefix.md): SonarQube's AI CodeFix feature offers AI-generated fix suggestions for issues found during your analysis.
- [How-to guides](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/solve-issues.md): Learn how to fix SonarQube issues with backlog fixes and AI CodeFix suggestions, and how to administer AI CodeFix and the Remediation Agent.
- [Get backlog fix suggestions](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/solve-issues/backlog-fix-suggestions.md): Use the SonarQube Remediation Agent to fix the backlog of issues already in your main branch.
- [Get individual issue fix suggestions](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/solve-issues/individual-issues-fix-suggestions.md): SonarQube Cloud’s AI CodeFix feature offers AI-generated fix suggestions for issues found during your analysis.
- [Administer AI CodeFix](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/solve-issues/administer-ai-codefix.md): How to administer AI CodeFix in SonarQube Cloud and SonarQube Server.
- [Administer Remediation Agent](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/solve-issues/administer-remediation-agent.md): How to administer the SonarQube Remediation Agent in SonarQube Cloud.
- [Uncover complex vulnerabilities with AI](https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop/solve-issues/uncover-complex-vulnerabilities-with-ai.md): How to enable the SonarQube Hunter Agent for your organization and projects so it runs an AI-powered analysis that uncovers complex broken access control, business logic, and authentication flaws.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sonarsource.com/agent-centric-development-cycle/in-your-long-living-branches-the-code-maintenance-loop.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
