lycheedev 2.0.1 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +39 -29
  2. package/THIRD_PARTY_NOTICES +3 -2
  3. package/native/windows-amd64/lycheedev.exe +0 -0
  4. package/package.json +1 -1
  5. package/payload/addon/Bridge/CaptureWriter.lua +97 -0
  6. package/payload/addon/Bridge/FaultRunner.lua +41 -0
  7. package/payload/addon/Bridge/Identity.lua +1 -1
  8. package/payload/addon/Bridge/ProbeQueue.lua +51 -4
  9. package/payload/addon/Bridge/ProbeRunner.lua +100 -21
  10. package/payload/addon/Bridge/ReceiptView.lua +103 -31
  11. package/payload/addon/Bridge/Reentry.lua +77 -9
  12. package/payload/addon/Bridge/ReportStore.lua +28 -11
  13. package/payload/addon/Bridge/Session.lua +1 -1
  14. package/payload/addon/Core/ClientGate.lua +31 -0
  15. package/payload/addon/Core/Compat.lua +19 -21
  16. package/payload/addon/Core/Controls.lua +58 -9
  17. package/payload/addon/Core/Platform.lua +5 -1
  18. package/payload/addon/Core/Runtime.lua +47 -10
  19. package/payload/addon/{Lychee Dev_Mainline.toc → Lychee Dev.toc } +14 -7
  20. package/payload/addon/Modules/Events/Catalog.lua +5 -1
  21. package/payload/addon/Modules/Events/CatalogData_Forever.lua +1 -1
  22. package/payload/addon/Modules/Events/CatalogData_Mainline.lua +1 -1
  23. package/payload/addon/Modules/Events/CatalogData_Mists.lua +1 -1
  24. package/payload/addon/Modules/Events/CatalogData_Titan.lua +1 -1
  25. package/payload/skill/SKILL.md +52 -4
  26. package/payload/skill/agents/openai.yaml +1 -1
  27. package/payload/skill/references/addon-validation.md +37 -8
  28. package/payload/skill/references/asset-export.md +30 -2
  29. package/payload/skill/references/commands.md +163 -121
  30. package/payload/skill/references/data-investigation.md +52 -14
  31. package/payload/skill/references/error-diagnosis.md +32 -39
  32. package/payload/skill/references/installation.md +6 -0
  33. package/payload/skill/references/live-investigation.md +187 -107
  34. package/payload/skill/references/live-startup.md +88 -0
  35. package/payload/skill/references/source-research.md +29 -11
  36. package/payload/skill/scripts/lycheedev.mjs +10 -0
  37. package/release.json +80 -100
  38. package/payload/addon/Clients/Evergreen.lua +0 -2
  39. package/payload/addon/Clients/Live.lua +0 -2
  40. package/payload/addon/Clients/Pandaria.lua +0 -2
  41. package/payload/addon/Clients/Titan.lua +0 -2
  42. package/payload/addon/Lychee Dev_Forever.toc +0 -52
  43. package/payload/addon/Lychee Dev_Mists.toc +0 -52
  44. package/payload/addon/Lychee Dev_Wrath.toc +0 -52
@@ -1,169 +1,211 @@
1
- <!-- Generated from `lycheedev describe --format json`. Regenerate after any
2
- command-surface change; tools/skill-contract.mjs fails the build on drift.
3
- Do not edit by hand. -->
1
+ <!-- Generated from `lycheedev describe --format json` by
2
+ `node tools/skill-commands.mjs`. Do not edit by hand. -->
4
3
 
5
4
  # Command reference
6
5
 
7
- 62 implemented commands. Every command accepts `--format text|json|jsonl`;
8
- `--help` works on the root and on any command. Commands whose summary mentions a
9
- snapshot accept `--snapshot <pin>` with project-lock fallback (`--project <directory>`);
10
- workspace commands accept `--home <root>`.
11
-
12
- Read the JSON envelope, not just the exit code: `ok` reports the contract outcome,
13
- `error.code`/`error.stage` the failure, `captures` the evidence references, `warnings`
14
- partial/truncated boundaries.
6
+ 79 implemented commands. Every command accepts `--format text|json|jsonl`;
7
+ `--help` works on the root and on any command. Read the JSON envelope, not
8
+ just the exit code; preserve capture IDs and partial/truncated warnings.
15
9
 
16
10
  ## addon
17
11
 
18
- - `addon status` — read-only. Inspect addon files with --path <addon-directory>, or resolve a supported client with --installation <client-directory>.
19
- Flags: `--path <addon-directory>`, `--installation <client-directory>`.
20
- - `addon install` — mutates. Install: --release <distribution-root> --installation <client-directory>; --output <archive> upgrades; --resume --installation <client> --output <archive> recovers without --release.
21
- Flags: `--release <distribution-root>`, `--installation <client-directory>`, `--output <archive>`, `--resume`.
22
- - `addon remove` — mutates. Archive an unchanged owned addon: --installation <client-directory> --output <recovery-directory>; never deletes SavedVariables.
23
- Flags: `--installation <client-directory>`, `--output <recovery-directory>`.
12
+ - `addon status` — read-only. Inspect addon files with --path <addon-directory>, or resolve a supported client with --installation <client-directory>
13
+ Flags: `--format text|json|jsonl`, `--path <addon-directory>`, `--installation <client-directory>`.
14
+ - `addon install` — mutates. Install: --release <distribution-root> --installation <client-directory>; --output <archive> upgrades; --resume --installation <client> --output <archive> recovers without --release
15
+ Flags: `--format text|json|jsonl`, `--release <distribution-root>`, `--installation <client-directory>`, `--output <archive>`, `--resume`.
16
+ - `addon remove` — mutates. Archive an unchanged owned addon: --installation <client-directory> --output <recovery-directory>; never deletes SavedVariables
17
+ Flags: `--format text|json|jsonl`, `--installation <client-directory>`, `--output <recovery-directory>`.
24
18
 
25
19
  ## asset
26
20
 
