@ai-ecoverse/slicc-bios 1.75.2 → 1.76.0
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.
package/README.md
CHANGED
|
@@ -427,7 +427,7 @@ Seven keeps its secrets in the vault, a separate origin (`@ai-ecoverse/slicc-vau
|
|
|
427
427
|
- **Until spectrum shows them:** seven relays asks only while the UI it loaded can show a `secret` approval (`approvalKinds` from `@ai-ecoverse/slicc-spectrum/ui` lists `secret`; a test can set `globalThis.sliccSecretApprovals` to `true` or `false` to open or close this gate whatever the UI says); otherwise every ask is refused at once with `EACCES`, *seven can't show this request yet; update seven*, rather than waiting five minutes for a dialog nobody sees.
|
|
428
428
|
- **HTTP placeholders:** an attributed kernel request uses the vault's `forward` admission before its selected exit sends it. The carrier must support manual redirects and decoded responses; no unavailable, older or unproven carrier is used instead. Ordinary secret bodies are unchanged. A Settings MCP credential uses its server-bound path, with complete-body scrubbing before send and response scrubbing before return. Body-only placeholders are application data, not injected. An old extension remains unavailable for these requests until its verified store release supports the redirect contract. Link and Tailscale credentialed carriers remain unavailable in this release.
|
|
429
429
|
- **Refusal causes:** every admission refusal of an HTTP placeholder request rejects with `the credentialed request was refused (<cause>): <explanation>` and the same `cause` on the error (`src/seed/causes.js`). The kernel puts that message into the program's `fetch` error, so mcpcat and other clients can show it. The explanation is a fixed sentence per cause that names the narrowest fix; it never holds a value, a placeholder, a record name or the vault's own `reason`. The causes and explanations are shown to any kernel program that sends a placeholder, root or not, by design: seven is a single-user OS, and they carry no value, record name or placeholder, only coarse state such as a missing policy file, a locked vault or the kind of route. Causes are stable; match on them, never on the explanation. Cancellation, a timeout, a URL that can't be parsed (thrown before admission starts), and transport or response-stream failures keep their existing messages and have no stable cause. The detailed policy causes need a vault that names them (slicc-vault 1.22.0 and later); an older vault's refusals arrive as `vault-refused`, except `policy-paused`.
|
|
430
|
-
- **Policy** (the vault refused, passed through only when its `cause` is one of these, otherwise `vault-refused`): `policy-paused`, `no-placeholder`, `no-rule`, `rule-domain`, `rule-request`, `rule-exit`, `mcp-server` (the placeholder isn't a sign-in of the MCP server at that URL), `record-removed`, `record-kind`, `record-expired`, `endpoint-protected`, `endpoint-model`, `url-credentials`, `insecure-destination`, `placeholder-in-url`, `placeholder-in-header-name`, `placeholder-repeated`, `value-overlaps`, `basic-invalid`, `basic-user`, `header-unsafe`, `path-ambiguous`, `url-invalid`.
|
|
430
|
+
- **Policy** (the vault refused, passed through only when its `cause` is one of these, otherwise `vault-refused`): `policy-paused`, `no-placeholder`, `no-rule`, `config-entry` (slicc-vault ≥ 1.27.0: the secret's `[secrets]` entry in `/etc/fnox/config.toml` is missing or has no placeholder `value`, so the vault dropped it with its rules; it replaces `no-rule` for that case, and the vault's own message, which bios doesn't show here, names the secret), `rule-domain`, `rule-request`, `rule-exit`, `mcp-server` (the placeholder isn't a sign-in of the MCP server at that URL), `record-removed`, `record-kind`, `record-expired`, `endpoint-protected`, `endpoint-model`, `url-credentials`, `insecure-destination`, `placeholder-in-url`, `placeholder-in-header-name`, `placeholder-repeated`, `value-overlaps`, `basic-invalid`, `basic-user`, `header-unsafe`, `path-ambiguous`, `url-invalid`.
|
|
431
431
|
- **Precondition** (seven can't forward it here): `users-off`, `vault-unavailable`, `vault-locked`, `policy-syncing`, `policy-missing`, `policy-unaccepted`, `policy-unavailable`, `destination-protected` (seven's own, loopback, reserved or protected addresses), `exit-link` and `exit-tailnet` (the host goes through a linked device or the tailnet, which carry no credentialed request in this release), `extension-outdated` (slicc-extension before 7.11.0), `exit-not-credentialed` (any other route without manual redirects, decoded bodies and a body limit), `route-inactive`, `exit-encoded-bodies`, `exit-follows-redirects`, `body-too-large` (status `413`).
|
|
432
432
|
- **Protocol**: `protocol-version`, `body-framing`, `mcp-body-framing`, `vault-reply` (an answer this seven doesn't take), `vault-error` (the vault's `forward` call failed; its errno is appended), `changed` (the route, the policy or the vault changed while the request was prepared; send it again).
|
|
433
433
|
- **Policy:** with kernel users `enforce`, bios seeds missing policy files under trusted root-owned `/etc/fnox` and `/etc/slicc` directories, without overwriting existing contents or trusting writable, linked or mounted paths. The kernel attests the bytes on boot and change. A trusted missing-file attestation clears and pauses its policy; missing or untrusted ancestors hold protected operations until a trusted resync. HTTP placeholder forwarding is the exception when the last sync's `policy` reply was `accepted: true` and lists every missing file it sent as `absent`, `paused` and `accepted`: bios doesn't refuse on its own then but asks the vault, which, per its spec, refuses a secret (`policy-paused`) and lets an MCP sign-in through, since an MCP forward uses no rule. A secret answer in that state is refused by bios too (`policy-paused`). A rejected file (`accepted: false`) takes precedence over a missing one (`policy-unaccepted`), and a missing file the vault didn't confirm as paused (an untrusted attestation), and every other state where the policy isn't ready, still hold all forwarding (#1272). Materialize, consume and session operations also require an unlocked, current-capability vault and an accepted trusted policy; an older vault stays refused until it updates. Processes keep `FNOX_CONFIG_DIR=/etc/fnox`; fnox uses placeholders and `/dev/sealed`. Named root MCP calls discover their Settings placeholder directly, without a jerk command. That is intentional, and the owner's decision: root is the owner, and sudoers decides who gets root, so a root process (including one a cone started through an approved `sudo`) discovers and uses the Settings MCP sign-ins. Discovery is the vault's `placeholder` op by server name, which answers only uid 0 under `enforce`, and only with a usable, addressable record that is the one match for that server name; process-sealed MCP bridge tokens and removed or expired records never answer. Using it, the record must be bound to the destination's server. bios's forwarder and the vault's `forward` check no uid or tag, so HTTP injection isn't partitioned by uid or tag (#1272).
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"description": "SLICC's agent, which the UI installs with pnpm in the background into /opt/agent in OPFS",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@ai-ecoverse/slicc-agent": "7.34.
|
|
6
|
+
"@ai-ecoverse/slicc-agent": "7.34.4",
|
|
7
7
|
"@ai-ecoverse/slicc-kernel": "1.190.0"
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -14,16 +14,16 @@ importers:
|
|
|
14
14
|
.:
|
|
15
15
|
dependencies:
|
|
16
16
|
'@ai-ecoverse/slicc-agent':
|
|
17
|
-
specifier: 7.34.
|
|
18
|
-
version: 7.34.
|
|
17
|
+
specifier: 7.34.4
|
|
18
|
+
version: 7.34.4(@ai-ecoverse/slicc-kernel@1.190.0)(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
|
|
19
19
|
'@ai-ecoverse/slicc-kernel':
|
|
20
20
|
specifier: 1.190.0
|
|
21
21
|
version: 1.190.0
|
|
22
22
|
|
|
23
23
|
packages:
|
|
24
24
|
|
|
25
|
-
'@ai-ecoverse/slicc-agent@7.34.
|
|
26
|
-
resolution: {integrity: sha512-
|
|
25
|
+
'@ai-ecoverse/slicc-agent@7.34.4':
|
|
26
|
+
resolution: {integrity: sha512-cAsi7TaSejFdPXqHK5A2HZqgeaZXtnmywai5QSt+tuleQxOi3EGEtfblLq3/FIP1yjJsKyx1uTDhe92k3Os87w==}
|
|
27
27
|
engines: {node: '>=24'}
|
|
28
28
|
peerDependencies:
|
|
29
29
|
'@ai-ecoverse/slicc-kernel': '>=1.172.2 <2'
|
|
@@ -338,7 +338,7 @@ packages:
|
|
|
338
338
|
|
|
339
339
|
snapshots:
|
|
340
340
|
|
|
341
|
-
'@ai-ecoverse/slicc-agent@7.34.
|
|
341
|
+
'@ai-ecoverse/slicc-agent@7.34.4(@ai-ecoverse/slicc-kernel@1.190.0)(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)':
|
|
342
342
|
dependencies:
|
|
343
343
|
'@ai-ecoverse/slicc-kernel': 1.190.0
|
|
344
344
|
'@aws-sdk/middleware-websocket': 3.972.54
|