IW-672: Add IssueId.numericPart instead of repeated split("-").last #735
No reviewers
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!735
Loading…
Reference in a new issue
No description provided.
Delete branch "IW-672"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
IssueId.numericPartas the single owner of the rule that turns an issue ID (IW-672) into its number (672). It replaces the repeatedissueId.value.split("-").lastin the GitHub, GitLab and Forgejo adapters and in the dashboardIssueSource.Changes
core/model/IssueId.scala: newnumericPart.IssueId;ForgejoClient.issueNumberOfusesnumericPart.CommandEnv/LiveCommandEnv/FakeCommandEnvandIssue.scalacall sites follow the adapter contracts.dashboard/jvm/src/domain/IssueSource.scalabuilds the issue link withnumericPart.No user-visible behavior change.
Testing
IssueIdTestcoversnumericPart; adapter tests (GitHub, GitLab, Forgejo) andIssueHarnessTestupdated to the new contracts.Follow-ups
Filed: #733, #734; added evidence to #586.
Release notes
Internal refactor with no user-visible change: the issue number is now derived from the issue ID in one place, used by issue fetch on GitHub, GitLab and Forgejo and by dashboard issue links. (Czech notes:
project-management/issues/IW-672/release-notes.md.)🤖 Generated with Claude Code
Closes #672
Add IssueId.numericPart instead of repeated split("-").last Artifacts: - analysis.md - issue.md 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8ZD5foFWAE2zV1xYojPMaAdd IssueId.numericPart instead of repeated split("-").last Artifacts: - tasks.md - review-state.json (tasks_ready) 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8ZD5foFWAE2zV1xYojPMaIssue: IW-672 Phase: 1 - IssueId.numericPart + adapter contracts This commit marks the checkpoint for phase 1 context generation. Use wf-implement IW-672 to return to this point. 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>IssueId.numericPart + adapter contracts Artifacts: - phase-01-tasks.md 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>There are conflicts after merging other branches.
Implement: rework for review 18
The rework phase merged into IW-672 through #748; this pull request carries it.