Docs

Collaboration

Conflicts

Every conflict kind Comity detects, with examples, severities, statuses, actions, false positives and overrides.

25 min readUpdated

On this page

A conflict (CF-n) is overlapping or incompatible work between two participants: two agents' intents or sessions, an agent and a pushed branch, an agent and a protected-path rule, or an agent and a team decision. Comity detects conflicts from what agents actually edit (and what they declare), persists them, briefs both sides, and closes them when the overlap goes away.

Kinds

Kind Dashboard label Default severity Can block
path_overlap Same files info only exclusive claims
symbol_overlap Same code warn no
contract_break Contract break warn only for high/frozen contracts
dependency_order Dependency order warn no
protected_path Protected path block yes
decision Team decision the decision's mode yes, in mode block

textual_merge and duplicate_work exist in the API's enums and policy, but no detector produces them.

One situation, one conflict. When the same two sides overlap in several ways about the same file, Comity opens one conflict for it instead of one per kind:

  • a contract_break takes in the pair's other contract_breaks about contracts in the same file, in either direction (each side changed computeTotal and calls the other's version);
  • a contract_break takes in the pair's symbol_overlap when the overlapping symbols are its contracts (or a method of one, or its class), or lie in the contracts' file;
  • what is left of the pair's contract_breaks and symbol_overlap takes in its path_overlap when every overlapping file is one they are about (the contracts' files, the dependents' call sites, the symbols' files).

For example, one side changes the signature of Transfer while the other adds a call to it and claims Transfer and its file: that is one contract_break whose explanation ends with Same situation: symbol overlap on …; path overlap on …. (contract break the other way on … when the other side's change breaks the first side too), and whose evidence lists them under absorbed. It takes the highest severity among them, so answer it once. A blocking finding (an exclusive claim, a block policy) is never taken in, and overlaps on other files stay separate conflicts. A conflict that was open before it got taken in resolves as superseded; if the higher conflict goes away while the overlap stays, it reopens under its own number. A contract_break you resolved reopens when it takes in a break or symbol overlap it didn't hold when you resolved it.

Explanations are written when a conflict is detected; each side's branch in them (INT-12 (jordan, claude_code, feat/partial-refunds)) is shown as it is now, so a side that moved to another branch reads with its current one.

path_overlap

Both sides touch or claim the same files. Confidence depends on how specific the match is: an exact path edited by both (0.9) is stronger than two overlapping globs in declared scopes (0.3–0.5).

INT-12 (jordan, claude_code, feat/partial-refunds) and INT-14 (maya, codex, feat/refunds) overlap on 2 path(s): src/billing/refund.ts, src/billing/types.ts.

Suggestion: Narrow scope to avoid the shared paths, or coordinate via message_send between INT-12 and INT-14; if both must change them, agree on an order (conflict_respond propose_sequence).

Path overlap is info by default: it appears in briefings and the dashboard but doesn't warn. It blocks when one side holds an exclusive claim on the path (declared with mode: "exclusive", or the path matches the policy's exclusive_by_default, in which case whoever touched it first holds it), the claim covers at most exclusive_max_files files, the holder's intent isn't itself blocked (waiting for an override), and the other side is about to edit it:

INT-12 (jordan, …) holds an exclusive claim on db/schema.prisma covering db/schema.prisma; INT-14 (maya, …) is about to edit it.

While the holder's intent is blocked, the overlap is a plain warn or info path_overlap whose explanation adds "INT-n's exclusive claim <glob> doesn't block while that intent is itself blocked (waiting for an override).", so it never blocks the owner or admin who has to approve that override.

symbol_overlap

Both sides change, or claim, the same function, class, method or type. A signature change or removal on one side against a modification on the other scores higher than two compatible edits; overlap through a containing class or in test files scores lower.

INT-12 (jordan, claude_code, feat/partial-refunds) and INT-14 (maya, codex, feat/refunds) both work on 1 symbol(s): sym:ts:src/billing/refund.ts#issueRefund. INT-12 changes the signature of sym:ts:src/billing/refund.ts#issueRefund; INT-14 modifies it.

Suggestion: Sequence the work: agree who merges first (message_send to INT-12 or INT-14); the side going second answers conflict_respond will_rebase and rebases after the other merges (wait_for intent INT-12 or intent INT-14 returns when it is done), or split the symbol's work.

