Skip to content

Conversation

@b1ackmartian
Copy link

Summary

  • Restores lib/observability.ts to pai-hook-system pack
  • File was accidentally deleted in commit 0faf5e4 during kai→pai rename

Problem

initialize-session.ts imports from ./lib/observability but the file doesn't exist:

error: Cannot find module './lib/observability'

This breaks the SessionStart hooks for anyone installing pai-hook-system.

Fix

Restore the original file to Packs/pai-hook-system/src/lib/observability.ts

The file content is recovered from commit 0faf5e4 where it was removed.

Closes #353

This file was accidentally removed in commit 0faf5e4 during the
kai-* to pai-* rename refactor.

Closes danielmiessler#353

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@b1ackmartian
Copy link
Author

Closing this PR as it's superseded by PR #411 (eccentricnode's 'Restore deleted memory hooks and implement three-tier MEMORY architecture' refactor), which includes observability.ts as part of the larger implementation. Thank you for the contribution!

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.

observability.ts library file is referenced but missing from the repo

1 participant