You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
trailers: parseTrailersFromMessage accepts a whitespace-only trailer value #340
Found during constellation-loop review of #339 (differential harness, case #13 under --cleanup=verbatim).
packages/git/src/trailers.ts matches trailer values with \s*.+, so Governed-By: (trailing spaces only) counts as a governed commit in charter validate --ci. The commit-msg gate added in #339 rejects it, so local and CI disagree in the permissive direction on CI's side.
Fix: require a non-whitespace value (e.g. \s*\S.*) and add a parser test. Refs #299.
Activity
fix(git): reject whitespace-only trailer values (#345)