Skip to content

Feature/GitHub issue agent workflow#50

Closed
headepic wants to merge 10 commits into
masterfrom
feature/github-issue-agent-workflow
Closed

Feature/GitHub issue agent workflow#50
headepic wants to merge 10 commits into
masterfrom
feature/github-issue-agent-workflow

Conversation

@headepic

Copy link
Copy Markdown
Collaborator

No description provided.

Johnny.Wang and others added 10 commits March 21, 2026 13:36
…e-agent-workflow

# Conflicts:
#	platform/app/worker/prompts.py
… & prompts

- rename agent role 'issue distribution' → 'dispatch issue' for naming consistency
- rewrite github_issue_dispatch/SKILL.md: add output JSON schema, agent list, examples
- rewrite github_issue_feedback/SKILL.md: generalize URL/domain, use $APP_BASE_URL, support GHE /api/v3
- simplify system prompts and stage instructions for dispatch issue & des encrypt, removing duplication with skills
- remove engine-level _post_github_issue_feedback(): agent handles feedback via curl (skill)
- add APP_BASE_URL config setting
- fix issue_number type: issue.get('number', '') → issue.get('number') to avoid empty string in int field
- update tests to match new prompts/roles/behavior

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
des encrypt needs to do coding (多轮 read/write) + curl 回帖 github issue,
8轮不够用,撞上上限后 github_issue_feedback 步骤被跳过。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…a `skill` tool

System prompts and stage instructions now instruct agents to call the `skill`
tool to load their skills dynamically, instead of pre-injecting skill content
into the user prompt. This makes skills the single source of truth and ensures
agents actively engage with skill definitions at runtime.

- Remove `_load_shared_skill()` and `_SHARED_SKILLS_DIR` from prompts.py
- Remove skill injection block from `build_user_prompt()`
- Update system prompts to reference `skill` tool usage
- Update tests to assert skill content is NOT embedded in prompts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@headepic headepic closed this Mar 24, 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