Skip to content

fix: redact all tool results and persist compacted messages - #13

Merged
PRINCE2-AI merged 1 commit into
mainfrom
fix/batch2-p1
Oct 26, 2026
Merged

PRINCE2-AI merged 1 commit into
mainfrom
fix/batch2-p1

Conversation

@PRINCE2-AI

Copy link
Copy Markdown
Owner

Summary

  • Redact secrets in every tool result before it reaches the session transcript.
  • Persist compacted message history so resumed sessions reload the compacted transcript instead of the full one.
  • Add regression coverage for the redaction and resume paths.

Verification

  • python -m pytest -q -> 105 passed, 37 subtests passed.
  • CI runs the same offline suite on this PR.

Tool outputs from every skill, memory, and extension tool now pass through
the central redactor before entering history. Compaction persists each
compacted message so a resumed session no longer loses summary state.
Copilot AI balanced review requested due to automatic review settings October 26, 2026 06:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@PRINCE2-AI
PRINCE2-AI merged commit ab081f5 into main Oct 26, 2026
6 checks passed
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.

2 participants