Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions plugins/repo-dreamer/skills/repository-skill-forge/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,9 @@ Set `$SELECTED_PROPOSAL_DIR` to the selected run-local skill directory and
`$SKILL_PATH` to its repository-relative destination before the checkout
validation steps.

For every `create` action, pass `draft: false` explicitly so newly created
Forge PRs open ready for review. Never omit the field or rely on the platform
default.
For a create action, stage only the selected proposal. Before copying, reject
symlinks in its source tree, every existing destination path component, and
every existing destination entry mapped from a selected source entry. Compare
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,5 +278,13 @@ def test_selection_rejects_invalid_rank(self) -> None:
ledger.select([invalid], [])


class PublicationContractTests(unittest.TestCase):
def test_forge_opens_new_pull_requests_ready_for_review(self) -> None:
contract = (SKILL_DIR / "SKILL.md").read_text(encoding="utf-8")

self.assertIn("pass `draft: false` explicitly", contract)
self.assertIn("open ready for review", contract)


if __name__ == "__main__":
unittest.main()