Skip to content

Add Posthog script for adding personal properties#318

Merged
olearycrew merged 2 commits into
mainfrom
bdo/add-posthog-script
Feb 18, 2026
Merged

Add Posthog script for adding personal properties#318
olearycrew merged 2 commits into
mainfrom
bdo/add-posthog-script

Conversation

@olearycrew

Copy link
Copy Markdown
Contributor

Adds a simple script to allow us to use the posthog integration to manually add personal properties to people (for example to apply feature flags to cohorts of users for the Kilo Claw launch)

Comment thread src/scripts/posthog/add-posthog-event.ts Outdated
@kilo-code-bot

kilo-code-bot Bot commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

The script is well-structured with good safety defaults (dry-run mode), proper input validation, clear error messages, and progress logging. The existing inline comment about optional chaining on line 31 appears to already be addressed in the current code (?.trim() ?? '').

Files Reviewed (1 file)
  • src/scripts/posthog/add-posthog-event.ts

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
@olearycrew olearycrew merged commit d9ca104 into main Feb 18, 2026
12 checks passed
@olearycrew olearycrew deleted the bdo/add-posthog-script branch February 18, 2026 14:49
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