Skip to content

feat(preview): fork writes previewed by elementor-mcp's declare_touches() — SiteAgent 2.21.0 (Aura#586, Plan B) - #137

Merged
BenKalsky merged 4 commits into
mainfrom
feat/preview-fork-touches
Sep 25, 2026
Merged

BenKalsky merged 4 commits into
mainfrom
feat/preview-fork-touches

Conversation

@BenKalsky

Copy link
Copy Markdown
Member

Implements Plan B of Digitizers/Aura docs/superpowers/plans/2026-09-25-fork-queue-touches-plan-b-siteagent-2-21.md (spec 2026-09-25-fork-queue-touches-design.md) for Digitizers/Aura#586.

  • Aura_Worker_Rules::preview_match( $touches, $tool_name, $now = null ) — widen_for_old_fork() + enforceable_match() with none of enforce()'s side effects; enforce() now decides through it, and so do both preview paths.
  • Aura_Worker_Tools::preview_tool(): on a name its registry does not know, asks elementor-mcp's Elementor_MCP_Governance::declare_touches() (1.38.0, feat(governance): declare_touches() for SiteAgent's preview — elementor-mcp 1.38.0 (Aura#586, Plan A) elementor-mcp#81) with _mcpPath removed; answers {success: true, supported: false, preview: null, touches, rule_match}, the rule decided by the fork's ability name. Fail-closed: no fork / older fork / throw / malformed answer or touch / a declaration of nothing (dry run — Aura would read [] as the unknown sentinel) → today's Unknown tool.
  • Tests: RulesPreviewMatchTest (5), PreviewForkTest (21); AuditRulesTest source-scan updated to the new accessor (intent kept: the preview never calls match() directly). Full suite 5544 OK.

Version bump in a separate release PR.

🤖 Generated with Claude Code

BenKalsky and others added 4 commits September 25, 2026 19:19
…effects (Aura#586)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…s declare_touches() (Aura#586)

Also updates AuditRulesTest::test_the_preview_path_passes_the_identity_through,
a source-scanning test that asserted the literal old
Aura_Worker_Rules::enforceable_match(...) call preview_tool() made directly;
it now asserts the preview_match() call this task replaces it with, which
carries the same identity-threading guarantee through the shared accessor.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ts (Aura#586)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ra#586)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@BenKalsky

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T17:09:13.018163Z b78d614 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: b78d614478

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@BenKalsky
BenKalsky merged commit 40c6109 into main Sep 25, 2026
6 checks passed
@BenKalsky
BenKalsky deleted the feat/preview-fork-touches branch September 25, 2026 18:24
BenKalsky added a commit that referenced this pull request Sep 25, 2026
…declare_touches() (#137) (#138)

Moves the 2.13.0 readme Changelog entry verbatim to docs/changelog-archive.md (readme word budget).

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

1 participant