Skip to content

Fix markdownlint violations in documentation - #8

Merged
leynos merged 1 commit into
mainfrom
codex/fix-markdownlint-violations
Oct 5, 2025
Merged

leynos merged 1 commit into
mainfrom
codex/fix-markdownlint-violations

Conversation

@leynos

@leynos leynos commented Oct 5, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • convert emphasised headings in the Weaver design document into a consistent heading hierarchy and adjust surrounding prose to satisfy markdownlint
  • repair the tables in the design document and replace overlong inline examples with fenced blocks to resolve column-count and line-length issues
  • reflow the formatting guidance in AGENTS.md so wrapped text adheres to the repository markdown standards

Testing

  • make fmt
  • make markdownlint

https://chatgpt.com/codex/tasks/task_e_68e1b771dc3c8322b1550ce21eb132d2

Summary by Sourcery

Fix markdownlint violations by standardizing headings, tables, and line wrapping in documentation.

Documentation:

  • Standardize heading hierarchy and surrounding prose in weaver-design.md to comply with markdownlint rules.
  • Repair and reformat tables in weaver-design.md and replace overlong inline code examples with fenced code blocks to resolve column-count and line-length issues.
  • Reflow and wrap formatting guidance in AGENTS.md to adhere to repository markdown standards.

@sourcery-ai

sourcery-ai Bot commented Oct 5, 2025 •

Copy link
Copy Markdown

Reviewer's Guide

This PR cleans up markdown documentation to resolve markdownlint issues by standardizing heading hierarchies, repairing table structures, converting inline examples to fenced code blocks, and reflowing text to comply with repository style guidelines.

File-Level Changes

Change Details Files
Standardize and reflow weaver-design.md to satisfy markdownlint
  • Converted emphasized headings to consistent markdown header levels
  • Repaired tables with proper separators and adjusted column wrapping
  • Replaced inline code examples with fenced code blocks
  • Reflowed paragraphs to adhere to line-length limits
docs/weaver-design.md
Reflow AGENTS.md formatting guidance
  • Wrapped long lines in bullets and code blocks
  • Merged related commands into single paragraphs
  • Removed redundant blank lines to improve consistency
AGENTS.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Oct 5, 2025 •

Copy link
Copy Markdown

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Summary by CodeRabbit

  • Documentation
    • Reformatted prose for improved readability: reflowed paragraphs and adjusted line breaks for consistent wrapping and cleaner presentation.
    • Content unchanged; no impact on features or behaviour. Aims to make the guide easier to scan and reference.
    • No action required for users; purely editorial update.
    • Enhances consistency with documentation style guidelines.

Walkthrough

Summarise line reflow in AGENTS.md by merging sentences into fewer wrapped lines. State no logic, behaviour, or control-flow changes.

Changes

Cohort / File(s) Summary of Changes
Docs reflow
AGENTS.md
Reflow paragraph lines; adjust line breaks; no content, logic, or behaviour changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

Lines now dance in tighter rows,
A paragraph breathes, then gently flows.
No code awoke, no tests to run,
Just tidier text, a formatting pun.
Ship the words; the edit glows ✨.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed Highlight that the title concisely references fixing markdownlint violations in documentation and directly matches the main changeset intent without noise or irrelevant details.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed The author’s description clearly identifies reflowing text in AGENTS.md, converting emphasized headings, repairing tables and replacing inline examples to satisfy markdownlint requirements, which directly matches the documented changes and the objectives in the PR summary.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/fix-markdownlint-violations

Comment @coderabbitai help to get the list of available commands and usage tips.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey there - I've reviewed your changes and they look great!

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location> `docs/weaver-design.md:421` </location>
<code_context>
+| **3 (Execution-Aware)** | Dynamic Analysis Ingestion | Output from profilers (e.g., `gprof` ^27^, `callgrind` ^28^)         | Provides "ground truth" for a given execution, accurately captures dynamic dispatch and runtime behaviour.      | Incomplete coverage (only shows paths that were executed), requires the ability to run the code (e.g., a test suite). |
</code_context>

<issue_to_address>
**nitpick (typo):** Inconsistent spelling: 'behaviour' should be 'behavior' for US English consistency.

Please update 'behaviour' to 'behavior' in this table row to match the rest of the document.

```suggestion
| **3 (Execution-Aware)** | Dynamic Analysis Ingestion | Output from profilers (e.g., `gprof` ^27^, `callgrind` ^28^)         | Provides "ground truth" for a given execution, accurately captures dynamic dispatch and runtime behavior.      | Incomplete coverage (only shows paths that were executed), requires the ability to run the code (e.g., a test suite). |
```
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread docs/weaver-design.md Resolved
@leynos
leynos merged commit 9f7c5ce into main Oct 5, 2025
@leynos
leynos deleted the codex/fix-markdownlint-violations branch October 5, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant