Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.
TypeScript agentic-aiai-agentsai-codinganthropicautomationclaudeclaude-codecodexcoding-agentsdevops-automationdevtoolsgithub-actionsgrokllmloop-engineeringmcpprompt-engineering
Goal
Add regression tests for CRLF frontmatter parsing in loop-sync.
Pain source: Community PR #476 fixed Windows line endings (\r\n) in extractFrontmatter. Without tests, a future change can re-break Windows contributors.
Files
tools/loop-sync/test/sync.test.mjs(extend)- Optional fixture files under
tools/loop-sync/test/fixtures/if cleaner
Acceptance criteria
- Test: LF frontmatter still parses (existing behaviour)
- Test: CRLF frontmatter (
---\r\nkey: value\r\n---\r\nbody) parses keys without trailing\r - Test:
---hello(no newline after opening fence) is rejected / not treated as frontmatter -
cd tools/loop-sync && npm testpasses
Estimated time: ~30–40 minutes · label: tooling
Comment "I'll take this" to get assigned.