Repository navigation
docs: define language expansion decision - #456
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR records a decision to defer broad language expansion until stronger TypeScript/Node proof and benchmark/fixture evidence exist, updates public docs to reflect evidence-gated language claims and framing, and adds unit tests that enforce these documentation constraints. ChangesLanguage Expansion Decision and Documentation Validation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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)
tests/unit/why-madar-doc.test.ts (1)
231-293:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winFix test suite nesting structure.
The
describe('docs/claims-and-evidence.md')block is incorrectly nested inside thedescribe('docs/proof-workflows.md')block (which starts at line 212). These should be sibling test suites, not parent-child.🔧 Proposed fix
Move the closing brace from line 230 to after line 293 to close the
proof-workflowsdescribe block before theclaims-and-evidencedescribe block begins:}) }) + describe('docs/claims-and-evidence.md', () => { + const content = readDoc('docs/claims-and-evidence.md') + const lower = content.toLowerCase() + + it('maps public claims to evidence and tracks unmeasured claims explicitly', () => { // ... existing test content ... - describe('docs/claims-and-evidence.md', () => { - const content = readDoc('docs/claims-and-evidence.md') - const lower = content.toLowerCase() - - it('maps public claims to evidence and tracks unmeasured claims explicitly', () => { - // ... existing test content ...This moves the
claims-and-evidencedescribe block to the correct level in the test hierarchy.🤖 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 `@tests/unit/why-madar-doc.test.ts` around lines 231 - 293, The describe block for 'docs/claims-and-evidence.md' is currently nested inside the 'docs/proof-workflows.md' describe; make them siblings by moving the closing brace that ends the 'docs/proof-workflows.md' describe (the brace currently before describe('docs/claims-and-evidence.md')) so it closes that suite before the describe('docs/claims-and-evidence.md') block begins, ensuring describe('docs/proof-workflows.md') and describe('docs/claims-and-evidence.md') are at the same level in the test file.
🤖 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 `@tests/unit/why-madar-doc.test.ts`:
- Around line 231-293: The describe block for 'docs/claims-and-evidence.md' is
currently nested inside the 'docs/proof-workflows.md' describe; make them
siblings by moving the closing brace that ends the 'docs/proof-workflows.md'
describe (the brace currently before describe('docs/claims-and-evidence.md')) so
it closes that suite before the describe('docs/claims-and-evidence.md') block
begins, ensuring describe('docs/proof-workflows.md') and
describe('docs/claims-and-evidence.md') are at the same level in the test file.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 4fe2eb1b-115c-4d3a-a789-39ce4783c8c8
📒 Files selected for processing (6)
docs/claims-and-evidence.mddocs/language-capability-matrix.mddocs/language-expansion-decision.mddocs/roadmap.mdtests/unit/roadmap-docs.test.tstests/unit/why-madar-doc.test.ts
|
Addressing the CodeRabbit test-structure comment now; I will push a small follow-up once the nesting is fixed and the targeted doc tests are green. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Follow-up pushed: the |
Summary
Closes #431
Testing
Summary by CodeRabbit
Documentation
Tests