27
- - `asset inspect` — mutates. Verify CASC file: --snapshot <pin> (--installation <client-or-game-root> | --cdn) --file-id <id> [--max-bytes <n>] [--offline]; archive original bytes; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
28
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--file-id <id>`, `--max-bytes <n>`, `--offline`.
29
- - `asset export` — mutates. Export CASC file: --snapshot <pin> (--installation <client-or-game-root> | --cdn) --file-id <id> --output <file> [--encoding raw|png|webp] [--mipmap <0..15>] [--channels <rgba-subset>] [--max-pixels <n>] [--overwrite] [--max-bytes <n>] [--offline]; raw default, BLP2 image conversion, existing parent required; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
30
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--file-id <id>`, `--output <file>`, `--encoding raw|png|webp`, `--mipmap <0..15>`, `--channels <rgba-subset>`, `--max-pixels <n>`, `--overwrite`, `--max-bytes <n>`, `--offline`.
21
+ - `asset inspect` — mutates. Verify CASC file: --snapshot <pin> (--installation <client-or-game-root> | --cdn) --file-id <id> [--max-bytes <n>] [--offline]; archive original bytes; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
22
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--file-id <id>`, `--max-bytes <n>`, `--offline`.
23
+ - `asset search` — mutates. Use one listfile mode: --query <text>, --extension <ext>, --name <path>, or --file-id <id>; requires --snapshot and --listfile <community-csv|wowexport-text|wowexport-binary>; --limit bounds search and extension pages; --offline reuses verified cache; --max-bytes bounds total listfile input (default 256 MiB, maximum 512 MiB); omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
24
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--listfile <community-csv|wowexport-text|wowexport-binary>`, `--query <text>`, `--extension <ext>`, `--name <path>`, `--file-id <id>`, `--limit <1-200>`, `--max-bytes <n>`, `--offline`.
25
+ - `asset export` — mutates. Export CASC file: --snapshot <pin> (--installation <client-or-game-root> | --cdn) --file-id <id> --output <file> [--encoding raw|png|webp] [--mipmap <0..15>] [--channels <rgba-subset>] [--max-pixels <n>] [--overwrite] [--max-bytes <n>] [--offline]; raw default, BLP2 image conversion, existing parent required; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
26
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--file-id <id>`, `--output <file>`, `--encoding raw|png|webp`, `--mipmap <0..15>`, `--channels <rgba-subset>`, `--max-pixels <n>`, `--overwrite`, `--max-bytes <n>`, `--offline`.
27
+ - `asset demux` — mutates. Demux a bounded VP9 AVI from --path <local-file> or pinned CASC (--snapshot <pin> and --file-id <id> with --installation or --cdn); --output <existing-directory> [--max-bytes <n>] [--max-frames <n>] [--allow-partial] [--overwrite]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
28
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--path <local-file>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--file-id <id>`, `--output <existing-directory>`, `--max-bytes <n>`, `--max-frames <n>`, `--allow-partial`, `--overwrite`, `--offline`.
31
29
 
32
30
  ## cache
33
31
 
34
- - `cache status` — read-only. Report managed cache accounting, protection visibility and the configured limit.
35
- - `cache verify` — read-only. Verify every managed cache object against its content hash; strictly read-only, repairs and deletes nothing.
36
- - `cache prune` — mutates. Reclaim ordinary cache toward --target-bytes <n> (zero reclaims all ordinary cache), capped by --max-objects <n>; --uncommitted also reclaims staging files; --dry-run reports without deleting; protected and in-use objects are always skipped.
37
- Flags: `--target-bytes <n>`, `--max-objects <n>`, `--uncommitted`, `--dry-run`.
32
+ - `cache status` — read-only. Report managed cache accounting, protection visibility and the configured limit
33
+ Flags: `--home <root>`, `--format text|json|jsonl`.
34
+ - `cache verify` — read-only. Verify every managed cache object against its content hash; strictly read-only, repairs and deletes nothing
35
+ Flags: `--home <root>`, `--format text|json|jsonl`.
36
+ - `cache prune` — mutates. Reclaim ordinary cache toward --target-bytes <n> (zero reclaims all ordinary cache), capped by --max-objects <n>; --uncommitted also reclaims staging files; --dry-run reports without deleting; protected and in-use objects are always skipped
37
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--target-bytes <n>`, `--max-objects <n>`, `--uncommitted`, `--dry-run`.
38
38
 
39
39
  ## config
40
40
 
41
- - `config show` — read-only. Read the workspace user preference and resource budget document; a missing document reports the documented defaults.
42
- - `config set` — mutates. Update the workspace budget: --cache-max-bytes <n> and/or --download-workers <n>; at least one flag is required.
43
- Flags: `--cache-max-bytes <n>`, `--download-workers <n>`.
41
+ - `config show` — read-only. Read the workspace user preference and resource budget document; a missing document reports the documented defaults
42
+ Flags: `--home <root>`, `--format text|json|jsonl`.
43
+ - `config set` — mutates. Update the workspace budget: --cache-max-bytes <n> and/or --download-workers <n>; at least one flag is required
44
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--cache-max-bytes <n>`, `--download-workers <n>`.
44
45
 
45
46
  ## data
46
47
 
