Skip to content

docs: quote YAML frontmatter values with colons#15

Merged
ANcpLua merged 1 commit intomainfrom
docs/fix-vale-colon-frontmatter
Mar 13, 2026
Merged

docs: quote YAML frontmatter values with colons#15
ANcpLua merged 1 commit intomainfrom
docs/fix-vale-colon-frontmatter

Conversation

@ANcpLua
Copy link
Owner

@ANcpLua ANcpLua commented Mar 13, 2026

Follow-up to fix Vale lint failures from PR #13.\n\nChanges:\n- Quote YAML frontmatter values with colons.\n- Quote values with colons in concept docs.\n- Replace with in to satisfy Microsoft.Foreign rule.

Copilot AI review requested due to automatic review settings March 13, 2026 22:33
@ANcpLua ANcpLua merged commit a8d26e5 into main Mar 13, 2026
1 check passed
@ANcpLua ANcpLua deleted the docs/fix-vale-colon-frontmatter branch March 13, 2026 22:33
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses and resolves several Vale linting failures by standardizing the formatting of YAML frontmatter and content within documentation files. The changes primarily involve quoting string values that contain special characters like colons and expanding abbreviations to ensure compliance with established documentation guidelines, thereby improving the overall consistency and validity of the documentation.

Highlights

  • YAML Frontmatter Quoting: Implemented quoting for YAML frontmatter values that contain colons to prevent parsing issues and satisfy linting rules.
  • Concept Documentation Formatting: Applied consistent quoting to values within concept documentation files, specifically affecting summary and tag fields.
  • Linter Rule Compliance: Replaced the abbreviation 'e.g.' with 'for example' in one instance to adhere to the Microsoft.Foreign Vale lint rule.
Changelog
  • datzi/automation/cron-vs-heartbeat.mdx
    • Quoted the 'title' value in the YAML frontmatter.
  • datzi/channels/imessage.mdx
    • Quoted the 'title' value in the YAML frontmatter.
    • Reformatted the 'tags' array into a block scalar for improved readability.
  • datzi/concepts/agent-loop.mdx
    • Quoted the 'summary' value in the YAML frontmatter.
    • Quoted the 'tags' array values in the YAML frontmatter.
  • datzi/concepts/model-failover.mdx
    • Quoted the 'summary' value in the YAML frontmatter.
  • datzi/concepts/multi-agent.mdx
    • Quoted the 'summary' value in the YAML frontmatter.
    • Quoted the 'tags' array values in the YAML frontmatter.
    • Replaced 'e.g.' with 'for example' in the 'summary' field to satisfy a linting rule.
  • datzi/concepts/session.mdx
    • Quoted the 'summary' value in the YAML frontmatter.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly addresses YAML frontmatter parsing issues by quoting values that contain colons, which is crucial for correct parsing. The changes also standardize on using single quotes for strings, improving consistency. I have one suggestion to improve the formatting of a long list of tags for better readability and consistency.

Comment on lines +7 to +8
tags:
[imessage, imsg, macos, legacy, pairing, groups, attachments, ssh, tailscale]

Choose a reason for hiding this comment

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

medium

For consistency with other files and for better readability, it's better to format this long list of tags as a standard YAML block sequence. This is more conventional for multi-line lists.

tags:
  - imessage
  - imsg
  - macos
  - legacy
  - pairing
  - groups
  - attachments
  - ssh
  - tailscale

Copy link

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

This PR updates Datzi docs frontmatter/content to address Vale lint failures by quoting YAML values that contain colons and adjusting wording to comply with style rules.

Changes:

  • Quote YAML frontmatter title/summary values containing colons.
  • Normalize some frontmatter quoting and tag list formatting.
  • Update wording in at least one concept summary (e.g., “e.g.” → “for example”) to satisfy a Vale rule.

Reviewed changes

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

Show a summary per file
File Description
datzi/concepts/session.mdx Quotes summary frontmatter value containing agent:<...>:<...>.
datzi/concepts/multi-agent.mdx Quotes summary and normalizes tags quoting.
datzi/concepts/model-failover.mdx Quotes summary containing a colon.
datzi/concepts/agent-loop.mdx Quotes summary containing a colon and arrow sequence.
datzi/channels/imessage.mdx Quotes title containing a colon and reformats tags frontmatter.
datzi/automation/cron-vs-heartbeat.mdx Quotes title containing a colon.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

slug: model-failover
title: Model failover
summary: Datzi handles failures in two stages:.
summary: 'Datzi handles failures in two stages:.'
title: Agent Loop (Datzi)
summary: An agentic loop is the full “real” run of an agent: intake → context assembly → model inference →.
tags: ["concepts", "agent", "loop"]
summary: 'An agentic loop is the full “real” run of an agent: intake → context assembly → model inference →.'
Comment on lines +7 to +8
tags:
[imessage, imsg, macos, legacy, pairing, groups, attachments, ssh, tailscale]
slug: session
title: Session Management
summary: Datzi treats **one direct-chat session per agent** as primary. Direct chats collapse to agent:<agentId>:<mainKey> (.
summary: 'Datzi treats **one direct-chat session per agent** as primary. Direct chats collapse to agent:<agentId>:<mainKey> (.'
title: Multi-Agent Routing
summary: Goal: multiple *isolated* agents (separate workspace + agentDir + sessions), plus multiple channel accounts (e.g. two.
tags: ["concepts", "multi", "agent"]
summary: 'Goal: multiple *isolated* agents (separate workspace + agentDir + sessions), plus multiple channel accounts (for example two.'
title: Multi-Agent Routing
summary: Goal: multiple *isolated* agents (separate workspace + agentDir + sessions), plus multiple channel accounts (e.g. two.
tags: ["concepts", "multi", "agent"]
summary: 'Goal: multiple *isolated* agents (separate workspace + agentDir + sessions), plus multiple channel accounts (for example two.'
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.

2 participants