@ai-ecoverse/slicc-bios 1.72.2 → 1.72.4
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -394,7 +394,7 @@ Packages are served unbundled, exactly as npm publishes them, so `pnpm upgrade <
|
|
|
394
394
|
|
|
395
395
|
## Vault
|
|
396
396
|
|
|
397
|
-
Seven keeps its secrets in the vault, a separate origin (`@ai-ecoverse/slicc-vault`, types only in `devDependencies`; its README's "The embedding API" is the spec). `src/seed/vault.js` brokers it:
|
|
397
|
+
Seven keeps its secrets in the vault, a separate origin (`@ai-ecoverse/slicc-vault`, types only in `devDependencies`; its README's "The embedding API" is the spec). Integration rows that need the real vault (`test/integration/real-vault.mjs`, used by `security-forward.test.mjs`) serve the pinned package's `dist/site` locally with the response headers from that package's `dist/headers.json` (rewriting `frame-ancestors` to the test embedder, and `cross-origin-resource-policy` to `cross-origin` so a COEP seven on another `127.0.0.1` port can embed it; production keeps `same-site` for `*.sliccy.ai`), and never fetch `vault-preview`; a mismatch between the package's `config.json` version and the root pin is a hard failure. The non-required [`vault drift`](.github/workflows/vault-drift.yml) workflow runs on pushes to `main` and every six hours, compares https://vault-preview.sliccy.ai/config.json to that pin, and opens or updates one issue titled `vault drift: live X, pinned Y` when they differ. `src/seed/vault.js` brokers it:
|
|
398
398
|
- **The origin** comes from `vaultOrigin()`: production seven (`https://seven.sliccy.ai` and `https://www.sliccy.ai`) always uses `https://vault.sliccy.ai` and refuses an override with a console error; every other seven uses `https://vault-preview.sliccy.ai`, or the origin in `localStorage['slicc-os.vault-origin']`, which the tests point at a fake vault.
|
|
399
399
|
- **The core frame** is a hidden iframe at that origin. After each `load` (so again after the frame reloads) seven posts the page hello `{ type: 'slicc-vault', v: 1, op: 'hello', role: 'page', sudoGid }`, with the kernel's `sudo` gid from `kernel.groups.list()` (left out under users `off`; the owner tab keeps it in `localStorage['slicc-os.vault-sudo-gid']` for the other tabs), and talks to the vault over that page port only.
|
|
400
400
|
- **`model.vault`** (spectrum's `VaultPort`) gives Settings › Secrets, the value requests and the composer's hold synchronous `status()` and `list()` snapshots (re-listed after every `changed`), `audit`, `availability()` (`connecting` until the welcome, `waiting` without one within 5 s or while an answer is 2 s late, then `locked` or `ready`), and the page ops `put` (with spectrum's `PutOptions` passed through), `enter`, `cancel`, `remove`, `restore`, `import`, `export`, `lock` and `dismissBackupReminder`. Rejections are `Error`s with the vault's errno as `code`. Values go only through the vault's frame, `put` (only for a UI that still types values itself, below), `seal` and `import`, are never logged, stored or put into an error message, and never reach the agent worker.
|
|
@@ -801,7 +801,7 @@ No test calls a real model. Every test serves an empty `packages/agent/` project
|
|
|
801
801
|
- **Pull requests and the merge queue:** lint, then every `test/integration/*.test.mjs` split by the last runs' JUnit timings over 12 pool shards (`ci / integration`), then on a pull request the Claude and Codex reviews (`ci / review`) with this repository's `review-prompt`. The shared guard vectors run as one file per path (devtools, extension, link), target group (`seven`, `vault`, `vault-x`, `apex` and the rest, `test/integration/guard-groups.mjs`) and detach variant (`lagging` or the others), 30 files of 2 to about 12 minutes, so the split can balance them. The slicc CLI tests use `node_modules/.bin/slicc` (or `SLICC_CLI`).
|
|
802
802
|
- **`main`:** semantic-release publishes the npm package (see [The npm package](#the-npm-package)). When it releases, the pipeline's `after-release` publishes that version to seven, in the `production` environment (see [Hosting](#hosting)).
|
|
803
803
|
|
|
804
|
-
Require `ci / integration` and `ci / review`. There is no retry: a flaky test fails the run.
|
|
804
|
+
Require `ci / integration` and `ci / review`. There is no retry: a flaky test fails the run. The separate `vault drift` workflow is not required.
|
|
805
805
|
|
|
806
806
|
## Hosting
|
|
807
807
|
|