Skip to content

Reword or clear an assembly variant description note in one command - #133

Open
wdunn001 wants to merge 128 commits into
tangency-labs:mainfrom
wdunn001:feat-variant-note
Open

wdunn001 wants to merge 128 commits into
tangency-labs:mainfrom
wdunn001:feat-variant-note

Conversation

@wdunn001

Copy link
Copy Markdown

Stacked on #132 (the only new commit is 8e49d98).

What this adds

variant.set_note, one engine command that replaces the description note of a named assembly variant, or clears it when the note is null or omitted. Notes could previously only be attached at variant creation, so a stale description was permanent.

Details

  • The note stays bounded at 256 bytes; an oversized note and an unknown variant name are refused before any change.
  • An empty string clears like null, keeping the stored field absent rather than blank.
  • One undo step per reword; undo restores the previous note exactly.
  • Capability description updated; README counts move to 198 commands and 228 tools.

Verification

cargo xtask ci green: fmt, clippy -D warnings all targets, full workspace tests, wasm32 check. New engine test covers replace, null/empty clear, undo, oversized refusal and unknown-name refusal. Measured tools/list returns 228 tools including variant.set_note.

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