OLS-2882 Align spec structure and fix health issues#2000
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
📝 WalkthroughWalkthroughThis pull request restructures and expands the project's specification and architecture documentation. The main spec README is reorganized with clearer structure tables, explicit what/how sections with cross-references, and updated conventions. A new health report tracks specification-to-implementation alignment gaps. Architecture documentation is added to project-structure specs and a comprehensive ARCHITECTURE.md is introduced. Behavioral specs receive updated planned changes tied to ACM and HITL features. Contributor guidance is enhanced across AGENTS.md and new architecture docs. ChangesSpecification and Architecture Documentation
🎯 2 (Simple) | ⏱️ ~10 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.ai/spec/how/project-structure.md (1)
66-80:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winFix duplicate heading and mislabeled CSS section.
Line 74 repeats the same heading text, and Lines 70-72 list
src/components/*.cssunder asrc/assets/heading. This makes the module map ambiguous and can trigger markdown lint noise.Suggested doc fix
-### `src/assets/` -- Static assets +### `src/components/` -- Component CSS assets | Path | Purpose | |---|---| | `src/components/general-page.css` | Styles for the GeneralPage chat interface | | `src/components/mcp-app.css` | Styles for MCP App card and iframe container | | `src/components/popover.css` | Styles for the Popover modal and floating button | ### `src/assets/` -- Static assetsAs per coding guidelines: “All specifications live in
.ai/spec/. Start with.ai/spec/README.mdfor project overview, reading order, and structure guide.”🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.ai/spec/how/project-structure.md around lines 66 - 80, The markdown has a duplicated "src/assets/" heading and the components CSS entries are miscategorized; change the first heading (the one above the CSS table) from "src/assets/" to "src/components/" (or remove the duplicate and rename accordingly), leave the second "src/assets/" section for logo/user asset rows only, and ensure the `src/components/*.css` entries (GeneralPage, mcp-app, popover) appear under the corrected "src/components/" heading so the module map and linting are consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In @.ai/spec/how/project-structure.md:
- Around line 66-80: The markdown has a duplicated "src/assets/" heading and the
components CSS entries are miscategorized; change the first heading (the one
above the CSS table) from "src/assets/" to "src/components/" (or remove the
duplicate and rename accordingly), leave the second "src/assets/" section for
logo/user asset rows only, and ensure the `src/components/*.css` entries
(GeneralPage, mcp-app, popover) appear under the corrected "src/components/"
heading so the module map and linting are consistent.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 8c057fc8-6a26-4007-9886-59e5044dd735
📒 Files selected for processing (9)
.ai/spec/README.md.ai/spec/health-report.md.ai/spec/how/README.md.ai/spec/how/project-structure.md.ai/spec/what/README.md.ai/spec/what/attachments.md.ai/spec/what/tools.mdAGENTS.mdARCHITECTURE.md
💤 Files with no reviewable changes (4)
- .ai/spec/how/README.md
- .ai/spec/what/tools.md
- .ai/spec/what/attachments.md
- .ai/spec/what/README.md
| @@ -0,0 +1,35 @@ | |||
| # Spec health report | |||
There was a problem hiding this comment.
Seems like this file should not be part of the PR, but these details could be included in the commit message / PR description instead.
Summary
.ai/spec/README.mdwith Structure table, Cross-Reference table, and standard Conventions sectionwhat/README.mdandhow/README.mdinto the main spec README and remove themARCHITECTURE.mdwith Mermaid diagrams (system context, component architecture, data flow)## Specspointer toAGENTS.mdCloseButton.tsx/Modal.tsxrefs, add missingpageContext.ts/validation.ts/CSS files to module map, remove completed tickets from Planned ChangesTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit