code-anything.com
Sign inStart free
Dashboard

Graft

The review console of a repository coding agent, in the register of GitHub, Graphite and Linear: a pull request on its Files tab with a syntax-coloured diff, an inline review thread, green checks, what the agent changed and who signed off.

Pull-request review for a repository coding agent

pr-review.code-anything.app
GraftSearch code, PRs, tasks⌘KNew taskSO

Migrate cart/ from JavaScript to TypeScript #2481

Opengraft-agentagent wants to merge 6 commits intomainfromagent/ts-cart· for Maya Lindqvist · 2 h ago+412−389
23 files changed · 9 of 23 viewedUnifiedSplit
src/cart/total.tsrenamed from total.js+11−5Viewed
@@ -1,16 +1,23 @@ cart totals
1−const { formatMoney } = require('../lib/money')
1+import { formatMoney, roundCents, type Money } from '../lib/money'
2+import type { CartLine, Discount } from './types'
23
3−function cartTotal(lines, discount) {
4+export function cartTotal(lines: CartLine[], discount?: Discount): Money {
45 const subtotal = lines.reduce(
5− (sum, l) => sum + l.price * l.qty,
6+ (sum, l) => sum + l.unitPrice.cents * l.qty,
67 0,
78 )
8− const off = discount ? discount.amount : 0
9+ const off = discount?.kind === 'percent'
10+ ? roundCents((subtotal * discount.value) / 100)
11+ : (discount?.cents ?? 0)
graft-agentagent· 2 h ago

Typing Discount as a union exposed a bug: the JS version took every discount as a fixed amount, so a 20 % code took 20 cents off. Covered by total.test.ts › percent discounts.

MLMaya Lindqvist· 1 h ago

Good catch. Keep the rounding in lib/money so invoices round the same way?

graft-agentagent· 52 min ago

Done in 3f9c2e1: roundCents() now lives in lib/money.ts and invoices use it too. Checks re-ran green.

Reply…Resolved
912 return formatMoney(Math.max(subtotal - off, 0))
1013}
1114
12−module.exports = { cartTotal }
15+// Free shipping is decided on the discounted total, not the subtotal.
16+export function qualifiesForFreeShipping(total: Money): boolean {
17+ return total.cents >= FREE_SHIPPING_CENTS
18+}
src/cart/types.tsnew+36−0Viewed
src/cart/CartDrawer.tsxrenamed from .jsx+58−61Viewed

Review inbox

Everything waiting on you or the agent, across 4 repositories.

Open inbox ›
Needs your review 3
#2481Migrate cart/ from JavaScript to TypeScriptcheckout-web · agent/ts-cart → main · T-318graft-agent5/5 passed+412−3892h
#2477Fix flaky order-confirmation email testcheckout-web · agent/fix-email-flake · T-311graft-agent5/5 passed+18−95h
#918Add dark mode to the account settings pagesdesign-system · agent/dark-settings · T-305graft-agent4/4 passed+236−411d
Agent working 2
#2484Bump Stripe SDK and move to the pinned API versioncheckout-web · T-321 · running unit testsgraft-agentTests 3/5+64−5212m
#1203Rate-limit the public search endpointapi-gateway · T-322 · Rafael asked for thisRDRafael DuarteTypecheck failed+87−640m

Agent run for #2481

9 min 05 s, start to pull request.

  1. Indexed the repositorySemantic and symbol index, 1,940 files. cartTotal is used by 7 modules.
  2. Planned the change23 files in src/cart, one shared type file, no public API changes.
  3. Edited in a sandbox cloneNever on your branches. 6 commits on agent/ts-cart.
  4. Typecheck, tests, lint, buildAll five checks green before anyone was asked to look.
  5. Opened pull request #2481Requested review from the CODEOWNERS of src/cart.

This month

checkout-web

Agent PRs merged38+11 vs October
Median time to review3.4 h−1.2 h
Merged without changes requested82%
What the agent was asked to do
Fixes 34%Migrations 27%Tests 22%Chores 17%

About Graft. A dense, calm dark review console that shows exactly what changed, that the checks passed and who has signed off.

Graft is the logged-in app where engineers review what a coding agent did to their repository. A dark sidebar holds the review queues (needs your review, opened by the agent, merge queue), the agent's tasks and runs, the repositories and the state of the code index. The work surface opens a pull request on its Files tab: title, state, branches and diffstat, Request changes and Approve & merge, then a unified diff with line numbers and syntax colour and an inline thread where the agent explains a bug the types exposed and answers the reviewer. The right rail answers what a reviewer checks before approving: typecheck, tests, lint, build and preview all passed, what the agent changed and what depends on it, reviewers and CODEOWNERS, the linked task and labels. Below: the review inbox grouped into needs your review and agent working, the agent's run for the pull request step by step, and the month's review stats.

Colours and type. The palette, fonts and corners every page of Graft is drawn from.

bg#0A0E1A
surface#0F1424
text#E6EAF4
muted#8E98AF
accent#7C6CFF
accent2#38E1FF
border#1D2640
Headings

Inter

Body

Inter

Radius

8px

The system, applied to any site. Every rule below travels with the template — describe your tweaks and the agent keeps the system intact.

What it decides for you

  • Build it the way the category leaders build their review tools (GitHub's pull-request view, Graphite's inbox, Linear's lists): it is the logged-in product, so the chrome is quiet and the data is dense. Deep navy ground, a slightly lighter work surface, hairline borders, no hero, no marketing copy, no illustration.
  • One violet accent (#7C6CFF) for the primary action, the agent's identity and the current tab; cyan (#38E1FF) only for links, branches and preview URLs. Diff green and red are fixed semantic hues, always with a + or − sign; check states always carry a word ("Passed", "Tests 3/5", "Typecheck failed").
  • Inter at a 13 px app scale for the interface; JetBrains Mono (ligatures off) for code, PR numbers, commit hashes, branch names, durations and diffstats, with tabular figures.
  • The diff is the centre of the page: file header with path, rename/new tag, diffstat and Viewed, then hunks with old and new line numbers, tinted add/delete rows and syntax colour, and review threads inline between the lines they discuss.
  • The right rail answers the reviewer in order: did every check pass, what did the agent change and what depends on it, and who still has to approve (including CODEOWNERS).
  • The agent is a participant, not magic: a violet square avatar with an "agent" tag, comments that explain why, and a run timeline from index to opened pull request.
  • On phones the sidebar disappears, the actions go full width, tabs scroll inside their own strip, the diff drops the old line-number column and the inbox rows restack as title + age over check state.

Ships with

  1. Top bar: product mark, breadcrumb (org / repo / Pull requests / #2481), ⌘K search, New task, notifications, signed-in user
  2. Sidebar: Review queues with counts, Agent (tasks with live running count, runs, policies), repositories, code-index status
  3. Pull request head: title and number, Request changes, Approve & merge, Open state, agent author, base and head branches, diffstat
  4. Tabs: Conversation, Commits, Checks 5/5, Files changed (active), Agent run
  5. Files changed: viewed progress, unified/split toggle, a syntax-coloured diff with an inline resolved review thread, collapsed further files
  6. Right rail: checks (typecheck, tests, lint, build, preview), what the agent changed with dependants, reviewers and CODEOWNERS with the linked task, labels
  7. Review inbox grouped into needs your review and agent working, with priority, number, title, author, check state, diffstat and age
  8. Agent run for the pull request as a timeline, and the month's stats (merged, median time to review, merged without changes, task mix)

Keep looking. More from the library, dashboard first.

Browse all
DashboardCockpitA product-analytics board in the register of Mixpanel, Amplitude and PostHog: a Linear-style sidebar, filter chips, a written weekly summary, KPI cells, an annotated trend, a breakdown, a funnel, retention curves, a cohort heatmap, an accounts list and an annotation feed.DashboardPulseA sales CRM workspace in the register of Attio and Pipedrive: a quiet sidebar, the quarter as KPI cells over a forecast bar against quota, a kanban pipeline with rotting deals in red, reps against quota, the commit call, today and the activity feed.DashboardKanbanA light cycle board in the register of Linear and Jira: workspace sidebar, an inset work surface with Board / List / Timeline views, a cycle header with progress and burndown, WIP-limited columns of dense issue cards, and workload, attention and activity panels.DashboardLedgrA logged-in household money app in the register of Monarch Money and Copilot Money: a left rail with the household, four summary tiles, flex spending against an even pace, a budget with pace ticks, net worth with assets and liabilities, the next 14 days of bills, transactions to review, goals with their own photos and an October cash-flow Sankey.DashboardReachA cross-network social analytics app in the register of Sprout Social and Buffer Analyze: a report sidebar, a date range with a "compared to" line, five summary cards with previous-period figures, audience growth against the last period, ranked top posts, best times, audience and a per-profile table.DashboardFleetA fleet operations console in the register of Samsara, Onfleet and project44: KPI strip, live map with the vehicle list and a selected-truck panel, an attention queue with dashcam stills, hours of service, maintenance, a loads board, safety and fuel.DashboardOrgChartThe working app of a people directory and org chart tool, in the register of Rippling, ChartHop and Pingboard: a grey sidebar, a white workspace, a KPI strip, a dot-grid org chart of photo cards with the reporting line to a search match drawn in indigo, a profile panel, headcount against plan, recent changes, a directory table, open roles and starters.DashboardSmartRouteThe approvals workspace of an internal request-routing tool, in the register of Linear Asks, Ramp and Zip: queues in a quiet sidebar, a dense request list with SLA clocks and approval pips, and a detail pane that shows why a request came to you and who has already approved it.DashboardRunwellThe operations workspace of a distribution site, in the register of Linear, SafetyCulture and Deputy: a request queue grouped by what has to happen next, an opening checklist run step by step with every tick timestamped, the week's rota against required headcount, automations and inbound purchase orders.DashboardSignalA light product-discovery workspace in the register of Productboard and Canny: an objective with its key result, ideas ranked by votes, customer impact and score, a detail panel with a live prototype test and the quotes behind it, plus a Now / Next / Later roadmap and an insights feed.The libraryAll 104 templates.Every category — stores, booking, portfolios, dashboards — in real code.

Make it yours in minutes.

Start from this template and describe your tweaks — content, sections, colours. The backend and deploy are handled.