Open-source, local-first social media research agent for Instagram, TikTok, and LinkedIn. Jev routes read-only steps; socai CLI captures cited browser evidence.
JavaScript agent-skillsai-agentsbrowser-agentbrowser-automationdecision-modeldeep-researchinstagramjevlinkedinlocal-firstopen-sourceosintresearch-agentsocaisocial-listeningsocial-mediasocial-media-researchsocmintsystem-onetiktok
test: verify immutable OpenClaw skill chain
Asklvf942c62b5656
diff --git a/README.md b/README.mdindex 3d86286..831406f 100644--- a/README.md+++ b/README.md@@ -135,7 +135,7 @@ npx skills add https://github.com/socai-io/jev-social/tree/v0.1.9/skills/jev-socFor OpenClaw, install the v0.1.9 skill from its immutable runtime commit into the current workspace:```bash-npx skills add https://github.com/socai-io/jev-social/tree/a4f0b0c9b1b0b7b18936d289014a7a8cbfc20d0e/skills/jev-social --skill jev-social --agent openclaw --copy+npx skills add https://github.com/socai-io/jev-social/tree/ee7d5617f29cd0e88f4be4696f86ab45564d9db0/skills/jev-social --skill jev-social --agent openclaw --copy```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.diff --git a/site/llms.txt b/site/llms.txtindex fef7b7c..547964e 100644--- a/site/llms.txt+++ b/site/llms.txt@@ -81,7 +81,7 @@ npx skills add https://github.com/socai-io/jev-social/tree/v0.1.9/skills/jev-socOpenClaw can install the v0.1.9 Skill from its immutable runtime commit into the current workspace:```bash-npx skills add https://github.com/socai-io/jev-social/tree/a4f0b0c9b1b0b7b18936d289014a7a8cbfc20d0e/skills/jev-social --skill jev-social --agent openclaw --copy+npx skills add https://github.com/socai-io/jev-social/tree/ee7d5617f29cd0e88f4be4696f86ab45564d9db0/skills/jev-social --skill jev-social --agent openclaw --copy```This is a standard Agent Skill that calls the local socai CLI, not an OpenCode or OpenClaw plugin.diff --git a/test/distribution-docs.test.js b/test/distribution-docs.test.jsindex f9a32c9..b1f67d6 100644--- a/test/distribution-docs.test.js+++ b/test/distribution-docs.test.js@@ -13,7 +13,19 @@ const skillContents = await readFile(new URL("../skills/jev-social/SKILL.md", imconst runtimePins = skillContents.match(/github:socai-io\/jev-social#[0-9a-f]{40}/g) ?? [];const uniqueRuntimePins = [...new Set(runtimePins)];const releaseCommit = uniqueRuntimePins.length === 1 ? uniqueRuntimePins[0].split("#")[1] : "";-const pinnedOpenClawSkillSource = `https://github.com/socai-io/jev-social/tree/${releaseCommit}/skills/jev-social`;+const [readmeContents, llmsContents] = await Promise.all([+ readFile(new URL("../README.md", import.meta.url), "utf8"),+ readFile(new URL("../site/llms.txt", import.meta.url), "utf8"),+]);+const openClawSkillCommits = [readmeContents, llmsContents]+ .flatMap((contents) => [...contents.matchAll(+ /npx skills add https:\/\/github\.com\/socai-io\/jev-social\/tree\/([0-9a-f]{40})\/skills\/jev-social --skill jev-social --agent openclaw --copy/g,+ )].map((match) => match[1]));+const uniqueOpenClawSkillCommits = [...new Set(openClawSkillCommits)];+const openClawSkillCommit = uniqueOpenClawSkillCommits.length === 1+ ? uniqueOpenClawSkillCommits[0]+ : "";+const pinnedOpenClawSkillSource = `https://github.com/socai-io/jev-social/tree/${openClawSkillCommit}/skills/jev-social`;const kevRepoCommit = "2855ba2a55a80579176a459f78b95d03548cabb5";const kevModelRevision = "139fdd94f1b6a6ad80cc15e08fcb99cac885a101";const simpleJevRepoCommit = "c077d5dfdb5c2c7dd24b17d5f556f07e0162dc1c";@@ -138,16 +150,39 @@ test("cross-agent Skill installers use an immutable release source", async () =>test("OpenClaw setup uses the verified immutable release Skill command", async () => {const expected = `npx skills add ${pinnedOpenClawSkillSource} --skill jev-social --agent openclaw --copy`;- const [readme, llms, landing] = await Promise.all([- readFile(new URL("../README.md", import.meta.url), "utf8"),- readFile(new URL("../site/llms.txt", import.meta.url), "utf8"),- readFile(new URL("../site/index.html", import.meta.url), "utf8"),- ]);+ const landing = await readFile(new URL("../site/index.html", import.meta.url), "utf8");- assert.match(readme, new RegExp(expected.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")));- assert.match(llms, new RegExp(expected.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")));- assert.match(llms, /standard Agent Skill[\s\S]*not an OpenCode or OpenClaw plugin/i);+ assert.equal(openClawSkillCommits.length, 2, "README and llms.txt must each pin OpenClaw once");+ assert.equal(uniqueOpenClawSkillCommits.length, 1, "OpenClaw docs must use one Skill source commit");+ assert.match(readmeContents, new RegExp(expected.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")));+ assert.match(llmsContents, new RegExp(expected.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")));+ assert.match(llmsContents, /standard Agent Skill[\s\S]*not an OpenCode or OpenClaw plugin/i);assert.match(landing, /Codex, OpenCode, or OpenClaw/);++ const installedSkill = execFileSync(+ "git",+ ["show", `${openClawSkillCommit}:skills/jev-social/SKILL.md`],+ { cwd: new URL("..", import.meta.url), encoding: "utf8" },+ );+ const installedRuntimePins = installedSkill.match(+ /github:socai-io\/jev-social#[0-9a-f]{40}/g,+ ) ?? [];+ assert.ok(installedRuntimePins.length > 0, "the installed OpenClaw Skill must pin a runtime");+ assert.deepEqual(+ [...new Set(installedRuntimePins)],+ [`github:socai-io/jev-social#${releaseCommit}`],+ "the installed OpenClaw Skill must pin the v0.1.9 runtime",+ );+ const skillSourcePackage = JSON.parse(execFileSync(+ "git",+ ["show", `${openClawSkillCommit}:package.json`],+ { cwd: new URL("..", import.meta.url), encoding: "utf8" },+ ));+ assert.equal(+ skillSourcePackage.version,+ packageJson.version,+ "the immutable OpenClaw Skill source must identify the current release",+ );});test("package, plugin manifests, and Agent Skill identify the current release", async () => {