Inspiration

Every team has a graveyard of decisions nobody remembers. Someone files "Move payouts to another provider" three months after the team agreed, on a Confluence page, to stay with the current one, with reasons, rejected alternatives and the conditions under which to revisit. Nobody notices until the work is half done. New people undo choices they never knew were made, and settled debates come back every quarter.

Atlassian's Teamwork Graph promises shared understanding of "what's already been decided." Precedent connects that memory to the moment it matters: when new work is created.

What it does

  • Guards new work automatically. When a Jira issue is created, Precedent checks it against the team's recorded decisions. If the issue contradicts one, it comments within seconds with the decision ID, a quote from the decision, a quote from the issue, the reason it matters, and the decision owner. Nobody has to ask.
  • Never misquotes. Every finding must quote the decision and the issue word for word. Deterministic code checks both quotes against the source text before anything is shown, and findings that fail are thrown away.
  • Responds, doesn't block. A conflict is not a veto. The issue sidebar shows who to talk to (owner, contributors and their teams from the Teamwork Graph) and three choices: link the issue to the decision, reopen the decision, or proceed with a written reason. That reason is recorded on the issue under the person's own name.
  • Notices when decisions go stale. Decisions can say "revisit if fees rise above 2%". When new work reports that a condition has happened, Precedent flags the decision itself for revisiting.
  • Answers "did we already decide this?" The Precedent Rovo agent finds the decision, reasons, rejected alternatives, owner and teams, and says "no record found" rather than inventing one.
  • Works for any AI agent. Precedent is an MCP server, so coding agents and assistants outside Atlassian can check a proposal against the team's decisions before suggesting a change. An open SKILL.md tells them how. Every answer is permission-filtered to what the signed-in user can see.

How we built it

Precedent is a Forge app (Node.js 24, UI Kit) with no external services: data stays in Forge storage, and the LLM is Atlassian-hosted.

  • Decision sync: Confluence pages labelled decision (architecture-decision-record style: Decision, Why, Alternatives considered, Revisit if, Owner, Status) and decision items on pages labelled meeting-notes are parsed from Atlassian Document Format without AI. Superseded and proposed decisions are recognised and never enforced. Only unstructured pages go to the LLM, and the extracted decision must be a verbatim sentence from the page.
  • Conflict check: candidate decisions (all live ones on small logs, BM25 top 8 on large ones) go to a Forge LLM (Claude Sonnet) that must return conflict or revisit_signal findings with two verbatim quotes. A verifier keeps only findings whose quotes appear in the source.
  • Modules: rovo:agent with 7 actions · rovo:mcp exposing 4 tools · trigger on avi:jira:created:issue · jira:issueContext and jira:issuePanel · jira:globalPage decision register (Decisions, Ask, Revisit, Accuracy) · scheduledTrigger daily sync · llm · Forge KVS.
  • Teamwork Graph: curated queries confluencePageOwners, confluencePageContributors and atlassianUserInTeams through requestTeamworkGraph, run as the user so the graph applies its own permissions.
  • Permissions: decisions are synced as the app but shown only to people who can view the source page. Every read checks the viewer's access first.

Accuracy

We wrote labelled Jira-style work items against a 16-decision sample log and ran them through the deployed app:

Set Conflict precision Conflict recall Revisit precision Revisit recall False alarms on items that should stay quiet
Held-out, 30 items, written after the last prompt change and run once 93% 100% 75% 100% 2 of 14
Development, 51 items 100% 100% 100% 100% 0 of 28

The held-out set is the fair number. Its two errors are published in the repo, and so is the first development run, before our one prompt fix.

Challenges we ran into

  • Quotes that were almost right. The first evaluation found every revisit signal, but verification rejected them: the model quoted the condition with the prompt's label (Revisit if: …). We now verify against exactly what the model was shown, and strip labels before display.
  • Separate storage per installation. The Jira and Confluence installations each have their own storage, so the agent once answered from an empty log. Each installation now syncs on first use, and concurrent first-use syncs are de-duplicated.
  • Intermittent Teamwork Graph errors. On our demo site the graph sometimes answered "User is not permitted to query this organization" and then succeeded moments later. Precedent retries, caches the last good answer for a day, and falls back to the decision owner from the page.

Accomplishments that we're proud of

  • A comment that appears before anyone asks, with receipts.
  • A guarantee, not a score: Precedent never shows a quote that isn't in the source.
  • Published precision and recall, including the errors.

What we learned

Trust comes from verifiability, not from confidence. A small deterministic check on top of an LLM turned "the AI says so" into "here is the exact sentence, linked."

What's next

Pull-request checks in Bitbucket and GitHub, decisions recorded straight from Rovo conversations into Confluence pages, and a weekly "decisions to revisit" digest for each team.

Built With

Share this project:

Updates

Submission history