Skip to content

Preserve multiple summary entries - #22

Open
runway28R wants to merge 1 commit into
AgentPostmortem:mainfrom
runway28R:fix-multiple-summaries
Open

runway28R wants to merge 1 commit into
AgentPostmortem:mainfrom
runway28R:fix-multiple-summaries

Conversation

@runway28R

Copy link
Copy Markdown

What & why

Preserve multiple summary entries instead of keeping only the first one.

The previous implementation used setdefault(), which caused later summary entries to be ignored.

Closes #15.

Changes

  • Preserve all summary entries by appending subsequent summaries
  • Keep the existing meta["summary"] value as a string
  • Add a regression test with two summary entries

Checklist

  • Focused change with a clear description
  • Ran format / lint / tests (see README)
  • Updated docs or CHANGELOG if relevant
  • Linked any related issue (e.g. Closes #123)

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.

Only the first summary line is kept, later ones dropped

1 participant