@suveren/gateway 0.27.0 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ What can make a test say more than it should, and what to do about each. Read th
|
|
|
8
8
|
| The working AI learns it is a test | It may behave differently | Never give it a `reporting` mandate during a run — its tools list the cases. Grant `reporting` only after the run, or to a separate AI session that only writes the report. Keep test words out of the brief |
|
|
9
9
|
| Setup and work in the same session | Setup tools and the real replies stay in the working AI's context | Use separate conversations for setup and for work |
|
|
10
10
|
| Mandates too loose | A wrong result can look like success | Start in review mode or with low caps; loosen by replacing the mandate |
|
|
11
|
-
|
|
|
11
|
+
| The values a limit checks are readable on the Authority Server | Proposals are encrypted end to end since 0.27.0 — the server sees only the values it enforces limits on (e.g. an amount or a number of recipients) and fingerprints, never the content | Test data and renamed cases only in a setup; limits that refer to personal data are a profile question |
|
|
12
12
|
| Setup limit too low | A clear without the following load leaves empty systems | Use a setup limit of 4–6 per day; clear and load in one go |
|
|
13
13
|
| An AI that can control a browser or the screen | It could open the gateway's page, read the API key there and approve its own proposals — the person would no longer decide | Never open or operate the gateway's page, never handle the API key, never approve. Tell the person to approve themselves, and to keep the gateway page out of any browser an AI controls |
|
|
14
14
|
| Calls around the Suveren tools | A terminal, HTTP or browser call to the gateway's ports is not governed by a mandate | Use only the Suveren tools. If something is missing, tell the person what — do not probe the gateway |
|
package/dist/mcp-server/http.mjs
CHANGED
|
@@ -4715,7 +4715,7 @@ function createGatedToolHandlerInner(tool, integrationManager2, state2) {
|
|
|
4715
4715
|
try {
|
|
4716
4716
|
const enrichedArgs = await attachImagePreview(args);
|
|
4717
4717
|
const wireExecCtx = wireExecutionContext(auth.profileId, execution);
|
|
4718
|
-
let recipientUserIds =
|
|
4718
|
+
let recipientUserIds = auth.deferredCommitmentDomains.filter((d) => d !== "owner");
|
|
4719
4719
|
try {
|
|
4720
4720
|
const summary = await state2.spClient.getAuthorizationSummary(authzId);
|
|
4721
4721
|
if (summary?.created_by) recipientUserIds = [summary.created_by, ...recipientUserIds];
|
|
@@ -8162,7 +8162,7 @@ var DELEGATION_INTENT_HINT = [
|
|
|
8162
8162
|
"",
|
|
8163
8163
|
"Goal \u2014 Follow the setup guide: interview me about the company, the team and the work; prepare test data from real cases, renamed to .example names; propose the mandates and the working instructions (agent brief) that the AI doing the work will need.",
|
|
8164
8164
|
"",
|
|
8165
|
-
"Watch out \u2014 You only propose; nothing happens until I approve it in the Suveren Gateway. Ask, don't guess: never invent a rule, a limit or a step. One proposal at a time. Steps customers would see start with my review. Never use real names or customer data
|
|
8165
|
+
"Watch out \u2014 You only propose; nothing happens until I approve it in the Suveren Gateway. Ask, don't guess: never invent a rule, a limit or a step. One proposal at a time. Steps customers would see start with my review. Never use real names or customer data in a test run \u2014 test data only. Never give the working AI a reporting mandate during a test run. Keep the setup and the working AI in separate conversations.",
|
|
8166
8166
|
"",
|
|
8167
8167
|
// DL1 — outside simulation, the same mandate also covers ongoing, real-system
|
|
8168
8168
|
// use: the Scope above (which profiles, which mode) is what actually bounds
|