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.

docs: surface privacy and local data boundaries (#64)

Asklvb83c7ee6e94e
diff --git a/README.md b/README.md
index 74cde81..b520385 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Jev chooses each next operation: search, open a particular post or profile, read
<img src="https://raw.githubusercontent.com/socai-io/jev-social/main/docs/platforms/linkedin.svg" height="32" alt="LinkedIn">
</p>
-[Live site](https://socai-io.github.io/jev-social/) · [Social research guide](https://socai-io.github.io/jev-social/social-research/) · [Real 64-second Jev report](docs/example-report.md) · [Recorded TikTok video evidence](docs/tiktok-evidence.md) · [Discord](https://discord.gg/CpQdA7bwt8) · [Jev](https://typesafe.ai/)
+[Live site](https://socai-io.github.io/jev-social/) · [Social research guide](https://socai-io.github.io/jev-social/social-research/) · [Security and data flow](SECURITY.md) · [Real 64-second Jev report](docs/example-report.md) · [Recorded TikTok video evidence](docs/tiktok-evidence.md) · [Discord](https://discord.gg/CpQdA7bwt8) · [Jev](https://typesafe.ai/)
## Try it
@@ -78,6 +78,15 @@ The run stores each choice, confidence, command, observed result summary, and el
The report model defaults to `openai/gpt-4o-mini` and may incur normal provider usage. Set `OPENROUTER_REPORT_MODEL` to another available model, or set it to `off` to keep report generation fully deterministic. Speed varies with the number of chosen operations, the live site, and the selected report model.
+## Privacy and local data
+
+- Jev Social does not read or copy the browser cookie store directly. The installed `socai CLI` uses the Chrome profile you selected; use a separate profile or test account for sensitive research.
+- OpenRouter is the default decision provider. Decision requests contain the full research goal plus the requested platform, current action labels, source URLs, earlier action summaries, and short visible-text excerpts. The application does not intentionally add cookies, downloaded media, raw CLI JSON, or filesystem fields, but user input and visible social content are untrusted and can themselves contain personal or path-like text. Optional report synthesis receives a separate bounded, sanitized evidence payload; set `OPENROUTER_REPORT_MODEL=off` to disable that second model call. A configured Kev or Simple Jev endpoint keeps decision requests on the explicit loopback server and never receives the OpenRouter key.
+- Recoverable checkpoints live under `${JEV_SOCIAL_HOME:-~/.jev-social}`; `socai` stores its own evidence and downloaded media separately. There is no automatic cleanup schedule. Stop the app, inspect the run, and remove only the specific checkpoint or evidence directory you no longer need.
+- TikTok media download becomes an available action only when the research goal explicitly requests an offline copy. That intent is retained in the operation history; there is no second confirmation after the explicit request.
+
+The complete field limits, file permissions, provider-retention boundary, browser-session boundary, and recovery procedure are documented in [Security and data flow](SECURITY.md#data-flow-credentials-and-retention).
+
## Recorded evidence
| Recorded run | Captured result | Elapsed time | Verification boundary |
diff --git a/test/distribution-docs.test.js b/test/distribution-docs.test.js
index e741122..86eab65 100644
--- a/test/distribution-docs.test.js
+++ b/test/distribution-docs.test.js
@@ -246,6 +246,28 @@ test("the README keeps Jev Social promotion separate from the socai runtime", as
assert.doesNotMatch(readme, /^socai\s+(?:instagram|tiktok|linkedin)\s+/im);
});
+test("the README exposes the privacy and local-data boundaries", async () => {
+ const readme = await readFile(new URL("../README.md", import.meta.url), "utf8");
+ const privacySection = readme.match(
+ /## Privacy and local data\r?\n([\s\S]*?)(?=\r?\n## )/,
+ );
+ const securityLinkIndex = readme.indexOf("[Security and data flow](SECURITY.md)");
+ const firstInstallCommandIndex = readme.indexOf("npx github:");
+
+ assert.ok(privacySection, "the README must include a dedicated privacy section");
+ assert.notEqual(securityLinkIndex, -1, "the README must link to the security data-flow policy");
+ assert.notEqual(firstInstallCommandIndex, -1, "the README must retain the no-clone install command");
+ assert.ok(
+ securityLinkIndex < firstInstallCommandIndex,
+ "the security link must appear before the first installation command",
+ );
+ assert.match(privacySection[1], /does not read or copy the browser cookie store directly/i);
+ assert.match(privacySection[1], /user input and visible social content are untrusted/i);
+ assert.match(privacySection[1], /OPENROUTER_REPORT_MODEL=off/);
+ assert.match(privacySection[1], /no automatic cleanup schedule/i);
+ assert.match(privacySection[1], /only when the research goal explicitly requests/i);
+});
+
test("the social research guide is shipped with exact platform and safety boundaries", async () => {
const [guide, sitemap, workflow, llms] = await Promise.all([
readFile(new URL("../site/social-research/index.html", import.meta.url), "utf8"),