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
fix(goal-audit): commit empty-fixture dir; guard append-run-log JSON; document --fix alias (#472)
pxmps7d3568bd5812
diff --git a/scripts/append-run-log.mjs b/scripts/append-run-log.mjsindex 0e1fdbf..d24423f 100644--- a/scripts/append-run-log.mjs+++ b/scripts/append-run-log.mjs@@ -16,7 +16,13 @@ if (!entryJson) {process.exit(1);}-const entry = JSON.parse(entryJson);+let entry;+try {+ entry = JSON.parse(entryJson);+} catch {+ console.error('Usage: second argument must be a valid JSON object');+ process.exit(1);+}const content = await readFile(logPath, 'utf8');const markerAt = content.indexOf(MARKER);if (markerAt === -1) {diff --git a/tools/goal-audit/src/cli.ts b/tools/goal-audit/src/cli.tsindex 23a02a5..2104aa0 100644--- a/tools/goal-audit/src/cli.ts+++ b/tools/goal-audit/src/cli.ts@@ -19,6 +19,7 @@ Options:--json JSON output (for CI / scripting)--md Markdown report--suggest Show copy-from-template commands+ --fix Alias for --suggest (prints commands, does not modify files)--help, -h This helpScores goal readiness for Grok Build /goal:diff --git a/tools/goal-audit/test/fixtures/fixtures-empty/.gitkeep b/tools/goal-audit/test/fixtures/fixtures-empty/.gitkeepnew file mode 100644index 0000000..e69de29