Skip to content

fix(distribution): pin non-string YAML keys and merge-key diagnostic - #350

Merged
kyle-sexton merged 1 commit into
mainfrom
cursor/sync-manifest-nonstring-keys-f19e
Aug 11, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
cursor/sync-manifest-nonstring-keys-f19e

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Summary

  • Add merge-key detection so !!merge keys emit merge keys are not supported instead of the generic keys must be strings.
  • Pin the five remaining non-string key shapes in distribution/sync-manifest.test.sh: float, null, sequence complex key, mapping complex key, and merge key (integer/boolean were already pinned in fix(distribution): gate record keys so a control character cannot forge a row #332).
  • Remove the vacuous bad array subscript assertion from the bare-newline fixture.

Test plan

  • bash harness/shell/run-tests.sh distribution/sync-manifest.test.sh (key-shape assertions)
  • CI green on merge

Related

Closes #333

Open in Web Open in Cursor 

@kyle-sexton
kyle-sexton marked this pull request as ready for review August 11, 2026 23:33
@cursor

cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Add contract tests for float, null, sequence, mapping, and merge key shapes
in distribution/sync-manifest.test.sh. Emit a dedicated merge-key diagnostic
(merge keys are not supported) before the generic non-string key check.

Also remove the vacuous bad array subscript assertion from the bare-newline
fixture — that case never produced a subscript error.

Closes #333

Co-authored-by: Kyle Sexton <[email protected]>
@cursor
cursor Bot force-pushed the cursor/sync-manifest-nonstring-keys-f19e branch from 460131a to 84eec93 Compare August 11, 2026 23:37
@kyle-sexton
kyle-sexton merged commit f4f20c0 into main Aug 11, 2026
1 check passed
@kyle-sexton
kyle-sexton deleted the cursor/sync-manifest-nonstring-keys-f19e branch August 11, 2026 23:41
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.

sync-manifest.sh: pin the remaining non-string key shapes, and decide whether merge keys deserve their own diagnostic

2 participants