Repository navigation
docs(deception): use the limacharlie deception commands - #657
Conversation
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>
|
/lc-review |
There was a problem hiding this comment.
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 branchdocs/ext-deceptiondoes not require the check. This is a docs-only change.- configuration.md:20 says
deception config setkeeps an existing record's enabled state unless you pass--enabled/--disabled. Line 42 says a file with a top-leveldatakey is treated as a whole hive record,usr_mtdincluded. Theconfig getoutput at line 8 includes the metadata, so the round trip on lines 8–9 passes ausr_mtdback. Please make sure the page says which one wins (the file'susr_mtdor 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>
|
/lc-review |
There was a problem hiding this comment.
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_fireandcoverage. requests.md:20 now addslist_test_pathsand the token requests, includingdraft_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 setand a whole record'susr_mtdis answered by the new text at configuration.md:20. test-time-budget: no check run was found for this commit, and the base branchdocs/ext-deceptiondoes 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.
What
The LimaCharlie CLI gets a
limacharlie deceptioncommand 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: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 toextension request.deception config get/config setwith 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.extension requestform stays for any CLI version. Examples forplan,deploy,rotate,test_fireandlist_hitsuse the commands.drops createanddrops get.deception uninstall --confirm, anddeploy --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 onmaster(command, flags, argument shapes) and each--datafield against the extension's request schema. All of them were correct:extension request(list_kinds,plan,deploywithapply_pack,coverage,test_firewithpolicy,list_readers,create_dropwithform/label/memo,get_dropwithname,rotatewithtemplate,list_hitswithlayer/mode/page_size,uninstall),extension config-get/config-set --input-file,extension rekey --name,hive enable --hive-name extension_config --key ext-deception, andtag mass-remove --selector 'tagin tags' --tag. Global--oidafter the subcommand is accepted (the CLI hoists global options). The only imprecision was the sentence saying a record saved withextension config-setis 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.mdin 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