Skip to content

docs(deception): use the limacharlie deception commands - #657

Merged
maximelb merged 2 commits into
docs/ext-deceptionfrom
docs/deception-cli-commands
Nov 25, 2026
Merged

maximelb merged 2 commits into
docs/ext-deceptionfrom
docs/deception-cli-commands

Conversation

@maximelb

Copy link
Copy Markdown
Contributor

What

The LimaCharlie CLI gets a limacharlie deception command group (refractionPOINT/python-limacharlie#482), first released in 5.14.0 (the next release after 5.13.1). This switches the Deception pages to it where it reads better:

  • Quick start (deception.md): deception kinds, config set, config enable, plan, deploy, rollout-status, coverage, test-fire, list-readers, uninstall-status, with one line saying which version has them and pointing older CLIs to extension request.
  • Configuration: deception config get / config set with the etag round trip (compare-and-set). The "Enabling the configuration record" section now says which commands create a new record enabled (deception config set) and which create it disabled (extension config-set, hive set), and that an existing record keeps its metadata.
  • Requests: a table mapping each request to its command; the raw extension request form stays for any CLI version. Examples for plan, deploy, rotate, test_fire and list_hits use the commands.
  • Tokens: drops create and drops get.
  • Operations: deception uninstall --confirm, and deploy --apply-pack (the old line also had a run of stray spaces).

Accuracy check of the lines printed before this change

Every limacharlie ... line on these pages was checked against the CLI on master (command, flags, argument shapes) and each --data field against the extension's request schema. All of them were correct: extension request (list_kinds, plan, deploy with apply_pack, coverage, test_fire with policy, list_readers, create_drop with form/label/memo, get_drop with name, rotate with template, list_hits with layer/mode/page_size, uninstall), extension config-get/config-set --input-file, extension rekey --name, hive enable --hive-name extension_config --key ext-deception, and tag mass-remove --selector 'tag in tags' --tag. Global --oid after the subcommand is accepted (the CLI hoists global options). The only imprecision was the sentence saying a record saved with extension config-set is disabled: true for a new record, while an existing record keeps its metadata; it is reworded.

Merge order

The command reference link points at doc/cli/deception.md in python-limacharlie, added by #482; this merges after it. The branch this targets is held until launch, so the 5.14.0 release exists before these pages publish.

🤖 Generated with Claude Code

The CLI gets a deception command group in 5.14.0: the quick start, the
configuration page and the request examples use it, the raw extension
request form stays documented for older CLIs, and the configuration page
says which commands create the record enabled or disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maximelb

Copy link
Copy Markdown
Contributor Author

/lc-review

@limacharlie-event-notifications limacharlie-event-notifications Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Code Review Summary

Verdict: NOT_APPROVED (0 High, 1 Medium, 1 Low)

The PR changes documentation only. I checked every new CLI line against the rest of the Deception pages in this repository. I could not check the limacharlie deception command group itself, because it lives in another repository that this review does not read. Flag names such as --apply-pack, --page-size, --confirm, --enabled/--disabled and --output yaml rely on the author's check against the CLI.

General Feedback

  • test-time-budget: no check run was found for this commit, and the base branch docs/ext-deception does not require the check. This is a docs-only change.
  • configuration.md:20 says deception config set keeps an existing record's enabled state unless you pass --enabled/--disabled. Line 42 says a file with a top-level data key is treated as a whole hive record, usr_mtd included. The config get output at line 8 includes the metadata, so the round trip on lines 8–9 passes a usr_mtd back. Please make sure the page says which one wins (the file's usr_mtd or the flag/keep rule). I cannot confirm the CLI behaviour from this repository, so this is not counted.

Blast radius

The change is limited to five Markdown pages under docs/5-integrations/extensions/limacharlie/deception*. Nothing else in the repo uses them. Readers with a CLI older than 5.14.0 who follow the new quick start will hit unknown-command errors at every step. The fallback for them is only partly described (see the Low finding). The command-reference links point to a file that the PR body says another change adds. If these pages publish before that change merges, the links are broken.


This review was generated automatically by Claude Code.

…ths and draft_drop_document

Review round 1: the four requests the command table names get rows and
sections; the config record rules say when usr_mtd replaces the metadata;
the quick start gives older CLIs their config-set and enable commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maximelb

Copy link
Copy Markdown
Contributor Author

/lc-review

@limacharlie-event-notifications limacharlie-event-notifications Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Code Review Summary

Verdict: APPROVED (0 High, 0 Medium, 2 Low)

Re-review of the commits since a4823bf. Both earlier findings are fixed. I re-read the four files changed since then (deception.md, configuration.md, operations.md, requests.md). drops.md has not changed since the last review. I could not check the limacharlie deception commands, flags or exit codes, or the new requests' fields, against the CLI or the extension, because both live outside this repository.

General Feedback

  • Low Priority: configuration.md:46 still lists the requests that refuse while the record is disabled as plan, deploy, verify, rotate, remove, test_fire and coverage. requests.md:20 now adds list_test_paths and the token requests, including draft_drop_document. Add them to line 46, or link line 46 to requests.md so the list is kept in one place. (Line 46 is outside the diff, so it has no inline thread.)
  • The earlier uncounted note about config set and a whole record's usr_mtd is answered by the new text at configuration.md:20.
  • test-time-budget: no check run was found for this commit, and the base branch docs/ext-deception does not require the check. This PR changes only docs.

Blast radius

The change only touches Markdown pages under docs/5-integrations/extensions/limacharlie/deception*. Scripts that follow the documented rule for error codes ("take the last bracketed token that is a code from the table") will not recognise the new restore_rules refusal codes until those codes are added to the table. The command-reference links still depend on the CLI change named in the PR body being merged before these pages publish.


This review was generated automatically by Claude Code.

@maximelb
maximelb merged commit 14c4eb4 into docs/ext-deception Nov 25, 2026
8 checks passed
@maximelb
maximelb deleted the docs/deception-cli-commands branch November 25, 2026 21:04
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.

2 participants