Skip to content

Add per-NPC event history and injection - #64

Merged
RANGROO merged 1 commit into
unstablefrom
codex/npc-history-event-injection
Aug 11, 2026
Merged

Add per-NPC event history and injection#64
RANGROO merged 1 commit into
unstablefrom
codex/npc-history-event-injection

Conversation

@RANGROO

@RANGROO RANGROO commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a final History tab to the DIALECTIC NPC editor for per-NPC narrative events
  • support exact-NPC history lookup, saved Event Log visibility filters, optional additional recipients, off-scene inputtext injection, and guarded deletion
  • keep profile rollback history distinct as Profile Versions
  • use Fallout timestamps and DIALECTIC's Adventure Log event allow-list

Port of the applicable behavior from abeiro/HerikaServer#689.

Validation

  • php -l lib/eventlog_helper.php
  • php -l ui/api/dialectic_npc_manager.php
  • php -l ui/core/npc_master.php
  • php -l unittests/tests/HistoricContextTest.php
  • node --check ui/js/npc_event_history.js
  • php vendor/bin/phpunit --filter HistoricContextTest tests/HistoricContextTest.php (9 tests, 26 assertions)
  • git diff --check

Notes

  • The focused suite exits successfully but emits the repository's existing managed-settings seed warnings.
  • No database migration or new event type is required; manual entries use the existing inputtext event type.
  • Not deployed locally as part of this PR-only request.

@RANGROO
RANGROO marked this pull request as ready for review August 11, 2026 00:52
@RANGROO
RANGROO merged commit cc2205e into unstable Aug 11, 2026
@RANGROO
RANGROO deleted the codex/npc-history-event-injection branch August 11, 2026 00:52
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