Skip to content

feat: message digests, unverified ceiling removal (0.0.49) - #48

Merged
okisdev merged 5 commits into
mainfrom
feat/message-digests-ceiling-removal
Aug 2, 2026
Merged

feat: message digests, unverified ceiling removal (0.0.49)#48
okisdev merged 5 commits into
mainfrom
feat/message-digests-ceiling-removal

Conversation

@okisdev

@okisdev okisdev commented Aug 2, 2026

Copy link
Copy Markdown
Owner

summary

  • every user visible fusion message (guard denies and advisories, worker lifecycle stop gate and dispatch messages, fleet posture reminders, breaker advisories, rules sync notices, the compact echo, codex monitor lines, the stats raw args error) now ends with a stable numeric digest like [fusion:1268], so a message can be quoted, searched, and counted instead of pasted as prose
  • the digest registry lives in plugins/fusion/scripts/lib/user-messages.mjs: 43 message kinds, each with a 4 digit code derived from the sha256 of its slug, so codes survive rewording; guard audit events stamp their messageCode, and /fusion:stats --messages lists the registry while /fusion:stats --message <n> explains one code and shows its recorded occurrences, both as strict direct arguments
  • the judgment posture unverified ceiling is removed entirely: a three day audit showed 25 ceiling denies across six sessions that were all verifying constantly (1126 counted writes, 18 credited resets), because the 0.0.48 sensor's output evidence only recognizes node:test fail 0 summaries while the affected repos run vitest, and the exit status channel requires an unpiped runner last segment; judgment posture now counts and advises and never denies a main loop write, strict posture keeps every floor verbatim
  • the stats coercion ledger drops the unverifiedCeilingStops counter and its render line; historical unverified-ceiling audit records keep parsing as ordinary denies

breaking changes

  • FUSION_INLINE_UNVERIFIED_CEILING is removed; judgment posture no longer denies any main loop write at any count
  • every emitted message text gains a trailing [fusion:NNNN] tag; anything parsing exact message strings must account for the suffix
  • /fusion:stats no longer renders Unverified ceiling stops

test plan

already verified

  • npm test -> 1091 tests, 1090 pass, 0 fail, 1 skip
  • claude plugin validate . --strict -> validation passed
  • targeted suites for the three touched surfaces (inline-delegation-guard, fusion-worker-lifecycle plus session scripts, fusion-stats) green before the merged tree full run

reviewer should verify

  • node plugins/fusion/scripts/fusion-stats.mjs --messages lists 43 entries sorted by code, and --message <one listed code> explains it
  • in a session on this build, any guard advisory or stop gate message ends with a bracketed digest

notes

  • the vitest blind verification sensor is diagnosed but deliberately not repaired here (the directive was removal, not recalibration); advisory counts still overstate in vitest repos and the sensor remains an open follow-up

@okisdev
okisdev merged commit 7b9a0cd into main Aug 2, 2026
10 of 11 checks passed
@okisdev
okisdev deleted the feat/message-digests-ceiling-removal branch August 2, 2026 04:48
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