Skip to content

Add interactive memory manager TUI (memoryman=true)#148

Merged
nmaguiar merged 1 commit into
wikifrom
codex/task-title
Apr 19, 2026
Merged

Add interactive memory manager TUI (memoryman=true)#148
nmaguiar merged 1 commit into
wikifrom
codex/task-title

Conversation

@nmaguiar

@nmaguiar nmaguiar commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

Motivation

  • Provide an interactive console (TUI) for operators to inspect and maintain Mini-A working memory (session + global) similar to the existing modelman and mcptest flows.
  • Make it easy to list, inspect, search, selectively delete, and prune old memory entries persisted via configured memorych/memorysessionch channels.

Description

  • Add mini-a-memoryman.js, a menu-driven TUI that initializes memory channels and exposes: summary dashboard, list/filter, full entry inspection, selective delete by section/id, age-based pruning (relative like 30d or absolute ISO/epoch), keyword search, maintenance actions (compact, stale sweep, clear), and snapshot export.
  • Wire memoryman=true into the console startup routing so the TUI can be launched like modelman=true/mcptest=true in mini-a-con.js.
  • Surface memory-related CLI parameters and examples in console parameter definitions and help text (memorych, memorysessionch, memoryuser, memoryscope, memorysessionid) and add a usage example for launching the manager.
  • Register memoryman in mini-a.js known-argument list to prevent unknown-arg warnings.
  • Document the feature in USAGE.md, README.md, and CHEATSHEET.md with examples and a short cheatsheet for the TUI.
  • Small helper utilities included inside mini-a-memoryman.js to parse relative/absolute date inputs and format ages for pruning confirmations.

Testing

  • Ran git diff --check to verify there are no whitespace/patch issues (succeeded).
  • Verified presence of new/updated references with rg -n "memoryman" across mini-a-con.js, mini-a.js, README.md, USAGE.md, and CHEATSHEET.md (succeeded).
  • Performed a local commit of the changes (Add interactive memory manager TUI) to record the work (succeeded).
  • Note: interactive runtime checks (launching the TUI and exercising OpenAF $ch() channels via ojob/openaf) could not be run in this environment because ojob/openaf were not available; manual/CI runtime validation is recommended when running on a system with OpenAF tools available.

@nmaguiar nmaguiar marked this pull request as ready for review April 19, 2026 18:06
@nmaguiar nmaguiar merged commit e0e7a4c into wiki Apr 19, 2026
@nmaguiar nmaguiar deleted the codex/task-title branch April 19, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant