From c344e969840ffa3a200b5584a6922a86bafae211 Mon Sep 17 00:00:00 2001 From: Stefano Fiorini Date: Thu, 9 Apr 2026 11:11:40 -0500 Subject: [PATCH] Remove external web automation provenance refs --- docs/WEB-AUTOMATION.md | 1 - skills/web-automation/claude-code/SKILL.md | 2 -- .../claude-code/scripts/check-install.js | 9 ------- .../claude-code/scripts/reference-source.json | 26 ------------------- skills/web-automation/codex/SKILL.md | 2 -- .../codex/scripts/check-install.js | 9 ------- .../codex/scripts/reference-source.json | 26 ------------------- skills/web-automation/opencode/SKILL.md | 2 -- .../opencode/scripts/check-install.js | 9 ------- .../opencode/scripts/reference-source.json | 26 ------------------- 10 files changed, 112 deletions(-) delete mode 100644 skills/web-automation/claude-code/scripts/reference-source.json delete mode 100644 skills/web-automation/codex/scripts/reference-source.json delete mode 100644 skills/web-automation/opencode/scripts/reference-source.json diff --git a/docs/WEB-AUTOMATION.md b/docs/WEB-AUTOMATION.md index c60e281..15eb7b5 100644 --- a/docs/WEB-AUTOMATION.md +++ b/docs/WEB-AUTOMATION.md @@ -85,7 +85,6 @@ Expected checks: - `cloakbrowser` and `playwright-core` resolve correctly - `browse.ts` is wired to CloakBrowser -- the frozen reference repo + commit recorded in `reference-source.json` are visible to the operator If the check fails, stop and return: diff --git a/skills/web-automation/claude-code/SKILL.md b/skills/web-automation/claude-code/SKILL.md index d375e0f..86b6764 100644 --- a/skills/web-automation/claude-code/SKILL.md +++ b/skills/web-automation/claude-code/SKILL.md @@ -45,8 +45,6 @@ cd ~/.claude/skills/web-automation/scripts node check-install.js ``` -`check-install.js` also prints the frozen reference repo + commit recorded in `reference-source.json`, so operators can confirm the canonical import source before using the skill. - If the check fails, stop and return: "Missing dependency/config: web-automation requires `cloakbrowser` and `playwright-core` with CloakBrowser-based scripts. Run setup in this skill, then retry." diff --git a/skills/web-automation/claude-code/scripts/check-install.js b/skills/web-automation/claude-code/scripts/check-install.js index 9423779..50e4884 100644 --- a/skills/web-automation/claude-code/scripts/check-install.js +++ b/skills/web-automation/claude-code/scripts/check-install.js @@ -6,7 +6,6 @@ import { fileURLToPath } from "node:url"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); -const referencePath = path.join(__dirname, "reference-source.json"); function fail(message, details) { const payload = { error: message }; @@ -32,16 +31,8 @@ async function main() { fail("browse.ts is not configured for CloakBrowser."); } - const referenceSource = JSON.parse(fs.readFileSync(referencePath, "utf8")); - if (!referenceSource.referenceRepo || !referenceSource.referenceCommit) { - fail("Frozen reference metadata is missing from reference-source.json."); - } - process.stdout.write("OK: cloakbrowser + playwright-core installed\n"); process.stdout.write("OK: CloakBrowser integration detected in browse.ts\n"); - process.stdout.write( - `OK: frozen reference ${referenceSource.referenceRepo}@${referenceSource.referenceCommit}\n` - ); } main().catch((error) => { diff --git a/skills/web-automation/claude-code/scripts/reference-source.json b/skills/web-automation/claude-code/scripts/reference-source.json deleted file mode 100644 index 1549744..0000000 --- a/skills/web-automation/claude-code/scripts/reference-source.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "referenceRepo": "https://git.fiorinis.com/Home/stef-openclaw-skills", - "referenceCommit": "b9878e938c1055e0284876aeb65157286d95f9d1", - "importedFiles": [ - "auth.ts", - "browse.ts", - "check-install.js", - "extract.js", - "flow.ts", - "package.json", - "scan-local-app.ts", - "scrape.ts", - "test-full.ts", - "test-minimal.ts", - "test-profile.ts" - ], - "excludedReferencePatterns": [ - "*-discover.js", - "*-photos.js", - "*-identifiers.js", - "*-photo-data.js", - "*-address.js", - "*-photo-common.js", - "*.test.mjs" - ] -} diff --git a/skills/web-automation/codex/SKILL.md b/skills/web-automation/codex/SKILL.md index c2e2022..86876af 100644 --- a/skills/web-automation/codex/SKILL.md +++ b/skills/web-automation/codex/SKILL.md @@ -45,8 +45,6 @@ cd ~/.codex/skills/web-automation/scripts node check-install.js ``` -`check-install.js` also prints the frozen reference repo + commit recorded in `reference-source.json`, so operators can confirm the canonical import source before using the skill. - If the check fails, stop and return: "Missing dependency/config: web-automation requires `cloakbrowser` and `playwright-core` with CloakBrowser-based scripts. Run setup in this skill, then retry." diff --git a/skills/web-automation/codex/scripts/check-install.js b/skills/web-automation/codex/scripts/check-install.js index 9423779..50e4884 100644 --- a/skills/web-automation/codex/scripts/check-install.js +++ b/skills/web-automation/codex/scripts/check-install.js @@ -6,7 +6,6 @@ import { fileURLToPath } from "node:url"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); -const referencePath = path.join(__dirname, "reference-source.json"); function fail(message, details) { const payload = { error: message }; @@ -32,16 +31,8 @@ async function main() { fail("browse.ts is not configured for CloakBrowser."); } - const referenceSource = JSON.parse(fs.readFileSync(referencePath, "utf8")); - if (!referenceSource.referenceRepo || !referenceSource.referenceCommit) { - fail("Frozen reference metadata is missing from reference-source.json."); - } - process.stdout.write("OK: cloakbrowser + playwright-core installed\n"); process.stdout.write("OK: CloakBrowser integration detected in browse.ts\n"); - process.stdout.write( - `OK: frozen reference ${referenceSource.referenceRepo}@${referenceSource.referenceCommit}\n` - ); } main().catch((error) => { diff --git a/skills/web-automation/codex/scripts/reference-source.json b/skills/web-automation/codex/scripts/reference-source.json deleted file mode 100644 index 1549744..0000000 --- a/skills/web-automation/codex/scripts/reference-source.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "referenceRepo": "https://git.fiorinis.com/Home/stef-openclaw-skills", - "referenceCommit": "b9878e938c1055e0284876aeb65157286d95f9d1", - "importedFiles": [ - "auth.ts", - "browse.ts", - "check-install.js", - "extract.js", - "flow.ts", - "package.json", - "scan-local-app.ts", - "scrape.ts", - "test-full.ts", - "test-minimal.ts", - "test-profile.ts" - ], - "excludedReferencePatterns": [ - "*-discover.js", - "*-photos.js", - "*-identifiers.js", - "*-photo-data.js", - "*-address.js", - "*-photo-common.js", - "*.test.mjs" - ] -} diff --git a/skills/web-automation/opencode/SKILL.md b/skills/web-automation/opencode/SKILL.md index 7cccabf..01847ad 100644 --- a/skills/web-automation/opencode/SKILL.md +++ b/skills/web-automation/opencode/SKILL.md @@ -45,8 +45,6 @@ cd ~/.config/opencode/skills/web-automation/scripts node check-install.js ``` -`check-install.js` also prints the frozen reference repo + commit recorded in `reference-source.json`, so operators can confirm the canonical import source before using the skill. - If the check fails, stop and return: "Missing dependency/config: web-automation requires `cloakbrowser` and `playwright-core` with CloakBrowser-based scripts. Run setup in this skill, then retry." diff --git a/skills/web-automation/opencode/scripts/check-install.js b/skills/web-automation/opencode/scripts/check-install.js index 9423779..50e4884 100644 --- a/skills/web-automation/opencode/scripts/check-install.js +++ b/skills/web-automation/opencode/scripts/check-install.js @@ -6,7 +6,6 @@ import { fileURLToPath } from "node:url"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); -const referencePath = path.join(__dirname, "reference-source.json"); function fail(message, details) { const payload = { error: message }; @@ -32,16 +31,8 @@ async function main() { fail("browse.ts is not configured for CloakBrowser."); } - const referenceSource = JSON.parse(fs.readFileSync(referencePath, "utf8")); - if (!referenceSource.referenceRepo || !referenceSource.referenceCommit) { - fail("Frozen reference metadata is missing from reference-source.json."); - } - process.stdout.write("OK: cloakbrowser + playwright-core installed\n"); process.stdout.write("OK: CloakBrowser integration detected in browse.ts\n"); - process.stdout.write( - `OK: frozen reference ${referenceSource.referenceRepo}@${referenceSource.referenceCommit}\n` - ); } main().catch((error) => { diff --git a/skills/web-automation/opencode/scripts/reference-source.json b/skills/web-automation/opencode/scripts/reference-source.json deleted file mode 100644 index 1549744..0000000 --- a/skills/web-automation/opencode/scripts/reference-source.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "referenceRepo": "https://git.fiorinis.com/Home/stef-openclaw-skills", - "referenceCommit": "b9878e938c1055e0284876aeb65157286d95f9d1", - "importedFiles": [ - "auth.ts", - "browse.ts", - "check-install.js", - "extract.js", - "flow.ts", - "package.json", - "scan-local-app.ts", - "scrape.ts", - "test-full.ts", - "test-minimal.ts", - "test-profile.ts" - ], - "excludedReferencePatterns": [ - "*-discover.js", - "*-photos.js", - "*-identifiers.js", - "*-photo-data.js", - "*-address.js", - "*-photo-common.js", - "*.test.mjs" - ] -}