anomalyco / anomalyco/opencode
Generated GitHub cross-repo references use `repo#123`, which does not resolve
@rekram1-node is already working on this.
Since Sep 12, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Summary
Cross-repository references generated by the assistant use the repo#123 form (e.g. device-builder#2665), which GitHub does not auto-link. GitHub only linkifies a bare #123 inside the same repository, or a fully qualified owner/repo#123 (e.g. esphome/device-builder#2665). The repo#123 form renders as plain text, so no reference link and no cross-reference/back-link is created.
Repro
Ask the assistant to write an issue or PR body referencing issues in another repository. It emits, e.g.:
This is the reconcile step from device-builder#2665 and device-builder#2679.
resulting in unlinked plain text.
Expected
Emit fully qualified references for anything outside the current repository:
... from esphome/device-builder#2665 and esphome/device-builder#2679.
and only use a bare #123 when the target is the same repository the text is being posted in.
Suggested fix
Add a rule to the system prompt / instructions: when writing GitHub issue or PR references, always qualify cross-repository targets as owner/repo#number; never use the unqualified repo#number form, which GitHub does not resolve.
Impact
Broken back-references in generated issues/PRs/commit messages: readers cannot click through, and GitHub does not create the cross-reference timeline entries.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.