From 6a6c4e2dad332988c15d4eb7771f5838eedeac91 Mon Sep 17 00:00:00 2001 From: kyson Date: Mon, 23 Mar 2026 23:41:31 +0800 Subject: [PATCH 1/2] feat(core): update PR description template to include Impact and remove Test Plan - Updated the PR creation orchestrator to use a more robust template. - Required sections: ## Summary, ## Key Changes, and ## Impact. - Removed ## Test Plan to avoid misleading inferred test results. --- src/agent_tools/core/orchestrators/gh_pr_create.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agent_tools/core/orchestrators/gh_pr_create.py b/src/agent_tools/core/orchestrators/gh_pr_create.py index 6e22bcc..7c40461 100644 --- a/src/agent_tools/core/orchestrators/gh_pr_create.py +++ b/src/agent_tools/core/orchestrators/gh_pr_create.py @@ -116,7 +116,7 @@ def _handle_sense() -> Result: "1. Review 'commits' in details.\n" "2. Synthesize a professional PR title for `draft_json_str` following the 'details.json_format' layout.\n" " - 'title': A professional pr commit subject. 【STRICT】MUST satisfy 'details.subject_regex'.\n" - " - 'body': The detailed body should explain the 'why' and 'how' (not just 'what'), especially for complex logic changes. 【STRICT】single line max `details.body_wrap_length` chars.\n" + " - 'body': The detailed body should explain the 'why' and 'how' (not just 'what'). It MUST include sections: ## Summary, ## Key Changes, and ## Impact. 【STRICT】single line max `details.body_wrap_length` chars.\n" "3. Mention any relevant issue numbers if known.\n" "4. Call 'gh_pr_create_flow' with point='create' and your 'draft' object.\n" ), @@ -128,7 +128,7 @@ def _handle_sense() -> Result: "commits": [asdict(c) for c in commits], "json_format": { "title": "feat(core): add JSON schema to results", - "body": "## Summary\n- Added json_format to handoff details.\n\n## Test Plan\n- Verified via pytest.", + "body": "## Summary\n- Brief explanation of the purpose.\n\n## Key Changes\n- Detail the specific code modifications.\n\n## Impact\n- Explain the consequence of this change.", }, "subject_regex": get_commit_subject_regex(), "body_wrap_length": get_commit_body_wrap_length(), From 1aba1180324b9fd9cc8e1a57c9b29b997bf3e927 Mon Sep 17 00:00:00 2001 From: kyson Date: Mon, 23 Mar 2026 23:42:27 +0800 Subject: [PATCH 2/2] chore: bump version to 0.1.30 Incremented the version number in pyproject.toml to 0.1.30. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6008144..938f787 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "kyson-mcp-agent-tools" -version = "0.1.29" +version = "0.1.30" description = "Industrial-grade Agent Git Workflow Tools" readme = "README.md" requires-python = ">=3.13"