Inspiration
AI agents, Rovo and help centres rely on Confluence pages to answer questions. But when someone updates a policy page, the answers an AI gives can change without anyone noticing. There is no reliable way to know what those changes affect.
Ripple is designed to solve that problem. It regression-tests the knowledge pages that AI uses to generate answers.
What it does
For every important Confluence page, Ripple stores a set of golden questions, each linked to the exact passage that provides the answer.
Whenever a page is updated, Ripple checks which source passages have changed and re-runs only the questions affected by those changes. It then generates a consequence diff showing the before-and-after answers, the relevant passages, and whether the answer is unchanged, changed or contradictory.
There is also a text-diff gate, so simple edits such as fixing a typo trigger zero model calls.
Ripple also identifies the potential blast radius of a policy change. It searches its own index of Confluence pages and open Jira Service Management requests for references to the previous rule, then verifies each result to avoid confusing similar but unrelated policies. For example, a 30-day trial should not be mistaken for a 30-day refund window.
In a demo run on a Rovo-enabled site, I changed a refund window from 30 days to 14 days. Ripple flagged the golden answer as contradictory, identified 11 open requests across 2 request types and found another page still referring to the old 30-day policy. It correctly excluded a similar but unrelated reference.
Reviewers can confirm the updated rule, notify page owners through Confluence mentions or restore the previous page version. Every action is recorded in a hash-chained audit log.
I also built an optional Rovo agent with three read-only actions: check page status, assess change impact and suggest golden questions. It can answer questions such as, "What does the latest change to this policy affect?" using the same live data.
How I built it
I built Ripple using Forge Custom UI (React), Forge SQL and Forge LLM, with Confluence page events handled through a debounce queue and read access to Jira Service Management.
The application runs entirely on Atlassian Forge, with no external services or outbound data transfers. I also added a daily token usage cap that can be configured in Settings.
Challenges
- Audit log integrity: I discovered that Forge SQL auto-increment IDs are not guaranteed to be monotonic, which broke the audit hash chain. I fixed the implementation and re-verified the chain.
- Rovo user identification: During a live test, I found that Rovo passes the invoking user's identity through
context.principal.accountId, rather thancontext.accountId. This prevented the agent from identifying the user correctly. I updated the implementation and verified the fix against a live Rovo invocation.
What's next
My next priorities are to test the notification and restore workflows across more sites, verify the experience with non-admin users, and integrate Teamwork Graph to provide richer links between policies, pages and affected requests.
Built With
- confluence
- forge
- forge-llm
- forge-sql
- jira-service-management
- react
- rovo
- typescript