Repository navigation
Teach the Cursor plugin that only a person settles a decision - #21
Merged
Merged
Conversation
The OrgX MCP server no longer lets a model approve or reject a decision: approve_decision, reject_decision, and orgx_decide approve/reject return where the person decides (the decisions widget for ordinary decisions, otherwise the review_url in OrgX). It also added orgx_command_status, which the default v2 profile this plugin connects with exposes. - commands/orgx-review-pending-decisions: drop "do not auto-approve without confirmation", which implied the agent could approve; point the person to the widget or review_url, never call orgx_widget_decide, and confirm a settled decision with orgx_command_status. - rules/orgx-execution-loop: report the state OrgX holds; decisions wait on a person, spawned work is checked with orgx_command_status until next_poll_after_ms is null. - skills/orgx-runtime-reporting: decisions wait on the person; a new step reports started work as started and reads its real state; unclear writes retry with the same idempotency key. - skills/orgx-execution-control-plane, agents/orchestrator: the same rule in one line each. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RM5b4LVyYeCd4HzETsPviS
hopeatina
marked this pull request as ready for review
October 2, 2026 01:12
hopeatina
pushed a commit
that referenced
this pull request
Oct 2, 2026
Ships #20 (pin the Cursor work capture mode explicitly), #21 (teach the Cursor plugin that only a person settles a decision) and #22 (send a stable Idempotency-Key on Work Graph report posts). 0.1.9 was tagged but never reached npm, so this is the first published release carrying #20. Versions aligned across package.json, package-lock.json and .cursor-plugin/plugin.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SeH94jeHnhDbgzKm6yHqZ9
hopeatina
added a commit
that referenced
this pull request
Oct 2, 2026
…ce (#23) Ships #20 (pin the Cursor work capture mode explicitly), #21 (teach the Cursor plugin that only a person settles a decision) and #22 (send a stable Idempotency-Key on Work Graph report posts). 0.1.9 was tagged but never reached npm, so this is the first published release carrying #20. Versions aligned across package.json, package-lock.json and .cursor-plugin/plugin.json. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The OrgX MCP server now reports real state: approve/reject tools return where the person decides (the decisions widget's Approve button for ordinary decisions, otherwise the
review_url), andorgx_command_statusreports what happened to a decision, run or command. Cursor uses the defaultv2profile, which exposes it.commands/orgx-review-pending-decisions.md: the agent points the person to the widget orreview_url, never calls the widget-onlyorgx_widget_decide, and only reports a decision as settled whenorgx_command_statusshows it.rules/orgx-execution-loop.mdc(always applied): report the state OrgX holds; decisions wait on a person; spawned work is checked withorgx_command_statusuntilnext_poll_after_msis null.skills/orgx-runtime-reporting: new step "Report started work as started" (states,waiting_on, polling, same-key retries).skills/orgx-execution-control-planeandagents/orchestrator.md: the same rule in one line each.Verified:
npm run check(manifest, MCP config and hooks valid; 55 tests: 54 pass, 1 skipped, 0 fail). No version bump.🤖 Generated with Claude Code
https://claude.ai/code/session_01RM5b4LVyYeCd4HzETsPviS
Generated by Claude Code