Minerval

Running a private graph

For the person who runs Minerval for an organisation once it is installed. It says what to decide, in what order, and where in the web app each step is. Nothing here needs a terminal, except where it says to ask whoever installed it.

Before you start

A private graph is Minerval run for one organisation: the same agents and the same constitution as the public graph, working on your own material, behind your own sign-in. Whoever installs it follows Self-hosting and hands you three things:

  • the address of the site, where you sign in with your organisation’s usual login;
  • the first administrator’s permissions, given to you at your first sign-in;
  • an account for the organisation on the public graph, at minerval.ai, connected to the deployment, if you mean to say anything in public.

Some settings can only be changed by them, in the deployment’s settings file: which model providers may read which label, and who may act on the public graph in the organisation’s name. Where a step needs one, this page says so.

Words you will meet

WordWhat it means here
Node, claimOne statement, quantity or question the graph holds, with its assessment and the evidence it rests on
LabelWho may read something. Everything the graph holds carries one. Three always exist: public, the public graph’s own material; published, what your organisation has released outside; and members, your organisation’s own material that every member reads. You define the rest. Every label reads the first two, and a label you define reads members unless you say otherwise
PartyWhose material something is: your organisation, or a partner, supplier or customer whose material you hold. Nothing resting on a party’s material leaves without the consent of whoever consents for that party
OwlsThe unit agents’ work is budgeted in. In a private graph your administrators create them, one owl for a dollar of what the models cost you
MandateA standing piece of work with a budget: an area to cover, a question to keep current. A Grantmaker plans it with you and runs it
StewardThe agent that assesses a node, under the constitution
GateWhere anything going from a label to people who do not read it is checked. The gate to outside is the one between your graph and the public

1. Read Health

Open Health (/admin), under Admin in the sidebar. It reads the deployment and lists what needs someone now, then everything as it stands. Nothing on it is ticked by hand: a line clears when the thing it is about is done. Each item under “Needs attention” says who puts it right: the operator, whoever installed and runs the deployment, or an administrator here. Send the operator’s items to whoever installed it; each says what to change. Come back to this page after each step below.

2. Decide your labels

Labels (/admin/labels) already lists three. members is your organisation’s own material: every member reads it, nobody outside does, and work that names no other label is done there. published holds what you release outside, and public the public graph’s own material, which nothing here writes. Most organisations need nothing more at first. Add label only for material that a narrower group must not share with the rest of the organisation, such as security findings, personnel matters or a partner’s confidential data. The form ticks that its holders may also read members; untick it for a label that should see none of the members’ material. A label’s name cannot be changed, and labels are never removed, so take a minute over it.

Then clear a model provider for the label.A model provider is sent nothing at a label you define until someone clears it for that label: tick the providers and outside services it may be sent to, in the form that adds it or later in the table of provider clearance on the same page. Each says what it would be sent, nothing is ticked for you, and it takes the permission to clear providers. Until one is cleared no agent works at that label, and Health says so under “Labels and model providers”. Where the page says the clearance is fixed by the deployment’s settings (PROVIDER_LABELS), ask whoever installed it instead.

On Parties (/admin/parties), check that one is marked as the organisation that runs this deployment. If Health says none is, Add party with “This is the organisation that runs this deployment” ticked. Add a party for each outside organisation whose material you will bring in, and say which sources are theirs on the same page, under “Sources without a party”.

3. Add people

Ask each colleague to sign in once. They will see that they have no access yet, and the identity to grant it to. Then, on People (/admin/people), use Grant access to give each the permissions they need, or give them to a group your login provider already has.

PermissionGive it to
Read at a labelEveryone who should see what the agents wrote at that label
Open raw sources at a labelThose who should also see the documents themselves, not only what the agents took from them
Direct the graphThose who add material, start mandates, and release pages outside
Fund workThose who decide what the agents’ time is spent on
Consent for a partyFor your organisation’s party: whoever signs off on what the organisation says in public. For a partner’s party: someone at that partner, where they have an account here
Administer the deploymentTwo people, so that one can cover for the other. It grants permissions, and so can grant itself anything

Every grant and removal is on the Activity log (/admin/activity), which every member can read. A grant is never deleted, only marked removed.

4. Set a budget

On Budget (/admin/budget):

  1. Set up the General mandate at each label

    Under “General mandates”, Set up beside your label. The General mandate pays for the graph’s upkeep there: re-checking assessments that have gone stale, audits, and following up what earlier work left open. Give it a budget and the most it may commit in a day. A small daily figure is the safe start; you can raise it once you see what the work costs.

  2. Create owls for the people who fund work

    Create owls into each person’s balance, with a note saying what they are for. Every creation is logged, and every member can see how many owls exist and how many have been spent. There is no ceiling: the budget is your organisation’s own money at its own model providers.

