Skip to content

Point data-liberation-agent references at the studio repository - #4300

Merged
nightnei merged 5 commits into
trunkfrom
fix/data-liberation-course-urls
Jul 23, 2026
Merged

Point data-liberation-agent references at the studio repository#4300
nightnei merged 5 commits into
trunkfrom
fix/data-liberation-course-urls

Conversation

@borkweb

@borkweb borkweb commented Jul 22, 2026

Copy link
Copy Markdown
Member

Related issues

  • None — follow-up to the data-liberation-agent package move into this monorepo.

How AI was used in this PR

Claude Code (Fable 5) found and rewrote all the stale repo references, rebuilt the dist bundles, and ran the related test suites; I reviewed the changes and directed the scope.

Proposed Changes

The data-liberation-agent package now lives in this monorepo, but its docs still pointed readers at the retired standalone Automattic/data-liberation-agent repo:

  • The how-it-works course links (htmlpreview URLs in docs/how-it-works/README.md) rendered from the old repo, so readers would get stale or missing lessons. They now point at trunk in this repo.
  • The install instructions in the README told users to add a marketplace that no longer ships these docs. They now use claude plugin marketplace add Automattic/studio + data-liberation@studio, matching the marketplace manifest at the repo root, with corrected local-checkout paths for Claude Code, Codex, and Gemini.
  • The platform prompts, CONTRIBUTING fork instructions, Gemini extension homepage, and the generated theme's Theme URI likewise now reference the package's location here.

The dist bundles are regenerated (npm run build:mcp-bundle) so the Theme URI change ships in the committed bundle and CI's drift check passes — the chunk file renames are content-hash churn from that rebuild.

Testing Instructions

  • Open a few course links from packages/data-liberation-agent/docs/how-it-works/README.md and confirm they render via htmlpreview once this lands on trunk (they 404 until then, since they reference trunk).
  • cd packages/data-liberation-agent && npx vitest run src/lib/replicate/theme-scaffold.test.ts src/lib/replicate/theme-scaffold-carry.test.ts — 108/108 pass.
  • grep -rn 'Automattic/data-liberation-agent' packages/data-liberation-agent/ returns no matches.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
## Summary
Update every reference to the retired standalone Automattic/data-liberation-agent repo to the package's new home at Automattic/studio under packages/data-liberation-agent, covering the how-it-works course links, platform prompts, install instructions, contributor docs, the Gemini extension homepage, and the generated theme's Theme URI.

## Why
The package now lives in the studio monorepo, so the htmlpreview course links, plugin marketplace install commands, and playbook URLs pointed at a repo that no longer receives these docs and would render stale or broken content.

## How
Rewrote blob URLs to Automattic/studio/blob/trunk/packages/data-liberation-agent and bare repo links to the tree/trunk package path. Updated the Claude Code marketplace install to Automattic/studio with the data-liberation@studio plugin spec (the marketplace manifest at the studio root names the marketplace "studio"), and fixed local-checkout cd paths for Codex, Gemini, and contributors. Regenerated the committed dist bundles via npm run build:mcp-bundle so the Theme URI change ships and CI's drift check passes; the chunk renames are esbuild content-hash churn from that rebuild.
@wpmobilebot

wpmobilebot commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing aaee546 vs trunk

app-size

Metric trunk aaee546 Diff Change
App Size (Mac) 1362.04 MB 1362.04 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk aaee546 Diff Change
load 1074 ms 1068 ms 6 ms ⚪ 0.0%

site-startup

Metric trunk aaee546 Diff Change
siteCreation 6507 ms 6540 ms +33 ms ⚪ 0.0%
siteStartup 2396 ms 2397 ms +1 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@nightnei nightnei left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adjusting refs

@nightnei
nightnei merged commit f70a1c5 into trunk Jul 23, 2026
13 checks passed
@nightnei
nightnei deleted the fix/data-liberation-course-urls branch July 23, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants