Skip to content

docs(1669): refresh EPIC planning and open SI-11/SI-12 specs - #1831

Merged
josecelano merged 17 commits into
torrust:developfrom
josecelano:1669-update-epic-spec
May 26, 2026
Merged

josecelano merged 17 commits into
torrust:developfrom
josecelano:1669-update-epic-spec

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

This PR consolidates EPIC #1669 planning/spec review work and updates issue-spec tracking to reflect current decisions and progress.

What changed

Scope

  • Documentation/specification only.
  • No production code changes.

Validation

  • Markdown diagnostics checked for modified specs/EPIC files (no errors).

Related to #1669
Related to #1829
Related to #1830

josecelano added 17 commits May 26, 2026 16:35
…ore merge

Add docs/issues/open/1669-overhaul-packages/workspace-coupling-report-proposed-merge.md.

This is a hypothetical "as-if" coupling report modelling the dependency graph
if two changes were applied to the workspace:

- Change 1: merge udp-protocol and http-protocol into a single
  bittorrent-tracker-protocol crate with udp/http features.
- Change 2: merge udp-tracker-core and http-tracker-core into the existing
  bittorrent-tracker-core with the same features.

The report includes a full pros/cons analysis across three dimensions
(workspace coupling, testability, and API surface) and concludes against
the merge. It also documents a circular dependency blocker that would
prevent Change 1 from being implemented without prior refactoring.

Supporting analysis for EPIC torrust#1669.
Add DECISIONS.md to docs/issues/open/1669-overhaul-packages/ to record
structural options considered and discarded during the workspace package
overhaul. The first entry (DEC-01) documents the analysis and rejection of
the proposal to merge protocol and core packages into feature-gated crates,
covering six technical reasons (circular dependency blocker, hidden coupling,
blast-radius, extraction difficulty, compilation isolation).

The file is intended to prevent re-litigating settled decisions and to serve
as source material for a repo-level ADR at the end of the refactor.

EPIC.md receives a one-line pointer to DECISIONS.md in its References section.
…inations

Add a new 'External repositories in scope' subsection to the Package
Inventory section, documenting two external repos involved in the
broader reorganisation:

- torrust/torrust-bittorrent: multi-package workspace; target destination
  for extracted bittorrent-* packages.
- torrust/bittorrent-primitives: single-crate repo (InfoHash); planned
  for deprecation once InfoHash migrates to torrust-bittorrent and the
  repo is archived.

Expand the 'Planned for extraction from workspace' table in Desired
Package State with a 'Destination' column (own repo vs torrust-bittorrent)
and list all bittorrent-* extraction candidates with their intended
destinations, including the InfoHash migration from bittorrent-primitives.
Restructure the 'Desired Package State' section in the epic spec from
prefix-grouped tables into three destination-grouped sections:

1. Packages remaining in this workspace (subsections by prefix:
   torrust-, torrust-tracker-, bittorrent-); the bittorrent- subsection
   now lists only the three packages that genuinely stay in this workspace.

2. Packages moving to torrust/torrust-bittorrent; replaces the old
   'Planned for extraction' table for bittorrent-* packages; adds a
   'Blocked by' column and extraction notes.

3. Packages moving to standalone repositories; adds torrust-clock (SI-13)
   and torrust-metrics (SI-14), which were previously missing from the
   extraction table despite having dedicated extraction subissues.
Copilot AI review requested due to automatic review settings May 26, 2026 18:50
@josecelano josecelano self-assigned this May 26, 2026
@josecelano
josecelano requested a review from da2ce7 May 26, 2026 18:51
@josecelano

Copy link
Copy Markdown
Member Author

ACK 9ee440b

@josecelano
josecelano merged commit cf75e9c into torrust:develop May 26, 2026
1 check passed
@josecelano
josecelano removed the request for review from Copilot May 26, 2026 19:13
@da2ce7

da2ce7 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request changed only planning documents and issue specifications for the package overhaul, with no executable effect.

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