Inspiration

Every software team has a graveyard of decisions: "we're not adding Redis again", "public APIs stay REST", "checkout changes ship behind a flag". They are made in a Jira comment thread, agreed on, and forgotten. Six months later a new engineer (or a coding agent) picks up a ticket that quietly reverses one, and the team relives the same incident or the same three-week debate. ADR folders exist, but nobody opens them while working a ticket. We wanted the decision to come to the work, at the moment it matters.

What it does

Precedent is a decision ledger that lives inside Jira and is shared with Rovo and with coding agents.

  • Capture without ceremony. Start a Jira comment with DECISION: (optionally WHY:) and it is recorded with its author, date, source issue and comment. Comments that only sound like a decision ("we agreed to go with...", "going forward we'll...") go to a review queue instead of being lost.
  • Relevant decisions on every issue. The Precedent issue panel ranks the ledger against the issue you're on (text, components, labels, links and Teamwork Graph context) and shows why each decision is relevant.
  • Contradiction warnings, live. When someone creates or edits a work item that adopts something an active decision ruled out ("Add Redis to cache sessions"), Precedent comments on it within seconds: which decision, who made it, when, and on which issue. If the decision no longer holds, supersede it in one click, and the ledger keeps the history.
  • Check a plan before you start. Paste a plan on the project page and get a verdict: contradicts, related, or no prior decision.
  • A Rovo agent that remembers. Ask "What have we decided about session storage?" or "Does this proposal contradict anything?" The Precedent agent searches the ledger, cites decision ids, sources and authors, and asks for confirmation before recording or superseding.
  • MCP for coding agents. The same tools (search-decisions, get-decisions-for-issue, check-proposal, record-decision) are exposed through Rovo MCP, so Cursor, Claude Code or Devin can check a design choice against the team's decisions before writing the code. A skill file in the repo tells agents to stop on CONTRADICTS_EXISTING_DECISION.
  • Try it in 10 seconds. An empty ledger offers "Load example decisions", so a judge or a new team sees a working contradiction check right away.

How we built it

  • Forge, Runs on Atlassian. All code runs on Forge functions and all data is in Forge KVS storage; nothing leaves Atlassian.
  • UI Kit (native render) for the Jira issue panel and the "Decision log" project page (Ledger, Drift, Review queue, Check a plan, Settings), so it looks and behaves like Jira.
  • Jira triggers on comment, issue created and issue updated drive capture and live warnings.
  • Rovo agent + 5 Forge actions, and a rovo:mcp module exposing them as MCP tools.
  • Teamwork Graph supplies the goals, pull requests, deployments and teams around an issue for better ranking, and lets the project page scan recent work for unrecorded decisions. Every Graph call is best effort, with a Jira-only fallback.
  • Relevance and contradiction detection are deterministic and explainable: stemmed term overlap, component and label overlap, issue links, plus a negation parser that extracts what a decision rules out ("we will not use Redis") and flags work that adopts it. Same input, same answer, and every warning says why.

Challenges we ran into

  • Permissions. A decision ledger can leak information. Precedent only shows decisions from projects the viewer can browse, never records restricted comments, never quotes a decision from a security-level issue on another issue, and keeps site settings admin-only.
  • Precision of warnings. A noisy bot gets muted. We kept contradiction detection to explicit negations and adoption verbs, posted each warning once per issue, and phrased it as "may contradict" with a one-click way out.
  • Provenance. When a reviewer confirms a teammate's comment as a decision, the decision stays credited to the person who made it, with the reviewer named as recorder.

Accomplishments that we're proud of

  • One ledger, four surfaces: Jira comments, the issue panel, Rovo chat and MCP for coding agents.
  • Live, explained contradiction warnings that a team will actually leave on.
  • Concurrency-safe ids, full history on every decision, and a permission model we'd ship to a real customer.

What we learned

Decisions are the most valuable and least structured data in Jira. Ask people to fill in a form and they won't; let them keep writing comments and catch the decisions as they go. Agents raise the stakes: an agent with no memory of past decisions will happily reverse them at machine speed.

What's next for Precedent

  • Confluence ADR import, and publishing the ledger as a Confluence page.
  • Bitbucket/GitHub PR checks via MCP: a status check when a PR reverses a decision.
  • Marketplace listing.

Built with

atlassian-forge, forge-ui-kit, jira, rovo, rovo-mcp, teamwork-graph, forge-storage, javascript, react

Categories

Apps for Software Teams; bonus: Best Rovo Agent, Best app with Atlassian MCP, Best app with Teamwork Graph integration.

Built With

Share this project:

Updates

Submission history