hermes-agent/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
JoaoMarcos44 16b214e1a1 fix(config): make destructive replacements explicit
atomic_config_write() now refuses deletion-by-omission at any mapping depth:
atomic_roundtrip_yaml_save treats keys absent from the payload as deleted
recursively, while the old docstring described the call as a merge, so a
partial dict could silently erase unrelated config (#125107). A new
atomic_config_replace() names the deliberate full-state replacement contract
explicitly, and the owners that intentionally remove state (save_config,
provider reset/switch, credential mirror scrub, doctor key migration, profile
channel stripping, TUI full-state saves) route through it. Additive writers
stay on the guarded atomic_config_write.

Salvages #125152 (identical patch, cherry-picked; conflict in
_write_user_config resolved to pass atomic_config_replace through the new
telemetry wrapper) and carries the executable bit main expects on
scripts/check_config_yaml_writers.py.

Fixes #125107

Co-authored-by: JoaoMarcos44 <[email protected]>
2026-09-29 20:24:19 -04:00
..
build fix(build): keep scripts/build/inputs.py free of pm imports; accept musl targets in its grammar 2026-09-27 03:24:39 -07:00
bundles fix(desktop): hand the admitted checkout back after flavored icon staging 2026-09-29 12:29:47 -04:00
ci fix(ci): card-tool contract test reads the as-const list and runs on desktop edits (#128010) 2026-09-29 12:27:26 -04:00
desktop-update fix(desktop-update): keep console selection from stalling the Windows hand-off 2026-09-26 21:43:20 -05:00
observability fix: read source files with encoding=utf-8-sig 2026-08-29 21:23:00 -04:00
releases fix: release cut output waits for its CI run and leads with the next action 2026-09-29 15:12:04 -04:00
sandbox ci(install-e2e): run a path-filtered four-leg subset on pull requests 2026-09-27 04:15:09 -07:00
termux Merge branch 'ethie/release-attempt-refs' into ethie/pm-clean 2026-09-23 19:00:44 -04:00
tests fix(install): request the native bootstrap Python on Windows-on-ARM 2026-09-24 10:58:07 -04:00
update-test update-test: point the rehearsal straight at the fork 2026-09-24 15:40:18 -04:00
whatsapp-bridge fix(whatsapp): stamp every bridge console line in the local log shape 2026-09-28 18:21:25 +05:30
_activation.py fix(pm): re-activate from the shebang only when an input's mtime differs 2026-09-23 13:38:54 -04:00
_activation.sh feat(pm): isolate developer test environment from runtime extras 2026-09-23 18:13:38 -04:00
_hermes-python feat(pm): isolate developer test environment from runtime extras 2026-09-23 18:13:38 -04:00
aa_quality_sync.py fix(footguns): utf-8-sig on all reads flagged by check-windows-footguns 2026-09-04 04:15:10 -04:00
add_contributor.py refactor(release): move the author map out of release.py 2026-09-24 14:08:22 -04:00
audit-old-updater-imports.py test(compat): the old-updater surface resolves through the pm facade 2026-09-19 03:35:16 -04:00
audit_pr_attribution.py refactor(release): move the author map out of release.py 2026-09-24 14:08:22 -04:00
build_model_catalog.py feat(scripts): self-activating shebang on maintainer entry points 2026-09-23 14:09:14 -04:00
build_skills_index.py feat(scripts): self-activating shebang on maintainer entry points 2026-09-23 14:09:14 -04:00
bundle-store-msixbundle.mjs fix(desktop): isolate canary and commit package identities 2026-09-11 19:59:38 -04:00
capture-cage-terminal.sh feat(devshell): add terminal UI capture tools (#69629) 2026-07-22 17:28:21 -04:00
check-case-collisions.py ci: block tracked paths that collide case-insensitively 2026-09-01 15:37:57 -04:00
check-windows-footguns.py fix(encoding): read kernel pseudo-files as plain utf-8 2026-09-24 11:50:30 -04:00
check_bash_shebangs.py fix activation of devenv, use /usr/bin/env bash everywhere 2026-09-11 11:17:18 -04:00
check_config_yaml_writers.py fix(config): make destructive replacements explicit 2026-09-29 20:24:19 -04:00
check_no_tmp_literals.py fix: read text files with encoding=utf-8-sig in modules merged from main 2026-09-19 22:57:45 -04:00
check_profile_scope_patterns.py fix: read text files with encoding=utf-8-sig in code merged from main 2026-09-19 01:38:09 -04:00
check_subprocess_stdin.py Merge remote-tracking branch 'upstream/main' into ethie/pm-clean 2026-09-04 13:03:39 -04:00
contributor_audit.py refactor(release): move the author map out of release.py 2026-09-24 14:08:22 -04:00
desktop-update.ps1 fix(desktop): fail missing Windows updater handoffs 2026-09-07 05:55:26 -07:00
dev-minimal-sandbox.sh refactor: remove duplicate sandbox and process plumbing 2026-09-13 12:41:27 -04:00
dev-sandbox.sh refactor: remove duplicate sandbox and process plumbing 2026-09-13 12:41:27 -04:00
discord-voice-doctor.py fix(pm): isolate bootstrap dependencies and unify YAML on ruamel 2026-09-11 12:23:51 -04:00
docker_config_migrate.py test(docker): pin the non-mapping config.yaml boot path 2026-09-24 15:34:19 +05:30
docker_rebootstrap_nous_session.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-14 15:38:34 -04:00
dump_desktop_slash_registry.py feat(scripts): self-activating shebang on maintainer entry points 2026-09-23 14:09:14 -04:00
e2e_shared_metrics_staging.py fix(pm): isolate bootstrap dependencies and unify YAML on ruamel 2026-09-11 12:23:51 -04:00
gen-bootstrap-pins.py fix(installer): restore executable bits on install.sh and gen-bootstrap-pins.py 2026-09-27 03:24:39 -07:00
gen_gateway_contracts.py feat(scripts): self-activating shebang on maintainer entry points 2026-09-23 14:09:14 -04:00
generate-icons.mjs fix(desktop): render icons with core runtime dependencies 2026-09-24 01:30:15 -04:00
generate_conformance_vectors.py chore: mark the deliberate /tmp literals and shrink the lint baseline to one code block 2026-09-19 10:44:26 -07:00
generate_icons.py fix(icons): give the dev Dock its own mac-grid png 2026-09-26 18:10:54 -05:00
hermes-gateway refactor(pm): remove legacy dependency and launch managers 2026-09-12 14:57:38 -04:00
install.cmd fix(docs): update all install instructions everywhere 2026-06-04 21:07:45 -04:00
install.ps1 refactor(update): tighten the partial-clone heal after review 2026-09-29 15:24:15 +05:30
install.sh refactor(update): tighten the partial-clone heal after review 2026-09-29 15:24:15 +05:30
iso-certify.py fix(pm): isolate bootstrap dependencies and unify YAML on ruamel 2026-09-11 12:23:51 -04:00
keystroke_diagnostic.py docs: add Windows-Specific Quirks section to hermes-agent skill + keystroke diagnostic 2026-05-08 14:27:40 -07:00
kill_modal.sh fix activation of devenv, use /usr/bin/env bash everywhere 2026-09-11 11:17:18 -04:00
launch_capture_probe.sh refactor: resolve runtime temp paths via tempfile/TMPDIR instead of literal /tmp 2026-09-19 10:44:26 -07:00
lint_diff.py fix: read source files with encoding=utf-8-sig 2026-08-29 21:23:00 -04:00
micro_compaction_report.py fix: read source files with encoding=utf-8-sig 2026-08-29 21:23:00 -04:00
msix-shared.mjs Merge branch 'ethie/release-machinery' into ethie/pm-clean 2026-09-22 11:05:14 -04:00
probe_active_session_exclusivity.py fix(footguns): utf-8-sig on all reads flagged by check-windows-footguns 2026-09-04 04:15:10 -04:00
profile-tui.py feat(scripts): self-activating shebang on maintainer entry points 2026-09-23 14:09:14 -04:00
release-content-types.json feat(release): publish downloads pages to the release bucket 2026-09-10 11:15:36 -04:00
release.py refactor(release): move the author map out of release.py 2026-09-24 14:08:22 -04:00
render-builds-table.py Merge branch 'ethie/release-attempt-refs' into ethie/pm-clean 2026-09-23 19:00:44 -04:00
run_tests.sh test(e2e/windows): real C:\Users profiles, serialized gateway phases, Git-for-Windows machines 2026-09-27 00:41:41 -07:00
run_tests_parallel.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-22 00:28:30 -04:00
sample_and_compress.py fix: read source files with encoding=utf-8-sig 2026-08-29 21:23:00 -04:00
smoke-payload.sh fix(bundle): payload smoke runs the harness with telemetry off, like runtime 2026-09-27 23:53:40 -07:00
smoke_nemo_relay_shared_metrics.py fix(telemetry): fewer rows per busy day and a smaller local store 2026-09-28 12:43:03 -07:00
stage-msixbundle.mjs feat(release): derive canaries from stable build identity 2026-09-21 22:02:46 -04:00
validate_plugin_catalog.py fix(plugins): make catalog known_issues informational, not a fail-closed gate 2026-09-27 17:06:55 -07:00
verify-bootstrap-version-stamp.py fix(ci): the install.sh protocol lane verifies without a source stamp 2026-09-23 16:05:55 -04:00
windows-build-deps.ps1 fix(install): ask for UAC approval to install ARM64 build tools 2026-09-24 18:55:21 -04:00
windows_e2e_harness.ps1 fix(install-e2e): review follow-ups — harness needle, per-matrix cap wording, typo 2026-09-03 10:15:53 +02:00
write_install_stamp.py fix(docker): stamp a commit-only identity when no release tag is reachable 2026-09-23 15:44:18 -04:00