Database tables and migrations

Schema changes are keyed by table, db:<table> (lower-case, without quotes or the default schema: "public"."Invoices" is db:invoices), from:

  • SQL files: CREATE TABLE (adds the table), DROP TABLE (removes it, breaking), ALTER TABLE, CREATE INDEX … ON, RENAME TABLE (changes it), and INSERT/UPDATE/DELETE (data changes).
  • Prisma schemas: each model, keyed by its @@map("…") table name, else the model name.
  • Knex migrations (knex.schema.createTable/alterTable/table/dropTable("…")) and Drizzle tables (pgTable/mysqlTable/sqliteTable("…")).

A table change is breaking when it drops or renames a column, changes a column's type, sets NOT NULL, or adds a NOT NULL column without a default (for Prisma: a removed or retyped column, or a new required column without @default). Adding a nullable or defaulted column, or an index, is compatible.

Two intents that change the same table get a symbol_overlap on db:<table>. A new file in a migrations, migration, migrate or drizzle folder whose name starts with a number (migrations/0004_add_due_at.sql; for Prisma, the 20261018_refunds/ folder) also records db:migration:<folder>/<number>, so two intents that each add migration 0004 overlap even when they touch different tables:

INT-1 (marina, omp) and INT-2 (tyler, claude_code) both work on 2 symbol(s): db:invoices, db:migration:migrations/0004. INT-1 changes the signature of db:invoices; INT-2 changes the signature of it.

contract_break

One side makes a breaking change to a contract the other side uses or has claimed:

  • an exported function, class or type whose signature changed incompatibly or that was removed,
  • an HTTP route that was removed, moved or whose signature changed (method, path, handler, schemas),
  • an exported zod schema that lost or retyped a field (adding an optional field is compatible).

"Uses" means the other side's new code references it: an import, an HTTP call to the route (fetch, axios, ky, got, HttpClient, Python requests/httpx/aiohttp), or a package import from another repo. A claim on the contract (scope.contracts or symbols) also counts, with lower confidence.

INT-12 (jordan, claude_code, feat/partial-refunds) changes the signature of http:POST /v1/refunds (breaking, criticality normal); INT-14 (maya, codex, feat/refunds) adds 1 reference(s) to it in web/src/api/refunds.ts.

Suggestion: INT-14 can build against the new signature and declare the dependency (intent_update depends_on_add INT-12), or ask jordan to keep a compatible shim until it merges (message_send).

A route whose handler changed but whose signature didn't is reported as a non-blocking contract break, "behavior/response changed", when the other side calls it. See HTTP contracts.

TypeScript interfaces and object types. For an interface or a type alias of an object literal (also Base & { … }), each property is compared on its own:

Change Compatibility Contract break
optional property added (featured?: boolean), property union reordered compatible none
required property added unknown: code reading the type still compiles, code building values of it doesn't warn
required property made optional, property union widened ("draft" | "live" → "draft" | "live" | "archived", T → T | null) unknown: code building values still compiles, code reading them may have to handle undefined or the new variant warn
property removed or retyped, union narrowed, optional property made required, readonly changed breaking warn, or block for critical contracts

Properties whose type is itself an object literal are compared as a whole, so any change inside them counts as a retype. Other aliases (type Status = "a" | "b") compare as one type: a change is unknown.

Contract breaks escalate to block only for contracts whose criticality is in the policy's block_contract_break_when_criticality (default high, frozen). Contracts have criticality normal, and there is currently no way to raise it, so contract breaks warn.

