Governance: your rules, enforced twice
A rule that depends on everyone remembering to follow it is a hope, not a control. Governance is the third pillar of our promise that your memory is provable. It means the rules for your memory are actually enforced, on every write, whoever or whatever is writing.
This matters more with AI than it ever did with people. An agent can make a thousand changes while you make a cup of tea. The controls have to be built into the memory itself.
What Nexsus does today
Built-in engine controls: the rules live inside the database itself, so nothing wrong is ever stored.
Nexsus has built-in controls, enforced by the engine, that make sure the whole story is recorded. A set of balanced equations checks that what is being saved is complete and consistent. Your own model rules are checked alongside them. And a write is all or nothing: if any part of it breaks a rule, none of it is saved.
These controls run inside PostgreSQL, the database engine. They are not a layer of code in front of the data that a stray script could step around. Wherever a write comes from, it meets the same checks.
In everyday terms. In a house, some walls hold the roof up and some just have posters on them. A rule written in a policy document is a poster. A rule inside the engine is a load-bearing wall: you cannot quietly take it out.
For the technically minded. Integrity rules are enforced in PostgreSQL on every transaction: required fields, types, references that must resolve, one current version per record, and the balance equations that tie a record to its versions and links. A failing write is rolled back whole and refused with the rule it broke.
Also strengthens: Truth, Security, Persistence.
Go deeper: Enforced inside the database and balance equations.
Two locks on every record: the tools check it at the front door, and the engine checks it again at the vault.
There are two levels of governance in Nexsus.
The front door: the tools. Before anything reaches your data, the five tools check it. Is this a field your model has? Do you want to preview it first? If not, you get a clear refusal.
The vault: the engine. Even if something got past the front door, the rules inside PostgreSQL check it again: whether you are allowed to do this, the balanced equations, your own model rules, and all-or-nothing writes.
One layer helps you get it right. The other makes sure nothing wrong is ever stored.
In everyday terms. A bank. A teller checks you at the counter, and the vault has its own lock anyway.
For the technically minded. The tool layer parses the statement, checks it belongs to that tool and returns a teaching refusal. The engine layer then decides what this agent may do and enforces constraints inside the transaction.
Five doors, all watched: there are five ways into your memory, each with its own rules, and no side entrance.
The five tools are the door to the Nexsus database. There is no other way in.
- Five doors, all watched. Every read, write, change of shape, close and lookup goes through one of five named doors, each with its own rules.
- Small enough to learn in one sitting. An AI picks up five tools and one language fast. It does not guess which button to press, and refusals say what to do instead.
- The same doors for everyone. Your AI, another AI and your developer use exactly the same five tools. There is no special treatment and no hidden shortcut.
- The name tells you the risk. Query reads. Write changes records. Evolve changes the shape. Govern grants rights and closes periods. Reference reads the rulebook. Where your assistant lets you switch a connection's tools on and off, giving read-only access is just giving one door.
In everyday terms. At an airport, everyone goes through a gate: passengers, crew, the pilot. There is no back way onto the plane, and each gate says where it leads.
For the technically minded. The tools are nexsus_query, nexsus_write, nexsus_evolve, nexsus_govern and nexsus_reference. Each owns a fixed set of statements, and a statement sent to the wrong tool is refused with WRONG_VERB, which names the right one. There is no raw database access.
Also strengthens: Security, Neutrality, Transparency, Performance.
Go deeper: statement kinds by tool and Five tools, no raw database access.
Show Grants: any agent can ask what it is allowed to do, and get a straight answer before it tries anything.
Any agent can ask Nexsus "what am I allowed to do here?" and gets a straight answer before it tries anything.
In everyday terms. A new employee being handed their job description and access list on day one, instead of finding out by being told no.
For the technically minded. SHOW GRANTS, sent through the govern tool, returns the rights the calling connection holds.
Also strengthens: Transparency, Performance.
Preview before you act: see exactly what an archive, a restore or a change would touch, before anything changes.
Before an archive, a restore, a reassignment, a close or a change to a field, you can see exactly what would happen without doing it. Nothing changes until you are happy.
The reason this matters most is archiving. When a record is archived, Nexsus makes sure it does not damage the records that are still active. Preview lets you do that impact analysis first: what depends on this, and what would go with it? In Nexsus, archiving is not an afterthought. It is a carefully designed act, given proper respect and due care.
In everyday terms. Print preview. You see the page exactly as it will come out, and only then press Print.
For the technically minded. PREVIEW ARCHIVE, PREVIEW RESTORE, PREVIEW REASSIGN, PREVIEW CLOSE and PREVIEW ALTER FIELD are read-only statements on the query tool. A preview of an archive returns the reach of the change and a fingerprint, which the real statement can be required to match with EXPECT REACH.
Also strengthens: Auditability, Truth, Persistence.
Change the shape, safely: your memory can change as your life or business changes, without old records breaking.
Your needs change, so your memory has to change with them. But in most systems changing the structure is the riskiest thing you can do: one careless change to a field and old records break or lose their meaning.
In Nexsus, changing the shape goes through its own door, the evolve tool, separate from everyday writing. You can preview a field change before making it and see what it would touch. The engine will not let a change leave existing records broken, and the change itself is kept in history, so you can always see when the structure changed. Freedom to grow, under control.
In everyday terms. Renovating with a building permit and drawings, as opposed to knocking a wall out on a Sunday afternoon to see what happens.
For the technically minded. PREVIEW ALTER FIELD <field> SET TYPE <type> lists the records that would not fit the new type. ALTER FIELD ... EXPECT VERSION <n> then makes the change only if the field is still at the version you previewed.
Also strengthens: Persistence, Performance, Neutrality.
How other features strengthen Governance
Every statement passes the same rules before it runs.
Told in full under Performance.
Because everything an agent does is an NQL statement through one of five tools, there is one place where every rule is applied, and no way to act that skips it.
Refusals and the published grammar give an agent the context it needs to govern itself.
Told in full under Performance.
Good governance of AI depends on honest, open communication with the agent. Every refusal names the rule that stopped it, so the rules are visible, not hidden. An agent that understands the rules can follow them without being stopped.
Every archive is checked against the whole chain.
Told in full under Persistence.
The balanced-story rule is a control, not a courtesy. An archive that would leave something dangling is refused.
Open to any governance you already use.
Told in full under Persistence.
Because Nexsus records the truth the way a structured database records data, approvals, controls, audits and compliance checks can be laid on top of it and enforced. The rules are set by you and applied every time.
Nothing enters without an address, so nothing is ever unaccounted for.
Told in full under Performance.
Every rule, decision and record can point at exactly the thing it governs, because everything has its own code.
The current truth by default, with nothing hidden behind it.
Told in full under Persistence.
Every earlier version can be questioned and shown. A control that cannot be evidenced later is hard to rely on; here the evidence is kept automatically.
Every link follows the rules of the structure.
Told in full under Performance.
A link between records is not a loose association. It is declared in the model and checked on every write.
Large or small, every record is kept whole.
Told in full under Persistence.
Retention is not left to an algorithm's view of what matters.
Keeping the memory apart from the AI is itself a control.
Told in full under Auditability.
Separation of duties is one of the oldest controls there is: the one who keeps the books is not the one who acts on them.
Governed by a code of ethics, not only by code.
Told in full under Sovereignty.
The way Nexsus itself is run follows the principles accountants are held to.
What is coming
Coming soon: you control which agents may change which models.
The write locks are built into the engine: a kind of link, or a whole model, can be locked, so that a change lands only inside a window a person opens for one agent with an authenticator code. What is still to come is switching them on for your workspace, managing them from the dashboard, and limiting what an agent can read. Who may see and change what is told in full under Sovereignty.
In everyday terms. A shared house diary where anyone can read every page, but only you can write on the page headed "Bills".
For the technically minded. GRANT WRITE ON RELATION <relation> and REVOKE WRITE ON RELATION <relation>. A write without the grant is refused with GOVERNANCE_REFUSED.
Also strengthens: Sovereignty, Security.
Coming soon: only a person can delete, and only with a second step.
Like a bank needs a manager's signature before records are destroyed, Nexsus controls deletion: agents cannot actually delete the data. Only a human will be able to do it, through two-factor authentication, opening a window and typing a code from their authenticator app, so an AI can never erase history on its own. The foundation is built; switching it on is next.
In everyday terms. The bank manager's signature.
Also strengthens: Persistence, Security.
Coming soon: manage governance from the dashboard.
Today your dashboard's Governance view shows what the workspace is allowed to do, your API keys and your assistants' connections. Setting rights there is what is coming.
Today, the govern tool shows an agent the rights it has; rights cannot yet be granted or withdrawn. You will be able to see and set them from your dashboard, without writing a statement.
Coming January 2027: decide who sees what, down to a single record.
Told in full under Sovereignty.
Access by tool, floor, model and record: the rules set by you, and enforced every time.
Our aim: ready to be audited.
Told in full under Auditability.
Governance is what an auditor tests. We are building Nexsus to be the subject of independent assurance, not its own assurer.
How this pillar is checked: its criteria.