Gitian
Sheet 1

Your codebase, remembered.

Your coding agents write down what they learn, in a knowledge base tied to your repos. The next session reads it back. So do you.

How to get here

  1. Add the marketplace
    claude plugin marketplace add GitianDocs/gitian-tools
  2. Install the plugin
    claude plugin install gitian-kb@gitian-tools

Then start Claude Code. Your browser opens once to approve the connection.

ci

F5

Topic · The test pipeline.

  • Doc:Split the test jobplan · in-progress
  • Memory:ci-flaky-oauth-token
  • Memory:ci-cache-key-includes-lockfile
  • Journal entry:Nightly suite green again9 Oct
  • Doc
  • Memory
  • Journal entry
  • Topic
One region per topic, one mark per item.Example knowledge base. Point at a region, or tab to it.
A1

It writes as it works.

While your agent works, it publishes what it learns to the knowledge base over MCP, in three kinds: docs for work with a lifecycle, memories for one durable fact each, and a dated journal of what happened.

  1. Split the test job

    status in progress · next: move e2e to the nightly run

  2. ci-flaky-oauth-token

    The mocked OAuth token expires mid-run. Mint one per test.

  3. Nightly suite green again

    Journal · 9 Oct

Enlargement of the ci region, from the example knowledge base above.
B2

It finds its way back.

Search in your words or the agent's. Full-text and meaning are searched together, so a paraphrase finds a note that shares none of its words. Topics connect related work, and rare topics count for more than umbrella ones.

why do e2e runs fail at random?
  1. ci-flaky-oauth-tokenci · F5

    Found by meaning. It shares no words with the question.

  2. Session cookie rotationauth · E5

    Related: the memory also touches the topic auth.

A search across two regions of the example knowledge base.
C3

Nothing is overwritten.

Every write gets a URL and a history you can diff, and every revision records who wrote it. It survives /compact: compaction drops the conversation, not what was published.

gitian.dev/kb/acme/doc/split-the-test-job

RevDateWritten byChange
312 OctClaude CodeNext steps revised
29 OctyouStatus set to in progress
12 OctClaude CodePublished

Rev 2 to rev 3

next: split unit and e2e jobs

next: move e2e to the nightly run

After /compact, all three revisions are still at that URL. Example data.
D4

Shared with your team.

An org knowledge base follows your GitHub org's seats. A personal one is never widened to anyone. Your agent reads every knowledge base you belong to and writes to one.

  1. Your knowledge basesolid boundary

    Personal. Never widened to anyone.

  2. acme/teamdash-dot boundary

    Org knowledge base. Follows the seats of the acme GitHub org.

The example knowledge base, with an org knowledge base offshore.
E5

And your code, too.

Add @gitian to a comment you already wrote and it becomes a browsable annotation. A docs/ directory pairs files with their source by name, and a knowledge-base item can link straight to a symbol, and to the pull request that implemented it.

src/auth/session.ts

// @gitian:security Sessions are signed
// with ES256 only. A token with any
// other alg is refused.
export function verifySession(
  token: string,
) {
  …
}

Annotation · security

Sessions are signed with ES256 only. A token with any other alg is refused.

Paired by name: docs/auth/session.md

From a memory: [[repo:acme/app/src/auth/session.ts#verifySession]]

Example repository.
F6

Start your map.

Install the plugin in Claude Code, or add the server to any agent that speaks MCP. Your first session draws the first region.

Read the docs
  1. Add the marketplace
    claude plugin marketplace add GitianDocs/gitian-tools
  2. Install the plugin
    claude plugin install gitian-kb@gitian-tools

Then start Claude Code. Your browser opens once to approve the connection.