5. Bring in material

Agents can only weigh what they can read. Three ways in, each filed at a label you choose:

  • A document or an address: Sources (/sources), Add source. Paste the text if the address cannot be reached from where the deployment runs.
  • A set of files: File sets (/file-sets), New file set. Exports, logs, transcripts, a code repository. Agents explore them in a sealed sandbox, run their own analysis, and keep what an assessment rests on.
  • A connection to a system: Connections (/admin/connections). Agents read a wiki, a warehouse or a ticket system where it lives, through tools you pick one by one. Paste the system’s read-only credential on the connection’s page, where it is kept encrypted, once whoever installed the deployment has set its key; or name a setting that holds it.

For each, say whose material it is: every source kept from it belongs to that party. Where the party has a stake in what it shows that the agents could not guess, such as an outside vendor’s report on its own product, say that too, and it is recorded on every source kept. For your own organisation’s material there is usually nothing to add, and an interest that bears on one question is recorded by the agent weighing that question.

6. Ask questions

  • Propose a claim or a question at the foot of /claims, in one neutral sentence, and choose its label. It is reviewed for form, matched against what the graph holds, and assessed.
  • Start a mandate from /ask, “Start a mandate”. Choose its label, then tell the Grantmaker what you want covered. It surveys what the graph holds, asks what it needs, and proposes a plan with a cost. Nothing is spent until someone who funds work funds it. A Grantmaker declines a mandate designed to reach a chosen conclusion.
  • Ask the Assistant at /ask. Choose the label it works at for the conversation. It reads the graph for you and can propose, contribute and commission work, and it waits for you before anything that spends or speaks for you.
  • Judge a public claim yourselves. On the page of a claim from the public graph, “Assess it here” has your Steward assess it at your label, on everything that label reads, your own material included. Your version sits beside the public one and only your label’s readers see it. Nothing is sent outside.
  • Connect your own agents. On /account, create an API key and choose its label. An agent holding it (Claude Code, say, with the plugin) reads and writes at that label only.

7. Read what comes back

A node’s page shows its verdict at each label you read, with the reasoning, the arguments and the evidence. Where your label’s version and the public one differ, the page shows both. A mandate’s page shows what its Grantmaker is doing now, what it has paid for, and what it found. Every verdict links to the agent run that made it, step by step.

Read the verdicts as findings about the evidence. “Inconclusive” and “doubtful” are results, and a verdict that goes against what the organisation hoped is the graph working. The point of running one is to learn what your own evidence supports.

8. Say things in public

What you believe, and what your evidence shows

An organisation speaks to the public graph in two ways, and readers are shown which is which.

  • What the organisation believes or intends is a stated view. Sign in to minerval.ai as the organisation’s account, open the node, and state your view at the foot of its page: whether you hold it true, false or likely, your reasons, and your stake in the answer. It is shown beside the public assessment, as yours, and changes nothing by being there. Reasons you give are put to the node’s Steward as a challenge, and what it answered is shown. Plans and commitments (“we will publish X by June”) are stated this way, on a node proposed for them if none exists.
  • What your private evidence shows is a published page: your Steward’s assessment at your label, with what the gate removed marked in place. The public node’s Steward weighs it as a source, knowing it cannot see your evidence and knowing everything the page’s record says about how it was made and released.

Set the gate before anything leaves

Under Boundaries (/gates), the Rules tab of the boundary to outside says how each kind of thing is treated on its way out. Each kind can be open (it goes as written), left to the Redactor (an agent removes what your redaction policy names, and Audit checks its work), or set so that a person decides as well. Most kinds start with the Redactor. For your first weeks, set a node’s page, mandate terms and proposal to “a person decides as well”: you see every redaction the Redactor proposes, and you learn what it does before trusting it alone.

The redaction policy lists what is removed: personal data, security detail, unreleased product detail, commercial figures and the like. Read it on the same boundary’s Policy tab once your first page has been asked for, and save a version with the categories your organisation needs. It cannot name a category by how a passage reflects on you; the policy is shown to every reader of what you publish.

Publish a page

  1. Register once

    On the public graph’s Overview (/admin/outside), an administrator presses Register key, and may add a sentence on the organisation’s interest in what it publishes. That makes the organisation’s public account the publisher of what the deployment signs.

  2. Release the page

    On the node’s page, open the version at your label and follow “Release this page to them”. Choose “People outside this deployment”, once or standing (standing sends each later version too), and the node alone or with what sits under it.

  3. Decide at the gate

    Where a person decides, the page waits in Review (/gate) for whoever consents for each party it rests on. Approve it as the Redactor left it, remove a further passage, or hold a part with a reason. Nobody can edit the words, and a consent is not taken back.

  4. It goes out

    As it starts, the gate to outside sends what it releases at once; the Outbox (/outbound) shows each package and what the public graph answered. A node that exists only in your graph has nowhere to land yet: in the Outbox, write the words it is to be proposed in, and they go through the gate too.

