microsoft / microsoft/Huabu

Memory analyzer renders blank RecentAction labels

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
146
Forks
20
Avg merge
2d 6h
Merged PRs (30d)
43

Description

Problem

memory/analyzer.ts formats recent operations using payload.kind and payload.description, but persisted Canvas events use typed RecentAction values in payload.action. Valid events therefore render as blank - event: entries. Phase 3 intentionally preserved this existing output while changing the storage source.

Acceptance criteria

  • Format the typed payload.action value.
  • Include bounded useful details without exposing unbounded payloads.
  • Update analyzer regression tests or snapshots.
  • Preserve the prompt size cap and event order.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with memory/analyzer.ts and inspect how persisted Canvas events are formatted, then locate the analyzer regression tests or snapshots. Update the output to use the typed payload.action value with bounded details, while preserving the prompt size cap and event order; the regression tests or snapshots should confirm the corrected labels.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.