Supported code. TypeScript, TSX, JavaScript, Python and Go for symbols and signatures; Python model fields (dataclasses, pydantic, TypedDict, attrs) count like TypeScript properties, and Go calls into other packages of the same module count as uses. HTTP routes for Express, Koa, Hono, Fastify, Elysia and similar routers, Next.js app/**/route.ts and pages/api/**, FastAPI, Flask, Sanic, Quart, Starlette, and Go net/http (Go 1.22 patterns), chi, gorilla/mux, echo and gin; HTTP calls from fetch/axios-style clients, Python requests/httpx and Go net/http. Zod schemas in TypeScript and JavaScript. Database tables from SQL migrations, Prisma schemas, Knex migrations and Drizzle tables (see Database tables and migrations).

Compatibility rules that differ by language. Adding a required field to a TypeScript interface is "compatibility unknown" (code that reads values keeps working). Adding a required field to a Python dataclass, pydantic or attrs model is breaking, because every Model(...) call without it fails at runtime; a TypedDict or Protocol field stays unknown. Adding an unexported (lowercase) field to a Go struct is compatible, because other packages can neither set nor read it, and it doesn't overlap edits of the struct's methods.

Python script folders. from models import LedgerRow in tools/recon/test_reconcile.py refers to tools/recon/models.py when that folder has no __init__.py (Python and pytest put the script's folder first on the import path). Inside a package, absolute imports resolve from the repo root or src/ first. Only a module found nowhere in the repo is treated as a PyPI package.

Go method calls. s.store.Get(id) is a use of Store.Get when store is declared as a *store.Store. A variable whose type Comity can't see (q := r.URL.Query(), h := r.Header) is never matched to a method of your code by name, and neither are method names common on standard-library types (Get, Set, Add, List, Lock, String, …).

Across repos. When a repo's route or exported package symbol breaks and an agent in another linked repo uses it, the conflict is reported to both, prefixed "Cross-repo: the contract is in X, the code that uses it in Y." Cross-repo conflicts never block. Linked repos are controlled by cross_repo_contracts and projects.

HTTP contracts

A route is keyed by its method and path, http:GET /v1/charges/{}. Path parameters in any syntax (:id, {id}, <int:id>, [id]) become {}, so http:GET /v1/charges/{id} in a claim matches chargesRouter.get("/v1/charges/:id") on the server and fetch(`/v1/charges/${id}`) in a client. A client whose method is unknown uses *, which matches any method.

  • Route moved or method changed. The old key is gone for every caller: changing PUT /api/customers/:id to PATCH, or /api/customers to /api/clients, is reported to anyone who calls or claims the old route, as "moves http:PUT /api/customers/{} to http:PATCH /api/customers/{}" when the old and new route can be paired, otherwise as "removes". A route removed from one file and defined again in another by the same agent is not a break.

  • Mount prefixes. A route registered on a router (router.put("/:id")) is keyed with the prefix the router is mounted under (app.use("/api/customers", router)) when Comity finds the mount. When it can't, the route keeps its router-relative path (http:POST /{}/status) and matches callers by suffix: http:POST /api/orders/{}/status matches, with mount prefix /api/orders. The suffix only counts when it is unambiguous: if the other side's calls and claims imply two different prefixes (/api/orders/{}/status and /api/customers/{}/status), neither matches. A relative route without any literal segment (/ or /{}) never matches by suffix. The conflict's evidence records relative: true and the mount_prefix it assumed.

  • Type-caused route breaks. When a request or response type or schema changes incompatibly (Charge loses amount), every route that uses it is broken too, even though the route's own code didn't change. The conflict names the type:

    INT-12 (tyler, claude_code) changes sym:ts:src/types.ts#Charge (request/response type of http:GET /v1/charges/{}) (breaking, criticality normal); INT-14 (marina, omp) declared a dependency on it (shared claim).

    This works across repos too: an agent in the storefront repo that claims or calls GET /v1/charges/{id} hears about a Charge change in payments-api.

  • Behavior-only changes. A route whose handler or definition changed with the same signature is "behavior/response changed". It never blocks, and when its confidence is below 0.3 (for example, only a declared claim on the route and no new call) it is info rather than warn: an internal handler edit rarely changes what callers see.

How routes and calls are detected

Comity's analyzer reads the changed files of each edit, and from the CLI it also reads other files of your worktree (a git grep per lookup) for facts that live elsewhere. It prefers missing a contract over inventing one: when a rule below doesn't apply cleanly, the route or call keeps its file-local key or is skipped.

  • Mounts. For a router exported from the changed file (export const customersRouter = Router(), or CommonJS module.exports = router), Comity looks in the same workspace package for files that import it and mount it: app.use("/api/customers", customersRouter), app.use("/api", auth, router), Hono app.route("/api", sub), or app.use(router) (mounted at the root). CommonJS mounts count the same: const customers = require("./routes/customers") then app.use("/api/customers", customers), or app.use("/api/customers", require("./routes/customers")), so converting an Express app between CommonJS and ES modules moves no route. Files that import a module named after the router file (from "./routes/invoices", require("./routes/invoices")) are read first, so a word like invoices appearing in many other files (SQL reports, fixtures) doesn't hide the file that mounts it. Nested mounts are followed across files (app.use("/api", api) in one file, api.use("/users", usersRouter) in another), up to three levels. A router mounted under several prefixes gets a key for each (up to four).
  • Mount changes. A file that mounts an imported router also carries that router's routes under the mount, so changing app.use("/api/customers", …) to "/api/clients" moves each of its routes. This works when the router's file defines a single exported router.
  • Method changes. When a route disappears and another appears on the same path with a different method (PUT → PATCH), and that pairing is unique in the file, the route moved. A changed handler is not needed.
  • Wrappers. A function whose request URL or method comes from its parameters is a wrapper; its call sites are the references. This works for wrappers in the same file and wrappers imported from another file of the repo: request("PUT", `/customers/${id}`) with export async function request(method, path) { return fetch(baseUrl + path, { method }) }, object-method wrappers (api.put(`/customers/${id}`, body) with export const api = { put: (path, body) => request("PUT", path, body) }) and namespace imports (t.request(…)). Wrappers of imported wrappers are followed one more file deep. The method must be a string literal at the call site, or the call matches any method (*).
  • Base URLs. The wrapper's base (let baseUrl = "/api") is part of the key: request("PUT", "/customers/1") above becomes http:PUT /api/customers/{}. Constants imported from another file (fetch(`${API_BASE}/customers/${id}`, { method: "PUT" }) with export const API_BASE = import.meta.env.VITE_API_URL ?? "http://localhost:3001/api") contribute their literal value, or the literal fallback after ?? or ||. The origin is dropped. A base Comity can't read is left out, which can leave the key without its prefix.
  • Types of a route. A route is typed by the type arguments of its registration, the handler's parameter and return types (res: Response<Charge>), and what the handler sends: the arguments of res.json(…), res.send(…) and c.json(…), and return values. The names in those expressions are followed through their declarations: const charge = charges.get(id) leads to charges, and export const charges = new Map<string, Charge>() in another file leads to Charge. A type the handler only reads internally doesn't count, so POST /v1/refunds doesn't depend on Charge just because it looks one up. When an exported interface, type, class, enum or zod schema changes in a breaking or unknown way, or is removed, every route in the repo typed by it (up to 40 candidate files per type) is reported as changed, with the type as its cause.

File moves

A file moved or renamed with git mv is reported as a move, not as a removal. Its exported symbols keep their history (sym:ts:packages/api-client/src/orders.ts#createOrder → sym:ts:packages/api-client/src/resources/orders.ts#createOrder), and briefings show "moved X to Y".

A move only breaks code that imports the old file directly (import { createOrder } from "./orders"). Code that imports through a barrel or the package root (import { createOrder } from "@shopline/api-client") keeps working as long as the barrel re-exports the new file, so it gets no conflict. Claims on the old symbol key still count.

INT-8 (marina, omp) moves sym:ts:packages/api-client/src/orders.ts#createOrder to sym:ts:packages/api-client/src/resources/orders.ts#createOrder (file moved from packages/api-client/src/orders.ts to packages/api-client/src/resources/orders.ts) (breaking, criticality normal); INT-9 (tyler, claude_code) adds 1 reference(s) to it in packages/ui/src/CustomerRow.tsx.

Suggestion: INT-9 can update its imports from packages/api-client/src/orders.ts to packages/api-client/src/resources/orders.ts (imports through a barrel or package root that re-exports it keep working) and declare the dependency (intent_update depends_on_add INT-8), ask marina to keep a re-export at packages/api-client/src/orders.ts until it merges (message_send), or wait_for intent INT-8 to land first.

Renaming a symbol inside the same file is not reported as a contract break. Across repos, package imports (@acme/types) always go through the package root, so a file move inside the package never breaks them.

dependency_order

Intents declare dependencies with depends_on. Comity reports:

  • depending on an intent that was abandoned or expired:

    INT-14 (maya, …) depends on INT-12 (jordan, …), which is abandoned.

    Suggestion: Remove the dependency (intent_update depends_on_remove INT-12) or take over the work it was meant to deliver.

  • a cycle of dependencies among live intents:

    Dependency cycle among 2 participants: INT-12 → INT-14. None of them can merge first.

protected_path

A path matches a protected_paths glob and the person whose agent touches it isn't one of the rule's user:<email> owners. Blocks by default (an exact path match has confidence 1; a declared glob that merely overlaps the protected glob has 0.5 and only warns).

db/migrations/0042_refunds.sql (edit) by INT-14 (maya, codex, feat/refunds) falls under protected path db/migrations/** (owners: user:diego@acme.com); the user is not an owner.

Suggestion: Ask an owner (user:diego@acme.com) or an admin to approve (conflict_respond request_override), or move the change outside db/migrations/**.

List owners as user:<email>. Comity has no teams, so other owner forms (such as team:<name>) are rejected when you save the policy.

In agents' context (briefings, conflicts, conflict_respond, wait_for), the policy side of the conflict reads as its rule, for example "protected path db/migrations/** (owners: Diego)"; the dashboard shows it as a policy card.

decision

An agent's action goes against an active team decision's enforced rules: an edit under a reserved path, a package install it forbids, a removal of a package it requires, or a forbidden command. Side a is the decision (dec:<id>), side b the agent's session or intent; confidence is 1, since the rules are exact. Its severity is the decision's mode, not the policy's severity map: in mode block the action is denied and the conflict stays open until someone approves an override; in mode warn the agent only gets a heads-up. A forbidden package merely mentioned in a plan or prompt only warns. Nobody marks a decision conflict resolved or false_positive, neither an agent nor a person (refused with 409), and the dashboard doesn't offer those buttons for it: do the work the decided way, propose a change to the decision, or get an override.

adding package mongoose (npm i mongoose) goes against team decision D-4 (block; owner: alice@acme.com).

Suggestion: Do it the decided way, or ask the owner or an admin: propose a change with decision_propose_change (decision: D-4), or request an override with conflict_respond request_override.

An approved override covers the paths, commands and packages the conflict showed. Retiring or superseding the decision resolves its open conflicts. In agents' context the decision side reads as "team decision D-4 (block; active; owner: Alice)"; the dashboard shows the decision card with a link to it.

Severity and blocking

Each kind starts at the severity in the policy's severity map. A finding is blocking only when severity is block, the evidence is declared or observed (not inferred), and confidence is at least block_min_confidence (0.85); otherwise a block finding is downgraded to warn. Only the newcomer (the side that arrived second) is blocked, and only before an edit or shell command. See How it works → Decisions.

Statuses

Status Meaning
open New; needs attention
acknowledged Someone on a side said they've seen it (ack)
resolving A side is sequencing or rebasing (propose_sequence, will_rebase)
resolved Done: marked resolved, the overlap went away (evidence_gone), it was taken into a higher-kind conflict of the same pair (superseded), one side merged/abandoned/ended, or every side marked it a false positive. Abandoning one of your intents first moves its conflicts to your other open intent in the repo when that one covers the same file or symbol (a claim or a recorded change), so closing a duplicate draft doesn't hide a real overlap
overridden A human overrode it with a reason
stale Both sides are gone

open, acknowledged and resolving are live. A conflict Comity closed itself (the overlap went away, a side merged or left) or a stale one reopens automatically if the same overlap comes back. One a person resolved (resolved, or false_positive from every side) stays resolved while the same overlap keeps being detected — further edits, the dependent adapting its code, or an intent_update of the branch or summary don't reopen it. It reopens only when something material changes: a new file or symbol in the overlap, another change to the contract (for example a signature change after the behavior change that was resolved), or the conflict now blocking. (A conflict that blocks can't be resolved by a person in the first place: see Actions.) The agent is then told what changed: "CF-2 (contract_break) reopened: new contract change: http:POST /v1/refunds signature changed (breaking)". An overridden conflict reopens only if it grows beyond what was approved (see Overrides). When a session without an intent declares one, its conflicts move to the intent and keep their numbers.

A contract break stays open for the dependent side after the changer merges (or its agent's session or intent goes away), because the dependent still has to adapt, unless both share the same checkout. When the dependent side leaves (merges, abandons, ends or expires), the break resolves like any other conflict.

Actions

Agents act with conflict_respond; people with the buttons in the dashboard's conflict drawer or POST /v1/conflicts/:ref/actions. Only participants (and owners/admins) can act.

Action Status after Use it when
ack acknowledged You've seen it and are coordinating
propose_sequence resolving You propose an order (say which in note or a message)
will_rebase resolving You'll rebase after the other side merges
resolved resolved You've fixed it
false_positive see below It isn't a real conflict
request_override unchanged You need a human to approve working through a block
JSON
{ "conflict": "CF-9", "action": "will_rebase", "note": "Rebasing after INT-12 merges." }

Acting on a conflict that is already closed changes nothing: the answer is its current status ("CF-4 is already resolved (evidence gone); nothing to do."), not an error, since conflicts often resolve on their own a moment before an agent responds. request_override on a closed conflict that isn't a block is a no-op too: it asks nobody, and the reply adds "It blocks nobody, so there is nothing to override and no approver was asked." request_override still works on a resolved or stale blocking conflict, and an owner or admin can override any conflict that isn't overridden yet.

A live blocking conflict can't be marked resolved, or false_positive by a person: only an override approves blocking work, and a resolution would reopen at the next edit. The call is refused (409), for example: "CF-n (path_overlap) blocks work; resolving it would not unblock it: the next edit finds it again and only an override approves blocking work. Ask an owner or admin to approve it with conflict_respond request_override, have the exclusive claim's holder re-declare it as shared or release it (intent_update), or change the work so it no longer overlaps (the conflict then resolves by itself)." A blocking protected_path conflict also refuses an agent's false_positive: use request_override so an owner or admin can approve it, or move the work outside the protected path; the conflict then resolves by itself at your next edit or intent_update.

Sequencing from the dashboard

A person can settle the order of a conflict between two intents in one step: Propose sequence in the conflict drawer (or POST /v1/conflicts/:ref/sequence with {first: "a"|"b"}) picks the side that lands first. The other side's intent then depends on it (as with intent_update depends_on_add, shown as "Depends on" in Work), the conflict moves to resolving with the note "Sequenced: Tyler lands first", and both agents get the changed conflict at their next tool call with the order spelled out:

• CF-12 symbol_overlap [warn] · resolving · with INT-7 (tyler, Claude Code) · … · sequenced: INT-7 (tyler, Claude Code) lands first; your intent now depends on INT-7, so rebase after it merges (wait_for intent INT-7 returns when it is done).

The side going first reads "sequenced: you land first; … now depends on your intent and rebases after you merge." Picking the other order later removes the dependency the first pick added. A side that already depends on the other can't be put first (409), and conflicts with a protected path or a team decision have no second intent to order.

False positives

  • An agent's false_positive mutes the conflict for its own side only: that agent stops being warned or blocked by it. The reply: "CF-n is muted for your side (false_positive): Comity won't warn or block you about it again unless it changes materially. It stays open for the other side until they mark it a false positive too, or it resolves." The conflict resolves as false_positive once every side has muted it (immediately when both sides belong to one developer); a blocking conflict instead stays live and muted. On a blocking protected_path conflict an agent's false_positive is refused (see Actions).
  • A person's False positive in the dashboard (participant, owner or admin) resolves it at once, unless the conflict is live and blocking (refused, see Actions).
  • Feedback (POST /v1/conflicts/:ref/feedback, or Useful / False positive in the dashboard) records a verdict (useful, false_positive, too_late) used for tuning and the time-saved estimate.

To silence a whole class of noise, add paths to ignore_paths (generated files) or lower a kind's severity. Lockfiles and dependency manifests (package-lock.json, yarn.lock, pnpm-lock.yaml, package.json, poetry.lock, uv.lock, requirements*.txt, pyproject.toml, go.mod/go.sum, Cargo.lock, …) are still checked, because two branches that both change a lockfile do conflict at merge. But an info-level overlap on those files alone doesn't interrupt a working agent: it appears in the agent's next prompt briefing (and in session briefings, conflicts and the dashboard), not mid-turn.

Info-level path overlaps between two sessions of the same developer (parallel agents appending to one file) don't interrupt mid-turn either. They come once, at that agent's next prompt or session briefing, folded into one line instead of one per conflict: "• FYI: CF-1, CF-2 · info · your other sessions also changed src/index.js: your own parallel work, so no ack, mute or message needed; Comity warns if you change the same code." Symbol overlaps (warn), blocks and overlaps with teammates keep their own lines and arrive right away.

Overrides

An override lets both sides continue despite a conflict, including a blocking one. Only people, never agents:

  1. An agent (or person) calls request_override. Comity sends a system message, "Override requested for CF-n", to everyone whose role is in the policy's override.allowed_roles (default owners and admins): "Sam Lee requests an override of CF-n (protected_path, block). An owner or admin approves or declines it in the Comity dashboard: https://comity.so/dashboard/conflicts?org=acme&ref=CF-n. Agents can't approve overrides: if you are an agent, tell your user." The requester's name is used, or their email when they haven't set one. Asking again for the same conflict adds to the same thread. Once the conflict is overridden or resolved, the request counts as handled: agents stop hearing it and it no longer shows as unread. The agent's reply: "CF-n → override requested: an owner or admin approves or declines it in the dashboard (agents can't). Call wait_for (conflict: CF-n) to sleep until it is overridden or resolved; Comity also tells you when that happens."
  2. One of them opens the conflict in the dashboard, clicks Override…, and gives a reason (3–2,000 characters; optional when the policy sets override.require_reason: false). API: POST /v1/conflicts/:ref/override with {"reason": "…"}.

The conflict becomes overridden, the reason is stored encrypted and shown in the audit log, and the agent is no longer blocked by it. The override covers the paths and symbols the conflict had when it was approved: the agent can go on to edit them (an approved claim on src/lib/pricing.ts lets the agent edit src/lib/pricing.ts; an approved glob covers the files it matches), and the conflict stays overridden. If the same work later reaches a path or symbol the override didn't cover (another file under the same protected glob, another overlapping symbol), the conflict reopens and blocks again until someone approves that too; earlier approvals still count. Overridden contract breaks and dependency-order conflicts stay overridden for the same contract or dependency.

For a protected path, the approval also covers the files under the protected glob that the intent had declared when it was approved (its intent_declare/intent_update scope, an exact path or a glob): renaming or renumbering among them needs no second approval. Any other file under the glob — one declared after the approval, or edited without being declared — reopens the conflict under its number, and the reopen says what is new and what the approval covered ("new path prisma/seed.ts needs approval: the approved override covered only prisma/schema.prisma"). The blocked edit names that conflict, so the agent can request_override again and an owner or admin can approve the new file; earlier approvals still count. The earlier "approved" notice then counts as read, so it no longer sits unread next to the open conflict.

A conflict Comity closed on its own (a side closed its intent or left, the overlap went away) and finds again comes back in the state it was in: a conflict that was resolving after a will_rebase or propose_sequence stays resolving, so an agreed order survives a teammate closing and reopening their intent.

Everyone who requested the override (except the person who acted) then gets a system message of its own: "Maya approved the override of CF-n (protected_path, block) you requested: it no longer blocks the work it covers. Retry the blocked edit or command." If a person resolves the conflict instead (resolved, or a false_positive that closes it): "Maya resolved CF-n (kind, severity) without an override (resolution): it no longer blocks or warns you unless it is found again." Like any direct message, it reaches the requester's agents mid-task, wakes an inbox wait and appears in briefings. Once an agent of theirs was shown it, it counts as read for their agents: later sessions don't list it as unread.

An override granted to a session's auto-drafted intent survives the session ending. A blocked edit records no change, so a draft that never got past the block would otherwise expire when its session ends; a draft that holds an approved override, or an override request still waiting for an approver, stays instead (it expires after intent_ttl_hours if nobody comes back). When the same agent session resumes (claude --resume, or quitting and coming back to the same conversation), it still carries that intent, and the retried edit is allowed under the approved override instead of opening a new conflict. A draft that was only blocked, with no override requested, still expires with its session.

The approval also follows the draft when the resumed session continues your earlier unfinished intent on the same branch (its first edit there folds the draft into that intent): the approved paths carry over to that intent's protected-path conflict, so the edit you just got approved isn't blocked again. Nothing beyond the paths the owner approved is covered.

Time saved

The dashboard's Est. time saved counts conflicts caught before merge, in minutes per conflict weighted by severity. Overridden, false-positive and too-late conflicts, and conflicts between two agents of one developer, count zero. With shared tasks, duplicate tasks avoided and dead ends skipped add to it.

Try Comity now.

Start free →

npm i -g comity-cli && comity login && comity init