> ## Documentation Index
> Fetch the complete documentation index at: https://www.gitaudience.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Facts

> Define the facts your agent looks for on each stargazer, choose their type and whether they are about the person or their company, and publish them as a new version.

A fact is one thing you want to know about each stargazer, such as their role, their seniority or the size of their company. The facts of a project form its dictionary: the research agent looks for each of them on every stargazer, and every value it keeps cites the page it came from.

Example facts for the project `orbit`:

| Fact           | Type                        | About         |
| -------------- | --------------------------- | ------------- |
| Roles          | Multiple choice             | The person    |
| Seniority      | Choice from a list          | The person    |
| Decision maker | Yes / no                    | The person    |
| Company size   | Choice from a list, ordered | Their company |
| Industry       | Short text                  | Their company |
| Tools used     | List of values              | Their company |

The rest of the product is built on facts: the filters and columns of [Stargazers](https://www.gitaudience.com/docs/features/stargazers.md), the fact reports of the [dashboard](https://www.gitaudience.com/docs/features/dashboard.md), the company facts of [Companies](https://www.gitaudience.com/docs/features/companies.md), the columns of the [export](https://www.gitaudience.com/docs/features/export.md) and the [target profiles](https://www.gitaudience.com/docs/features/target-profiles.md).

## Where it is in the console

Settings › **Agent instructions**, in the **Facts the agent notes (\{count} / 30)** card. The first facts come from the configuration your AI wrote when you added the project; you check and correct them at the **Research** step. See [Configure with AI](https://www.gitaudience.com/docs/guides/configure-with-ai.md).

![The Facts the agent notes card of the orbit project with six facts, each showing its type and whether it is about the person or their company](https://www.gitaudience.com/docs/assets/screenshots/facts-list.png)

Some things are not facts and need none:

- **The employer** is always noted by the agent. It groups stargazers by company.
- **The country** comes from the GitHub location, computed by GitAudience without the agent.
- **A recent star on a competing repo** comes from the starred lists. See [Stargazer sync](https://www.gitaudience.com/docs/features/stargazer-sync.md#competing-repos).

## A fact

Click **Add a fact**, or a fact of the list to edit it. The window has these fields:

| Field                                      | What it holds                                                                                                                                                                                                                                                      |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Name**                                   | The label shown everywhere: filters, reports, export headers. One line, 1 to 120 characters, unique in the project.                                                                                                                                                |
| **Prompt of the research agent (crawler)** | Up to 300 characters, passed as it is to the agent that reads the pages: what to look for, where (bio, website, company page…) and how to recognise it. That agent doesn't know your product: name the tools or the alternatives instead of writing "our product". |
| **Type of answer**                         | One of the five types below.                                                                                                                                                                                                                                       |
| **About**                                  | **The person** or **Their company**.                                                                                                                                                                                                                               |
| **Possible values**                        | For a choice: 1 to 50 values, each with a label of 1 to 120 characters.                                                                                                                                                                                            |

GitAudience derives a key from the name, such as `company_size`. You don't type it. It names the fact in the agent's answers, the export and the MCP server.

### Types

| Type     | Shown as               | The agent answers                                                   |
| -------- | ---------------------- | ------------------------------------------------------------------- |
| `bool`   | **Yes / no**           | Yes or no. It answers no only when a page says so.                  |
| `text`   | **Short text**         | One line, 120 characters at most.                                   |
| `choice` | **Choice from a list** | One of the possible values.                                         |
| `multi`  | **Multiple choice**    | 1 to 10 of the possible values.                                     |
| `list`   | **List of values**     | 1 to 5 free values, 80 characters at most each, without duplicates. |

For any type, the agent can also answer that it didn't find the value. Each value it gives cites a source of its research dossier: a page it read, or the GitHub profile.

A **Choice from a list** can have **Ordered values, from the smallest to the largest**, for ranges like company size. Ordered values are sorted and filtered by range in the console.

### About the person or their company

A fact about the person, like a role, is noted for each stargazer. A fact about their company, like an industry, is noted for their employer and aggregated by company on [Companies](https://www.gitaudience.com/docs/features/companies.md). A company fact the agent gives without knowing the employer sends the enrichment to [Review](https://www.gitaudience.com/docs/features/review.md).

### Limits

- 30 facts at most per project. Beyond 15, the console warns that the research agent spends more time and tokens on each stargazer.
- Facts and values keep the order you give them, by dragging or with the arrow keys. That order is the order of filters, report bars and export columns.
- Some keys are reserved and can't be used: `country`, `alternative_star`, `employer`, `emails`, `summary` and `unknown`. A value can't have the key `unknown`.
- A fact that relies on your alternatives, such as a competing tool, warns you when the product has no alternative listed.

## Draft, publication and versions

The facts are part of the project's configuration, with the product description, the alternatives, the sub-agent settings and the [instructions of the evaluation agent](https://www.gitaudience.com/docs/features/agent-instructions.md). That configuration is versioned: each enrichment records the version it was made with.

- **Draft**: any change on the page goes into a draft, saved on its own a moment after you type. The bar at the bottom of the page shows **\{count} unpublished changes**, with the list of changes in its tooltip. Settings › **Agent instructions** shows a **Draft** pill while a draft exists. A project has one draft, shared by its owners.
- **Publish**: **Save version \{N+1}** publishes the draft as the next version. It needs a product description. An agent still working with the previous version is told that its instructions are outdated when it asks for its next batch.
- **Discard**: **Discard** deletes the draft. The published version doesn't change.
- **Versions**: **Previous versions (\{n})** opens the earlier versions, read only. There is no way to restore one in this version of GitAudience.

![Settings › Agent instructions of the orbit project with a draft: the floating bar shows 2 unpublished changes, Discard and Save version 4](https://www.gitaudience.com/docs/assets/screenshots/instructions-unpublished-bar.png)

A publication can be refused:

| Message                                                               | Cause                                                                          |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| "There is no draft to publish."                                       | The draft was discarded or published meanwhile.                                |
| "The draft was changed elsewhere. Reload the page before publishing." | Another owner, or another tab, changed the draft.                              |
| "A target profile would have no fact left. Edit or archive it first." | Removing a fact would leave an active target profile with nothing to score on. |

## Changing facts after enrichments

Publishing never rewrites what the agent already found:

| You                      | What happens to existing data                                                           |
| ------------------------ | --------------------------------------------------------------------------------------- |
| Rename a fact or a value | The new label shows everywhere at once.                                                 |
| Remove a value           | People who have it keep it, shown as "(removed)". Reports group them under **Removed**. |
| Remove a fact            | It is no longer shown. Its values stay stored until the person's next enrichment.       |
| Add a fact               | It shows **Not searched** for people already enriched, until they are enriched again.   |

After a publication, the page says how many stargazers were enriched with an earlier version. They aren't redone on their own: you requalify them from **Enrichment**. See [Enrichment](https://www.gitaudience.com/docs/features/enrichment.md#requalification).

> [!WARNING]
>
> Once a fact is published, its type and what it is about can't change, even if you remove it and add it back later: "A fact that was already published keeps its type and what it is about: create another fact." Before the first publication, both are free.

Target profiles that cite a removed fact or value lose it in the same publication, and each gets a new version. See [Target profiles](https://www.gitaudience.com/docs/features/target-profiles.md#when-facts-change).

A saved segment that uses a removed fact or value shows as invalid instead of being applied in part. See [Stargazers](https://www.gitaudience.com/docs/features/stargazers.md#segments).

## Import from your AI

**Configure with AI**, at the top of the page, replaces the draft's product description, alternatives and facts with a JSON your AI wrote. The window shows what will be imported and asks for confirmation; target profiles and competing repos in the JSON are marked **not imported**. The published version doesn't change until you publish. See [Configure with AI](https://www.gitaudience.com/docs/guides/configure-with-ai.md).

## Permissions

Owners and members read the facts, the draft and the versions. Only owners change the draft, import, publish and discard. A member sees the page read only, without **Configure with AI** or the bottom bar.
