Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): refresh generated artifacts and conformance spec (#6138)

Louis Beaumontd784558b7a0d
diff --git a/COVERAGE.md b/COVERAGE.md
index be604e630..bc5868df2 100644
--- a/COVERAGE.md
+++ b/COVERAGE.md
@@ -19,14 +19,14 @@ results and `cargo llvm-cov` data on top when judging release confidence.
### Tauri E2E
- Mapped specs: 105
-- Declared test blocks: 304
-- Weighted coverage points: 236.5
+- Declared test blocks: 305
+- Weighted coverage points: 237.5
| Platform | Specs | Declared tests | Weighted points | Layers | Features | Critical score |
| --- | --- | --- | --- | --- | --- | --- |
-| windows | 82 | 265 | 215.6 | 15 | 89 | 91% |
-| macos | 101 | 267 | 207.3 | 17 | 91 | 90% |
-| linux | 71 | 222 | 184.2 | 14 | 84 | 88% |
+| windows | 82 | 266 | 216.6 | 15 | 89 | 91% |
+| macos | 101 | 268 | 208.3 | 17 | 91 | 90% |
+| linux | 71 | 223 | 185.2 | 14 | 84 | 88% |
### Core Engine
diff --git a/apps/screenpipe-app-tauri/e2e/COVERAGE.md b/apps/screenpipe-app-tauri/e2e/COVERAGE.md
index 45b0f36b9..6cab4179c 100644
--- a/apps/screenpipe-app-tauri/e2e/COVERAGE.md
+++ b/apps/screenpipe-app-tauri/e2e/COVERAGE.md
@@ -7,8 +7,8 @@ and layer declared in the manifest, weighted by confidence and criticality.
- Manifest: `e2e/coverage-map.json`
- Specs directory: `e2e/specs`
- Mapped specs: 105
-- Declared test blocks: 304
-- Weighted coverage points: 236.5
+- Declared test blocks: 305
+- Weighted coverage points: 237.5
Confidence weights: strong=1.0, partial=0.7, conditional=0.4, smoke=0.3.
Criticality weights: high=1.0, medium=0.7, low=0.4.
@@ -19,9 +19,9 @@ can execute more runtime cases than this number shows.
| Platform | Specs | Declared tests | Weighted points | Layers | Features | Critical score |
| --- | --- | --- | --- | --- | --- | --- |
-| windows | 82 | 265 | 215.6 | 15 | 89 | 91% |
-| macos | 101 | 267 | 207.3 | 17 | 91 | 90% |
-| linux | 71 | 222 | 184.2 | 14 | 84 | 88% |
+| windows | 82 | 266 | 216.6 | 15 | 89 | 91% |
+| macos | 101 | 268 | 208.3 | 17 | 91 | 90% |
+| linux | 71 | 223 | 185.2 | 14 | 84 | 88% |
## Runtime Results
@@ -41,14 +41,14 @@ pass/fail/skip counts.
| entitlement | - | 1 specs / 1 tests / 1.0 pts | - |
| local-api | 22 specs / 109 tests / 90.0 pts | 27 specs / 94 tests / 78.0 pts | 17 specs / 77 tests / 68.2 pts |
| notifications | 4 specs / 25 tests / 16.3 pts | 3 specs / 5 tests / 3.4 pts | 2 specs / 4 tests / 3.1 pts |
-| onboarding | 6 specs / 26 tests / 23.0 pts | 7 specs / 27 tests / 23.4 pts | 6 specs / 26 tests / 23.0 pts |
+| onboarding | 6 specs / 27 tests / 24.0 pts | 7 specs / 28 tests / 24.4 pts | 6 specs / 27 tests / 24.0 pts |
| os-integration | 7 specs / 29 tests / 24.8 pts | 13 specs / 25 tests / 14.8 pts | 2 specs / 12 tests / 8.7 pts |
| performance | 2 specs / 44 tests / 44.0 pts | 4 specs / 34 tests / 30.5 pts | 1 specs / 29 tests / 29.0 pts |
| pipes | 6 specs / 19 tests / 19.0 pts | 7 specs / 24 tests / 24.0 pts | 6 specs / 19 tests / 19.0 pts |
-| real-ui-e2e | 57 specs / 170 tests / 140.0 pts | 66 specs / 169 tests / 139.1 pts | 52 specs / 145 tests / 125.2 pts |
+| real-ui-e2e | 57 specs / 171 tests / 141.0 pts | 66 specs / 170 tests / 140.1 pts | 52 specs / 146 tests / 126.2 pts |
| settings | 14 specs / 38 tests / 35.0 pts | 16 specs / 33 tests / 28.7 pts | 13 specs / 30 tests / 27.0 pts |
| storage-privacy | 9 specs / 40 tests / 31.3 pts | 9 specs / 26 tests / 25.1 pts | 6 specs / 19 tests / 18.1 pts |
-| tauri-command | 16 specs / 42 tests / 31.4 pts | 20 specs / 47 tests / 34.3 pts | 15 specs / 41 tests / 30.4 pts |
+| tauri-command | 16 specs / 43 tests / 32.4 pts | 20 specs / 48 tests / 35.3 pts | 15 specs / 42 tests / 31.4 pts |
| window-lifecycle | 18 specs / 63 tests / 53.0 pts | 18 specs / 44 tests / 31.4 pts | 13 specs / 39 tests / 29.9 pts |
## Critical Feature Matrix
@@ -165,7 +165,7 @@ pass/fail/skip counts.
| meetings-only-audio-lifecycle.spec.ts | windows, macos | audio-device, local-api, real-ui-e2e | meetings-only-audio-lifecycle, audio-device-health | high | conditional | real-user-flow | 1 | Opt-in real-audio lifecycle lane: configured devices stay closed outside meetings and open only across a manual meeting edge. |
| notification-viewer-link.spec.ts | windows, macos, linux | notifications, local-api, window-lifecycle | notifications, viewer-deeplink | high | partial | mixed | 3 | Notification local file links rewrite into in-app viewer links. |
| onboarding-background-ai-tools.spec.ts | windows, macos, linux | onboarding, real-ui-e2e, storage-privacy | onboarding, settings-ai | high | strong | real-user-flow | 2 | Isolated agent-home CI lane verifies private native config writes, the resolved local API credential, a real authenticated MCP tool call, skills setup, and removal of the connection slide. |
-| onboarding-first-run.spec.ts | windows, macos, linux | onboarding, real-ui-e2e, tauri-command | onboarding, first-run-learning, settings-persistence | high | strong | real-user-flow | 7 | Fresh-install setup walk: the acquisition slide is reachable in the shipped slide order and counted by the progress bar, offers no free-text field, one tap persists through to store.bin via the real settings command, skip records nothing, and the engine slide is the last one with no goal picker after it. |
+| onboarding-first-run.spec.ts | windows, macos, linux | onboarding, real-ui-e2e, tauri-command | onboarding, first-run-learning, settings-persistence | high | strong | real-user-flow | 8 | Fresh-install setup walk: the acquisition slide is reachable in the shipped slide order and counted by the progress bar, offers no free-text field, one tap persists through to store.bin via the real settings command, skip records nothing, and the engine slide is the last one with no goal picker after it. |
| onboarding-h1-follow-up.spec.ts | windows, macos, linux | onboarding, notifications, pipes, real-ui-e2e | onboarding, notifications, pipes | high | strong | real-user-flow | 1 | A due H1 activation runs its real Pipe, sends one visible prompt through the app-control notification server, and remains exactly-once across repeated scheduler ticks. |
| onboarding-redirect.spec.ts | windows, macos, linux | onboarding, real-ui-e2e, window-lifecycle | onboarding, app-launch | high | conditional | real-user-flow | 5 | Opt-in no-onboarding seed verifies onboarding redirect. |
| owned-browser.spec.ts | windows, macos | os-integration, window-lifecycle | owned-browser, window-lifecycle | low | smoke | command | 1 | Embedded agent browser hides safely without an attached child. |
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 3c47e526f..ebe0502d8 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -11132,7 +11132,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.6.7"
+version = "2.6.8"
dependencies = [
"aes 0.8.4",
"aes-gcm 0.10.3",
diff --git a/crates/screenpipe-gateway/e2e/conformance/VENDORED_FROM b/crates/screenpipe-gateway/e2e/conformance/VENDORED_FROM
index 5612b374e..aed33711e 100644
--- a/crates/screenpipe-gateway/e2e/conformance/VENDORED_FROM
+++ b/crates/screenpipe-gateway/e2e/conformance/VENDORED_FROM
@@ -1,7 +1,7 @@
repo: screenpipe/website (PRIVATE)
-branch: codex/cloud-pipes-control-plane-ux
-commit: a8af80284e3d334c3827e43442977c4872b8d53a
-date: 2026-08-03T22:31:14Z
+branch: main
+commit: c3fc73b43c496d86fad54ecff65a4e350d179a7c
+date: 2026-08-11T16:43:39Z
files: openapi/enterprise-v1.yaml -> enterprise-v1.yaml
conformance/spec.ts -> spec.ts
conformance/cases.ts -> cases.ts
diff --git a/crates/screenpipe-gateway/e2e/conformance/cases.ts b/crates/screenpipe-gateway/e2e/conformance/cases.ts
index 451889e38..24a0b5895 100644
--- a/crates/screenpipe-gateway/e2e/conformance/cases.ts
+++ b/crates/screenpipe-gateway/e2e/conformance/cases.ts
@@ -119,8 +119,9 @@ export const cases: Case[] = [
throw new Error(`missing kind ${k} in ${Array.from(kinds).join(", ")}`);
}
}
- // Every result must be INSIDE the requested window on both targets, even
- // though the two derive the window differently (objects vs. records).
+ // Every result must be INSIDE the requested window on both targets. The
+ // fixture includes an old record in an in-window hosted object so this
+ // assertion catches object-time-only filtering.
for (const r of b.results) {
if (!(r.t >= "2026-07-22" && r.t <= "2026-07-23")) {
throw new Error(`result outside the window: ${r.t}`);
diff --git a/crates/screenpipe-gateway/e2e/conformance/enterprise-v1.yaml b/crates/screenpipe-gateway/e2e/conformance/enterprise-v1.yaml
index c3fcbf5f2..2db4bf354 100644
--- a/crates/screenpipe-gateway/e2e/conformance/enterprise-v1.yaml
+++ b/crates/screenpipe-gateway/e2e/conformance/enterprise-v1.yaml
@@ -444,35 +444,14 @@ paths:
"502": { $ref: "#/components/responses/ServerError" }
/api/enterprise/v1/pipes:
- get:
- operationId: listManagedPipes
- summary: List the organization's currently deployed managed pipes
- description: >-
- HOSTED ONLY — returns the current control-plane state so an agent can
- inspect versions before previewing an edit. The gateway answers
- `501 {error, code:"not_served_by_gateway"}`.
- x-scope: write:pipes
- x-targets: [hosted]
- responses:
- "200":
- description: Current managed Pipe definitions, newest first
- content:
- application/json:
- schema: { $ref: "#/components/schemas/ManagedPipeList" }
- "401": { $ref: "#/components/responses/Unauthorized" }
- "403": { $ref: "#/components/responses/Forbidden" }
- "501": { $ref: "#/components/responses/NotServedByGateway" }
- "500": { $ref: "#/components/responses/ServerError" }
post:
operationId: pushPipe
- summary: Preview or deploy a managed pipe for the organization
+ summary: Create or update a managed pipe for the organization's fleet
description: >-
HOSTED ONLY — pipe management is a control-plane concern. The gateway
answers `501 {error, code:"not_served_by_gateway"}` for every method.
- Send `dry_run:true` to review the exact version, changed fields, and
- execution scope without writing. Deploy that reviewed state with
- `dry_run:false` and its `expected_version`; stale edits fail with 409.
- A `write:pipes` token is ADMIN AUTHORITY over the selected targets.
+ A `write:pipes` token is ADMIN AUTHORITY: every licensed device installs
+ what it pushes with no device-side login.
x-scope: write:pipes
x-targets: [hosted]
requestBody:
@@ -482,12 +461,12 @@ paths:
schema: { $ref: "#/components/schemas/PipePush" }
responses:
"200":
- description: Preview receipt, unchanged state, or updated deployment request
+ description: An existing pipe was updated and its version bumped
content:
application/json:
schema: { $ref: "#/components/schemas/PipePushResult" }
"201":
- description: A new deployment was requested at version 1
+ description: A new pipe was created at version 1
content:
application/json:
schema: { $ref: "#/components/schemas/PipePushResult" }
@@ -497,11 +476,6 @@ paths:
"400": { $ref: "#/components/responses/InvalidBody" }
"401": { $ref: "#/components/responses/Unauthorized" }
"403": { $ref: "#/components/responses/Forbidden" }
- "409":
- description: The Pipe changed after the caller inspected or previewed it
- content:
- application/json:
- schema: { $ref: "#/components/schemas/PipeVersionConflict" }
"501": { $ref: "#/components/responses/NotServedByGateway" }
"500": { $ref: "#/components/responses/ServerError" }
@@ -790,7 +764,10 @@ components:
query: { type: string }
device_id: { type: [string, "null"] }
app_name: { type: [string, "null"] }
- window_hours: { type: number, minimum: 0 }
+ window_hours:
+ type: number
+ minimum: 0
+ description: Effective response window; use the `since_hours_ago` query parameter to request a relative window.
records_scanned: { type: integer, minimum: 0 }
bytes_scanned: { type: integer, minimum: 0, description: Always 0 on the gateway (SEARCH-ALGORITHM) }
objects_scanned: { type: integer, minimum: 0, description: Always 0 on the gateway (SEARCH-ALGORITHM) }
@@ -815,7 +792,10 @@ components:
properties:
device_id: { type: [string, "null"] }
kind: { type: string, description: Echoed back lower-cased, including an unrecognized one }
- window_hours: { type: number, minimum: 0 }
+ window_hours:
+ type: number
+ minimum: 0
+ description: Effective response window; use the `since_hours_ago` query parameter to request a relative window.
bytes_scanned: { type: integer, minimum: 0 }
objects_scanned: { type: integer, minimum: 0 }
truncated: { type: boolean }
@@ -843,7 +823,10 @@ components:
required: [device_id, window_hours, count, files, next_cursor]
properties:
device_id: { type: [string, "null"] }
- window_hours: { type: number, minimum: 0 }
+ window_hours:
+ type: number
+ minimum: 0
+ description: Effective response window; use the `since_hours_ago` query parameter to request a relative window.
count: { type: integer, minimum: 0 }
files:
type: array
@@ -951,85 +934,21 @@ components:
target_value: { type: array, items: { type: string } }
ai_preset_id: { type: string }
enabled: { type: boolean, default: true }
- dry_run: { type: boolean, default: false }
- expected_version: { type: integer, minimum: 0 }
-
- ManagedPipeDesiredState:
- type: object
- additionalProperties: false
- required:
- [name, display_name, prompt_body, schedule, timeout, target_type,
- target_value, ai_preset_id, enabled, version]
- properties:
- name: { type: string }
- display_name: { type: string }
- prompt_body: { type: string }
- schedule: { type: string }
- timeout: { type: integer, minimum: 5, maximum: 3600 }
- target_type: { type: string, enum: [all, member_list, device_list] }
- target_value: { type: array, items: { type: string } }
- ai_preset_id: { type: string }
- enabled: { type: boolean }
- version: { type: integer, minimum: 1 }
-
- ManagedPipe:
- type: object
- additionalProperties: false
- required:
- [id, name, display_name, prompt_body, schedule, timeout, target_type,
- target_value, ai_preset_id, enabled, version, created_at, updated_at]
- properties:
- id: { type: string, format: uuid }
- name: { type: string }
- display_name: { type: string }
- prompt_body: { type: string }
- schedule: { type: string }
- timeout: { type: [integer, "null"], minimum: 5, maximum: 3600 }
- target_type: { type: string, enum: [all, member_list, device_list] }
- target_value: { type: [array, "null"], items: { type: string } }
- ai_preset_id: { type: [string, "null"] }
- enabled: { type: boolean }
- version: { type: integer, minimum: 1 }
- created_at: { type: string, format: date-time }
- updated_at: { type: string, format: date-time }
-
- ManagedPipeList:
- type: object
- additionalProperties: false
- required: [pipes]
- properties:
- pipes:
- type: array
- items: { $ref: "#/components/schemas/ManagedPipe" }
PipePushResult:
type: object
additionalProperties: false
- required:
- [action, current_version, next_version, changed_fields,
- execution_scope, pipe, note]
+ required: [action, pipe, note]
properties:
- action:
- type: string
- enum: [would_create, would_update, no_change, created, updated, unchanged]
- current_version: { type: integer, minimum: 0 }
- next_version: { type: integer, minimum: 1 }
- changed_fields:
- type: array
- items:
- type: string
- enum:
- [display_name, prompt_body, schedule, timeout, target_type,
- target_value, ai_preset_id, enabled]
- execution_scope: { type: string, enum: [cloud, devices, cloud-and-devices] }
+ action: { type: string, enum: [created, updated] }
note: { type: string }
- pipe: { $ref: "#/components/schemas/ManagedPipeDesiredState" }
-
- PipeVersionConflict:
- type: object
- additionalProperties: false
- required: [error, code, current_version]
- properties:
- error: { type: string }
- code: { type: string, const: version_conflict }
- current_version: { type: integer, minimum: 0 }
+ pipe:
+ type: object
+ additionalProperties: false
+ required: [name, display_name, schedule, enabled, version]
+ properties:
+ name: { type: string }
+ display_name: { type: string }
+ schedule: { type: string }
+ enabled: { type: boolean }
+ version: { type: integer, minimum: 1 }
diff --git a/crates/screenpipe-gateway/e2e/conformance/fixtures/batch-dev-alice.jsonl b/crates/screenpipe-gateway/e2e/conformance/fixtures/batch-dev-alice.jsonl
index 8d3651d4f..26d7ad62c 100644
--- a/crates/screenpipe-gateway/e2e/conformance/fixtures/batch-dev-alice.jsonl
+++ b/crates/screenpipe-gateway/e2e/conformance/fixtures/batch-dev-alice.jsonl
@@ -4,3 +4,4 @@
{"kind":"audio","device_id":"dev-alice","device_label":"alice-mbp","transcription_id":1,"timestamp":"2026-07-22T09:02:00Z","transcription":"let's confirm the quarterly roadmap alpha in the gateway demo","speaker":"presenter","device":"Built-in Microphone"}
{"kind":"ui","device_id":"dev-alice","device_label":"alice-mbp","event_id":1,"timestamp":"2026-07-22T09:03:00Z","event_type":"click","app_name":"Arc","window_title":"quarterly planning","browser_url":null,"element_name":"Approve","element_role":"button","text_content":"approve roadmap alpha"}
{"kind":"memory","device_id":"dev-alice","device_label":"alice-mbp","memory_id":1,"created_at":"2026-07-22T09:08:00Z","updated_at":"2026-07-22T09:08:00Z","content":"decision alpha: gateway ships this quarter","source":"user","tags":["decision","roadmap"],"importance":0.8,"frame_id":1}
+{"kind":"frame","device_id":"dev-alice","device_label":"alice-mbp","frame_id":999,"timestamp":"2026-07-12T09:00:00Z","app_name":"Arc","window_name":"stale batch member","browser_url":null,"text":"roadmap stale-window regression sentinel"}
diff --git a/crates/screenpipe-gateway/e2e/conformance/fixtures/index.ts b/crates/screenpipe-gateway/e2e/conformance/fixtures/index.ts
index ab6d2db6f..534c4b938 100644
--- a/crates/screenpipe-gateway/e2e/conformance/fixtures/index.ts
+++ b/crates/screenpipe-gateway/e2e/conformance/fixtures/index.ts
@@ -103,13 +103,12 @@ function read(name: string): Uint8Array {
/**
* The object store contents for the hosted target.
*
- * `lastModified` matters more than it looks: the HOSTED implementation filters
- * the time window by object LastModified while the gateway filters by RECORD
- * timestamp (a documented consequence of scanning blobs vs. having an index).
- * Putting the objects' LastModified inside the seeded July-22 window is what
- * lets one `?since=2026-07-22&until=2026-07-23` query return the same records
- * from both. `/files` cases deliberately omit `until` instead, because the
- * gateway's real objects are written at container-start time.
+ * `lastModified` controls the `/files` object-time filter and narrows the
+ * hosted record scan. The Alice batch deliberately also contains a July-12
+ * record: `/search` and `/records` must reject it by record timestamp even
+ * though its containing object's LastModified is inside the July-22 window.
+ * `/files` cases deliberately omit `until`, because the gateway's real objects
+ * are written at container-start time.
*/
export function storedObjects(licenseId = LICENSE_ID): StoredObject[] {
return [
diff --git a/crates/screenpipe-gateway/e2e/conformance/run.test.ts b/crates/screenpipe-gateway/e2e/conformance/run.test.ts
index 20519fb57..f7b5a4e69 100644
--- a/crates/screenpipe-gateway/e2e/conformance/run.test.ts
+++ b/crates/screenpipe-gateway/e2e/conformance/run.test.ts
@@ -181,7 +181,7 @@ describe(`binary routes [${impl}]`, () => {
// The bytes are the wire format, not a re-serialization.
const text = await res.text();
const lines = text.trim().split("\n");
- expect(lines.length).toBe(6); // 2 frames + 1 parsed + 1 audio + 1 ui + 1 memory
+ expect(lines.length).toBe(7); // the six in-window records + one stale record
const kinds = lines.map((l) => JSON.parse(l).kind);
expect(new Set(kinds)).toEqual(new Set(["frame", "parsed", "audio", "ui", "memory"]));
for (const line of lines) {