Skip to content

docs: describe Cursor rules and process wake-ups in the pstack adapter - #276

Merged
ibetitsmike merged 4 commits into
mainfrom
mike/pstack-adapter-rules-process-wakeups
Nov 13, 2026
Merged

ibetitsmike merged 4 commits into
mainfrom
mike/pstack-adapter-rules-process-wakeups

Conversation

@ibetitsmike

Copy link
Copy Markdown
Owner

Part of #13.

The drift report on main 525bb3d68b found two merged features that docs/fork/pstack-adapter.md contradicts or leaves out. This PR fixes only those claims.

  • Cursor rules (feat(agent/agentcontext): load always-apply rules from rule directories #232, feat: attach Cursor glob rules to chat turns by touched files #235):
    • Models, the pstack-models.mdc row: the workspace agent now loads a rule with alwaysApply: true from ~/.cursor/rules/ into every chat. The row now says to let setup-pstack write the rule.
    • setup-pstack, the Write step: write ~/.cursor/rules/pstack-models.mdc as the skill says, and delete an old <!-- pstack-models --> block from ~/.coder/AGENTS.md.
    • Paths, the .cursor/rules/*.mdc row: where rules load from, alwaysApply and globs rules, and that a rule with neither is ignored. No experiment gates it.
  • wait_for_events background processes (feat: wake a chat when a watched background process exits #263, feat: wake a chat on matching output lines of a watched process #269):
    • The summary sentence, the default prompt, and the card's title and contents now include processes.
    • A new paragraph after the pull request paragraph covers process_ids, the exit and lost-watch messages, process_output_pattern with its cool-down and limit, the processes result, the poll and retry times, the expiry, and the errors.
  • Evidence: a new Rules entry and two lines on background processes. The skill roots entry, the wait_for_events arguments line, the pull request arguments line, and the tool cards line are re-pinned. The header says these entries are checked against fork main at 525bb3d68b.

Validation

  • I read every range on the new and re-pinned evidence lines at 525bb3d68b, and each one shows what the prose says.
  • markdownlint-cli2 0.16.0: 0 errors.
  • The rest of the evidence still names b3c4911b16 or 2bf9127b59. Re-pinning the remaining moved and changed cites waits for Mike.

Xum opened this PR on behalf of @ibetitsmike.

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T16:43:26.563832Z 423f788 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 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: 163d2b4f20

ℹ️ 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 thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@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: 8e2acecca8

ℹ️ 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 thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@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: ef3745c542

ℹ️ 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 thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 423f788ff0

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

@ibetitsmike
ibetitsmike merged commit 9dbe879 into main Nov 13, 2026
9 checks passed
@ibetitsmike
ibetitsmike deleted the mike/pstack-adapter-rules-process-wakeups branch November 13, 2026 16:52
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Merged as 9dbe879138 with a squash. These checks passed on head 423f788ff0:

  • fork-ci run 43465020397 green
  • Codex: no major issues on 423f788ff0
  • 0 unresolved review threads
  • branch up to date with main (525bb3d68b)

Docs only (docs/fork/pstack-adapter.md). It corrects the rows that #232 and #235 (Cursor rules) and #263 and #269 (background process wake-ups) made stale, and re-pins only the evidence those rows use. The rest of the doc's evidence is still pinned to older commits.

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