Skip to content

fix(agents): make base-template-generator frontmatter parseable#1317

Merged
ruvnet merged 1 commit intoruvnet:mainfrom
stablegenius49:pr-factory/issue-1051-frontmatter-parse
Mar 17, 2026
Merged

fix(agents): make base-template-generator frontmatter parseable#1317
ruvnet merged 1 commit intoruvnet:mainfrom
stablegenius49:pr-factory/issue-1051-frontmatter-parse

Conversation

@stablegenius49
Copy link
Copy Markdown
Contributor

@stablegenius49 stablegenius49 commented Mar 7, 2026

Summary

  • convert the description field in v3/@claude-flow/cli/.claude/agents/templates/base-template-generator.md frontmatter to a folded YAML scalar
  • preserve the same descriptive content while avoiding unquoted-colon YAML parsing failures

Verification

  • ran a frontmatter validation script across v3/@claude-flow/cli/.claude/agents/**/*.md
  • result after change: parse_errors=0, missing_description=0

Fixes #1051

Copy link
Copy Markdown

@xkonjin xkonjin left a comment

Choose a reason for hiding this comment

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

Quick review pass:

  • This looks docs-only from the diff, so I don’t see a code-path blocker here.
  • Please still verify the examples/commands in base-template-generator.md against current behavior so we don’t merge stale instructions.
  • If there’s a linked feature change behind this, CI should include at least one smoke check that matches the documented flow.

Copy link
Copy Markdown
Owner

@ruvnet ruvnet left a comment

Choose a reason for hiding this comment

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

ACCEPT — Improves YAML readability by converting the long single-line description to a block scalar. No functional change.

@ruvnet ruvnet merged commit b1b615a into ruvnet:main Mar 17, 2026
eric-cielo referenced this pull request in eric-cielo/moflo Mar 18, 2026
Reviewed: parseable YAML frontmatter for agent template.
eric-cielo referenced this pull request in eric-cielo/moflo Mar 18, 2026
* fix(agents): make base template frontmatter YAML-safe (#1317)

Reviewed: parseable YAML frontmatter for agent template.

* Fix PluginManager priority and version checks (#1336)

Reviewed in ADR-065. ACCEPT — plugin priority and version check correctness.

* fix(daemon): CPU-proportional maxCpuLoad replaces hardcoded 2.0 (rebased from #1353) (#1369)

Rebased from #1353 by @luis-b-o. CPU-proportional daemon threshold + 40 tests + all review fixes.

---------

Co-authored-by: Stable Genius <stablegenius043@gmail.com>
Co-authored-by: Ryanba <92616678+Gujiassh@users.noreply.github.com>
Co-authored-by: rUv <ruv@ruv.net>
eric-cielo referenced this pull request in eric-cielo/moflo Mar 18, 2026
Cherry-picked and path-adjusted (v3/ → src/) from upstream ruflo:

Applied clean:
- #1341: Fix hooks package type export paths (.d.js → .d.ts)
- #1314: Add prepublishOnly guard to memory package
- #1346: Prevent TS2307 for optional @claude-flow/codex import
- #1362: Doctor checks + AgentDB bridge error handling
- #1362: 7 audit fixes (parser improvements, intelligence fixes)
- statusline generator overwrite fix

Applied with conflict resolution:
- #1311: Close semantic routing learning loop (file-based persistence)
- #1368: ESM/CJS interop helper for ruvector-training
- #1370: Attention class wrappers + CJS/ESM interop

Already present (skipped):
- #1369: CPU-proportional maxCpuLoad (already applied)
- #1336: PluginManager priority/version checks (already applied)
- #1317: YAML-safe base template frontmatter (already applied)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
OwenQianDD added a commit to OwenQianDD/ruflo that referenced this pull request Mar 20, 2026
* origin/main:
  fix: intelligence vector store + statusline accuracy (ruvnet#1377)
  feat: ruvector WASM integration + real semantic embeddings (ruvnet#1374)
  fix: add missing attention class wrappers + CJS/ESM interop (from ruvnet#1338) (ruvnet#1370)
  fix: close semantic routing learning loop in hooks-tools (ruvnet#1311)
  fix(daemon): CPU-proportional maxCpuLoad replaces hardcoded 2.0 (rebased from ruvnet#1353) (ruvnet#1369)
  fix: rebase onto v3.5.23 + apply ESM/CJS interop with 'default' in mod check (ruvnet#1368)
  docs: Update branding from Claude Flow to Ruflo in init executor (ruvnet#1305)
  fix(agents): make base template frontmatter YAML-safe (ruvnet#1317)
  feat: v3.5.23 — merge 5 community PRs + ADR-065
  Fix PluginManager priority and version checks (ruvnet#1336)
  Fix benchmark environment lookup in ESM (ruvnet#1337)
  Fix hooks package type export paths (ruvnet#1341)
  fix(memory): add prepublishOnly guard to prevent missing dist exports (ruvnet#1314)
  fix(cli): prevent TS2307 for optional @claude-flow/codex import (ruvnet#1346)
  docs: update MCP tool counts to 259, add beginner guidance (ruvnet#1366)
  feat: implement all stub features + fix 8 bugs (v3.5.22)
  fix: 7 critical audit fixes, Windows settings, ADR-063 (v3.5.21)
  fix: doctor checks + AgentDB bridge errors (v3.5.19)
  fix: statusline generator always overwrites legacy copy from writeHelpers
deepakdgupta1 pushed a commit to deepakdgupta1/claude-flow that referenced this pull request Mar 21, 2026
Reviewed: parseable YAML frontmatter for agent template.
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.

init generates agent .md files with corrupted/unparseable frontmatter

3 participants