Knowledge is available on the Enterprise plan.
Learn from conversations
Gitar turns explanations in PR comments into reusable knowledge, with the context needed to understand where it applies.
Apply relevant guidance
Each review receives knowledge selected for its changes, so a convention for generated files does not become a rule for every file.
Follow the source
Citations connect review guidance to its source, making team-specific advice easier to verify.
Use engineering context
Connected documentation and tools bring the decisions behind the code into the review.
Where team knowledge comes from
Knowledge combines team-authored guidance with facts learned from repository work. Each entry retains its source, keeping an explicit instruction distinct from an observation.
Knowledge captures guidance from rule files. Rules still define the workflows and actions that Gitar runs.
Connected knowledge sources
Connected integrations and tools let Gitar consult engineering knowledge beyond the repository. Relevant documentation can explain why a design exists or which constraints a change must preserve.
Source access follows the connections and credentials configured for the organization. Gitar uses the available context for the task, while team learnings carry reusable guidance across reviews.
Web knowledge
Gitar can search the web and read documentation during a code review when a question needs context beyond the repository. Web references help check assumptions about a dependency against its documented behavior.
Web lookups supply reference material for the review. Team knowledge carries repository conventions and explanations from earlier work, so Gitar can consider both the library’s documented behavior and the way the team uses it.
How Gitar learns from comments
Gitar looks for explanations that remain useful beyond the current PR. A comment can teach a fact even when the finding is fixed rather than dismissed, and learning does not require a special command. Gitar reads the comment with its available thread and file context, then writes a short, self-contained note. The note keeps the limits of the explanation, including which files or subsystem it concerns.
Learning and handling feedback on the current PR are separate. Dismissing a finding does not, by itself, teach Gitar to ignore similar findings in future PRs.
How knowledge reaches a review
Gitar selects knowledge for each review using the changed code and PR context. The reviewer receives a focused set of relevant entries.1
Find matching knowledge
Gitar matches entries against the files and symbols involved in the change. It also searches using the PR title and description.
2
Check whether it applies
Gitar checks candidate entries against the actual change. A matching path alone does not establish that a convention matters to this PR.
3
Select guidance for the reviewer
Gitar ranks relevant entries and combines repeated matches. Source authority and relevance help decide which guidance reaches the review.
4
Review with that context
The reviewer uses the selected knowledge while examining the code. Findings can include source citations for the guidance they rely on.
Source citations
Knowledge citations link a code review finding to the source of the guidance it uses. A citation can point to a repository instruction or the earlier PR comment that explained a convention. For example, a finding about a generated getter can cite the comment that established the schema as the source of truth. The next reviewer can inspect that explanation without searching old PR threads. Gitar links a citation when the knowledge entry has a source URL. Guidance without an available URL remains readable as text. Citations support the explanation behind a finding, while its inline location identifies the code under review.Repository and organization scope
Repository instructions and comment learnings belong to their source repository. Organization instructions and configuration repository guidance can apply across the organization’s repositories, with relevance checked for each review. Cross-Repo Analysis checks whether a change breaks another repository. Knowledge supplies conventions and constraints that help Gitar interpret a change. The features address different parts of the review.How knowledge stays relevant
Knowledge from instruction sources refreshes as Gitar processes those sources. Changed instructions replace their earlier content, and deleted instructions retire the associated knowledge after a successful refresh. An instruction edit in an unmerged PR does not replace the shared knowledge used by other reviews. Gitar can also narrow where an entry applies when a review shows that its scope was too broad. A convention that matched an unrelated change can become more specific, preserving the guidance for the files where it belongs.Inspect and manage knowledge
Enterprise organization admins can open Dashboard -> Knowledge to browse the knowledge library. Filter by repository or source to inspect the guidance Gitar has collected. An entry shows its content and recorded usage. Source links lead back to the original material when a URL is available. Marking an entry stale removes it from future knowledge retrieval while retaining its history.Related
Repository Customization
Where repository review instructions live.
Configuration Repository
Share guidance across the organization.
Code Review
See how source citations appear in findings.
Custom Integrations
Connect internal knowledge and enterprise tools.