Skip to content

fix(audit): move journal retention to host governance - #153

Merged
Yehonal merged 5 commits into
devfrom
pr/audit-governed-retention
Sep 5, 2026
Merged

Yehonal merged 5 commits into
devfrom
pr/audit-governed-retention

Conversation

@Yehonal

@Yehonal Yehonal commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Intent

Disable unsafe in-process mutation-journal deletion and make retention an explicit host-governed operation.

Changes

  • fail closed when legacy cleanup is invoked with retention configured
  • ignore legacy cleanup scheduling so old configuration cannot create recurring error timers
  • preserve journal history in the task example
  • document the host-retention contract and migration behavior
  • mark the audit package change as a major release

Validation

  • independent Luna xhigh review: READY after two blocking findings were fixed on this branch
  • focused audit unit tests: 7/7 passed
  • full JEST_WORKERS=50% npm run ci:checks: passed
  • git diff --check: passed
  • Syncwheel validation: no errors; pre-publication local-only warning only

Review checklist

  • confirm the major-release classification is appropriate
  • confirm configured cleanup fails closed without recurring timers
  • confirm host retention remains operationally explicit
  • confirm tests and docs match the behavior

@Yehonal
Yehonal merged commit dc6cea1 into dev Sep 5, 2026
8 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.

1 participant