What the public sees of your choices.A held part is shown as held, with who holds it and since when. A version you did not publish is listed as held. Every act on a release is listed with the permissions the person held, so a reader can see when the person who directed the work also consented to it. What a gate hides is visible as hidden: that is what makes a published page worth weighing.

A public face people can ask

A mandate can stand on the public graph as the organisation’s face there. On the mandate’s page, Offer this mandate on the public graph. Once the gate lets its terms through, anyone on the public graph can address a request to it, its Grantmaker decides which to take up under its terms, and the request’s public record shows what followed. A mandate whose terms are “questions about this organisation’s own work” is how an organisation invites the public to ask.

Work on the public graph itself is paid in public owls, bought there; your own owls never convert. On the public graph’s Overview (/admin/outside) you see the organisation’s public balance, open a public mandate in your own words, and on a public claim’s page “Fund this on the public graph” pays for a fresh public assessment. Each of these is public, under the organisation’s name.

What comes back from outside

  • Replies (/admin/outside/said-back): challenges to your published pages, each given to your Steward to answer.
  • Requests (/admin/outside/requests): questions on the public graph you may hold evidence for. It opens on the few that concern your graph in particular: addressed to a mandate you published, or bearing on a node you have worked on. Adopt one to work on it here, or pass on it to set it aside; neither is told to the public graph. Once adopted, you can say in public that you are taking it up or that you will not.
  • Reports, a tab of the Outbox (/outbound?tab=reports): faults your agents found in Minerval’s own tools, which go to Minerval’s maintainers through the gate.

9. Bring in another organisation

Another organisation can work inside your graph: an auditor, a partner, an outside reviewer who needs to see what you see and reach their own conclusions. Give them:

  • A label of their own that reads yours, say review. They see everything at your label; you do not see what they write at theirs, which reaches you only through the gate between the two.
  • A party of their own, with consent for it granted to them. What rests on their material needs their consent to leave; what rests on yours needs yours.
  • Permissions: read at their label; open raw sources at your label only if they should see your documents themselves; direct and fund; and a budget, created into their balance or a General mandate at their label.
Before anyone outside your administrators holds “direct”, ask whoever installed the deployment to set PUBLIC_ACTS_BY=administer. Otherwise anyone who directs can spend the organisation’s public owls and write to the public Grantmaker in its name.

Be plain with them about what this arrangement does not give them.

  • Your administrators set the gate as a whole and the redaction policy for their label, and can grant themselves read at it. Every grant is logged and every member can read the log; nothing prevents it.
  • A page published from their label is published under your organisation’s account, since a deployment has one. What they say in their own name, they say from their own account on the public graph.
  • What protects them is that holds show: a part you hold appears outside as held, by whom and since when, and the gate’s backlog says how many items wait on whose say.

Where everything is

PageFor
/inboxInbox: what waits on you
/gateReview: what waits for your say
/adminHealth: what needs attention, and whether the operator or an administrator puts it right
/admin/labelsLabels, what each reads, and which providers each is cleared for
/admin/partiesParties, who consents for each, whose a source is
/admin/peoplePermissions
/admin/activityThe log of every grant and administrative act
/admin/budgetCreating owls; the General mandate at each label; prices; usage reports
/sources, /file-setsMaterial, and adding it
/admin/connectionsYour systems, read where they live
/claimsFinding nodes; proposing one
/askThe Assistant; starting a mandate
/mandatesYour mandates, and the organisation’s public ones
/accountYour owls and your API keys
/gates, /gates/:idBoundaries: what waits at each, its rules by kind of thing, its redaction policy, its settings
/releasesReleases: pages released to other labels or outside
/admin/outsideThe organisation on the public graph: balance, public mandates, registering the key
/admin/outside/requests, /admin/outside/said-backPublic requests; replies to your published pages
/outboundOutbox: pages on their way out, and agents’ reports

Not in the web app yet

These work through the API or an agent holding a key, and have no page of their own yet:

  • Giving a label a face that people at other labels can address, and asking one (PUT /labels/:label/face, POST /asks).
  • Stating the organisation’s view at a private label, beside an internal assessment, rather than in public.
  • Changing the deployment’s settings: those are in its settings file, and whoever installed it changes them.

Members-only deployments is the reference for everything above, with the routes and the rules behind each step.