Skip to content

AI Workspace: document it as the one agent - #1318

Merged
whyisjake merged 12 commits into
feat/agent-audit-privacyfrom
docs/agent-ai-workspace
Nov 13, 2026
Merged

whyisjake merged 12 commits into
feat/agent-audit-privacyfrom
docs/agent-ai-workspace

Conversation

@whyisjake

@whyisjake whyisjake commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

What?

Related: #1287

The docs pass for the #1287 stack. AI Workspace keeps its name and is documented as the plugin's one agent. The experiment doc, readme.txt, README.md, the changelog and the settings card now describe what #1314 to #1317 added. No code paths change.

This is the fifth and last stacked PR for #1287, on top of #1317, #1316, #1315 and #1314.

Why?

#1287 folds two planned experiments into AI Workspace: Site Agent (#1214) and Command Palette AI Search (#1250). A reader of the docs, readme or changelog should learn that from them. Before this, the settings card and readme still described a workspace that only creates drafts and templates. The changelog had nothing for the write, palette, audit, privacy or Wapuu changes, README.md had no AI Workspace entry at all, and "Site Agent" was still listed under Coming Soon.

How?

  • docs/experiments/ai-workspace.md
    • The summary and key features cover changes to existing content, site answers and screen links, the chats panel, the Wapuu, the audit log and personal-data export.
    • A new "One agent" section says what Site Agent and Command Palette AI Search proposed and where each now lives. It also says that the name, menu, URL and every identifier, including the experiment ID ai-workspace, are unchanged.
    • The entry-points list names every ability the experiment registers, and Conversation_Privacy.
    • A stale limitation is removed. It said chats have no history screen, but the chats panel ships.
  • readme.txt and CHANGELOG.md
    • Added: changes to existing content, the palette's AI search and Ask AI, the agent log rows, chats in export and erase, and the Wapuu.
    • Developer: wpai_agent_event, the two new proposal filters, the MCP visibility change, raw: true, and the ability to agent log type change.
    • CHANGELOG.md also gains the two ability lines AI Workspace: answer site questions and link to the right admin screen #1315 added only to readme.txt.
  • README.md: adds the missing AI Workspace entry.
  • Both readme files: "Site Agent" leaves Coming Soon.
  • Settings card: the AI Workspace description says it answers site questions, proposes changes to posts and the site title and tagline, and adds AI to the command palette.

The name stays "AI Workspace". Nothing on #1287 has settled on another name.

Use of AI Tools

AI assistance: Yes. Tool(s): Claude Code (Claude Opus 5.5). Used for: writing the documentation and changelog entries, checking them against the code, and code review.

I've reviewed the changes, understand them and can explain them under review. They have all been tested locally.

Testing Instructions

  1. Open Settings → AI. The AI Workspace card reads as in the screenshot below.
  2. Read docs/experiments/ai-workspace.md → "One agent", and the Unreleased changelog in readme.txt and CHANGELOG.md.

Tests run (all passing):

  • PHPUnit, full suite: 3398 tests, single site and multisite, on WordPress latest. Only the settings-card string is code, and no test asserts it.
  • Other checks: phpcs and php -l are clean on AI_Workspace.php.
  • Name check: a grep for "Site Agent" and "Wordspace" across includes/, src/ and the built assets finds nothing user-visible.
  • Claims checked against the code:
    • the abilities AI_Workspace::register() registers;
    • meta.mcp.public false on the propose and ask-user abilities;
    • the wpai_workspace_write_proposals_enabled and wpai_workspace_proposal_kinds filters;
    • raw on ai/read-content-bodies;
    • the chats panel's rename, archive and delete actions;
    • the three in-page anchors the doc links to.
  • Not run: e2e. No script, style or behavior changes.

Code review: ce-code-review sized this diff to a single-context review: 51 changed lines, two of them code. It found nothing and gave "Ready to merge". Its one residual is applied in 0b06540: the doc's feature bullet now says rows are written while AI Request Logging is on.

Screenshots

The settings card

The AI Workspace card on Settings → AI

Known limits

Changelog Entry

Changed - AI Workspace is documented as the plugin's one agent: it now includes what the Site Agent and Command Palette AI Search proposals planned, under its existing name.

Post-deploy monitoring: no additional operational monitoring is required. Documentation and one settings-card string.


Compound Engineering

🤖 Generated with Claude Code

Open WordPress Playground Preview

whyisjake and others added 2 commits November 7, 2026 07:30
The experiment docs, readme, README, changelog and settings card now say
what PRs #1314 to #1317 added: changes to existing content, site info and
screen finding, the command palette's AI search and Ask AI, the agent
audit trail and hook, chats in personal-data export and erase, and the
Wapuu busy states. A new section explains that Site Agent (#1214) and
Command Palette AI Search (#1250) are part of AI Workspace rather than
experiments of their own. The name and every identifier are unchanged.
Site Agent leaves the Coming Soon lists, and a stale limitation about a
missing chat history panel is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@codecov

codecov Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.81%. Comparing base (7768645) to head (aa0faf5).

Additional details and impacted files
@@                     Coverage Diff                     @@
##             feat/agent-audit-privacy    #1318   +/-   ##
===========================================================
  Coverage                       86.81%   86.81%           
  Complexity                       6330     6330           
===========================================================
  Files                             226      226           
  Lines                           22901    22901           
===========================================================
  Hits                            19882    19882           
  Misses                           3019     3019           
Flag Coverage Δ
unit 86.81% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@whyisjake
whyisjake marked this pull request as ready for review November 8, 2026 00:22
@whyisjake
whyisjake requested review from a team and jeffpaul as code owners November 8, 2026 00:22
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: whyisjake <whyisjake@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@whyisjake
whyisjake added this pull request to stack #1321 November 8, 2026 04:53
@jeffpaul jeffpaul added this to the 1.6.0 milestone Nov 9, 2026

@jeffpaul jeffpaul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's capitalize "Command Palette" in the experiment description, otherwise this looks good to me

@whyisjake

whyisjake commented Nov 12, 2026 •

Copy link
Copy Markdown
Member Author

Done in 7816920: "Command Palette" is capitalized in the experiment description and the readme, and the docs name the row by its new label, "Ask in AI Workspace".

AI assistance: Yes. Tool(s): Claude Code (Claude Opus 5.5). Used for: the change and drafting this reply.

I've reviewed the changes, understand them and can explain them under review.

@whyisjake
whyisjake merged commit 5832360 into feat/ai-workspace Nov 13, 2026
36 checks passed
@whyisjake
whyisjake deleted the docs/agent-ai-workspace branch November 13, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants