Repository navigation
docs(review-rules): explain specification-aware reviews - #2006
Conversation
|
✅ OpenCodeReview: Review skipped: no items were selected. |
|
@wzxsdf Thanks for the concrete checkout example. Could you move the first part into a standalone “Reviewing against requirements” guide and keep the I'd leave the For the module-association question in #1316, I'd state the limitation directly: OCR can take requirements as context for a review, but it doesn't currently have a dedicated way to associate reference documents with a module independently of its rules. If that use case matures, we can design knowledge-base support separately rather than recommend a rule configuration as a workaround. No new configuration or runtime changes are needed in this PR. |
|
@wzxsdf Please provide a UI verification report for local deployment. |
|
UI verification report (local deployment) Environment: Windows, Node 22, npm run dev (webpack-dev-server) at http://localhost:3030, branch docs/issue-1316-spec-aware-guide at 358bb8b.
|





Description
Document how to supply requirements and design context to OCR without changing runtime behavior. The guide covers a local Markdown background file, persistent path-specific Markdown rules with built-in language rules retained, and checking the resolved rule. It also explains exporting relevant content from an internal knowledge base and the limits of automatic document loading.
The same examples and guidance are included in English, Chinese, Japanese, Korean, and Russian.
Type of Change
How Has This Been Tested?
--testTimeout=20000on the local Windows environment. A full Pages test run initially had 97 passing tests and one language-bundle test timeout at the default five seconds.git diff --checkpassed.make checkpassed using the existing WSL Go toolchain; the worktree remains clean.ocr review --audience agent --background ...was attempted, but could not start because no LLM endpoint is configured in the local WSL environment. A separate static review found no actionable issues.AI/LLM Disclosure
Created with ZCode/Codex using
new-provider/gpt-6.1-sol. AI assisted with repository investigation, documentation drafting, translations, and static review. The contributor's personal review and CLA status are not asserted by this description.Related Issues
Closes #1316.