Skip to content

docs(epic): promote 7 draft specs to open, add 3 new drafts, add DEC-14/15 decisions - #1911

Merged
josecelano merged 13 commits into
torrust:developfrom
josecelano:1669-new-subissue-specs
Jun 11, 2026
Merged

josecelano merged 13 commits into
torrust:developfrom
josecelano:1669-new-subissue-specs

Conversation

@josecelano

Copy link
Copy Markdown
Member

This PR promotes 7 draft subissue specifications for EPIC #1669 to open status,
creates 3 new draft specs, adds 2 design decisions, and updates the EPIC document.

Changes

New draft subissue specs (3)

  • Extract torrust-server-lib to standalone repository
  • Remove redundant -tracker- from HTTP and UDP crate names
  • Configure cargo deny for workspace layer boundary enforcement

Promoted to open (7 subissues with SI numbering)

Existing spec broadened

  • Package README spec: now includes Cargo.toml metadata standardization

Design decisions (2)

  • DEC-14: Naming, prefix and ownership policy for workspace packages
  • DEC-15: Workspace package folder naming convention

EPIC #1669 updated

  • Ownership policy, naming policy note, extraction candidates table
  • Smells list: http-protocol→udp-protocol marked as fixed (SI-13)
  • REST-API-core→udp-server violation linked to existing decoupling draft
  • All new subissues added to quick list and specs index

Related to #1669

…andalone repository

