Skip to content

Commit 2528e52

Browse files
authored
Merge pull request xencon#1700 from sbadakhc/issue-1696/agent-work-queue-convention
Add agent work-queue label and discovery convention (xencon#1696)
2 parents 89e5e91 + a880b2f commit 2528e52

4 files changed

Lines changed: 24 additions & 2 deletions

File tree

.claude/rules/formatting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Text
99
- Use plain ASCII. No Unicode checkmarks, no emoji.
10-
- **Exception**: Release notes may use `` (green checkmark) for visual checkbox indicators in GitHub release pages, where markdown `- [x]` does not render interactively.
10+
- **Exception**: Release notes may use the green checkmark emoji (U+2705) for visual checkbox indicators in GitHub release pages, where markdown `- [x]` does not render interactively.
1111
- Use markdown checkboxes: `- [x]` for completed, `- [ ]` for incomplete (for issues, PRs, and documentation)
1212
- Use Unix line endings (LF) -- CRLF is rejected by CI
1313

@@ -24,6 +24,7 @@ in lib/) so non-UTF-8 terminals degrade gracefully.
2424
**Priority** (optional): `P1`, `P2`, `P3`
2525
**Profile** (optional): `profile:bld`, `profile:sys`
2626
**Category** (optional): `Fix`, `Enhancement`, `Refactor`, `Maintenance`
27+
**Agent queue** (optional): `agent:qwen` -- marks an issue as queued for a named agent
2728

2829
## Commits
2930
- Allowed types: `fix`, `feat`, `refactor`, `docs`, `test`, `chore`, `ci`

.opencode/agents/agent-context.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,24 @@ If you are starting a new session, read exactly these four files in order:
2121

2222
After reading those four files you are fully oriented. Begin work.
2323

24+
## Finding Your Work
25+
26+
Issues queued for this agent carry the `agent:qwen` label. At session start,
27+
or whenever the human asks what to work on next, list the queue:
28+
29+
```bash
30+
gh issue list --repo xencon/aixcl --label agent:qwen --state open
31+
```
32+
33+
Rules for working the queue:
34+
35+
- Work one issue at a time, following the Issue-First workflow (the issue
36+
already exists -- start at the branch step)
37+
- The issue body is the task specification; if it is ambiguous, post a
38+
clarifying question as an issue comment and wait rather than guessing
39+
- Do not pick up issues without the `agent:qwen` label unless the human
40+
directs you to in the live session
41+
2442
## Git Remote Configuration (Fork Workflow)
2543

2644
| Remote | URL | Purpose |

.opencode/rules/formatting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Text
99
- Use plain ASCII. No Unicode checkmarks, no emoji.
10-
- **Exception**: Release notes may use `` (green checkmark) for visual checkbox indicators in GitHub release pages, where markdown `- [x]` does not render interactively.
10+
- **Exception**: Release notes may use the green checkmark emoji (U+2705) for visual checkbox indicators in GitHub release pages, where markdown `- [x]` does not render interactively.
1111
- Use markdown checkboxes: `- [x]` for completed, `- [ ]` for incomplete (for issues, PRs, and documentation)
1212
- Use Unix line endings (LF) -- CRLF is rejected by CI
1313

@@ -24,6 +24,7 @@ in lib/) so non-UTF-8 terminals degrade gracefully.
2424
**Priority** (optional): `P1`, `P2`, `P3`
2525
**Profile** (optional): `profile:bld`, `profile:sys`
2626
**Category** (optional): `Fix`, `Enhancement`, `Refactor`, `Maintenance`
27+
**Agent queue** (optional): `agent:qwen` -- marks an issue as queued for a named agent
2728

2829
## Commits
2930
- Allowed types: `fix`, `feat`, `refactor`, `docs`, `test`, `chore`, `ci`

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ AIXCL is client-agnostic above the OpenAI-compatible API layer. OpenCode and Cla
124124
- Priority: `P1`, `P2`, `P3`
125125
- Profile: `profile:bld`, `profile:sys`
126126
- Category: `Fix`, `Enhancement`, `Refactor`, `Maintenance`
127+
- Agent queue: `agent:qwen` (issues queued for a named agent; the agent
128+
discovers its work by listing open issues with its label)
127129

128130
### Lean Repository Policy
129131

0 commit comments

Comments
 (0)