Halldrix
60f9d2abb1
fix(debug-share): capture update.log and desktop-update-handoff.log
...
When a Desktop-driven update fails at the Electron rebuild (updater
exit 6, 'Code and dependencies updated, but the Desktop app REBUILD
FAILED'), the only artifacts holding the root cause are
~/.hermes/logs/update.log (full stdout/stderr mirror of hermes update,
written by _UpdateOutputStream) and ~/.hermes/logs/desktop-update-handoff.log
(hand-off stages including the 'desktop --force-build --build-only' retry).
Both the updater's failure messages and the Desktop error box direct
users to 'hermes debug share', but the share captured neither file:
LOG_FILES and the debug.py capture chain covered only the classic
five logs, so update-failure issues (e.g. #100874 ) arrived with the
diagnostics that matter most missing.
Additionally, 'hermes logs list' (a directory scan) already listed
both files while LOG_FILES had no readable key for them, so
'hermes logs update' failed with 'Unknown log' against a file the
CLI itself displays.
Wire both files through the whole chain:
- hermes_cli/logs.py: add 'update' and 'handoff' LOG_FILES keys
(fixes list-vs-read inconsistency; tail/follow/filters come free).
- hermes_cli/debug.py: _capture_default_log_snapshots,
collect_debug_report (512 KB snapshot cap and the 100-line tail
budget both apply; a hand-built snapshot dict without the new keys
degrades to the old five-section report instead of KeyError),
collect_share_bundle full logs, the paste-upload label list in
build_debug_share, and the --local print list. The --nous bundle
and privacy notice inherit the new keys; force-redaction applies
via _capture_log_snapshot as for every other log.
- hermes_cli/subcommands/logs.py + website docs: name the new logs.
Tests (tests/hermes_cli/test_debug_share_update_logs.py): 12 new
tests — snapshot keys present with real content, missing files
degrade to the honest note without raising, report sections appear,
bundle keys omitted when absent, upload/--local label lists include
the new logs, LOG_FILES keys resolve, tail_log end-to-end. Sabotage
pass: 10 of 12 fail without the fix.
2026-09-29 21:48:25 -05:00
..
__init__.py
refactor(hermes_cli/subcommands): compact module/function docstrings and drop restating section comments (WHY comments kept)
2026-09-02 20:52:06 -07:00
_shared.py
refactor(hermes_cli/subcommands): hoist add_yes_flag/add_json_flag into _shared, dedupe gateway --system and peer remote-subparser builders, compact dashboard docs
2026-09-02 20:45:41 -07:00
acp.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
approvals.py
refactor: resolve runtime temp paths via tempfile/TMPDIR instead of literal /tmp
2026-09-19 10:44:26 -07:00
auth.py
feat(auth): opt-in browser authorization-code + PKCE login for openai-codex
2026-09-19 12:11:58 -07:00
backup.py
fix(backup): prune old hermes-backup-*.zip after each run, keep last 3
2026-09-09 03:33:14 -07:00
browser.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
bundles.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
checkpoints.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
claw.py
refactor(hermes_cli/subcommands): hoist add_yes_flag/add_json_flag into _shared, dedupe gateway --system and peer remote-subparser builders, compact dashboard docs
2026-09-02 20:45:41 -07:00
codex_runtime.py
feat(cli): add hermes codex-runtime migrate [--dry-run] [--json]
2026-09-18 23:38:13 -07:00
completion.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
computer_use.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-23 07:36:31 -04:00
computer_use_screen.py
fix(bot-screen): computer-use screen status redacts the lease holder's viewer id like every RPC surface
2026-09-18 19:20:01 -07:00
config.py
fix(config): refuse an unknown path under a known section before writing
2026-09-15 18:28:49 -07:00
console.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
cron.py
feat(cron): allow Python scripts to use an external interpreter
2026-09-28 02:32:05 +05:30
curator.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
dashboard.py
refactor(hermes_cli/subcommands): hoist add_yes_flag/add_json_flag into _shared, dedupe gateway --system and peer remote-subparser builders, compact dashboard docs
2026-09-02 20:45:41 -07:00
debug.py
fix(cli): stop dpaste.com fallback from leaking debug logs for 7 days
2026-09-09 10:54:34 -07:00
doctor.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
dump.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
egress.py
refactor(hermes_cli/subcommands): compact module/function docstrings and drop restating section comments (WHY comments kept)
2026-09-02 20:52:06 -07:00
fallback.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
gateway.py
fix(install): don't ask the gateway install questions twice
2026-09-24 23:49:18 -04:00
gui.py
fix(desktop): guarantee an exit path for a fullscreened preview pane
2026-09-29 18:48:37 -05:00
hooks.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
import_agent.py
Inspired by ChatGPT Work: keep imported agent setups in sync (hermes import-agent --sync)
2026-09-15 03:58:44 -07:00
import_cmd.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
insights.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
journey.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
login.py
review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
2026-09-03 09:44:26 -07:00
logout.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
logs.py
fix(debug-share): capture update.log and desktop-update-handoff.log
2026-09-29 21:48:25 -05:00
mcp.py
fix(mcp): retire the n8n bridge catalog entry ( #116048 )
2026-09-19 17:51:30 +05:30
memory.py
chore(memory): remove the bundled hindsight provider (moved to the plugin catalog)
2026-09-23 01:16:41 -07:00
migrate.py
fix(relay): honor ambient plugin configuration
2026-09-21 14:02:05 -07:00
moa.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
model.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
monitoring.py
refactor(hermes_cli/subcommands): compact module/function docstrings and drop restating section comments (WHY comments kept)
2026-09-02 20:52:06 -07:00
pairing.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
pause.py
refactor(hermes_cli/subcommands): compact module/function docstrings and drop restating section comments (WHY comments kept)
2026-09-02 20:52:06 -07:00
peer.py
fix(api-server): a peer DM into a Bot Chat open in Desktop is answered by that chat, not a second writer
2026-09-20 11:50:25 -07:00
pets.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
plugins.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
profile.py
fix(profiles): purge a deleted profile's session/routing identity on delete
2026-09-16 14:21:14 -07:00
prompt_size.py
refactor(hermes_cli/subcommands): hoist add_yes_flag/add_json_flag into _shared, dedupe gateway --system and peer remote-subparser builders, compact dashboard docs
2026-09-02 20:45:41 -07:00
secrets.py
review-fix(comments): restore lost #NNNN rationale comments across non-test source (mechanical sweep, condensed, code unchanged)
2026-09-03 09:44:26 -07:00
security.py
refactor(hermes_cli/subcommands): hoist add_yes_flag/add_json_flag into _shared, dedupe gateway --system and peer remote-subparser builders, compact dashboard docs
2026-09-02 20:45:41 -07:00
sessions.py
fix(sessions): make prompt repair atomic
2026-09-27 00:40:21 +05:30
setup.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
skills.py
refactor(hermes_cli): compact argparse builders (sessions/cron/gateway/skills) — one-line store_true flags via _flag; --help byte-identical
2026-09-03 00:04:42 -07:00
skin.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
slack.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
status.py
refactor(hermes_cli/subcommands): pack argparse builder calls onto <=100-col lines (AST-verified)
2026-09-02 19:57:24 -07:00
sync.py
refactor(hermes_cli/subcommands): compact module/function docstrings and drop restating section comments (WHY comments kept)
2026-09-02 20:52:06 -07:00
tools.py
fix(setup): Codex image post-setup names the auth command instead of starting a device login without a terminal
2026-09-19 10:05:26 -07:00
uninstall.py
fix(pm): preserve runtime and user state across failure paths
2026-09-09 15:17:08 -04:00
update.py
merge origin/main (779 commits) into ethie/pm-clean
2026-09-21 00:58:39 -04:00
usage.py
feat(cli): hermes usage [--json] prints the /usage account limits without a session
2026-09-19 10:31:14 -07:00
vault.py
feat: agent signs into sites from an encrypted local vault (CLI, browser fill, Desktop Settings)
2026-09-10 10:35:07 -07:00
verify.py
refactor(hermes_cli/subcommands): hoist add_yes_flag/add_json_flag into _shared, dedupe gateway --system and peer remote-subparser builders, compact dashboard docs
2026-09-02 20:45:41 -07:00
webhook.py
fix(webhook): make delivery mirroring opt-in and profile-scoped
2026-09-23 17:58:45 -07:00
whatsapp.py
refactor(hermes_cli/subcommands): reflow argparse kwargs and drop redundant help=(...) parens (AST-verified)
2026-09-02 20:14:46 -07:00
worktree.py
Port from code-yeongyu/oh-my-openagent#7151 : worktree audit gains --json, --older-than, and external-tree visibility
2026-09-13 20:55:29 -07:00