Skip to content

fix: preserve CLI review and explanation context - #312

Merged
trevormil merged 1 commit into
mainfrom
fix/cli-standard-review
Sep 13, 2026
Merged

fix: preserve CLI review and explanation context#312
trevormil merged 1 commit into
mainfrom
fix/cli-standard-review

Conversation

@trevormil

Copy link
Copy Markdown
Collaborator

Valid V2 invoice creation could fail standalone bb check because normalization lost the explicit creation context and treated frozen terms as an update. Preserve that context using the existing normalization helper while retaining rejection of immutable updates, including malformed collection IDs.

bb explain now accepts successful saved CLI output, rejects failed/malformed envelopes, and uses creation or update context consistently for each collection message. bb --version reads installed package metadata. Prepares patch release 0.45.5 without dependency changes.

Validation: 189 suites / 3,730 unit tests and 28 built-CLI regressions passed, including all nine payment presets through build → full check → explain. ESM/CJS builds, imports, cycle checks, source/ESM/CJS version reporting, and the related-repo script test passed. Independent review verified input preservation, malformed-envelope rejection, and immutable-update protection. All checks were unsigned; no signing or broadcasting performed.

@trevormil
trevormil merged commit 2e88b3c into main Sep 13, 2026
3 checks passed
@trevormil
trevormil deleted the fix/cli-standard-review branch September 13, 2026 00:13
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