Skip to content

Update docs with better mental model, maybe fix CI#152

Merged
wallstop merged 20 commits intomasterfrom
dev/wallstop/better-concepts
Jan 30, 2026
Merged

Update docs with better mental model, maybe fix CI#152
wallstop merged 20 commits intomasterfrom
dev/wallstop/better-concepts

Conversation

@wallstop
Copy link
Copy Markdown
Owner

Description

  • Potential Dependabot fix (fourth attempt)
  • Update documentation describing the philosophy and mental model of DxMessaging in more depth

Related Issue

Fixes #151

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactor (code change that neither fixes a bug nor adds a feature)

Checklist

  • All tests pass locally
  • Code is properly formatted
  • I have added tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have updated the CHANGELOG
  • My changes do not introduce breaking changes, or breaking changes are documented

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 yaml from 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.

Comment thread .llm/skills/github-actions/git-renormalize-patterns.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 31 changed files in this pull request and generated 2 comments.

Comment thread docs/concepts/mental-model.md Outdated
Comment thread docs/concepts/index.md
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 34 out of 34 changed files in this pull request and generated 3 comments.

Comment thread docs/javascripts/mermaid-config.js Outdated
Comment thread docs/getting-started/visual-guide.md
Comment thread CHANGELOG.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 36 out of 36 changed files in this pull request and generated 1 comment.

Comment thread .llm/skills/documentation/mermaid-theming.md
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 36 out of 36 changed files in this pull request and generated 2 comments.

Comment thread README.md
Comment thread README.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 35 out of 35 changed files in this pull request and generated 3 comments.

Comment thread docs/javascripts/mermaid-config.js
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 37 out of 37 changed files in this pull request and generated 5 comments.

Comment thread .llm/skills/index.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread docs/javascripts/mermaid-config.js Outdated
Comment thread .llm/skills/scripting/regex-documentation.md
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 49 out of 49 changed files in this pull request and generated 2 comments.

Comment thread scripts/__tests__/mermaid-config.test.js
Comment thread scripts/validate-skills.js Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 49 out of 49 changed files in this pull request and generated 2 comments.

Comment thread scripts/validate-skills.js
Comment thread scripts/validate-skills.js
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 50 out of 50 changed files in this pull request and generated 1 comment.

Comment thread scripts/validate-skills.js Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 50 out of 50 changed files in this pull request and generated 1 comment.

Comment thread scripts/__tests__/validate-skills-required-fields.test.js Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 55 out of 55 changed files in this pull request and generated 3 comments.

Comment thread scripts/validate-skills.js
Comment thread scripts/validate-skills.js
Comment thread scripts/__tests__/validate-skills-optional-fields.test.js Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 55 out of 55 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/prettier-autofix.yml
Comment thread .github/workflows/format-on-demand.yml
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 55 out of 55 changed files in this pull request and generated 3 comments.

Comment thread .llm/context.md

- **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` ```.
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
- **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.

Copilot uses AI. Check for mistakes.
Comment on lines +261 to +262
if (typeof module !== 'undefined' && module.exports) {
module.exports = {
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Comment on lines +586 to +587
if (typeof module !== 'undefined' && module.exports) {
module.exports = {
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
@wallstop wallstop merged commit 8be57a6 into master Jan 30, 2026
24 checks passed
@wallstop wallstop deleted the dev/wallstop/better-concepts branch January 30, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Better Documentation of Concepts / Mental Model

2 participants