Why Rovo and AI coding agents give wrong answers from your Confluence docs
Updated 2 December 2026 ยท 9 min read
Short answer: Rovo and AI coding agents usually give wrong answers from Confluence because the pages they retrieve are stale, contradict each other, point to dead or localhost links, have no owner or status, or are too long or too thin to retrieve cleanly. The model reads what it is handed and cannot tell which page your team still trusts. Fixing the pages (retire stale ones, keep one canonical page per topic, repair links, add owner and status labels, split oversized pages) removes the cause, while rewording the question only works around it.
How do Rovo and AI coding agents use your Confluence pages?
Rovo answers questions by searching the pages, live docs and blogs on your Confluence site. Atlassian's help page on searching for answers says the answers are based on content you have access to, that quality and accuracy may vary, and that you get the best results when your site is full of detailed, up-to-date content.
Rovo agents work the same way with a narrower scope. By default an agent can use all organizational knowledge, and you can limit it to chosen Confluence spaces or to one branch of a content tree. Rovo only surfaces what the person asking is allowed to see, as described in Atlassian's page on agent knowledge sources.
AI coding agents such as Claude Code, Cursor and Codex read the same pages through Atlassian's Rovo MCP Server, which applies the signed-in user's permissions, or through exported Markdown. The guide to giving coding agents your Confluence docs compares those routes.
All of these follow the retrieval-augmented generation pattern. The system searches for passages that look relevant to the question, hands them to a language model, and the model writes an answer from them. Two consequences matter. Retrieval ranks pages by how well they match the wording of the question, not by whether they are correct. And the model treats whatever it receives as the source of truth, because nothing in the passage says otherwise.
Not every wrong answer is a documentation problem, since model errors exist too. But when the answer is specific to your systems (a deploy flag, an endpoint, a runbook step), the cited page is the first place to look.
How can you tell whether a wrong answer comes from your docs?
Collect ten questions your team really asks, such as "how do I roll back the payments service?" Ask them in Rovo, and for every wrong answer open the sources it cites. Then match what you find to one of five causes.
| What you see in the answer | Likely cause | First fix |
|---|---|---|
| It was true two releases ago | Stale page | Update or archive the page, and show a review date |
| It mixes two versions, or changes between runs | Conflicting duplicates | Keep one canonical page and retire the rest |
| It refers to a link that fails, or to localhost | Dead or localhost links | Repair the link or remove it and keep its text |
| It presents a draft or proposal as current policy | No owner or status | Add owner and status labels |
| It skips the right section, or is vague | Oversized or thin pages | Split long pages, expand or delete stubs |
Keep the list of questions. You will ask the same ones again after the cleanup.
Why do stale pages produce confident wrong answers?
A model has no sense of age unless the page states one. A sentence such as "we deploy with Jenkins" reads as present tense whether it was written last week or three years ago. Retrieval can make this worse, because an old page that is long, well linked and keyword-rich may outrank the short page that corrects it.
Start by listing pages nobody has touched in a year. This example CQL (Confluence Query Language) query lists pages in a space with the key ENG that were last modified more than 365 days ago:
type = page AND space = ENG AND lastmodified < startOfDay("-365d")
The CQL reference documents the lastmodified field and date functions. CQL runs in the Confluence REST API search endpoints, in the search tool of Atlassian's Rovo MCP Server and in several Marketplace apps. The Last modified filter in Confluence's advanced search covers the same ground without a query.
On Premium and Enterprise plans, the content manager (Space settings, then Content manager) adds a Last active filter and bulk archiving of up to 500 items at a time. Then decide per page: update it, archive it, or add a visible "Last reviewed" line near the top so the age is part of the text a model reads.
Atlassian's documentation says archived content is excluded from quick search and analytics and can be restored. It does not say explicitly how Rovo treats archived pages, so archive one test page and ask Rovo about it before you rely on archiving as your cleanup. The guide on finding stale pages in Confluence Cloud covers the full workflow.
What happens when two pages disagree?
Duplicates form naturally. A team copies a runbook into its own space, a rewrite is saved as "Deployment Guide v2" without retiring the original, or the same README is imported twice under different titles. When both pages match a question, retrieval returns both and the model has to choose or blend. Atlassian's documentation does not describe a rule for deciding which of two conflicting pages wins, so assume there is none.
The fix is one canonical page per topic:
- Find candidates with title searches such as
type = page AND title ~ "deployment", and by browsing each team's space. - Pick the page that is correct and most linked. Merge anything unique from the others into it.
- Label the others
status-deprecated(see the labeling scheme for engineering docs) and archive them, or replace their body with one line that links to the canonical page. - Update inbound links so people and agents reach the canonical page first.
Do not leave the loser in place with a warning that it may be outdated. A warning helps a human reader, but a retrieval system can return a passage without it.
Why do dead and localhost links make answers worse?
A link is how a reader, human or agent, reaches the next piece of context. A page that says "follow the rollback procedure" and links to a page deleted last year leaves the agent with a reference it cannot resolve, so it answers from whatever is left. Placeholder links such as https://example.com/your-service behave the same way.
Localhost links are a special case. Pages imported from READMEs, or written during local development, often contain addresses like http://localhost:3000/docs. A person recognizes that as a local address. An agent with a shell or browser tool may treat it as an instruction, and it either fails or reaches whatever happens to be running on that port.
As of December 2026, Confluence Cloud has no built-in broken-link report. Search for visible text such as "localhost" with the search bar, and remember that search may not look inside the target of a link whose visible text is something else. The guide on finding broken links in Confluence Cloud covers manual and query-assisted methods. When you fix a link, point it at the canonical page, or remove the link and keep its text so the reference is not lost.
How do missing owners and statuses lead to wrong answers?
A brainstorm page, a rejected proposal and a final specification can all look the same to retrieval. Without a status, a model can quote the draft as policy. Without an owner, nobody notices the wrong answer and nobody is responsible for the fix.
Give every page in your engineering docs one owner and one status. Labels are the lightest way to do it, for example owner-sre-team and status-draft, status-active or status-deprecated. They make drafts findable with CQL (label = "status-draft") and reviewable by team.
Be realistic about what labels do for Rovo. Agent knowledge can be limited by space or by branch, but label-based filtering for knowledge sources is an open suggestion, ROVO-471, with the status Gathering Interest as of December 2026. Until that changes, keep drafts and archives in a space or branch that your agents do not use as knowledge.
How do oversized and tiny pages hurt retrieval?
Many retrieval systems split pages into passages before searching them. Atlassian does not publish how Rovo splits Confluence pages, so treat this as a general risk, not a measured Rovo behavior. A 10,000-word page that covers ten topics produces passages that say "the steps below" or "this service" without saying which one.
Length also affects models directly. The research paper Lost in the Middle: How Language Models Use Long Contexts (published in Transactions of the Association for Computational Linguistics) found that models often use information at the beginning or end of a long input better than information in the middle. For a coding agent that loads whole pages, an oversized page also spends context budget that the task needed.
Tiny pages cause the opposite problem. A 30-word page titled "Deployment" can match a question on its title and give the model nothing to work with. Folio's audit flags pages over about 3,500 or 6,000 estimated tokens and stubs under 40 tokens. Those are Folio's own heuristics, not Atlassian limits.
The fix is one page per task or concept, a two-sentence summary at the top, descriptive headings, and links instead of pasted copies. The guide on how much of your Confluence fits in an AI context window explains token budgets.
In what order should you fix the docs?
Work in the order that removes the most misleading text first:
- Run your ten questions and record which pages each wrong answer cited.
- Archive or update stale pages, starting with the ones cited most.
- Resolve duplicates so each topic has one canonical page.
- Repair dead and localhost links on the pages that remain.
- Add owner and status labels, and a review date on pages people depend on.
- Split oversized pages and expand or remove stubs.
- Ask the same ten questions again and compare the answers.
If an answer still reflects an old page, confirm the page was really archived or updated, and test again later. Atlassian does not document how quickly page edits reach Rovo's index. The cleanup checklist for preparing Confluence for Rovo turns these steps into a space-level checklist.
Where does an audit tool help, and where does it not?
A manual pass works for one space. Across many spaces, a deterministic audit saves effort. Folio's Audit & fix tab scores a page tree from 0 to 100 on freshness, link integrity, length and token density, and structure and labels, using no AI credits. It proposes only fixes it can make safely: removing dead and localhost links while keeping the link text, adding topic labels to unlabeled pages, and changing status-draft to status-active when the Jira ticket a page cites is done. You review and apply the fixes, and each change is saved in page history. See Fixing docs in the Folio documentation.
An audit does not decide which of two duplicate pages is correct, and it does not write missing content. Those need a person who knows the system.
FAQ
Does Rovo make up answers or only repeat my pages?
Atlassian says Rovo answers are based on the content you have access to, and that it may draw on its training data for generic definitions. It can still be wrong, because Atlassian notes that accuracy varies. For questions about your own systems, open the cited sources first. If the page says it, the page is the problem.
Why does a colleague get a different answer to the same question?
Rovo answers only from content the person asking is allowed to see, so two people can get different answers when page restrictions or space permissions differ. When you test, ask from an account with the same access as the people who reported the problem, and check which pages each answer cites.
Should I archive or delete stale pages?
Archive pages whose history might matter, because Atlassian says anyone who can archive an item can also restore it. Delete pages with no value, and note that deleted content moves to the trash until an admin purges it. In both cases, test how your Rovo agents behave afterwards, because Atlassian's help pages state the search exclusion only for quick search.
Do AI coding agents see the same Confluence pages as Rovo?
Through Atlassian's Rovo MCP Server they read pages with the signed-in user's own permissions, so they see what that user can see in Confluence and nothing more. Tools that work from exported Markdown see only what was exported, which can be older than the live page.