47
- - `data hotfix` — mutates. Inspect independent Hotfix records with an explicit source: --source <wago|dbcache|raidbots>. dbcache reads a pinned --snapshot <pin> (--dbcache <DBCache.bin> | --from <cache-capture>); wago queries the remote record set from --product/--build/--region/--locale with an optional --snapshot parent; raidbots reads --raidbots <DBCache.bin> under 30 days. Filters: --table --table-hash --record --push --status --region-id --search and wago --from/--to; --latest selects the largest matching push batch before pagination; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
48
- Flags: `--project <directory>`, `--source <wago|dbcache|raidbots>`, `--snapshot <pin>`, `--dbcache <DBCache.bin>`, `--raidbots <DBCache.bin>`, `--from <cache-capture-or-time>`, `--to <time>`, `--product <retail|classic|titan|forever>`, `--build <full-build>`, `--region <us|eu|cn|kr|tw>`, `--locale <locale>`, `--table <name>`, `--table-hash <8-hex>`, `--record <n>`, `--push <n>`, `--status <0-255>`, `--region-id <n>`, `--search <text>`, `--latest`, `--offline`, `--limit <1-200>`, `--cursor <opaque>`, `--page <n>`, `--after-index <n>`, `--max-pages <n>`, `--max-requests <n>`, `--max-bytes <n>`, `--encoding csv`, `--output <file>`.
49
- - `data sql` — mutates. Query pinned static tables: --snapshot <pin> (--installation <client-or-game-root> | --cdn) --file <query.json> [--max-bytes <n>] [--offline]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
50
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--file <query.json>`, `--max-bytes <n>`, `--offline`.
51
- - `data db2` — mutates. Read typed rows: --snapshot <pin> (--installation <client-or-game-root> | --cdn) --table <name> [--id <n> | --limit <n> --after-id <n>] [--max-bytes <n>] [--offline]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
52
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--table <name>`, `--id <n>`, `--limit <n>`, `--after-id <n>`, `--max-bytes <n>`, `--offline`.
53
- - `data db2 schema <Table>` — mutates. Read parsed table schema fields, keys and relationship columns: data db2 schema <Table>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
54
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`.
55
- - `data db2 search <Table>` — mutates. Case-insensitive substring search over one field: data db2 search <Table> --field <name> --query <text> --limit <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
56
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--field <name>`, `--query <text>`, `--limit <n>`.
57
- - `data db2 foreign-key <Table>` — mutates. Select rows by one foreign-key field and value with a mandatory bound: data db2 foreign-key <Table> --field <name> --value <n> --limit <1-5000>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
58
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--field <name>`, `--value <n>`, `--limit <n>`.
59
- - `data db2 stream <Table>` — mutates. Stream bounded table rows as typed JSONL begin/record/end frames (requires --format jsonl): data db2 stream <Table> [--fields <a,b>] [--filter <field=value>] --limit <n>; only a legal end frame plus exit 0 is a complete success; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
60
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--fields <a,b>`, `--filter <field=value>`, `--limit <n>`.
61
- - `data spell info` — mutates. Resolve the bounded trigger and description-reference closure around one spell: --spell-id <n> [--max-depth <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
62
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--spell-id <n>`, `--max-depth <n>`.
63
- - `data spell auras` — mutates. Report aura-effect presence for one spell: --spell-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
64
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--spell-id <n>`.
65
- - `data spell summons` — mutates. List summon effects of one spell, optionally filtered to one NPC: --spell-id <n> [--npc-id <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
66
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--spell-id <n>`, `--npc-id <n>`.
67
- - `data item get` — mutates. Read one item summary and slot name: --item-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
68
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`.
69
- - `data item models` — mutates. Resolve model and texture file IDs for one item: --item-id <n> [--race-id <n> --gender <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
70
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`, `--race-id <n>`, `--gender <n>`.
71
- - `data item geosets` — mutates. Read geoset and helmet-hide data for one item: --item-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
72
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`.
73
- - `data item textures` — mutates. Read character texture sections for one item: --item-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
74
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`.
75
- - `data creature display` — mutates. Resolve one creature display by exactly one key: (--display-id <n> | --file-data-id <n>); omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
76
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--display-id <n>`, `--file-data-id <n>`.
77
- - `data creature model` — mutates. List every display of one model file with variants: --file-data-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
78
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--file-data-id <n>`.
79
- - `data encounter get` — mutates. Build the bounded journal encounter section tree with related spells and the relation manifest: --journal-encounter-id <n> [--max-depth <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
80
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--journal-encounter-id <n>`, `--max-depth <n>`.
81
- - `data decor list` — mutates. List house decor rows in ascending ID order with a mandatory bound: --limit <1-5000>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
82
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--limit <n>`.
83
- - `data decor get` — mutates. Resolve one decor by exactly one key: (--id <decor-id> | --item-id <n> | --model-file-data-id <n>); omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
84
- Flags: `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--id <n>`, `--item-id <n>`, `--model-file-data-id <n>`.
48
+ - `data hotfix` — mutates. Inspect independent Hotfix records with an explicit source: --source <wago|dbcache|raidbots>. dbcache reads a pinned --snapshot <pin> (--dbcache <DBCache.bin> | --from <cache-capture>); wago queries the remote record set from --product/--build/--region/--locale with an optional --snapshot parent; raidbots reads --raidbots <DBCache.bin> under 30 days. Filters: --table --table-hash --record --push --status --region-id --search and wago --from/--to; --latest selects the largest matching push batch before pagination; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
49
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--source <wago|dbcache|raidbots>`, `--snapshot <pin>`, `--dbcache <DBCache.bin>`, `--raidbots <DBCache.bin>`, `--from <cache-capture-or-time>`, `--to <time>`, `--product <retail|classic|titan|forever>`, `--build <full-build>`, `--region <us|eu|cn|kr|tw>`, `--locale <locale>`, `--table <name>`, `--table-hash <8-hex>`, `--record <n>`, `--push <n>`, `--status <0-255>`, `--region-id <n>`, `--search <text>`, `--latest`, `--offline`, `--limit <1-200>`, `--cursor <opaque>`, `--page <n>`, `--after-index <n>`, `--max-pages <n>`, `--max-requests <n>`, `--max-bytes <n>`, `--encoding csv`, `--output <file>`.
50
+ - `data sql` — mutates. Read-only SQL over a pinned static target: exactly one of --sql <text>, --file <query.sql|query.json>, or --stdin; repeated --param <name=scalar> binds named values; --encoding csv --output <file> writes a captured CSV and manifest; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
51
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--sql <text>`, `--file <query.sql|query.json>`, `--stdin`, `--param <name=scalar>`, `--encoding csv`, `--output <file>`, `--overwrite`, `--max-bytes <n>`, `--offline`.
52
+ - `data db2` — mutates. Read typed rows: --snapshot <pin> (--installation <client-or-game-root> | --cdn) --table <name> [--id <n> | --limit <n> --after-id <n>] [--max-bytes <n>] [--offline]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
53
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--table <name>`, `--id <n>`, `--limit <n>`, `--after-id <n>`, `--max-bytes <n>`, `--offline`.
54
+ - `data db2 schema <Table>` — mutates. Read parsed table schema fields, keys and relationship columns: data db2 schema <Table>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
55
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`.
56
+ - `data db2 search <Table>` — mutates. Case-insensitive substring search over one field: data db2 search <Table> --field <name> --query <text> --limit <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
57
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--field <name>`, `--query <text>`, `--limit <n>`.
58
+ - `data db2 foreign-key <Table>` — mutates. Select rows by one foreign-key field and value with a mandatory bound: data db2 foreign-key <Table> --field <name> --value <n> --limit <1-5000>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
59
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--field <name>`, `--value <n>`, `--limit <n>`.
60
+ - `data db2 stream <Table>` — mutates. Stream bounded table rows as typed JSONL begin/record/end frames (requires --format jsonl): data db2 stream <Table> [--fields <a,b>] [--filter <field=value>] --limit <n>; only a legal end frame plus exit 0 is a complete success; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
61
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--fields <a,b>`, `--filter <field=value>`, `--limit <n>`.
62
+ - `data spell info` — mutates. Resolve the bounded trigger and description-reference closure around one spell: --spell-id <n> [--max-depth <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
63
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--spell-id <n>`, `--max-depth <n>`.
64
+ - `data spell auras` — mutates. Report aura-effect presence for one spell: --spell-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
65
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--spell-id <n>`.
66
+ - `data spell summons` — mutates. List summon effects of one spell, optionally filtered to one NPC: --spell-id <n> [--npc-id <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
67
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--spell-id <n>`, `--npc-id <n>`.
68
+ - `data item get` — mutates. Read one item summary and slot name: --item-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
69
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`.
70
+ - `data item models` — mutates. Resolve model and texture file IDs for one item: --item-id <n> [--race-id <n> --gender <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
71
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`, `--race-id <n>`, `--gender <n>`.
72
+ - `data item geosets` — mutates. Read geoset and helmet-hide data for one item: --item-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
73
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`.
74
+ - `data item textures` — mutates. Read character texture sections for one item: --item-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
75
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--item-id <n>`.
76
+ - `data creature display` — mutates. Resolve one creature display by exactly one key: (--display-id <n> | --file-data-id <n>); omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
77
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--display-id <n>`, `--file-data-id <n>`.
78
+ - `data creature model` — mutates. List every display of one model file with variants: --file-data-id <n>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
79
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--file-data-id <n>`.
80
+ - `data encounter get` — mutates. Build the bounded journal encounter section tree with related spells and the relation manifest: --journal-encounter-id <n> [--max-depth <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
81
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--journal-encounter-id <n>`, `--max-depth <n>`.
82
+ - `data decor list` — mutates. List house decor rows in ascending ID order with a mandatory bound: --limit <1-5000>; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
83
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--limit <n>`.
84
+ - `data decor get` — mutates. Resolve one decor by exactly one key: (--id <decor-id> | --item-id <n> | --model-file-data-id <n>); omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
85
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--installation <client-or-game-root>`, `--cdn`, `--offline`, `--max-bytes <n>`, `--id <n>`, `--item-id <n>`, `--model-file-data-id <n>`.
85
86
 
86
87
  ## describe
87
88
 
88
- - `describe` — read-only. Read implemented command contracts.
89
+ - `describe` — read-only. Read implemented command contracts
90
+ Flags: `--home <root>`, `--format text|json|jsonl`.
89
91
 
90
92
  ## doctor
91
93
 
92
- - `doctor` — read-only. Aggregate read-only workspace, target catalog and source-mirror health checks; the mirror check joins only when the nearest project declares a product, and exit 3 reports that at least one check found an error.
93
- Flags: `--offline`.
94
+ - `doctor` — read-only. Aggregate read-only workspace, target catalog and source-mirror health checks; the mirror check joins only when the nearest project declares a product, and exit 3 reports that at least one check found an error
95
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--offline`.
94
96
 
95
97
  ## evidence
96
98
 
97
- - `evidence show <capture-id>` — read-only. Read a capture manifest: evidence show <capture-id>.
98
- - `evidence verify <capture-id>` — read-only. Verify manifest and original bytes: evidence verify <capture-id>.
99
- - `evidence list` — read-only. List archived capture manifests in ID order with a bounded page.
100
- Flags: `--limit <n>`.
99
+ - `evidence show <capture-id>` — read-only. Read a capture manifest: evidence show <capture-id>
100
+ Flags: `--home <root>`, `--format text|json|jsonl`.
101
+ - `evidence verify <capture-id>` — read-only. Verify manifest and original bytes: evidence verify <capture-id>
102
+ Flags: `--home <root>`, `--format text|json|jsonl`.
103
+ - `evidence list` — read-only. List archived capture manifests in ID order with a bounded page
104
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--limit <n>`.
105
+ - `evidence bundle` — mutates. Write a complete ZIP of 1..100 verified captures: --ids <CAP-a,CAP-b> --output <new-file>; refuses existing output and caps unique payload bytes at 128 MiB
106
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--ids <capture-id,...>`, `--output <new-file>`.
107
+ - `evidence keep <capture-id>` — mutates. Record an explicit retention decision for one capture; repeated calls are idempotent: evidence keep <capture-id>
108
+ Flags: `--home <root>`, `--format text|json|jsonl`.
109
+ - `evidence remove <capture-id>` — mutates. Explicitly remove one unreferenced capture manifest and its unshared blob: evidence remove <capture-id>; never follows cache pruning or deletes a shared blob
110
+ Flags: `--home <root>`, `--format text|json|jsonl`.
101
111
 
102
112
  ## init
103
113
 
104
- - `init` — mutates. Create a new-format workspace without importing old data; --plan resolves the fresh-isolation plan without changing anything, --fresh isolates an occupied legacy root into a deterministic sibling archive first, --resume completes an interrupted archive switch.
105
- Flags: `--plan`, `--fresh`, `--resume`.
114
+ - `init` — mutates. Create a new-format workspace without importing old data; --plan resolves the fresh-isolation plan without changing anything, --fresh isolates an occupied legacy root into a deterministic sibling archive first, --resume completes an interrupted archive switch
115
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--plan`, `--fresh`, `--resume`.
106
116
 
107
117
  ## live
108
118
 
109
- - `live run` — mutates. Run a bounded probe: --session <session-id> --file <probe.lua> [--account <account>]; discovers a unique stored account for the verified character unless explicit; retains operation ID on failure.
110
- Flags: `--session <session-id>`, `--account <account>`, `--file <probe.lua>`.
111
- - `live instances` — mutates. Discover supported installations under known roots and every running game window with its identity state (installed/running; identified/busy/no_actor/identity_unreadable); sends exactly one fixed identity trigger per running window and no other input; output carries no protocol fields.
112
- Flags: `--installation <client-or-game-root>`.
113
- - `live connect` — mutates. Discover, identify and connect a game window automatically: [--snapshot <pin>] [--character <name>] [--realm <realm>] [--pid <pid>] [--installation <client>] [--session <session-id> to revive] [--capture-area <window|x,y,width,height>]; a unique match connects without manual commands, ambiguity returns exit 2 with context.candidates; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
114
- Flags: `--project <directory>`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--pid <pid>`, `--installation <client>`, `--session <session-id>`, `--capture-area <window|x,y,width,height>`.
115
- - `live bind` — mutates. Observe /dev connect in the selected game and save a connection: --snapshot <pin>; unique window discovered automatically, optional --pid/--installation/--character/--realm filters; whole-window capture by default; never types; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
116
- Flags: `--project <directory>`, `--installation <client>`, `--pid <pid>`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--capture-area <window|x,y,width,height>`.
117
- - `live status <operation-id>` — read-only. Read persisted work without sending input: live status <operation-id>.
118
- - `live resume <operation-id>` — mutates. Recover live resume <operation-id> using its saved connection; revalidates before new input and never repeats submitted work; completed work performs no game input.
119
- - `live session <session-id>` — read-only. Verify a retained session and its evidence: live session <session-id>; does not reconnect or authorize input.
119
+ - `live probe put` — mutates. Register immutable bounded Lua source under a mutable name without touching the game: --name <name> --file <probe.lua>; returns a content-addressed revision
120
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--name <name>`, `--file <probe.lua>`.
121
+ - `live probe load` — mutates. Load one immutable probe revision into the selected client without executing it: --session <session-id> --probe <name-or-revision> --request <idempotency-key> [--account <account>]
122
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--probe <name-or-revision>`, `--request <idempotency-key>`, `--account <account>`.
123
+ - `live probe list` — read-only. List active probe names without game input; --include-removed shows tombstoned names
124
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--include-removed`, `--limit <1-1000>`.
125
+ - `live probe show <name-or-revision>` — read-only. Read an exact probe by active name or immutable PRB revision: live probe show <name-or-revision>
126
+ Flags: `--home <root>`, `--format text|json|jsonl`.
127
+ - `live probe remove <name>` — mutates. Tombstone one probe name for future selection while retaining immutable revisions and operation evidence: live probe remove <name>
128
+ Flags: `--home <root>`, `--format text|json|jsonl`.
129
+ - `live run <operation-id>` — mutates. Execute one loaded operation and return its verified report with cleanup pending; acknowledge separately with live ack: live run <operation-id>
130
+ Flags: `--home <root>`, `--format text|json|jsonl`.
131
+ - `live instances` — mutates. Discover supported installations under known roots and every running game window with its identity state (installed/running; identified/busy/no_actor/identity_unreadable); sends exactly one fixed identity trigger per running window and no other input; output carries no protocol fields
132
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--installation <client-or-game-root>`.
133
+ - `live connect` — mutates. Discover, identify and connect a game window automatically: [--snapshot <pin>] [--character <name>] [--realm <realm>] [--pid <pid>] [--installation <client>] [--session <session-id> to revive] [--capture-area <window|x,y,width,height>]; a unique match connects without manual commands, ambiguity returns exit 2 with context.candidates; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
134
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--pid <pid>`, `--installation <client>`, `--session <session-id>`, `--capture-area <window|x,y,width,height>`.
135
+ - `live reset` — mutates. Unblock a stuck window whose in-game queue blocks identity after abandon or a lost receipt: [--snapshot <pin>] [--character <name>] [--realm <realm>] [--pid <pid>] [--installation <client>]; sends one fixed nonce-correlated reset trigger per unowned matching window, expects its receipt, then reconnects; disk-owned windows are never touched; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
136
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--pid <pid>`, `--installation <client>`.
137
+ - `live reload` — mutates. Perform one correlated UI reload on the selected client and verify the new runtime: --session <session-id> --request <idempotency-key>
138
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--request <idempotency-key>`.
139
+ - `live ack <operation-id>` — mutates. Acknowledge one verified operation, retire only its exact queue entry and release its window ownership without forcing another reload: live ack <operation-id>
140
+ Flags: `--home <root>`, `--format text|json|jsonl`.
141
+ - `live bugs` — mutates. Capture 1-100 existing addon errors from the selected client as a verified report and stop before acknowledgement
142
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--request <idempotency-key>`, `--count <1-100>`, `--account <account>`.
143
+ - `live hide` — mutates. Dismiss the displayed bridge receipt on the selected client after its evidence is archived: --session <session-id>; refuses windows owned by in-flight operations and verifies the clear from valid frames
144
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`.
145
+ - `live bind` — mutates. Observe /dev connect in the selected game and save a connection: --snapshot <pin>; unique window discovered automatically, optional --pid/--installation/--character/--realm filters; whole-window capture by default; never types; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
146
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--installation <client>`, `--pid <pid>`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--capture-area <window|x,y,width,height>`.
147
+ - `live status <operation-id>` — read-only. Read persisted work without sending input: live status <operation-id>
148
+ Flags: `--home <root>`, `--format text|json|jsonl`.
149
+ - `live resume <operation-id>` — mutates. Recover live resume <operation-id> using its saved connection; revalidates before new input and never repeats submitted work; completed work performs no game input
150
+ Flags: `--home <root>`, `--format text|json|jsonl`.
151
+ - `live cancel <operation-id>` — mutates. Cancel only a prepared operation before queue publication or game input: live cancel <operation-id>; later stages require live resume for safe cleanup
152
+ Flags: `--home <root>`, `--format text|json|jsonl`.
153
+ - `live abandon <operation-id>` — mutates. Explicitly abandon cleanup of a verified probe before ACK; preserve report, retire its exact disk queue entry and release ownership without game input or claiming ACK
154
+ Flags: `--home <root>`, `--format text|json|jsonl`.
155
+ - `live session <session-id>` — read-only. Verify a retained session and its evidence: live session <session-id>; does not reconnect or authorize input
156
+ Flags: `--home <root>`, `--format text|json|jsonl`.
120
157
 
121
158
  ## project
122
159
 
123
- - `project init` — mutates. Declare a project product: --product <track> [--path <directory>]; creates lycheedev.json without choosing latest.
124
- Flags: `--product <track>`, `--path <directory>`.
125
- - `project lock` — mutates. Save an existing fixed --snapshot <pin> in lycheedev.lock.json [--path <directory>]; replaces the previous known-format lock.
126
- Flags: `--snapshot <pin>`, `--path <directory>`.
127
- - `project status` — read-only. Read project declaration and lock [--path <directory>]; no workspace or network required.
128
- Flags: `--path <directory>`.
160
+ - `project init` — mutates. Declare a project product: --product <track> [--path <directory>]; creates lycheedev.json without choosing latest
161
+ Flags: `--format text|json|jsonl`, `--product <track>`, `--path <directory>`.
162
+ - `project lock` — mutates. Save an existing fixed --snapshot <pin> in lycheedev.lock.json [--path <directory>]; replaces the previous known-format lock
163
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--snapshot <pin>`, `--path <directory>`.
164
+ - `project status` — read-only. Read project declaration and lock [--path <directory>]; no workspace or network required
165
+ Flags: `--format text|json|jsonl`, `--path <directory>`.
129
166
 
130
167
  ## skill
131
168
 
132
- - `skill install` — mutates. Install: --release <distribution-root> --path <parent/lycheedev>; add --output <archive> to upgrade; --resume --path <target> --output <archive> resumes without --release.
133
- Flags: `--release <distribution-root>`, `--path <target>`, `--output <archive>`, `--resume`.
134
- - `skill status` — read-only. Inspect skill ownership and files: --path <installed-directory>.
135
- Flags: `--path <installed-directory>`.
136
- - `skill remove` — mutates. Archive an unchanged owned skill: --path <parent/lycheedev> --output <recovery-directory outside parent>; deletes nothing.
137
- Flags: `--path <parent/lycheedev>`, `--output <recovery-directory>`.
169
+ - `skill install` — mutates. Install: --release <distribution-root> --path <parent/lycheedev>; add --output <archive> to upgrade; --resume --path <target> --output <archive> resumes without --release
170
+ Flags: `--format text|json|jsonl`, `--release <distribution-root>`, `--path <target>`, `--output <archive>`, `--resume`.
171
+ - `skill status` — read-only. Inspect skill ownership and files: --path <installed-directory>
172
+ Flags: `--format text|json|jsonl`, `--path <installed-directory>`.
173
+ - `skill remove` — mutates. Archive an unchanged owned skill: --path <parent/lycheedev> --output <recovery-directory outside parent>; deletes nothing
174
+ Flags: `--format text|json|jsonl`, `--path <parent/lycheedev>`, `--output <recovery-directory>`.
138
175
 
139
176
  ## source
140
177
 
141
- - `source list` — read-only. List source repositories and product branches.
142
- - `source sync` — mutates. Fetch --source <key> --product <track> [--ref <full-ref-or-commit>] and return a fixed snapshot.
143
- Flags: `--source <key>`, `--product <track>`, `--ref <full-ref-or-commit>`.
144
- - `source inspect` — mutates. Read --snapshot <pin-id> --path <file> [--line <n> --count <n>] and archive full source evidence; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
145
- Flags: `--project <directory>`, `--snapshot <pin-id>`, `--path <file>`, `--line <n>`, `--count <n>`.
146
- - `source index` — mutates. Build syntax index for --snapshot <pin-id>, retaining parse diagnostics; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
147
- Flags: `--project <directory>`, `--snapshot <pin-id>`.
148
- - `source query <term>` — mutates. Find exact symbol/relation names: source query <term> --snapshot <pin-id> [--limit <n>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
149
- Flags: `--project <directory>`, `--snapshot <pin-id>`, `--limit <n>`.
150
- - `source diff` — mutates. Compare --from <pin-id> --to <pin-id> [--limit <n> per change category].
151
- Flags: `--from <pin-id>`, `--to <pin-id>`, `--limit <n>`.
152
- - `source validate` — mutates. Check --path <addon-root> --toc <relative-manifest> --snapshot <pin-id>; report unresolved static coverage; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins.
153
- Flags: `--project <directory>`, `--path <addon-root>`, `--toc <relative-manifest>`, `--snapshot <pin-id>`.
178
+ - `source list` — read-only. List source repositories and product branches; --snapshot <pin> reports fixed indexed-source readiness; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
179
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`.
180
+ - `source sync` — mutates. Fetch --source <key> --product <track> [--ref <full-ref-or-commit>] and return a fixed snapshot
181
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--source <key>`, `--product <track>`, `--ref <full-ref-or-commit>`.
182
+ - `source inspect` — mutates. Inspect one fixed source: --path <file> for an excerpt, --symbol <qualified-name> for indexed symbol search, or --target-path <path> for indexed file/asset metadata; --snapshot required; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
183
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin-id>`, `--path <file>`, `--symbol <qualified-name>`, `--target-path <path>`, `--line <n>`, `--count <n>`.
184
+ - `source index` — mutates. Build syntax index for --snapshot <pin-id>, retaining parse diagnostics; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
185
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin-id>`.
186
+ - `source query <term>` — mutates. Search a fixed source index by topic and evidence tier: source query <term> --snapshot <pin-id> [--mode precise|exploratory] [--topic api|lua|xml|toc|asset] [--limit <1-200>]; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
187
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin-id>`, `--mode precise|exploratory`, `--topic <api|lua|xml|toc|asset>`, `--limit <1-200>`.
188
+ - `source diff` — mutates. Compare --from <pin-id> --to <pin-id> [--limit <n> per change category]
189
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--from <pin-id>`, `--to <pin-id>`, `--limit <n>`.
190
+ - `source validate` — mutates. Validate one pinned addon closure with --path/--toc/--snapshot, or a fixed multi-client --matrix <config.json>; report unresolved static coverage; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
191
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--path <addon-root>`, `--toc <relative-manifest>`, `--snapshot <pin-id>`, `--matrix <config.json>`.
154
192
 
155
193
  ## target
156
194
 
157
- - `target resolve` — mutates. Pin data identity from --installation <client> or remote --product <track>, with --region and --locale; remote --build requires that exact currently advertised build. Optional --definitions/--from/--offline; --file pins explicit identities instead. Does not download data archives.
158
- Flags: `--file <selection.json>`, `--installation <client-directory>`, `--product <retail|classic|titan|forever>`, `--build <full-build>`, `--region <us|eu|cn|kr|tw>`, `--locale <locale>`, `--definitions <commit-or-full-ref>`, `--from <parent-pin>`, `--offline`.
159
- - `target show <pin-id>` — read-only. Read a fixed selection: target show <pin-id>.
160
- - `target list` — read-only. List every named target configuration in name order; a brand new workspace has no targets.
161
- - `target add <name>` — mutates. Create or explicitly replace one named target: target add <name> --product <track> --region <region> --locale <locale> with exactly one of --installation <client> or --remote; optional --build <full-build> pins that exact release; --replace confirms replacement.
162
- Flags: `--product <retail|classic|titan|forever>`, `--region <us|eu|cn|kr|tw>`, `--locale <locale>`, `--build <full-build>`, `--installation <client-directory>`, `--remote`, `--replace`.
163
- - `target remove <name>` — mutates. Remove one named target and its reference ledger: target remove <name>; resolved pins stay intact, running operations block removal.
164
- - `target available` — read-only. List the releases the version manifests serve for one region: --region <region>; one bounded manifest fetch per supported product with per-product failures reported inline; --offline is refused because the listing is inherently current.
165
- Flags: `--region <us|eu|cn|kr|tw>`, `--offline`.
195
+ - `target resolve` — mutates. Pin data identity from one named --target <name>, --installation <client>, remote --product <track>, or --file <selection.json>; named targets resolve their exact configured identity at command start
196
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--file <selection.json>`, `--target <name>`, `--installation <client-directory>`, `--product <retail|classic|titan|forever>`, `--build <full-build>`, `--definitions <commit-or-full-ref>`, `--region <us|eu|cn|kr|tw>`, `--locale <locale>`, `--from <parent-pin>`, `--offline`.
197
+ - `target show <name-or-pin-id>` — read-only. Read a named target configuration and its references, or an explicit PIN- selection ID
198
+ Flags: `--home <root>`, `--format text|json|jsonl`.
199
+ - `target list` — read-only. List every named target configuration in name order; a brand new workspace has no targets
200
+ Flags: `--home <root>`, `--format text|json|jsonl`.
201
+ - `target add <name>` — mutates. Create or explicitly replace one named target: target add <name> --product <track> --region <region> --locale <locale> with exactly one of --installation <client> or --remote; optional --build <full-build> pins that exact release; --replace confirms replacement
202
+ Flags: `--home <root>`, `--format text|json|jsonl`, `--product <retail|classic|titan|forever>`, `--region <us|eu|cn|kr|tw>`, `--locale <locale>`, `--build <full-build>`, `--installation <client-directory>`, `--definitions <commit-or-full-ref>`, `--remote`, `--replace`.
203
+ - `target remove <name>` — mutates. Remove one named target and its reference ledger: target remove <name>; resolved pins stay intact, running operations block removal
204
+ Flags: `--home <root>`, `--format text|json|jsonl`.
205
+ - `target available` — read-only. List the releases the version manifests serve for one region: --region <region>; one bounded manifest fetch per supported product with per-product failures reported inline; --offline is refused because the listing is inherently current
206
+ Flags: `--format text|json|jsonl`, `--region <us|eu|cn|kr|tw>`, `--offline`.
166
207
 
167
208
  ## version
168
209
 
169
- - `version` — read-only. Inspect the native toolkit build.
210
+ - `version` — read-only. Inspect the native toolkit build
211
+ Flags: `--home <root>`, `--format text|json|jsonl`.
@@ -12,6 +12,13 @@ CASC keys or a DataPin by hand:
12
12
  lycheedev target resolve --installation <client-directory> --region cn --locale zhCN --format json
13
13
  ```
14
14
 
15
+ When a named target has already been configured, resolve that fixed
16
+ configuration with `lycheedev target resolve --target <name> --format json`.
17
+ Use `lycheedev target show <name>` to inspect the named configuration, or
18
+ `lycheedev target show <PIN-id>` to inspect a resolved selection. Showing a
19
+ target reads it; it does not resolve or refresh it. Use `target add` to create
20
+ or explicitly replace a named configuration.
21
+
15
22
  Region and locale are explicit choices; use those requested for the task.
16
23
  The CLI reads product/build/config identities from the installation and resolves
17
24
  WoWDBDefs `refs/heads/master` once to an exact commit. Use `--definitions` for a
@@ -106,7 +113,8 @@ from this command yet.
106
113
 
107
114
  ## Implemented static SQL
108
115
 
109
- Create a UTF-8 JSON request file (at most 1 MiB), not a raw `.sql` file:
116
+ Supply SQL as text, from a `.sql` or `.json` file, or from stdin. Exactly one
117
+ input mode is accepted. For JSON requests, use a UTF-8 file (at most 1 MiB):
110
118
 
111
119
  ```json
112
120
  {"sql":"SELECT ID, Filename FROM ChrClasses WHERE ID=:id","parameters":{"id":1}}
@@ -114,14 +122,17 @@ Create a UTF-8 JSON request file (at most 1 MiB), not a raw `.sql` file:
114
122
 
115
123
  ```text
116
124
  lycheedev data sql --snapshot <pin> --installation <game-root> --file <query.json> --format json
125
+ lycheedev data sql --snapshot <pin> --cdn --sql 'SELECT ID FROM ChrClasses WHERE ID=:id' --param id=1 --format json
126
+ lycheedev data sql --snapshot <pin> --installation <game-root> --stdin --encoding csv --output <new-file.csv> --format json
117
127
  ```
118
128
 
119
- Parameters must exactly match named SQL parameters and contain only JSON scalar
120
- values. Integer tokens retain 64-bit precision; avoid generating them through
121
- a floating-point JSON intermediary. Duplicate or unknown request fields fail.
122
- Use SQL LIMIT/OFFSET, not CLI `--limit`. `--offline` and `--max-bytes` have the
123
- same cache and per-file meanings as DB2 reading. Replace `--installation` with
124
- `--cdn` for explicitly selected remote content.
129
+ Repeat `--param <name=scalar>` for named SQL parameters; values must be scalar
130
+ JSON values. JSON request parameters must exactly match SQL parameters, and
131
+ integer tokens retain 64-bit precision. Duplicate or unknown request fields
132
+ fail. `--encoding csv` requires `--output <file>` and writes a CSV export with
133
+ its capture/manifest. Use SQL LIMIT/OFFSET, not CLI `--limit`. `--offline` and
134
+ `--max-bytes` have the same cache and per-file meanings as DB2 reading. Replace
135
+ `--installation` with `--cdn` for explicitly selected remote content.
125
136
 
126
137
  Only static tables are available. Qualified `static.Table` bypasses CTE
127
138
  names; no Hotfix overlay or implicit source fallback occurs. Query output contains `query`,
@@ -152,10 +163,13 @@ Syntax faults include `error.location` with byte offset and line/column.
152
163
  Correct the request or report the limitation; repeating an unchanged query
153
164
  does not resolve these failures. Source/cache/I/O faults retain their own codes.
154
165
 
155
- Domain commands are not implemented in this development
156
- build. Answer a semantic question with the available static tables only when
157
- their schema and relationships support it; otherwise report the missing
158
- capability. A static table result is not a substitute for requested Hotfix data.
166
+ Domain commands are implemented for spells (`data spell info`, `data spell auras`,
167
+ `data spell summons`), items (`data item get`, `data item models`,
168
+ `data item geosets`, `data item textures`), creatures (`data creature display`,
169
+ `data creature model`), journal encounters (`data encounter get`), and house
170
+ decor (`data decor list`, `data decor get`). Prefer the domain command when it owns
171
+ the relationship needed to answer the question; use SQL/DB2 for other supported
172
+ tables. A static table result is not a substitute for requested Hotfix data.
159
173
  Preserve source, table/record, locale, filters, row counts and capture hashes.
160
174
 
161
175
  ## Local Hotfix records
@@ -175,7 +189,7 @@ change static DB2 queries. Product, locale and region are selected context;
175
189
  the file alone does not authenticate them. A record's numeric `region`, when
176
190
  present in its format, is preserved separately.
177
191
 
178
- For named fields, add `--table <name>` and optionally `--id <record-id>`:
192
+ For named fields, add `--table <name>` and optionally `--record <record-id>`:
179
193
 
180
194
  ```text
181
195
  lycheedev data hotfix --source dbcache --snapshot <data-pin> --dbcache <DBCache.bin> --table ItemSparse --record <id> --format json
@@ -221,8 +235,19 @@ and at most 8 MiB of raw payload per page. Decoded fields have an 8 MiB JSON
221
235
  page budget; each record allows 1 MiB of text and 65,536 field elements. Corrupt tails invalidate the query
222
236
  even when the first page would otherwise fit. Version/build/identity errors
223
237
  must not be worked around by silently changing the selected build or cache.
224
- Remote providers remain unavailable; report that limitation when the question
225
- requires server-side coverage rather than the selected local cache.
238
+ Wago is supported for remote Hotfix records using explicit product, build,
239
+ region and locale context; `--offline` uses its verified cached pages only.
240
+ Raidbots is supported as a separate source for a supplied `DBCache.bin` less
241
+ than 30 days old. Keep provider and coverage explicit: neither source is an
242
+ effective static table overlay, and an incomplete result cannot establish
243
+ absence outside its reported coverage.
244
+
245
+ Treat Wago text search as candidate acceleration only. Establish a fact from
246
+ the returned physical records after applying the exact product, full build,
247
+ region, locale, table/hash, record, push and status filters relevant to the
248
+ question. A zero-candidate page is not proof of absence unless the returned
249
+ coverage is complete for that exact scope. Raidbots never acts as an implicit
250
+ Wago fallback.
226
251
 
227
252
  ## Schema and change boundaries
228
253
 
@@ -240,3 +265,16 @@ success is not by itself proof of absence when coverage is incomplete.
240
265
  For schema, cache or preparation errors, investigate the cause while retaining
241
266
  the same explicit identity. Never switch product, region, build or locale just
242
267
  to make a query return rows.
268
+
269
+ If Wago returns zero candidates while `coverage.complete=false`, the result is
270
+ unresolved rather than absence. Continue with the returned `nextCursor` or page
271
+ continuation using the same product, build, region, locale, table, record,
272
+ status and push identity. If `--search` was the only narrowing filter, remove
273
+ that filter for a wider query while keeping the identity and provider fixed.
274
+ If the budget is exhausted or coverage remains incomplete, report the result as
275
+ inconclusive and preserve the coverage metadata; only a complete scan of the
276
+ exact scope can support saying that no record was found.
277
+
278
+ Product aliases and region/locale availability belong to the CLI resolver.
279
+ Carry the canonical values it returns; do not infer a product from the install
280
+ folder, a CDN slot, or an old tool's alias table.