Skip to content

fix(ce-pr-description): mark return block as hand-off#593

Merged
tmchow merged 1 commit intomainfrom
tmchow/pr-apply-handoff
Apr 18, 2026
Merged

fix(ce-pr-description): mark return block as hand-off#593
tmchow merged 1 commit intomainfrom
tmchow/pr-apply-handoff

Conversation

@tmchow
Copy link
Copy Markdown
Collaborator

@tmchow tmchow commented Apr 18, 2026

When git-commit-push-pr Step 6 delegates to ce-pr-description, the sub-skill's Step 9 emits a === TITLE === / === BODY_FILE === return block and ends. That return shape reads as a terminal output, so the caller exits the workflow instead of running gh pr create / gh pr edit from its own Step 7. Observed in practice while opening #591 — the caller stopped after the return block and the PR never got created.

One sentence at the end of ce-pr-description Step 9 names the return as a hand-off:

The return block is a hand-off, not task completion. When invoked by a parent skill (e.g., git-commit-push-pr), emit the return block and then continue executing the parent's remaining steps (typically gh pr create or gh pr edit with the returned title and body file). Do not stop after the return block unless invoked directly by the user with no parent workflow.

Two lines added, no other changes. The apply command already exists in git-commit-push-pr Step 7 — the missing piece was a signal at the sub-skill's exit that the return is a hand-off, not a stop.


Compound Engineering
Claude Code

Copy link
Copy Markdown

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

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: 7f29755e00

ℹ️ 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 plugins/compound-engineering/skills/ce-pr-description/SKILL.md Outdated
Step 9's return block reads like a terminal output, which caused a
caller (git-commit-push-pr) to exit the workflow instead of running
the expected gh pr create / gh pr edit. Add one sentence at the end
of Step 9 naming the return as a hand-off and directing the agent
to continue the parent's remaining steps.
@tmchow tmchow force-pushed the tmchow/pr-apply-handoff branch from 7f29755 to dff4c5f Compare April 18, 2026 08:53
@tmchow tmchow changed the title fix(ce-pr-description): surface apply command in return fix(ce-pr-description): mark return block as hand-off Apr 18, 2026
@tmchow tmchow merged commit cc78551 into main Apr 18, 2026
2 checks passed
@github-actions github-actions bot mentioned this pull request Apr 18, 2026
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