-
Notifications
You must be signed in to change notification settings - Fork 34
OLS-2882 Align spec structure and fix health issues #2000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
xrajesh
wants to merge
1
commit into
openshift:main
Choose a base branch
from
xrajesh:xav/spec-first-update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # Spec health report | ||
|
|
||
| Last evaluated: 2026-05-29 | ||
| Trigger: post-milestone (spec-first alignment) | ||
| Layout: software (.ai/spec/) | ||
|
|
||
| ## Stale | ||
|
|
||
| - **`how/project-structure.md` references two deleted components**: `src/components/CloseButton.tsx` and `src/components/Modal.tsx` are listed in the Module Map but do not exist in the codebase. These were likely removed or inlined into other components. | ||
| - **Planned Changes contain completed tickets**: `what/attachments.md` lists OLS-1401 as "(completed)" and `what/tools.md` lists OLS-2683 as "(completed)". Completed tickets should be removed from Planned Changes tables — the implemented behavior is already captured in the behavioral rules above. | ||
|
|
||
| ## Missing | ||
|
|
||
| - **`src/pageContext.ts` not in spec**: This module contains `resolveModelKey()` which handles URL resource key resolution (direct model keys, plural-based keys, group~version~kind references). It supports attachment context detection and should be documented in `how/project-structure.md` Module Map. | ||
| - **`src/validation.ts` not in spec**: This module contains `alertingRuleID()` (murmur3 hash generation matching the monitoring-console-plugin's rule ID format) and `isValidAlertName()`. It supports alert attachment behavior and should be in `how/project-structure.md` Module Map. | ||
| - **CSS files not in spec**: Three CSS files exist in `src/components/` (`general-page.css`, `mcp-app.css`, `popover.css`) but are not mentioned in `how/project-structure.md` or `how/components.md`. | ||
| - **Unit test coverage gap in spec**: `unit-tests/` includes tests for `pageContext` and `validation` — modules not documented in the spec. The test directory description in `how/project-structure.md` mentions "Tests for: redux-reducers, error handling, attachments" but doesn't mention pageContext or validation tests. | ||
|
|
||
| ## Structural concerns | ||
|
|
||
| - None. The what/how separation is clean — behavioral rules are in what/, implementation details are in how/. No duplicated information was found across files. | ||
|
|
||
| ## Findability issues | ||
|
|
||
| - None. The Cross-Reference table in README.md makes it straightforward to navigate between behavioral specs and their implementation counterparts. | ||
|
|
||
| ## No issues | ||
|
|
||
| - All 9 hooks in `src/hooks/` match the spec's Module Map. | ||
| - All 23 existing components in `src/components/` (excluding the 2 deleted ones) match the spec. | ||
| - All 3 assets in `src/assets/` match the spec. | ||
| - The 5 console extensions in `console-extensions.json` match the spec exactly. | ||
| - The 27 Redux actions and 27 reducer cases match the spec's claim. | ||
| - The Redux state shape in `how/state-management.md` matches the reducer implementation. | ||
| - The streaming event types in `how/streaming.md` match the behavioral rules in `what/chat.md`. | ||
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this file should not be part of the PR, but these details could be included in the commit message / PR description instead.