Skip to content

docs(issues): add specs for HTTP announce request parameter fixes (#1985, #1986, #1987) - #1988

Merged
josecelano merged 5 commits into
torrust:developfrom
josecelano:http-announce-request-param-specs
Jul 15, 2026
Merged

docs(issues): add specs for HTTP announce request parameter fixes (#1985, #1986, #1987)#1988
josecelano merged 5 commits into
torrust:developfrom
josecelano:http-announce-request-param-specs

Conversation

@josecelano

@josecelano josecelano commented Jul 15, 2026

Copy link
Copy Markdown
Member

Summary

Add three new issue specs for HTTP announce request parameter improvements:

#1985 — Rename peer_addr GET param to ip (BEP 3 compliance)

  • Renames the non-standard peer_addr wire parameter to the BEP 3-specified ip
  • Renames the Rust struct field, constant, builder method, and extractor
  • Includes an embedded ADR: accept only IP addresses (not DNS names) in the ip parameter

#1986 — Return compact peer list by default (BEP 23 compliance)

  • Fixes the tracker to return compact peer list by default when compact is absent
  • Aligns with the BEP 23 SUGGESTION
  • Includes manual verification steps using the tracker client

#1987 — Add use_ip_from_query_string config option (sub-issue of #1978)

New Researcher Agent

Also includes a new .github/agents/researcher.agent.md custom agent for evidence-gathering tasks (external repo research, source code analysis, GitHub issue search).

Commits

…ring

Add a new custom agent that clones external tracker repositories,
searches their source code and issue trackers, and returns structured
findings. Used before writing issue specs or during implementation
when claims about other trackers need verification.

The agent uses /tmp/tracker-research/ or the workspace .tmp/ directory
for temporary artifacts.
@josecelano
josecelano requested a review from a team as a code owner July 15, 2026 17:35
Copilot AI review requested due to automatic review settings July 15, 2026 17:35
@josecelano josecelano self-assigned this Jul 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds new issue specification documents under docs/issues/open/ for upcoming HTTP announce parameter behavior/compliance improvements, and introduces a new custom “Researcher” agent profile for external evidence gathering workflows.

Changes:

  • Added three new open issue specs for #1985 (rename peer_addrip), #1986 (compact peer list default), and #1987 (config option to honor ip query string).
  • Added two evidence documents capturing external-tracker behavior (opentracker and chihaya) around DNS-name handling for the ip parameter.
  • Added a new .github/agents/researcher.agent.md custom agent and updated spellcheck dictionary with hostnames.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
project-words.txt Adds hostnames to the project dictionary.
docs/issues/open/1985-rename-peer-addr-to-ip-in-http-announce-request/ISSUE.md New issue spec for BEP 3 ip rename + embedded ADR text.
docs/issues/open/1986-align-http-tracker-compact-default-with-bep-23/ISSUE.md New issue spec to align default compact behavior with BEP 23.
docs/issues/open/1987-add-config-option-to-use-ip-from-announce-query-string/ISSUE.md New issue spec for opt-in config to honor ip query param (security documented).
docs/issues/open/1987-add-config-option-to-use-ip-from-announce-query-string/evidence-opentracker-no-dns-support.md Evidence write-up: opentracker does not support DNS names in ip.
docs/issues/open/1987-add-config-option-to-use-ip-from-announce-query-string/evidence-chihaya-no-dns-support.md Evidence write-up: chihaya does not support DNS names in ip.
.github/agents/researcher.agent.md Adds a “Researcher” custom agent definition for external evidence gathering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/issues/open/1985-rename-peer-addr-to-ip-in-http-announce-request/ISSUE.md Outdated
Comment thread docs/issues/open/1985-rename-peer-addr-to-ip-in-http-announce-request/ISSUE.md Outdated
Comment thread .github/agents/researcher.agent.md Outdated
Comment thread .github/agents/researcher.agent.md Outdated
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Jul 15, 2026
- Fix broken relative link to docs/adrs/ in 1985 ISSUE.md (../adrs/ ->
  ../../adrs/ from the nested issue folder)
- Fix broken relative links to sibling issues in 1985 ISSUE.md
  (../open/1978-... -> ../1978-...)
- Fix broken relative links to sibling issues in 1987 ISSUE.md
  (../open/1978-... and ../open/1640-... -> ../1978-... and ../1640-...)
- Clarify tool naming in researcher.agent.md: github_text_search /
  github_repo tools are optional; fall back to gh CLI when unavailable
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Jul 15, 2026
- Fix broken relative link to docs/adrs/ in 1985 ISSUE.md (../adrs/ ->
  ../../adrs/ from the nested issue folder)
- Fix broken relative links to sibling issues in 1985 ISSUE.md
  (../open/1978-... -> ../1978-...)
- Fix broken relative links to sibling issues in 1987 ISSUE.md
  (../open/1978-... and ../open/1640-... -> ../1978-... and ../1640-...)
- Clarify tool naming in researcher.agent.md: github_text_search /
  github_repo tools are optional; fall back to gh CLI when unavailable
@josecelano
josecelano force-pushed the http-announce-request-param-specs branch from 35f39f9 to 20f9f77 Compare July 15, 2026 18:25
…ref torrust#1985)

Add issue spec for renaming the non-standard peer_addr GET parameter
to the BEP 3-specified ip parameter. Includes an embedded ADR deciding
to accept only IP addresses (not DNS names) in the ip parameter.

Also add 'hostnames' to project-words.txt for the ADR text.
…orrust#1986)

Add issue spec for returning compact peer list by default when the
compact GET parameter is absent, aligning with the BEP 23 SUGGESTION.
Includes manual verification steps using the tracker client.
…orrust#1987)

Add issue spec for an opt-in per-HTTP-tracker configuration option to
honour the ip GET parameter value as the peer address instead of the
TCP connection IP. Sub-issue of torrust#1978 (configuration overhaul).

Includes evidence from opentracker and chihaya confirming that neither
tracker supports DNS names in the ip parameter.
- Fix broken relative link to docs/adrs/ in 1985 ISSUE.md (../adrs/ ->
  ../../adrs/ from the nested issue folder)
- Fix broken relative links to sibling issues in 1985 ISSUE.md
  (../open/1978-... -> ../1978-...)
- Fix broken relative links to sibling issues in 1987 ISSUE.md
  (../open/1978-... and ../open/1640-... -> ../1978-... and ../1640-...)
- Clarify tool naming in researcher.agent.md: github_text_search /
  github_repo tools are optional; fall back to gh CLI when unavailable
@josecelano
josecelano force-pushed the http-announce-request-param-specs branch from 20f9f77 to ac9ba0e Compare July 15, 2026 18:27
@josecelano

Copy link
Copy Markdown
Member Author

ACK ac9ba0e

@josecelano
josecelano merged commit 9c9b8b7 into torrust:develop Jul 15, 2026
1 check passed
@josecelano
josecelano deleted the http-announce-request-param-specs branch July 15, 2026 18:35
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.

2 participants