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 }}
Repository navigation
CLI output drops or crashes on bracketed values; duplicate deprecation line; insert_after_section blank line #1720
About 59 console.print(f"[style]...{value}...[/style]") calls in src/basic_memory/cli put user values (project names, paths, exception text) directly into Rich markup. Bracketed text is dropped (proj [x] prints as proj ), a value with a closing tag such as a[/b]c raises MarkupError and crashes the command, and [bold] restyles the output. Escape the values with rich.markup.escape, or print them with markup=False, as feat(cli): deprecate cloud bisync and mirror sync; diagnostics env overrides #1711 did for the mirror notices.
The deprecated bm cloud sync, bisync and bisync-reset print Typer's own DeprecationWarning: The command 'sync' is deprecated. line above our notice, so the warning appears twice. Keep the (deprecated) mark in help and drop the duplicate runtime line.
edit_noteinsert_after_section leaves a blank line between the inserted content and the section's existing first line, which splits a list in two.
Type: bug (three small defects found in the v0.24.0 acceptance test). I applied the bug label.
Component: CLI (items 1 and 2) and MCP tools (item 3, edit_note). I did not apply the cloud label. The bm cloud sync, bisync and bisync-reset commands in item 2 are in the CLI, but the bug is Typer's duplicate warning, not Cloud behavior.
Priority:
Item 1 is medium. Bracketed values get silently dropped, and a value like a[/b]c raises MarkupError and crashes the command.
Items 2 and 3 are low. Item 2 is a duplicate warning line. Item 3 is a stray blank line that splits a list.
Found during the v0.24.0 acceptance test.
console.print(f"[style]...{value}...[/style]")calls insrc/basic_memory/cliput user values (project names, paths, exception text) directly into Rich markup. Bracketed text is dropped (proj [x]prints asproj), a value with a closing tag such asa[/b]craisesMarkupErrorand crashes the command, and[bold]restyles the output. Escape the values withrich.markup.escape, or print them withmarkup=False, as feat(cli): deprecate cloud bisync and mirror sync; diagnostics env overrides #1711 did for the mirror notices.bm cloud sync,bisyncandbisync-resetprint Typer's ownDeprecationWarning: The command 'sync' is deprecated.line above our notice, so the warning appears twice. Keep the(deprecated)mark in help and drop the duplicate runtime line.edit_noteinsert_after_sectionleaves a blank line between the inserted content and the section's existing first line, which splits a list in two.