Repository navigation
Trace links to baseline requirements are not broken - #3
Merged
Merged
Conversation
Existing BL- keys count as valid link targets in the overview's broken references and in the MCP traceability graph, where linked baseline items now appear as nodes; a removed one makes the link broken again. The requirement page links them to the baseline instead of showing "(missing)", and `BL-03` in Markdown resolves to the baseline item (an in-page anchor on version pages). The view gets baseline keys as a HashSet: SpEL cannot call methods on Kotlin's internal EmptySet, which made the requirement page fail while the baseline was empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BL-keys count as valid link targets. This applies to the overview's Broken references count and to the MCPget_traceabilitygaps. Once the baseline item is removed, the link shows as broken again.BL-targets to/baseline/BL-…instead of showing "BL-03 (missing)".`BL-03`in Markdown resolves to the baseline item. On approved-version pages it is an in-page anchor to the baseline section.get_traceabilityadds the baseline items a project links to as graph nodes.HashSet. SpEL can't call methods on Kotlin's internalEmptySet, so the requirement page failed while the baseline was empty.Test plan
src/main/dev/scripts/test.sh verify: 154 tests pass.ProjectDocumentTest: a baseline link counts as broken only when the key is unknown.BaselinePagesIT: valid while the baseline item exists, "missing" after it is deleted; the Markdown reference resolves.McpServerIT: the edge and the baseline node are in the traceability graph, andbrokenLinksis empty.🤖 Generated with Claude Code