hermes-agent/scripts
Victor Kyriazakos 3ead2bdd0d feat(prompt): configurable per-platform system-prompt hint overrides
Add platform_hints config so an admin can append to or replace Hermes'
built-in platform hint for a single messaging platform (WhatsApp, Slack,
Telegram, ...) without affecting other platforms. Enables enterprise
managed profiles to steer platform-aware skills (e.g. invoke a custom
table-formatting skill on WhatsApp where Markdown tables don't render)
while leaving Telegram/Slack/CLI behavior unchanged.

- hermes_cli/config.py: document platform_hints in DEFAULT_CONFIG
- agent/agent_init.py: load platform_hints -> agent._platform_hint_overrides
- agent/system_prompt.py: _resolve_platform_hint() applies append/replace
  (replace wins; bare string = append shorthand); defensive on bad config
- tests: 16 cases covering append/replace/shorthand/isolation/malformed

Override only affects the platform-hint segment of the system prompt;
SOUL/context/memory tiers and general instructions are unchanged.
2026-06-18 14:28:01 -07:00
..
lib
…
tests
…
whatsapp-bridge
…
LIVETEST_README.md
…
analyze_livetest.py
…
benchmark_browser_eval.py
…
build_model_catalog.py
…
build_skills_index.py
…
check-windows-footguns.py
…
check_subprocess_stdin.py
…
contributor_audit.py
…
discord-voice-doctor.py
…
docker_config_migrate.py
…
hermes-gateway
…
install.cmd
…
install.ps1 Merge pull request #48529 from kshitijk4poor/salvage-48372-eap 2026-06-18 22:17:53 +05:30
install.sh fix(update): scope install-method stamp to the code tree, not $HERMES_HOME (#48188) 2026-06-18 14:14:41 +10:00
install_psutil_android.py
…
keystroke_diagnostic.py
…
kill_modal.sh
…
lint_diff.py
…
profile-tui.py
…
release.py feat(prompt): configurable per-platform system-prompt hint overrides 2026-06-18 14:28:01 -07:00
run_tests.sh
…
run_tests_parallel.py
…
sample_and_compress.py
…
setup_open_webui.sh
…
tool_search_livetest.py
…