Skip to content

fix(brief): remove lone apostrophe that broke fm-brief.sh parse#140

Open
thatguyintech wants to merge 1 commit into
kunchenguid:mainfrom
thatguyintech:fm/fix-brief-scaffold-h4
Open

fix(brief): remove lone apostrophe that broke fm-brief.sh parse#140
thatguyintech wants to merge 1 commit into
kunchenguid:mainfrom
thatguyintech:fm/fix-brief-scaffold-h4

Conversation

@thatguyintech

Copy link
Copy Markdown

Summary

bin/fm-brief.sh failed to parse, aborting every brief-scaffold path (ship no-mistakes / direct-PR / local-only, --scout, and --secondmate).

Root cause

Line 211 had a lone apostrophe — Follow no-mistakes' own guidance — inside the no-mistakes DOD=$(cat <<EOF ... EOF) command substitution. Bash's command-substitution scanner respects quote characters even inside the heredoc body, so it treated that ' as the start of an unterminated single-quoted string and the whole file failed to parse. Regression from #102.

Fix

Reword to Follow the no-mistakes guidance for the mechanics:, removing the lone apostrophe while keeping the contract's meaning intact.

Verification

  • bash -n bin/fm-brief.sh → exit 0; all bin/*.sh parse.
  • Scaffolder verified end to end for every path (ship no-mistakes / direct-PR / local-only, --scout, --secondmate) with throwaway ids; generated no-mistakes Definition-of-done reads correctly.
  • Audited the other two DOD=$(cat <<EOF ... EOF) blocks and the plain heredocs; no other quote could regress the same way.

A lone apostrophe in 'no-mistakes' own guidance' inside the no-mistakes
DOD=$(cat <<EOF ... EOF) command substitution made bash treat it as an
unterminated single quote, failing the whole file to parse and aborting
every scaffold path. Reword to drop the apostrophe.
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.

1 participant