Update docs with better mental model, maybe fix CI#152
Conversation
There was a problem hiding this comment.
Pull request overview
Expands the project documentation with a clearer “mental model” for DxMessaging (Fixes #151) and attempts to stabilize CI formatting/renormalization behavior by adjusting git add --renormalize patterns.
Changes:
- Add a new “Mental Model” concepts page and a new Concepts index, then link to them from existing docs entry points.
- Update getting-started navigation paths/timings to include the Mental Model as the first step for newcomers.
- Adjust renormalize guidance and GitHub Actions workflows to exclude
yamlfrom extension loops to avoid dotfile/glob pathspec failures.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/index.md | Adds a top-level quick link to the new Mental Model page. |
| docs/getting-started/visual-guide.md | Adds Mental Model to the “Ready to dive deeper?” list. |
| docs/getting-started/quick-start.md | Updates “Next Steps” to include Mental Model first. |
| docs/getting-started/overview.md | Adds Mental Model to the “Start Here” list. |
| docs/getting-started/index.md | Adds Mental Model to recommended learning paths and updates the time estimate. |
| docs/getting-started/getting-started.md | Adds Mental Model to the next-steps list. |
| docs/concepts/mental-model.md | Introduces a detailed conceptual guide (message categories, tokens/lifecycle, patterns, pitfalls). |
| docs/concepts/index.md | Adds a Concepts landing page organizing the conceptual documentation. |
| .llm/skills/index.md | Updates the generated skills index entry metadata for the renormalize skill doc. |
| .llm/skills/github-actions/git-renormalize-patterns.md | Updates renormalize guidance and adds notes about dotfile/glob behavior. |
| .llm/context.md | Adds project-level guidance about dotfile-only extensions in renormalize loops. |
| .github/workflows/prettier-autofix.yml | Removes yaml from renormalize extension loops with an explanatory comment. |
| .github/workflows/format-on-demand.yml | Removes yaml from renormalize extension loops with an explanatory comment. |
|
|
||
| - **Ordered lists**: Use lazy numbering (`1.`, `1.`, `1.`) not sequential (`1.`, `2.`, `3.`). This matches Prettier behavior and markdownlint MD029 configuration. | ||
| - **Fenced code blocks**: Use triple backticks (```), not indented blocks. | ||
| - **Nested fences**: When showing code blocks inside code blocks (e.g., documenting markdown), the outer fence must have MORE backticks than inner fences. Use ``for outer when inner uses` ```. |
There was a problem hiding this comment.
The inline-code example for nested fences is malformed/confusing: Use ``for outer when inner uses ````. This doesn’t clearly show the intended backtick sequences and will likely render incorrectly. Consider rewriting this sentence to explicitly show the outer/inner fence backtick counts (e.g., outer uses four backticks when inner uses three) in a way that renders unambiguously.
| - **Nested fences**: When showing code blocks inside code blocks (e.g., documenting markdown), the outer fence must have MORE backticks than inner fences. Use ``for outer when inner uses` ```. | |
| - **Nested fences**: When showing code blocks inside code blocks (e.g., documenting markdown), the outer fence must have MORE backticks than inner fences. For example, if the inner fence uses three backticks (```), write the outer fence with four backticks. |
| if (typeof module !== 'undefined' && module.exports) { | ||
| module.exports = { |
There was a problem hiding this comment.
In this new export block, string literals use single quotes (e.g., typeof module !== 'undefined') while the rest of the file consistently uses double quotes. Please switch these to double quotes to keep quoting consistent within the file.
| if (typeof module !== 'undefined' && module.exports) { | ||
| module.exports = { |
There was a problem hiding this comment.
In this new export block, string literals use single quotes (e.g., typeof module !== 'undefined') while the surrounding code in this file uses double quotes. Consider switching to double quotes for consistency.
Description
Related Issue
Fixes #151
Type of Change
Checklist