Repository navigation
fix(#980-bug10): jtag CLI accepts JSON-blob as first positional arg - #996
Merged
Merged
Conversation
Carl's #980 Bug 8: chat/send accepted messages + returned success even when zero AI personas exist in the system. Cascade from seed-failure: no personas seeded → agent/list returns [] → user types "hello", gets nothing back, no signal anywhere. Cheap probe (limit 1) for persona-type users; warn in result message when count is zero. Message is still stored (non-blocking on result), but the user gets a clear "stored but no listener" hint with a diagnostic command + re-seed pointer. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Carl's #980 Bug 10: `./jtag collab/chat/send '{"message":"hello"}'` failed with "Message must have either text content or media" — the JSON blob was treated as opaque positional, never unpacked into named params. Misleading: looked like a malformed message when it was actually a CLI param-shape mismatch. Now the parser detects when the first positional arg is a JSON object literal, parses it, and merges each top-level key into params. Explicit --key=value flags still win (override JSON-blob keys), so users can pass a JSON template and override one field at a time. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Carl's #980 Bug 10.
./jtag collab/chat/send '{"message":"hello"}'now unpacks the JSON into named params instead of getting a misleading "message must have content" validator error.🤖 Generated with Claude Code