Skip to content

docs(issues): add issue specification for #2134 - #2135

Merged
josecelano merged 5 commits into
torrust:developfrom
josecelano:2134-fix-cognitive-complexity-lint-enforcement-spec
Sep 3, 2026
Merged

josecelano merged 5 commits into
torrust:developfrom
josecelano:2134-fix-cognitive-complexity-lint-enforcement-spec

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

Adds the approved implementation specification for repository-wide workspace lint adoption, remediation of the observed Clippy baseline, and enforcement of cognitive complexity.

Documents the -spec suffix for spec-only branches, reserving the corresponding base branch name for subsequent implementation work.

Files changed

  • docs/issues/open/2134-fix-cognitive-complexity-lint-enforcement.md
  • AGENTS.md
  • .github/skills/dev/git-workflow/create-feature-branch/SKILL.md
  • .github/skills/dev/planning/create-issue/SKILL.md

Validation

  • TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.sh

Related to #2134

@josecelano
josecelano requested a review from a team as a code owner September 3, 2026 15:43
Copilot AI lite review requested due to automatic review settings September 3, 2026 15:43
@josecelano josecelano self-assigned this Sep 3, 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.

🟡 Changes recommended

The updated numbered-list instructions in create-issue/SKILL.md have wrapped lines with insufficient indentation that can break Markdown list rendering, and the suggested edits should be applied.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds an approved issue specification for #2134 (workspace-wide Clippy lint inheritance + cognitive complexity enforcement plan) and updates contributor/agent workflow documentation to support spec-only branches using a -spec suffix.

Changes:

  • Added the issue spec document for #2134, including scope, plan, verification steps, and risks.
  • Documented the {issue}-{desc}-spec naming convention for spec-only branches in AGENTS and workflow skills.
  • Updated the “spec-only PR” guidance in the create-issue skill to reflect the reserved base branch name for later implementation.
File summaries
File Description
docs/issues/open/2134-fix-cognitive-complexity-lint-enforcement.md Adds the full implementation specification for issue #2134 (scope/plan/verification).
AGENTS.md Documents the -spec suffix convention for spec-only branches.
.github/skills/dev/git-workflow/create-feature-branch/SKILL.md Adds guidance and an example for -spec spec-only branches.
.github/skills/dev/planning/create-issue/SKILL.md Updates spec-only PR instructions to use -spec and reserve the base branch name.
Review details

Suppressed comments (1)

.github/skills/dev/planning/create-issue/SKILL.md:217

  • Step 6 wraps onto a continuation line that is indented by only two spaces; this can break the numbered list formatting in some Markdown renderers. Keeping the item on one line avoids list rendering issues.
6. If using fork-based workflow, set head as `{fork-owner}:{branch}` (for example
  `josecelano:1771-spec-first-pr-workflow-spec`)
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@josecelano

Copy link
Copy Markdown
Member Author

ACK 8659ea8

@josecelano
josecelano merged commit c956a44 into torrust:develop Sep 3, 2026
1 check passed
@josecelano
josecelano deleted the 2134-fix-cognitive-complexity-lint-enforcement-spec branch September 3, 2026 16:54
@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 added an issue specification and contributor guidance only, 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.

3 participants