Inspiration
Every engineering org has a graveyard of good decisions. An ADR says "Postgres is our only primary datastore" because the last MongoDB cluster cost a quarter of migrations. A security guideline says "card data never leaves the PCI zone". Eighteen months later a new teammate opens a ticket to store merchant notes in MongoDB, a reviewer approves it, and nobody connects it to the ADR until the incident review.
Atlassian already helps teams make decisions (DACI pages, Rovo's Decision Director). Nothing helps a decision survive contact with new work. The knowledge exists in Confluence; the work happens in Jira; the link between them is human memory.
In law, a precedent is a past decision that new cases have to reckon with. We wanted engineering decisions to work the same way.
What it does
Precedent turns decisions into active guardrails across Jira and Confluence:
- Guards new work. Every new or edited Jira work item and Confluence page is checked against the team's active decisions. When work goes against a decision, Precedent raises a challenge: it appears in the Precedent panel on the work item and as a comment that quotes the exact sentence behind it, the rule, a suggested way forward and an @mention of the decision owner. People can acknowledge the challenge, resolve it, dismiss it (with a reason) or — if they own the decision — grant an override that becomes part of the decision's history.
- Knows conflict from tension. Shipping a forbidden choice is a conflict. A time-boxed spike, a prototype that isn't going to production, or a claimed approval without a reference is a tension: worth a conversation, not an alarm.
- Tracks the bets behind each decision. Decisions carry assumptions and the evidence that would break them ("we stay under 20k writes/s"). When a work item says "Black Friday forecast is 35k writes/s", Precedent marks the assumption at risk and asks the owner to confirm it broke — which sends the decision back for revisit.
- Harvests decisions people make in passing. "Capture decisions" on a Confluence page (ADRs, meeting notes) extracts proposed decisions with rationale, rejected alternatives and assumptions into an Inbox for one-click confirmation.
- Check a change before you write the ticket. Paste a plan and get clear / tension / conflict in seconds.
- Who to ask. Teamwork Graph shows who owns, wrote and edited the page a decision came from, the teams they're in, and the goals a flagged work item supports — so a flag ends with "talk to Maya on Platform Engineering", not a dead end.
- Rovo agent and MCP. The Precedent agent answers "can we use DynamoDB for session tokens?", explains the challenges on the current work item and records decisions from chat. The same tools are published through
rovo:mcp, so a developer in Claude Code or Cursor can check a plan against their company's decisions without leaving the IDE.
How we built it
- Forge, end to end: Custom UI (React + Vite, Atlassian design tokens, light/dark) for a Jira global page, a Jira issue panel and Confluence content action/global page; product event triggers; Forge Events queue for async scans; scheduled trigger for assumption review dates and housekeeping; Forge SQL for decisions, assumptions, challenges, candidates and activity; KVS for settings and caches; Forge LLM (Atlassian-hosted Claude) for analysis. No external egress at all.
- The engine: a lexical/scope ranker picks the decisions that apply to the work (project-scoped decisions never leak into other projects' prompts), one structured-JSON call does conflicts, assumption signals and harvesting together, and the output is validated — every quoted sentence must literally exist in the source text or the finding is dropped.
- Rovo: an agent with a decision-guardrails skill and nine actions;
rovo:mcpexposes the read/check tools plusrecord-decisionto external MCP clients. - Teamwork Graph: curated queries (page owners/creator/contributors, user teams, work item goals) called with
requestTeamworkGraphas the current user, so the graph never shows anyone something they couldn't see themselves. - Testing with agent swarms: parallel Claude agents ran a labelled detection-quality suite (paraphrased conflicts, spikes, compliant look-alikes, fake approvals, injection attempts), a backend API fuzz pass, a UI click-through and a security review against Atlassian's Forge security guidance.
Challenges we ran into
- Safety screening vs. compliance review. A ticket proposing to "log the full card number for debugging" sometimes tripped the hosted model's safety filter. Precedent retries with an explicit governance-review framing and a smaller prompt.
- Trust. A guardrail that cries wolf is worse than none. We tuned for precision, separated tensions from conflicts, and made the model unable to escalate anything irreversible on its own.
- Permissions. Scans run as the app, so stored findings could leak titles and quotes from restricted work. Every list is filtered per viewer with bulk visibility checks as that user.
- Prompt injection. Anyone can write a ticket. Work text is fenced as data, instructions inside it are ignored, and a claimed "the CTO approved this" without a reference no longer silences a conflict.
Accomplishments that we're proud of
- On the seeded "Northwind Pay" company it caught every planted conflict (MongoDB for webhooks, PAN in logs, a Go service, EU data replicated to us-east-1, a 3DS kill switch) with zero false alarms on the ordinary tickets around them — and noticed when a capacity forecast broke the bet behind the Postgres decision.
- One engine serves five surfaces: background scans, the issue panel, "check a change", the Rovo agent and external MCP clients.
What we learned
Decisions fail silently, at the moment new work is planned — so the right place for decision tooling is inside the work tools, not in a separate register. And the assumptions behind a decision are as important as the decision: most bad decisions were good ones whose conditions changed.
What's next for Precedent
Decision dependency graphs (superseding chains), Bitbucket pull-request checks, Compass component scoping, team-level digests, and learning from dismissed challenges to tune each decision's sensitivity.
Privacy
Precedent runs entirely on Atlassian Forge (Runs on Atlassian). All data — decisions, assumptions, challenges and activity — is stored in the customer's own Forge SQL/KVS storage on Atlassian infrastructure; analysis uses Atlassian-hosted Forge LLM. The app has no external egress, sends no data to third parties, uses no analytics or tracking, and stores only Atlassian account IDs (never emails or names). Uninstalling the app deletes its data.
Built With
- confluence
- forge
- forge-llm
- forge-sql
- javascript
- jira
- mcp
- react
- rovo
- teamwork-graph
- vite