Skip to content

Fix reg_list/reg_get command docs to match implementation#261

Merged
pllesperance-lc merged 1 commit into
reg-get-docsfrom
fix-registry-command-docs
Jun 8, 2026
Merged

Fix reg_list/reg_get command docs to match implementation#261
pllesperance-lc merged 1 commit into
reg-get-docsfrom
fix-registry-command-docs

Conversation

@pllesperance-lc

Copy link
Copy Markdown
Contributor

Corrects the reg_list and reg_get entries in docs/8-reference/endpoint-commands.md to match the actual parser in legion_tasking-go/service/command_parser/command/{reg_list,reg_get}.go.

Fixes

  • Positional, not a flag — both commands take the registry path as a required positional argument (arg:"required,positional"), not a --reg_path flag. reg_get's value name is likewise a positional name, not --value_name.
  • Short hive prefixes — paths must start with hkcr, hkcc, hkcu, hklm, or hku (e.g. hklm\software). A long form like HKEY_LOCAL_MACHINE fails the registryHives.Exists check with INVALID_REGISTRY_PREFIX.
  • Response event namereg_list's response event is REGISTRY_LIST_REP, not REG_LIST_REP (confirmed in edr-events.md).

Stacked on #260 (which adds the reg_get docs). Base will auto-retarget to master when #260 merges.

🤖 Generated with Claude Code

- reg_list/reg_get take a positional registry path, not a --reg_path flag
- Paths must use short hive prefixes (hklm, etc.), not HKEY_LOCAL_MACHINE
- reg_list response event is REGISTRY_LIST_REP, not REG_LIST_REP

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pllesperance-lc pllesperance-lc merged commit a60c6d0 into reg-get-docs Jun 8, 2026
2 checks passed
@pllesperance-lc pllesperance-lc deleted the fix-registry-command-docs branch June 8, 2026 15:18
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