Covers motivation, consumer analysis (6 files to migrate), implementation
plan (T1-T13), acceptance criteria, and manual verification scenarios.
Aligned with the established pattern from closed extraction specs
(torrust#1879, torrust#1882, torrust#1885, torrust#1894).
…a standardization

Renamed from 'Update all package READMEs' to 'Standardize package READMEs
and Cargo.toml metadata'. Adds per-crate documentation URL, description,
and keywords audit to the scope. Adds T5 task for metadata fixes.
…orkspace packages

Records the decision to: (1) use torrust- prefix for all packages (no
bittorrent-), (2) determine package location by workspace ownership not
reusability, and (3) keep protocol crates in tracker workspace. Includes
rationale, tradeoffs, and supporting artifact references.
…revised extraction candidates

- Replace stale 'remain for now' with 'expected to stay' referencing DEC-14
- Update naming policy note to reflect torrust- only, no bittorrent- prefix
- Refresh extraction candidates table: completed extractions, server-lib
  as candidate, protocol crates as non-candidates
- Remove obsolete 'Practical extraction order for bittorrent-* crates' section
- Update 'Why Needed' section to reference DEC-14 for protocol crates
- Add future consideration note about coupling-in-CI check
Records the rule that every workspace package's folder name equals its crate
name without the 'torrust-tracker-' prefix. This makes folder lookup
predictable and eliminates inconsistencies.
…DP crate names

Four unpublished packages currently have the word 'tracker' twice in their
name (prefix + middle segment). Rename them to torrust-tracker-{proto}-{layer}.
Includes comprehensive file inventory of all Cargo.toml, Rust source,
README, and documentation references that must be updated.
- Add 'Remove redundant -tracker- from HTTP/UDP crate names' to quick list
- Add spec to Subissue Specs Index
- Add DECISIONS.md to semantic-links related artifacts
…-api-core→udp-server to existing draft

Also update cargo-deny spec to defer hook placement to torrust#1843 outcome
and add CI workflow enforcement as primary gate.
SI-23 (torrust#1903): Relocate axum-rest-api-server test env
SI-24 (torrust#1904): Relocate axum-http-server test env
SI-25 (torrust#1906): Relocate udp-server test env
SI-26 (torrust#1907): Remove udp-protocol re-export of PeerId/PeerClient
SI-27 (torrust#1908): Move Driver enum from configuration to primitives
SI-28 (torrust#1909): Extract torrust-server-lib to standalone repository
SI-29 (torrust#1910): Remove redundant -tracker- from HTTP/UDP crate names
Copilot AI review requested due to automatic review settings June 11, 2026 16:46
@josecelano josecelano self-assigned this Jun 11, 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 updates the EPIC #1669 documentation set by promoting multiple subissue specs from draft to open status, adding new draft specs, and recording new design decisions (DEC-14/DEC-15) to guide package naming and workspace structure.

Changes:

  • Promote 7 EPIC #1669 subissue specifications into docs/issues/open/ with issue numbers and metadata.
  • Add 3 new draft/open subissue specs, including crate rename (SI-29) and server-lib extraction (SI-28).
  • Extend EPIC #1669 with updated policy/decision references and revised planning/index sections.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
docs/issues/open/1910-1669-si-29-rename-udp-and-http-core-protocol-crates-to-remove-redundant-tracker.md New open spec for SI-29 crate rename plan and checklist.
docs/issues/open/1909-1669-si-28-extract-server-lib-to-standalone-repo.md New open spec for extracting torrust-server-lib to a standalone repo.
docs/issues/open/1908-1669-si-27-move-driver-enum-to-primitives.md Promotes SI-27 spec to open with issue metadata.
docs/issues/open/1907-1669-si-26-remove-udp-protocol-peer-id-re-export.md Promotes SI-26 spec to open with issue metadata.
docs/issues/open/1906-1669-si-25-relocate-udp-server-test-environment.md Promotes SI-25 spec to open with issue metadata.
docs/issues/open/1904-1669-si-24-relocate-http-server-test-environment.md Promotes SI-24 spec to open with issue metadata.
docs/issues/open/1903-1669-si-23-relocate-axum-rest-api-server-test-environment.md Promotes SI-23 spec to open with issue metadata.
docs/issues/open/1669-overhaul-packages/EPIC.md Updates EPIC narrative, quick list, smells list, and specs index.
docs/issues/open/1669-overhaul-packages/DECISIONS.md Adds DEC-14/DEC-15 decisions defining naming/ownership and folder conventions.
docs/issues/drafts/1669-update-all-package-readmes.md Broadens draft scope to include Cargo.toml metadata standardization.
docs/issues/drafts/1669-configure-cargo-deny-for-layer-boundary-enforcement.md Adds new draft for enforcing layer boundaries via cargo deny.
Comments suppressed due to low confidence (5)

docs/issues/open/1903-1669-si-23-relocate-axum-rest-api-server-test-environment.md:4

  • docs/issues/open/ is documented as containing issue specification files, and the standard template uses doc-type: issue (see docs/templates/ISSUE.md). This file still has doc-type: spec, which makes it inconsistent with other open issue specs.
    docs/issues/open/1904-1669-si-24-relocate-http-server-test-environment.md:4
  • docs/issues/open/ is documented as containing issue specification files, and the standard template uses doc-type: issue (see docs/templates/ISSUE.md). This file still has doc-type: spec, which makes it inconsistent with other open issue specs.
    docs/issues/open/1906-1669-si-25-relocate-udp-server-test-environment.md:4
  • docs/issues/open/ is documented as containing issue specification files, and the standard template uses doc-type: issue (see docs/templates/ISSUE.md). This file still has doc-type: spec, which makes it inconsistent with other open issue specs.
    docs/issues/open/1907-1669-si-26-remove-udp-protocol-peer-id-re-export.md:4
  • docs/issues/open/ is documented as containing issue specification files, and the standard template uses doc-type: issue (see docs/templates/ISSUE.md). This file still has doc-type: spec, which makes it inconsistent with other open issue specs.
    docs/issues/open/1908-1669-si-27-move-driver-enum-to-primitives.md:4
  • docs/issues/open/ is documented as containing issue specification files, and the standard template uses doc-type: issue (see docs/templates/ISSUE.md). This file still has doc-type: spec, which makes it inconsistent with other open issue specs.

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

Aligns with the ISSUE.md template convention used by all other open
issue specs in the repository.
@josecelano

Copy link
Copy Markdown
Member Author

Addressed Copilot review feedback: @copilot-pull-request-reviewer identified 5 specs with doc-type: spec instead of the standard doc-type: issue used by the ISSUE.md template and all other open issue specs.

Fixed in commit 87ac345: changed doc-type: spec to doc-type: issue in:

  • SI-23: docs/issues/open/1903-1669-si-23-...
  • SI-24: docs/issues/open/1904-1669-si-24-...
  • SI-25: docs/issues/open/1906-1669-si-25-...
  • SI-26: docs/issues/open/1907-1669-si-26-...
  • SI-27: docs/issues/open/1908-1669-si-27-...

Not applicable to SI-28 (#1909) and SI-29 (#1910) which already had doc-type: issue from the start.

- SI-28: Fix heading placeholder (torrust#1909) and EPIC link path
- SI-29: Fix EPIC link path
- EPIC: Update specs index to point to open SI-29 (not draft)
- DEC-15: Note that folder rule applies after SI-29 rename
- cargo-deny draft: Fix broken relative link to decoupling draft
@josecelano

Copy link
Copy Markdown
Member Author

ACK 6c815b0

@josecelano
josecelano merged commit 126e746 into torrust:develop Jun 11, 2026
1 check passed
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