Skip to content

feat(events): publish host family capability states - #173

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
wave4/97-event-routes-families
Sep 1, 2026
Merged

feat(events): publish host family capability states#173
ScriptedAlchemy merged 1 commit into
mainfrom
wave4/97-event-routes-families

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • publish evidence-backed support states for all seven G10 event families across Claude, Codex, Cursor, Portable, and the composite plugin
  • pin Cursor subagentStart, subagentStop, and workspaceOpen to its checked-in schema/reference evidence
  • reject unavailable or prohibited event routes before packaging unless static config.targets restricts them

Evidence table additions

Family Claude 2.1.250 Codex 0.147.0 Cursor 2026-08-28
session/start supported supported supported
tool/before supported supported supported
tool/after supported supported supported
stop supported supported supported
agent/start unavailable unavailable supported (subagentStart)
agent/stop unavailable unavailable supported (subagentStop)
workspace/open unavailable unavailable supported (workspaceOpen)

Test plan

  • capability, metadata, and route-graph suites (41 passed after reconciling main)
  • pnpm typecheck
  • pnpm lint

Closes part of #97

Bind every G10 family to pinned host evidence and fail source validation when an event route selects an unavailable target.
@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 37c797f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
agent-bundle Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit 21a8ace into main Sep 1, 2026
4 of 9 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 37c797fc5e

ℹ️ 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".

Comment on lines +446 to +449
intersectCapabilityStates(
claudeAdapter.capabilities[capability]!,
codexAdapter.capabilities[capability]!,
),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Include Cursor in plugin event capability intersection

When a common event route targets the unified plugin adapter, validation treats this Claude/Codex-only intersection as the bundle's complete capability state even though plan also emits Cursor manifests and hook artifacts. The resulting supported evidence already omits the pinned Cursor contract, and a future degraded or unavailable Cursor event would still leave plugin marked supported, allowing an unsupported route through validation. Intersect the Cursor capability as well.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fixed by #221 (merged as 49281f1). Verified still present on post-#194 main before fixing: compositeEventCapabilities intersected Claude ∩ Codex only. The composite now intersects all three pinned host tables per event family (failing closed at module init if any host table is missing a route key another declares), and the scalar rows the bundle emits for all three hosts — marketplace, hooks, mcp, skills, commands, rules — intersect Cursor as well. Per-host states are preserved through the existing merge semantics (merged evidence targets like claude+codex+cursor, deduped sorted reasons). The plugin metadata fingerprint was also extended to cover all three host pins so a Cursor-only table correction changes the manifest identity.

@chatgpt-codex-connector

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-01T18:58:00.811316Z 37c797f PR opened
ℹ️ 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.

ScriptedAlchemy added a commit that referenced this pull request Sep 1, 2026
…osite intersection

- Flip workspace/open to unavailable on Cursor: the native workspaceOpen hook
  fires outside an agent session and must return pluginPaths, an envelope the
  generated session-scoped wrapper vocabulary cannot express (#189).
- Mark Cursor marketplace supported: pin the official marketplace.schema.json
  from cursor/plugins@0701892 and emit a schema-validated
  .cursor-plugin/marketplace.json from the cursor target and the bundle (#189).
- Intersect Cursor into the plugin composite event and scalar capabilities so
  the bundle's states reflect every host it emits for (#173 review thread).
ScriptedAlchemy added a commit that referenced this pull request Sep 1, 2026
…osite intersection

- Flip workspace/open to unavailable on Cursor: the native workspaceOpen hook
  fires outside an agent session and must return pluginPaths, an envelope the
  generated session-scoped wrapper vocabulary cannot express (#189).
- Mark Cursor marketplace supported: pin the official marketplace.schema.json
  from cursor/plugins@0701892 and emit a schema-validated
  .cursor-plugin/marketplace.json from the cursor target and the bundle (#189).
- Intersect Cursor into the plugin composite event and scalar capabilities so
  the bundle's states reflect every host it emits for (#173 review thread).
ScriptedAlchemy added a commit that referenced this pull request Sep 1, 2026
…osite intersection (#221)

- Flip workspace/open to unavailable on Cursor: the native workspaceOpen hook
  fires outside an agent session and must return pluginPaths, an envelope the
  generated session-scoped wrapper vocabulary cannot express (#189).
- Mark Cursor marketplace supported: pin the official marketplace.schema.json
  from cursor/plugins@0701892 and emit a schema-validated
  .cursor-plugin/marketplace.json from the cursor target and the bundle (#189).
- Intersect Cursor into the plugin composite event and scalar capabilities so
  the bundle's states reflect every host it emits for (#173 review thread).
@ScriptedAlchemy
ScriptedAlchemy deleted the wave4/97-event-routes-families branch September 3, 2026 05:30
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