Skip to content

Open-source, local-first social media research agent for Instagram, TikTok, and LinkedIn. Jev routes read-only steps; socai CLI captures cited browser evidence.

release: prepare v0.1.8 runtime

Asklv5270e23cfd27
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index d324570..99e73b4 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "jev-social",
- "version": "0.1.7",
+ "version": "0.1.8",
"description": "Run read-only Instagram, TikTok, and LinkedIn research through Jev-directed socai CLI operations in the user's local browser.",
"author": {
"name": "socai-io",
diff --git a/.grok-plugin/plugin.json b/.grok-plugin/plugin.json
index ce0bc3c..cfc3627 100644
--- a/.grok-plugin/plugin.json
+++ b/.grok-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "jev-social",
- "version": "0.1.7",
+ "version": "0.1.8",
"description": "Run read-only Instagram, TikTok, and LinkedIn research through Jev-directed socai CLI operations in the user's local browser.",
"author": {
"name": "socai-io",
diff --git a/README.md b/README.md
index c9b4357..f4f4af2 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,12 @@ The report model defaults to `openai/gpt-4o-mini` and may incur normal provider
These are individual local observations, not a benchmark or guaranteed latency. Live-site behavior, network conditions, login state, and the operations Jev selects can change the total time.
+## Reproducible benchmark
+
+v0.1.8 includes fixed Instagram, TikTok, and LinkedIn tasks plus a privacy-safe collector and p50/p95 summary generator. Once the runner initializes, every research attempt stays in the dataset, including access gates, interruptions, empty results, and failures. Exact task/environment groups—including the Jev Social runtime—remain `INCOMPLETE` until they contain at least ten distinct runs.
+
+No live benchmark results are published yet. The commands, row contract, timing definitions, and publication gate are documented in [benchmark/README.md](benchmark/README.md).
+
## Run it
Node 20+, a decision provider (OpenRouter Jev or a loopback Kev server), and a current [socai](https://github.com/socai-io/socai) CLI.
@@ -84,26 +90,26 @@ Node 20+, a decision provider (OpenRouter Jev or a loopback Kev server), and a c
Fastest OpenRouter path — no repository clone required. Onboarding prompts for the key and offers to install the official socai CLI when it is missing:
```bash
-npx github:socai-io/jev-social#v0.1.7 onboard
-npx github:socai-io/jev-social#v0.1.7
+npx github:socai-io/jev-social#v0.1.8 onboard
+npx github:socai-io/jev-social#v0.1.8
```
To let Codex invoke the same browser-grounded workflow through GitHub CLI 2.101 or newer:
```bash
-gh skill install socai-io/jev-social [email protected] --agent codex --scope user
+gh skill install socai-io/jev-social [email protected] --agent codex --scope user
```
Or install it from the [skills.sh directory](https://skills.sh/socai-io/jev-social/jev-social) with the cross-agent Skills CLI:
```bash
-npx skills add https://github.com/socai-io/jev-social/tree/v0.1.7/skills/jev-social --skill jev-social
+npx skills add https://github.com/socai-io/jev-social/tree/v0.1.8/skills/jev-social --skill jev-social
```
-For OpenCode, install the tested v0.1.7 skill into its natively discovered project skill directory:
+For OpenCode, install the tested v0.1.8 skill into its natively discovered project skill directory:
```bash
-npx skills add https://github.com/socai-io/jev-social/tree/v0.1.7/skills/jev-social --agent opencode
+npx skills add https://github.com/socai-io/jev-social/tree/v0.1.8/skills/jev-social --agent opencode
```
The skill pins the documented Jev Social CLI release, preserves its read-only and login-gate boundaries, and returns source-linked evidence instead of raw run JSON. Platform availability is checked against the installed socai CLI before a run.
@@ -119,7 +125,7 @@ cp .env.example .env # OPENROUTER_API_KEY=…
npm start
```
-To run v0.1.7 through local [Kev](https://github.com/jaredpalmer/kev), start its TypeSafe-compatible server on loopback, then launch the tagged Jev Social release without an OpenRouter key:
+To run v0.1.8 through local [Kev](https://github.com/jaredpalmer/kev), start its TypeSafe-compatible server on loopback, then launch the tagged Jev Social release without an OpenRouter key:
```bash
# Terminal 1
@@ -133,7 +139,7 @@ export JEV_SOCIAL_SYSTEM_ONE_URL=http://127.0.0.1:8009/v1/systemone
export JEV_SOCIAL_SYSTEM_ONE_MODEL=kev-latest
export JEV_SOCIAL_SYSTEM_ONE_TIMEOUT_MS=120000
export OPENROUTER_REPORT_MODEL=off
-npx github:socai-io/jev-social#v0.1.7
+npx github:socai-io/jev-social#v0.1.8
```
The local endpoint must be plain HTTP on `localhost`, `127.0.0.1`, or `::1`, with the exact `/v1/systemone` path. Jev Social does not send the OpenRouter key to it, rejects redirects and oversized responses, and keeps the same typed choice validation. Local inference allows up to 120 seconds by default; lower it with `JEV_SOCIAL_SYSTEM_ONE_TIMEOUT_MS`. `OPENROUTER_REPORT_MODEL=off` uses the deterministic source-linked report; the browser and social-platform traffic still runs through local `socai` and Chrome.
diff --git a/benchmark/README.md b/benchmark/README.md
index 536b744..a35b910 100644
--- a/benchmark/README.md
+++ b/benchmark/README.md
@@ -11,6 +11,8 @@ Use a compatible `socai CLI`, an accessible browser profile, and either OpenRout
```bash
npm run --silent benchmark:run -- \
--task benchmark/tasks/instagram.json \
+ --jev-social-version 0.1.8 \
+ --jev-social-commit abcdef0123456789abcdef0123456789abcdef01 \
--jev-model typesafe/jev-1.13-20260917 \
--socai-version 0.6.0 \
--socai-commit 0123456789abcdef0123456789abcdef01234567 \
@@ -19,7 +21,7 @@ npm run --silent benchmark:run -- \
--condition cold >> benchmark-rows.ndjson
```
-The command writes exactly one validated NDJSON row to stdout. Stage names go to stderr. It never writes the goal, evidence text, source URLs, local paths, browser endpoints, account identifiers, or credentials into a row. Runtime failures and partial runs remain in the dataset.
+After task, metadata, local configuration, and isolated state initialization succeed, the command writes exactly one validated NDJSON row to stdout for every research attempt. Stage names go to stderr. It never writes the goal, evidence text, source URLs, local paths, browser endpoints, account identifiers, or credentials into a row. Runtime failures and partial runs remain in the dataset. Invalid input or an initialization failure exits without a row.
An installed package also exposes the same collector as `jev-social-benchmark`. `SIGINT` and `SIGTERM` stop the active operation through its abort signal and preserve an `interrupted` row before the process exits.
@@ -29,6 +31,8 @@ Run each exact task/environment group at least ten times. A shell loop is accept
for run in $(seq 1 10); do
npm run --silent benchmark:run -- \
--task benchmark/tasks/instagram.json \
+ --jev-social-version 0.1.8 \
+ --jev-social-commit abcdef0123456789abcdef0123456789abcdef01 \
--jev-model typesafe/jev-1.13-20260917 \
--socai-version 0.6.0 \
--socai-commit 0123456789abcdef0123456789abcdef01234567 \
@@ -40,7 +44,7 @@ done
`cold` means the first run after restarting the browser/CLI research session and clearing only documented application caches. `warm` means an immediate repeat in the same browser profile without clearing caches. Never clear browser cookies, login state, or personal data for this benchmark. Record a stable, non-identifying region label and describe its meaning beside any published dataset.
-The runner requires `socai --version` to return the declared version and requires every successful decision response to report the immutable model supplied by `--jev-model`. Floating aliases such as `jev-latest` and `kev-latest` are rejected. Build or install `socai` from the declared commit before collecting; current CLI metadata does not expose a verifiable build commit, so the operator remains responsible for that pin. `--profile-mode` records the browser setup used for the run; it does not create or modify a browser profile.
+The runner records the declared Jev Social version and commit, requires `socai --version` to return the declared version, and requires every successful decision response to report the immutable model supplied by `--jev-model`. Floating aliases such as `jev-latest` and `kev-latest` are rejected. Collect from the declared Jev Social and socai commits; their current runtime metadata does not expose a verifiable build commit, so the operator remains responsible for both commit pins. `--profile-mode` records the browser setup used for the run; it does not create or modify a browser profile.
Jev and browser-operation component timers use a monotonic clock, including failed attempts. For TikTok, `timing_ms.media` is the full elapsed time of each `socai` operation that requested a download. It can overlap `timing_ms.socai_browser` and is an upper bound on download-only work. Media counts and bytes include only recognized media files tied to the explicit download target and resolved below configured `socai` run roots; paths never enter the row.
@@ -50,7 +54,7 @@ Jev and browser-operation component timers use a monotonic clock, including fail
npm run --silent benchmark:summarize -- --input benchmark-rows.ndjson > benchmark-summary.md
```
-The generator validates every row before aggregation, rejects duplicate run IDs, groups only exact task and environment matches, uses nearest-rank p50/p95, and reports success, partial, failed, failure rate, evidence coverage, and non-success reasons. A summary is `READY` only when every included group has at least ten distinct rows. Invalid rows fail the command instead of disappearing.
+The generator validates every row before aggregation, rejects duplicate run IDs, groups only exact task, Jev Social runtime, and environment matches, uses nearest-rank p50/p95, and reports success, partial, failed, failure rate, evidence coverage, and non-success reasons. A schema-v2 summary is `READY` only when every included group has at least ten distinct rows. Legacy schema-v1 rows remain readable but can never satisfy the publication gate. Invalid rows fail the command instead of disappearing.
## Row contract
@@ -62,7 +66,7 @@ import { validateBenchmarkRow } from "jev-social/benchmark/schema";
const row = validateBenchmarkRow(JSON.parse(input));
```
-The contract records pinned runtime metadata, per-step Jev latency, aggregate browser and media time, evidence counts, and an explicit outcome. Run and task IDs must be generated UUIDv4 values. Model values are identifiers such as `typesafe/jev-1.13-20260917`, not paths or URLs. The validator rejects unknown fields, inconsistent totals, and credential-, account-, browser-, path-, or content-bearing field names at any depth.
+Schema v2 records the Jev Social version and commit alongside the pinned socai and model metadata, per-step Jev latency, aggregate browser and media time, evidence counts, and an explicit outcome. Run and task IDs must be generated UUIDv4 values. Model values are identifiers such as `typesafe/jev-1.13-20260917`, not paths or URLs. The validator rejects unknown fields, inconsistent totals, and credential-, account-, browser-, path-, or content-bearing field names at any depth. Schema v1 remains accepted only for reading historical rows and never becomes publication-ready.
Measure `started_at` and `ended_at` with the wall clock. Measure every `timing_ms` field with a monotonic clock; `total` is end-to-end latency, and media time may overlap browser time. Jev decisions and browser operations are sequential, so their combined time must fit `total` within the one-second clock tolerance. `jev_total` must equal the sum of `jev_step_latency_ms`, with one entry per attempted decision. The array may be empty for a preflight failure and may contain up to `max_steps + 1` entries: one routing decision plus the bounded action decisions.
diff --git a/benchmark/fixtures/valid-row.json b/benchmark/fixtures/valid-row.json
index 76db3d6..bf25da5 100644
--- a/benchmark/fixtures/valid-row.json
+++ b/benchmark/fixtures/valid-row.json
@@ -1,11 +1,13 @@
{
- "schema_version": 1,
+ "schema_version": 2,
"run_id": "00000000-0000-4000-8000-000000000001",
"task_id": "00000000-0000-4000-8000-000000000002",
"started_at": "2026-09-25T00:00:00.000Z",
"ended_at": "2026-09-25T00:00:12.000Z",
"platform": "instagram",
"outcome": "success",
+ "jev_social_version": "0.1.8",
+ "jev_social_commit": "abcdef0123456789abcdef0123456789abcdef01",
"jev_model": "typesafe/jev-1.13-20260917",
"socai_version": "0.6.0",
"socai_commit": "0123456789abcdef0123456789abcdef01234567",
diff --git a/benchmark/run.js b/benchmark/run.js
index 9abc9cd..0b4d75e 100644
--- a/benchmark/run.js
+++ b/benchmark/run.js
@@ -30,11 +30,12 @@ const FLOATING_MODEL = /(?:^~|(?:^|[/_.-])latest(?=$|[:/_.-]))/i;
const HELP = `jev-social benchmark runner
Usage:
- node benchmark/run.js --task <file> --jev-model <id> --socai-version <semver> \\
- --socai-commit <sha> --profile-mode <existing|isolated> --region <id> \\
- --condition <cold|warm>
+ node benchmark/run.js --task <file> --jev-social-version <semver> \\
+ --jev-social-commit <sha> --jev-model <id> --socai-version <semver> \\
+ --socai-commit <sha> --profile-mode <existing|isolated> \\
+ --region <id> --condition <cold|warm>
-The command writes exactly one validated, privacy-safe NDJSON row to stdout.
+After initialization, the command writes exactly one validated, privacy-safe NDJSON row to stdout.
Progress stages go to stderr. Runtime failures are retained as failed or partial
rows instead of being silently dropped.
`;
@@ -269,13 +270,15 @@ export function buildBenchmarkRow({
);
return validateBenchmarkRow({
- schema_version: 1,
+ schema_version: 2,
run_id: runId,
task_id: task.task_id,
started_at: startedAt,
ended_at: endedAt,
platform: task.platform,
outcome: terminal.outcome,
+ jev_social_version: metadata?.jev_social_version,
+ jev_social_commit: metadata?.jev_social_commit,
jev_model: model,
socai_version: metadata?.socai_version,
socai_commit: metadata?.socai_commit,
@@ -369,6 +372,8 @@ const parseArgs = (args) => {
const result = {};
const names = new Map([
["--task", "task"],
+ ["--jev-social-version", "jev_social_version"],
+ ["--jev-social-commit", "jev_social_commit"],
["--jev-model", "jev_model"],
["--socai-version", "socai_version"],
["--socai-commit", "socai_commit"],
@@ -444,6 +449,8 @@ export async function executeBenchmark(
totalMs: 0,
});
const metadata = {
+ jev_social_version: validatedMetadata.jev_social_version,
+ jev_social_commit: validatedMetadata.jev_social_commit,
jev_model: validatedMetadata.jev_model,
socai_version: validatedMetadata.socai_version,
socai_commit: validatedMetadata.socai_commit,
diff --git a/benchmark/schema.js b/benchmark/schema.js
index 1f3e11f..27ecc42 100644
--- a/benchmark/schema.js
+++ b/benchmark/schema.js
@@ -1,4 +1,4 @@
-const TOP_LEVEL_FIELDS = new Set([
+const V1_TOP_LEVEL_FIELDS = new Set([
"schema_version",
"run_id",
"task_id",
@@ -20,6 +20,11 @@ const TOP_LEVEL_FIELDS = new Set([
"stop_reason",
"failure_category",
]);
+const V2_TOP_LEVEL_FIELDS = new Set([
+ ...V1_TOP_LEVEL_FIELDS,
+ "jev_social_version",
+ "jev_social_commit",
+]);
const TIMING_FIELDS = new Set(["jev_total", "socai_browser", "media", "total"]);
const EVIDENCE_FIELDS = new Set([
@@ -204,7 +209,8 @@ const normalizeEvidence = (value) => {
export const validateBenchmarkRow = (value) => {
rejectDenylistedFields(value);
- strictRecord(value, TOP_LEVEL_FIELDS, "row");
+ const schemaVersion = integer(value?.schema_version, "schema_version", { min: 1, max: 2 });
+ strictRecord(value, schemaVersion === 1 ? V1_TOP_LEVEL_FIELDS : V2_TOP_LEVEL_FIELDS, "row");
const startedAt = timestamp(value.started_at, "started_at");
const endedAt = timestamp(value.ended_at, "ended_at");
@@ -314,9 +320,21 @@ export const validateBenchmarkRow = (value) => {
if (/(?:^~|(?:^|[/_.-])latest(?=$|[:/_.-]))/i.test(jevModel)) {
fail("jev_model", "must be an immutable model identifier, not a latest alias");
}
+ const jevSocial = schemaVersion === 2
+ ? {
+ jev_social_version: cleanString(value.jev_social_version, "jev_social_version", {
+ max: 64,
+ pattern: /^v?\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/,
+ }).replace(/^v/, ""),
+ jev_social_commit: cleanString(value.jev_social_commit, "jev_social_commit", {
+ max: 40,
+ pattern: /^[a-f0-9]{7,40}$/i,
+ }).toLowerCase(),
+ }
+ : {};
return {
- schema_version: integer(value.schema_version, "schema_version", { min: 1, max: 1 }),
+ schema_version: schemaVersion,
run_id: opaqueId(value.run_id, "run_id"),
task_id: opaqueId(value.task_id, "task_id"),
started_at: startedAt,
@@ -334,6 +352,7 @@ export const validateBenchmarkRow = (value) => {
pattern: /^[A-Za-z0-9][A-Za-z0-9._-]*$/,
}),
condition: enumValue(value.condition, BENCHMARK_CONDITIONS, "condition"),
+ ...jevSocial,
jev_step_latency_ms: jevStepLatency,
timing_ms: timing,
evidence,
diff --git a/benchmark/summary.js b/benchmark/summary.js
index c1dcdde..f76f387 100644
--- a/benchmark/summary.js
+++ b/benchmark/summary.js
@@ -10,8 +10,11 @@ const MINIMUM_RUNS = 10;
const MAX_INPUT_BYTES = 16 * 1024 * 1024;
const MAX_ROWS = 10_000;
const GROUP_FIELDS = [
+ "schema_version",
"task_id",
"platform",
+ "jev_social_version",
+ "jev_social_commit",
"jev_model",
"socai_version",
"socai_commit",
@@ -69,9 +72,11 @@ export function summarizeBenchmarkRows(inputRows) {
id: `G${index + 1}`,
...groupIdentity(entries[0]),
runs: entries.length,
- publicationStatus: entries.length >= MINIMUM_RUNS
- ? "READY"
- : `INCOMPLETE (${entries.length}/${MINIMUM_RUNS})`,
+ publicationStatus: entries[0].schema_version < 2
+ ? "LEGACY SCHEMA (v1)"
+ : entries.length >= MINIMUM_RUNS
+ ? "READY"
+ : `INCOMPLETE (${entries.length}/${MINIMUM_RUNS})`,
startedAt: entries.map((row) => row.started_at).sort()[0],
endedAt: entries.map((row) => row.ended_at).sort().at(-1),
outcomes,
@@ -95,7 +100,7 @@ export function summarizeBenchmarkRows(inputRows) {
schemaVersion: 1,
minimumRuns: MINIMUM_RUNS,
rowCount: rows.length,
- publicationReady: groups.every((group) => group.runs >= MINIMUM_RUNS),
+ publicationReady: groups.every((group) => group.publicationStatus === "READY"),
groups,
};
}
@@ -127,11 +132,14 @@ export function renderBenchmarkSummary(summary) {
"",
"## Environment",
"",
- "| Group | Task ID | Jev model | socai | Profile | Region | Limit / steps | Date window (UTC) | Status |",
- "| --- | --- | --- | --- | --- | --- | ---: | --- | --- |",
+ "| Group | Task ID | Jev Social | Jev model | socai | Profile | Region | Limit / steps | Date window (UTC) | Status |",
+ "| --- | --- | --- | --- | --- | --- | --- | ---: | --- | --- |",
);
for (const group of summary.groups) {
- lines.push(`| ${group.id} | ${group.task_id} | ${group.jev_model} | ${group.socai_version} @ ${shortCommit(group.socai_commit)} | ${group.profile_mode} | ${group.region} | ${group.result_limit} / ${group.max_steps} | ${group.startedAt} – ${group.endedAt} | ${group.publicationStatus} |`);
+ const jevSocial = group.schema_version < 2
+ ? "legacy schema v1"
+ : `${group.jev_social_version} @ ${shortCommit(group.jev_social_commit)}`;
+ lines.push(`| ${group.id} | ${group.task_id} | ${jevSocial} | ${group.jev_model} | ${group.socai_version} @ ${shortCommit(group.socai_commit)} | ${group.profile_mode} | ${group.region} | ${group.result_limit} / ${group.max_steps} | ${group.startedAt} – ${group.endedAt} | ${group.publicationStatus} |`);
}
lines.push(
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 9535217..8503e59 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -46,7 +46,7 @@ By default (using `existing` or `managed` Chrome modes without external endpoint
| State | What Happened | What You See | How to Resolve |
| --- | --- | --- | --- |
-| **Missing `socai` executable** | The `socai` CLI is not installed or not discoverable at the resolved binary path. | Status indicator displays `socai unavailable`, or terminal reports `spawn ENOENT` / command not found. | On macOS and Windows, run `npx github:socai-io/jev-social#v0.1.7 onboard` (or `npm start -- onboard`). On Linux, install the CLI package from source via Cargo (`cargo install --git https://github.com/socai-io/socai.git socai-cli`) and set `SOCAI_BIN`. |
+| **Missing `socai` executable** | The `socai` CLI is not installed or not discoverable at the resolved binary path. | Status indicator displays `socai unavailable`, or terminal reports `spawn ENOENT` / command not found. | On macOS and Windows, run `npx github:socai-io/jev-social#v0.1.8 onboard` (or `npm start -- onboard`). On Linux, install the CLI package from source via Cargo (`cargo install --git https://github.com/socai-io/socai.git socai-cli`) and set `SOCAI_BIN`. |
| **Browser connection failure** | `socai` cannot connect to Chrome or its DevTools protocol (CDP) endpoint. | The readiness strip shows `Chrome unavailable`, `Chrome permission needed`, `Chrome disconnected`, or `Remote browser unavailable` with a short local action. | Follow your active connection mode below. Ensure the target Chrome instance is running with remote debugging enabled and accept any remote-debugging permission prompts. Avoid blanket process-killing commands. |
| **Login-required / challenge gate** | The platform blocked unauthenticated access with a login modal, redirect (e.g. `authwall`), or CAPTCHA. | Status displays a partial result notice with the specific gate reason (for example, `Partial results · The platform requires attention: login_required`). | Open the platform in the specific user-accessible Chrome session or profile selected by `socai` (`existing` or `managed` mode), complete authentication or challenges, and verify browsing before re-running. (If using hosted `remote` mode, switch to `existing` or `managed` mode to authenticate interactively.) |
| **Valid empty result** | The platform loaded successfully and the search executed cleanly, but returned 0 matching records. | Evidence cards, table, and heading remain hidden. Depending on subsequent decisions, the run can finalize as `partial` (`Partial results · Jev stopped without usable evidence.`), `step_limit` (if max steps are reached), or `decision_failed` (if a subsequent model decision call fails). | The initial search executed cleanly without matching records on the platform. Broaden or rephrase your search query. (If a subsequent decision failed, verify model API connectivity). |
@@ -189,7 +189,7 @@ Because resolution is not pinned to a single binary and may differ from what is
- **macOS & Windows**: Run automated onboarding to download and install the official release:
```bash
- npx github:socai-io/jev-social#v0.1.7 onboard
+ npx github:socai-io/jev-social#v0.1.8 onboard
# or from a repository checkout:
npm start -- onboard
```
diff --git a/package-lock.json b/package-lock.json
index ad3bb20..45463fa 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,15 +1,16 @@
{
"name": "jev-social",
- "version": "0.1.7",
+ "version": "0.1.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "jev-social",
- "version": "0.1.7",
+ "version": "0.1.8",
"license": "MIT",
"bin": {
- "jev-social": "bin/jev-social.js"
+ "jev-social": "bin/jev-social.js",
+ "jev-social-benchmark": "benchmark/run.js"
},
"engines": {
"node": ">=20"
diff --git a/package.json b/package.json
index 25beb76..599fc97 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "jev-social",
- "version": "0.1.7",
+ "version": "0.1.8",
"description": "Jev-directed Instagram, TikTok, and LinkedIn browser operations through the socai CLI",
"type": "module",
"bin": {
diff --git a/site/index.html b/site/index.html
index 9fe363d..ab3e786 100644
--- a/site/index.html
+++ b/site/index.html
@@ -35,7 +35,7 @@
"codeRepository": "https://github.com/socai-io/jev-social",
"downloadUrl": "https://github.com/socai-io/jev-social/releases/latest",
"image": "https://socai-io.github.io/jev-social/assets/social-preview.jpg",
- "softwareVersion": "0.1.7",
+ "softwareVersion": "0.1.8",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "macOS, Windows, Linux",
"isAccessibleForFree": true,
@@ -197,7 +197,7 @@
<a href="https://github.com/socai-io/jev-social/blob/main/docs/tiktok-evidence.md#video-detail-and-media-download" rel="noreferrer">Inspect the media evidence ↗</a>
</article>
</div>
- <p class="evidence-note">These are individual local observations, not a benchmark or guaranteed latency. Live-site behavior, network conditions, login state, and Jev's selected operations change the total time.</p>
+ <p class="evidence-note">These are individual local observations, not a benchmark or guaranteed latency. Live-site behavior, network conditions, login state, and Jev's selected operations change the total time. v0.1.8 adds a <a href="https://github.com/socai-io/jev-social/blob/main/benchmark/README.md" rel="noreferrer">reproducible benchmark protocol ↗</a>; no live benchmark results are published yet.</p>
</section>
<section class="run reveal" id="run" aria-labelledby="run-heading">
@@ -208,8 +208,8 @@
</div>
<div class="code-block">
<div class="code-label">TERMINAL</div>
- <pre><code><span>npx github:socai-io/jev-social#v0.1.7 onboard</span>
-<span>npx github:socai-io/jev-social#v0.1.7</span></code></pre>
+ <pre><code><span>npx github:socai-io/jev-social#v0.1.8 onboard</span>
+<span>npx github:socai-io/jev-social#v0.1.8</span></code></pre>
</div>
<div class="run-actions">
<a class="button button-pink" href="https://github.com/socai-io/jev-social" rel="noreferrer">Star Jev Social ★</a>
diff --git a/site/llms.txt b/site/llms.txt
index 0f46691..338b3ea 100644
--- a/site/llms.txt
+++ b/site/llms.txt
@@ -41,40 +41,46 @@ The HTTP server listens on `127.0.0.1`. State-changing requests require exact sa
Requirements: Node.js 20+, a current socai CLI, a Chrome session that can access the selected platform, and either an OpenRouter API key with Jev access or a loopback TypeSafe-compatible decision endpoint such as Kev.
```bash
-npx github:socai-io/jev-social#v0.1.7 onboard
-npx github:socai-io/jev-social#v0.1.7
+npx github:socai-io/jev-social#v0.1.8 onboard
+npx github:socai-io/jev-social#v0.1.8
```
Direct non-interactive example:
```bash
-npx github:socai-io/jev-social#v0.1.7 search "find emerging design creators on Instagram" --platform auto --limit 4
+npx github:socai-io/jev-social#v0.1.8 search "find emerging design creators on Instagram" --platform auto --limit 4
```
-The tagged v0.1.7 release uses OpenRouter by default. Set `JEV_SOCIAL_SYSTEM_ONE_URL=http://127.0.0.1:8009/v1/systemone` and `JEV_SOCIAL_SYSTEM_ONE_MODEL=kev-latest` to switch decisions to local Kev without an OpenRouter key. Only an exact loopback endpoint is accepted; OpenRouter credentials are not forwarded. Set `OPENROUTER_REPORT_MODEL=off` to keep report generation on the deterministic evidence path.
+The tagged v0.1.8 release uses OpenRouter by default. Set `JEV_SOCIAL_SYSTEM_ONE_URL=http://127.0.0.1:8009/v1/systemone` and `JEV_SOCIAL_SYSTEM_ONE_MODEL=kev-latest` to switch decisions to local Kev without an OpenRouter key. Only an exact loopback endpoint is accepted; OpenRouter credentials are not forwarded. Set `OPENROUTER_REPORT_MODEL=off` to keep report generation on the deterministic evidence path.
## Install as an Agent Skill
-GitHub CLI 2.101 or newer can install the immutable v0.1.7 skill for Codex:
+GitHub CLI 2.101 or newer can install the immutable v0.1.8 skill for Codex:
```bash
-gh skill install socai-io/jev-social [email protected] --agent codex --scope user
+gh skill install socai-io/jev-social [email protected] --agent codex --scope user
```
The cross-agent Skills CLI is also supported:
```bash
-npx skills add https://github.com/socai-io/jev-social/tree/v0.1.7/skills/jev-social --skill jev-social
+npx skills add https://github.com/socai-io/jev-social/tree/v0.1.8/skills/jev-social --skill jev-social
```
-OpenCode can install the tested v0.1.7 Skill into its natively discovered project directory:
+OpenCode can install the tested v0.1.8 Skill into its natively discovered project directory:
```bash
-npx skills add https://github.com/socai-io/jev-social/tree/v0.1.7/skills/jev-social --agent opencode
+npx skills add https://github.com/socai-io/jev-social/tree/v0.1.8/skills/jev-social --agent opencode
```
This is a standard Agent Skill that calls the local socai CLI, not an OpenCode plugin.
+## Reproducible benchmark
+
+The repository ships fixed Instagram, TikTok, and LinkedIn tasks, a privacy-safe one-row-per-initialized-attempt collector, and an exact-environment p50/p95 summary gate that includes the Jev Social runtime. Full protocol: https://github.com/socai-io/jev-social/blob/main/benchmark/README.md
+
+No live benchmark results are published yet. After initialization, failed, partial, interrupted, and empty attempts remain in the dataset, and every exact task/environment group requires at least ten distinct schema-v2 rows before publication.
+
## Runtime boundaries
- Live-site speed and result coverage depend on the selected operations, login state, browser session, network, and platform behavior.
diff --git a/skills/jev-social/SKILL.md b/skills/jev-social/SKILL.md
index a341077..0bee38d 100644
--- a/skills/jev-social/SKILL.md
+++ b/skills/jev-social/SKILL.md
@@ -26,17 +26,17 @@ Do not install software, start onboarding, change browser profiles, or request c
Run this before research:
```bash
-npx github:socai-io/jev-social#6ee0354f6eb6db77f9f0df279e768b2e1efd1ac6 status
+npx github:socai-io/jev-social#fd66f00c488e6c61d144132ea0b1aeb8dfdf510f status
```
-The commit is the tested runtime source included in release `v0.1.7`. Do not add an automatic-consent flag. If the package runner needs to download the source, identify `socai-io/jev-social` and the pinned commit to the user, then continue only after the user approves that download.
+The commit is the tested runtime source included in release `v0.1.8`. Do not add an automatic-consent flag. If the package runner needs to download the source, identify `socai-io/jev-social` and the pinned commit to the user, then continue only after the user approves that download.
Require a configured decision provider, an installed socai CLI, and support for the requested platform. A ready local System One provider does not require an OpenRouter key. Treat the status payload as local diagnostics: do not reproduce configuration paths, executable paths, environment values, or credentials in the answer.
If setup is missing, identify the exact missing prerequisite. Run interactive onboarding or install software only when the user requested setup or authorized installation:
```bash
-npx github:socai-io/jev-social#6ee0354f6eb6db77f9f0df279e768b2e1efd1ac6 onboard
+npx github:socai-io/jev-social#fd66f00c488e6c61d144132ea0b1aeb8dfdf510f onboard
```
Never place an API key in a shell command, transcript, report, or committed file.
@@ -46,7 +46,7 @@ Never place an API key in a shell command, transcript, report, or committed file
Use the platform named by the user. Otherwise leave routing to Jev with `auto`. Keep the natural-language goal intact; it can include desired evidence, target counts, and stopping conditions.
```bash
-npx github:socai-io/jev-social#6ee0354f6eb6db77f9f0df279e768b2e1efd1ac6 search "<research goal>" \
+npx github:socai-io/jev-social#fd66f00c488e6c61d144132ea0b1aeb8dfdf510f search "<research goal>" \
--platform <auto|instagram|tiktok|linkedin> \
--limit 4 \
--max-steps 12
@@ -80,7 +80,7 @@ Lead with the outcome, then present the useful records in a compact table or sho
When the user asks for an interactive preview instead of a terminal run, start the loopback UI with:
```bash
-npx github:socai-io/jev-social#6ee0354f6eb6db77f9f0df279e768b2e1efd1ac6 serve --port 8766
+npx github:socai-io/jev-social#fd66f00c488e6c61d144132ea0b1aeb8dfdf510f serve --port 8766
```
Report `http://127.0.0.1:8766` and leave the process running only when the user asked for a local demo server.
diff --git a/test/benchmark-runner.test.js b/test/benchmark-runner.test.js
index 068f174..83efd28 100644
--- a/test/benchmark-runner.test.js
+++ b/test/benchmark-runner.test.js
@@ -22,6 +22,8 @@ const task = {
};
const metadata = {
+ jev_social_version: "0.1.8",
+ jev_social_commit: "abcdef0123456789abcdef0123456789abcdef01",
jev_model: "typesafe/jev-1.13-20260917",
socai_version: "0.6.0",
socai_commit: "0123456789abcdef0123456789abcdef01234567",
@@ -94,6 +96,9 @@ test("builds one validated row from a completed run and keeps component timings
});
assert.equal(row.outcome, "success");
+ assert.equal(row.schema_version, 2);
+ assert.equal(row.jev_social_version, metadata.jev_social_version);
+ assert.equal(row.jev_social_commit, metadata.jev_social_commit);
assert.equal(row.stop_reason, "goal_satisfied");
assert.deepEqual(row.jev_step_latency_ms, [100, 200, 300, 150]);
assert.deepEqual(row.timing_ms, {
@@ -311,6 +316,8 @@ test("counts only media tied to an explicit download action below configured run
const cliArguments = [
"--task", "benchmark/tasks/tiktok.json",
+ "--jev-social-version", metadata.jev_social_version,
+ "--jev-social-commit", metadata.jev_social_commit,
"--jev-model", metadata.jev_model,
"--socai-version", metadata.socai_version,
"--socai-commit", metadata.socai_commit,
diff --git a/test/benchmark-schema.test.js b/test/benchmark-schema.test.js
index befbea2..9dd83dd 100644
--- a/test/benchmark-schema.test.js
+++ b/test/benchmark-schema.test.js
@@ -28,6 +28,29 @@ test("accepts and normalizes the documented synthetic row", () => {
assert.deepEqual(normalized, { ...fixture, region: "synthetic-us" });
});
+test("schema v2 requires immutable Jev Social runtime metadata while v1 stays readable", () => {
+ const current = clone();
+ const normalized = validateBenchmarkRow(current);
+ assert.equal(normalized.jev_social_version, "0.1.8");
+ assert.equal(normalized.jev_social_commit, current.jev_social_commit);
+
+ for (const field of ["jev_social_version", "jev_social_commit"]) {
+ const missing = structuredClone(current);
+ delete missing[field];
+ assert.throws(
+ () => validateBenchmarkRow(missing),
+ (error) => error instanceof BenchmarkRowValidationError && error.path === field,
+ );
+ }
+
+ const legacy = clone();
+ legacy.schema_version = 1;
+ delete legacy.jev_social_version;
+ delete legacy.jev_social_commit;
+ assert.equal(validateBenchmarkRow(legacy).schema_version, 1);
+ assert.equal(Object.hasOwn(validateBenchmarkRow(legacy), "jev_social_version"), false);
+});
+
test("rejects missing required fields and unknown enum values", () => {
const missing = clone();
delete missing.run_id;
@@ -163,6 +186,13 @@ test("requires opaque IDs and pinned socai metadata", () => {
(error) => error instanceof BenchmarkRowValidationError && error.path === "socai_commit",
);
+ const jevSocialCommit = clone();
+ jevSocialCommit.jev_social_commit = "main";
+ assert.throws(
+ () => validateBenchmarkRow(jevSocialCommit),
+ (error) => error instanceof BenchmarkRowValidationError && error.path === "jev_social_commit",
+ );
+
for (const value of [
"/Users/alice/jev-model",
"https://example.com/jev",
diff --git a/test/benchmark-summary.test.js b/test/benchmark-summary.test.js
index 45f06b7..8504e87 100644
--- a/test/benchmark-summary.test.js
+++ b/test/benchmark-summary.test.js
@@ -73,6 +73,26 @@ test("marks every exact environment group with fewer than ten rows as incomplete
assert.match(renderBenchmarkSummary(summary), /Publication gate: INCOMPLETE/);
});
+test("separates Jev Social runtimes and never publishes legacy schema groups", () => {
+ const current = row(0);
+ const otherRuntime = row(1);
+ otherRuntime.jev_social_commit = "1234567890abcdef1234567890abcdef12345678";
+
+ const split = summarizeBenchmarkRows([current, otherRuntime]);
+ assert.equal(split.groups.length, 2);
+ assert.ok(split.groups.every((group) => group.runs === 1));
+
+ const legacy = summarizeBenchmarkRows(Array.from({ length: 10 }, (_, index) => {
+ const value = row(index);
+ value.schema_version = 1;
+ delete value.jev_social_version;
+ delete value.jev_social_commit;
+ return value;
+ }));
+ assert.equal(legacy.publicationReady, false);
+ assert.equal(legacy.groups[0].publicationStatus, "LEGACY SCHEMA (v1)");
+});
+
test("rejects invalid rows instead of silently dropping them", () => {
const invalid = row(0);
invalid.api_key = "secret";
diff --git a/test/distribution-docs.test.js b/test/distribution-docs.test.js
index d98f3b7..d4239f7 100644
--- a/test/distribution-docs.test.js
+++ b/test/distribution-docs.test.js
@@ -101,6 +101,19 @@ test("the Pages landing exposes current structured metadata and recorded evidenc
assert.match(landing, /individual local observations, not a benchmark/i);
});
+test("public docs expose the reproducible benchmark workflow without claiming results", async () => {
+ const [readme, llms] = await Promise.all([
+ readFile(new URL("../README.md", import.meta.url), "utf8"),
+ readFile(new URL("../site/llms.txt", import.meta.url), "utf8"),
+ ]);
+
+ for (const contents of [readme, llms]) {
+ assert.match(contents, /reproducible benchmark/i);
+ assert.match(contents, /benchmark\/README\.md/);
+ assert.match(contents, /no live (?:benchmark )?(?:measurements|results)/i);
+ }
+});
+
test("the Grok plugin manifest exposes the released Jev Social skill", async () => {
const manifest = JSON.parse(
await readFile(new URL("../.grok-plugin/plugin.json", import.meta.url), "utf8"),