lycheedev 2.5.1 → 3.0.1

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 (52) hide show
  1. package/native/windows-amd64/lycheedev.exe +0 -0
  2. package/package.json +1 -1
  3. package/payload/addon/Bridge/ActivityView.lua +26 -12
  4. package/payload/addon/Bridge/InputProtection.lua +63 -0
  5. package/payload/addon/Bridge/InputSignal.lua +36 -0
  6. package/payload/addon/Bridge/InputState.lua +93 -0
  7. package/payload/addon/Bridge/MemoryProtocol.lua +31 -0
  8. package/payload/addon/Bridge/ProbeExecution.lua +147 -0
  9. package/payload/addon/Bridge/ReceiverBindings.lua +6 -0
  10. package/payload/addon/Bridge/SlotProtocol.lua +172 -0
  11. package/payload/addon/Bridge/SlotRuntime.lua +125 -0
  12. package/payload/addon/Bridge/StartupBeacon.lua +8 -11
  13. package/payload/addon/Core/Compat.lua +16 -0
  14. package/payload/addon/Core/Controls.lua +16 -0
  15. package/payload/addon/Core/Locale.lua +6 -4
  16. package/payload/addon/Core/Locale_enUS.lua +4 -2
  17. package/payload/addon/Core/Platform.lua +4 -2
  18. package/payload/addon/Core/Runtime.lua +17 -6
  19. package/payload/addon/Lychee Dev.toc +9 -2
  20. package/payload/addon/Modules/AutomationHistory.lua +119 -0
  21. package/payload/addon/Modules/AutomationView.lua +26 -6
  22. package/payload/addon/UI/Pages/About.lua +0 -3
  23. package/payload/addon/UI/Pages/Automation.lua +40 -27
  24. package/payload/addon/UI/Pages/Diagnostics.lua +2 -4
  25. package/payload/addon/UI/Pages/Object.lua +0 -1
  26. package/payload/addon/UI/Pages/Run.lua +2 -1
  27. package/payload/addon/UI/Pages/Trace.lua +0 -1
  28. package/payload/addon/UI/Theme.lua +3 -2
  29. package/payload/addon/UI/Widgets.lua +32 -22
  30. package/payload/addon/UI/Window.lua +3 -35
  31. package/payload/skill/SKILL.md +89 -162
  32. package/payload/skill/agents/openai.yaml +2 -2
  33. package/payload/skill/references/asset-export.md +1 -1
  34. package/payload/skill/references/commands.md +37 -35
  35. package/payload/skill/references/data-hotfix.md +112 -0
  36. package/payload/skill/references/data-investigation.md +74 -320
  37. package/payload/skill/references/data-recovery.md +55 -0
  38. package/payload/skill/references/data-tables.md +170 -0
  39. package/payload/skill/references/data-targets.md +93 -0
  40. package/payload/skill/references/error-diagnosis.md +8 -12
  41. package/payload/skill/references/installation.md +20 -13
  42. package/payload/skill/references/live-investigation.md +84 -367
  43. package/payload/skill/references/live-probes.md +160 -0
  44. package/payload/skill/references/live-recovery.md +190 -0
  45. package/payload/skill/references/live-startup.md +63 -133
  46. package/payload/skill/references/runtime-investigations.md +17 -3
  47. package/payload/skill/references/source-preparation.md +58 -0
  48. package/payload/skill/references/source-relations.md +51 -0
  49. package/payload/skill/references/source-research.md +66 -162
  50. package/payload/skill/references/source-value-flow.md +48 -0
  51. package/release.json +155 -75
  52. package/payload/addon/UI/Pages/Settings.lua +0 -82
@@ -0,0 +1,58 @@
1
+ # Source selection and recovery
2
+
3
+ Read when the requested source is not pinned or source preparation fails.
4
+
5
+ ## Select the repository revision
6
+
7
+ Use `source list` to discover repository keys and their supported tracks. It does
8
+ not list tags; missing version text there does not mean the release is absent.
9
+ Read the repository's own track map: do not apply a game product to every addon
10
+ repository. A source track is not proof of installation compatibility.
11
+
12
+ Initialize a new Toolkit home with `lycheedev init` before syncing; an empty
13
+ directory alone is not a workspace. Reuse an initialized `--home` when available.
14
+
15
+ ```text
16
+ lycheedev source list --format json
17
+ lycheedev source sync --source <catalog-key> --product <repository-track> --ref <commit-or-full-ref> --format json
18
+ ```
19
+
20
+ `source sync` returns the immutable PinnedSet directly. `--ref` accepts a 40-hex
21
+ commit or full `refs/heads/...` / `refs/tags/...` ref. Omission observes the selected
22
+ track's current branch; use that only when the request allows current source.
23
+ For a named release without an exact ref, establish its tag/commit from repository
24
+ evidence. Ask only if that mapping remains unavailable or ambiguous. Never guess
25
+ a tag, silently use latest, or replace an unavailable exact revision with a branch.
26
+
27
+ Carry the returned fixed pin and exact commit between calls. Preserve requested
28
+ version/tag, repository identity and parser revision; a tag is a traceable label,
29
+ not immutable evidence. Separate third-party addon pins from client API pins;
30
+ `--environment <client-pin>` on refs/context supplies API context without changing
31
+ the addon revision. Folder names and branch labels do not prove a client's build.
32
+
33
+ ## Recover without changing the revision
34
+
35
+ Keep the original command, pin/ref and structured error. The CLI prepares mappings
36
+ when the operation needs them; raw file inspection reads fixed Git content directly.
37
+ `source list --snapshot <pin>` reports readiness;
38
+ `source index --snapshot <pin>` is optional, not a mandatory repair sequence.
39
+
40
+ | Condition | Next action |
41
+ | --- | --- |
42
+ | Unknown repository/track or invalid ref | Check catalog and exact ref syntax; correct the selection without substituting the requested version |
43
+ | Missing Git, source objects or preparation failure | Address the named prerequisite and retry the same fixed source; do not manually rewrite managed worktrees |
44
+ | Integrity failure | Preserve evidence and diagnose changed/corrupt bytes; do not bypass verification or delete caches blindly |
45
+ | Syntax diagnostics / partial map | Inspect readable original files and retain the gaps; unparsed does not mean absent |
46
+ | Missing LuaLS or client environment | Continue original-source research with partial semantic coverage; see [source-relations.md](source-relations.md) |
47
+ | Invalid cursor | Check command, snapshot, symbol/query, environment and budgets against its originating result; do not mix pages from a changed scope |
48
+ | Resource budget | Narrow to the part needed by the question; retain omitted scope, not a claim of complete investigation |
49
+
50
+ Allow at most one unchanged retry for a transient failure within the task budget.
51
+ Further retries require a changed cause. If still blocked, stop that branch and
52
+ report its exact revision, error, useful captures and missing prerequisite;
53
+ independent useful source inspection may continue. Do not copy data-only timeout
54
+ or offline flags onto source commands; consult installed help for their surface.
55
+
56
+ Source disk reclamation is separate from research. Only when requested, use
57
+ `source prune --target-bytes <n>`: it removes idle derived worktrees and preserves
58
+ pins, cached facts and captures. It is not the ordinary `cache prune` command.
@@ -0,0 +1,51 @@
1
+ # Source relationships and bounded context
2
+
3
+ Read when callers, cross-file implementation, loading context or semantic
4
+ resolution can change the answer. Simple declaration lookup can stop earlier.
5
+
6
+ ## Select a symbol, then follow its evidence
7
+
8
+ Use `symbolId` from a pinned query. `source inspect --symbol <qualified-name>`
9
+ finds candidates; `--target-path <path>` inspects file/asset metadata. Same spelling
10
+ does not join declarations across scopes, files or repositories. A bare `--symbol`
11
+ is suitable only when unambiguous; otherwise inspect candidates and choose by
12
+ their original locations and the question.
13
+
14
+ ```text
15
+ lycheedev source refs --snapshot <pin> --symbol-id <id> --direction incoming --limit 50 --format json
16
+ lycheedev source context --snapshot <pin> --symbol-id <id> --limit 50 --max-lines 120 --format json
17
+ ```
18
+
19
+ `refs` reports incoming/outgoing/both relations. `context` combines the definition,
20
+ bounded source excerpts, relations and available loading evidence. Retain relation
21
+ state, original locations and coverage: confirmed semantic resolution, static
22
+ candidates and unknown edges have different evidentiary strength. Generated API
23
+ declarations describe a contract; they are not necessarily implementation bodies.
24
+
25
+ The CLI attempts its verified bundled LuaLS when needed. For a third-party addon,
26
+ add `--environment <client-pin>` when client API context matters. Preserve both
27
+ source and environment identities; a Retail environment is not a substitute for
28
+ Forever. `--static-only` deliberately limits evidence to structural analysis.
29
+ Missing runtime/environment can leave usable source evidence with semantic
30
+ coverage partial. Neither static inference nor LuaLS types prove runtime behavior.
31
+
32
+ ## Continue only the required scope
33
+
34
+ Query results contain a bounded relation preview. Use refs, not repeated query
35
+ pages, to investigate its edges. Each command owns its own `nextCursor`; retain
36
+ snapshot, symbol/query, environment, analysis options and budgets on continuation.
37
+ An ending page does not erase missing earlier pages or unresolved dynamic edges.
38
+
39
+ For context, `--max-lines`, `--max-bytes`, `--limit` and `--depth` bound different
40
+ parts of the result; inspect its truncation and continuation metadata. Follow a
41
+ cursor or request the relevant original-file range when the omitted material
42
+ matters. Do not increase every bound just to make an incomplete flag disappear.
43
+
44
+ Mapping completeness describes syntax extraction, not a validated load closure.
45
+ When actual TOC/XML order or multi-client compatibility matters, use
46
+ [addon-validation.md](addon-validation.md). Keep dynamic/conditional loading
47
+ unresolved when source cannot determine it.
48
+
49
+ For a concrete value/operation question, use
50
+ [source-value-flow.md](source-value-flow.md); ordinary relation traversal alone
51
+ does not establish a secret-value propagation path.
@@ -1,172 +1,76 @@
1
1
  # Source research
2
2
 
3
- Use this workflow for versioned UI/API definitions, Lua/XML/TOC source, symbol
4
- relationships, source diffs, and compatibility questions.
5
-
6
- ## Pin and query
7
-
8
- Resolve or receive a `SourcePin` containing the repository identity, exact commit,
9
- parser revision, and any traceable tag. A tag is a label, not the
10
- immutable evidence. Keep the exact commit in the report. If the requested exact
11
- source cannot be resolved, stop with an actionable unresolved result; do not
12
- silently substitute the newest snapshot.
13
-
14
- Check `describe --format json` for the installed command surface. Select the
15
- repository and track from the question, then carry the returned fixed snapshot.
16
- Run `lycheedev init` once for a new workspace before `source sync` (or use an
17
- already initialized `--home`); a fresh directory alone is not a workspace.
18
- Query, inspection, relations and context prepare the needed internal mapping
19
- for that same snapshot; `source index` is an optional explicit warm-up:
3
+ Use this branch for pinned API definitions, Lua/XML/TOC implementations,
4
+ relationships and source comparisons. Follow the shortest path that answers
5
+ the question; the CLI owns Git preparation, mapping and LuaLS lifecycle.
6
+
7
+ ## Fix the source
8
+
9
+ Reuse an explicit snapshot or the invoking project's matching source pin. Check
10
+ repository, exact commit and requested revision with `target show <pin>`; a data
11
+ pin alone is not a source reference. Do not let a conflicting project default
12
+ retarget the question or overwrite its lock merely to investigate another source.
13
+ Without a matching pin, read [source-preparation.md](source-preparation.md).
14
+
15
+ An addon release, its repository track and a game client's build are separate
16
+ identities. `source sync --product` selects a track advertised for that repository,
17
+ not necessarily a game product. A third-party addon can use `main` while its API
18
+ environment comes from a separately pinned Retail or Forever source.
19
+
20
+ ## Choose the next evidence
21
+
22
+ | Question / known input | Action |
23
+ | --- | --- |
24
+ | Exact file and line | `source inspect --path` with a bounded line range |
25
+ | API, event, template or feature name | `source query` with the relevant topic, then inspect the returned original location |
26
+ | Callers, dependencies or implementation across files | [source-relations.md](source-relations.md), using returned symbol IDs |
27
+ | Difference between two revisions | `source diff` on two fixed pins from the same repository; interpretation below |
28
+ | Addon load order, syntax or client compatibility | [addon-validation.md](addon-validation.md) |
29
+ | Secret value or secure taint | [source-value-flow.md](source-value-flow.md) |
30
+
31
+ For a normal API lookup, the fixed original declaration and its constraints can
32
+ be sufficient. Do not require full indexing, relationship traversal or live work
33
+ before answering it. Queries prepare their own mapping; `source index` is an
34
+ optional warm-up. Use installed `describe --format json` or help for supported
35
+ flags, including when source documentation is newer than the installed CLI.
20
36
 
21
37
  ```text
22
- lycheedev source list --format json
23
- lycheedev source sync --source <catalog-key> --product <track> --ref <commit-or-full-ref> --format json
24
- lycheedev source index --snapshot <pin> --format json
25
38
  lycheedev source query <term> --snapshot <pin> --mode precise --topic api --limit 50 --format json
26
- lycheedev source inspect --snapshot <pin> --path <repository-relative-file> --line <first-line> --count <line-count> --format json
27
- lycheedev source inspect --snapshot <pin> --symbol <qualified-name> --format json
28
- lycheedev source inspect --snapshot <pin> --target-path <path> --format json
29
- lycheedev source refs --snapshot <pin> --symbol-id <id-from-query> --direction both --limit 50 --format json
30
- lycheedev source context --snapshot <pin> --symbol-id <id-from-query> --limit 50 --max-lines 120 --format json
31
- lycheedev source diff --from <pin-a> --to <pin-b> --limit 50 --format json
32
- lycheedev source validate --matrix <config.json> --format json
39
+ lycheedev source inspect --snapshot <pin> --path <returned-path> --line <first-line> --count 80 --format json
33
40
  ```
34
41
 
35
- `source sync` returns the immutable PinnedSet directly. Its `--ref` accepts a
36
- 40-character commit or a full `refs/heads/...` / `refs/tags/...` reference; omitting
37
- it selects the catalog's product branch at preparation time. Do not omit it when
38
- the user supplied an exact version. A source query product is not evidence that
39
- the addon supports installation on that client.
40
-
41
- `source list` lists repositories and product branches, not tags. When the user
42
- supplies an exact commit or full ref, pass it directly to `source sync`. When
43
- only an addon version is supplied, establish its exact tag or commit from public
44
- repository evidence, or ask for the missing reference when that evidence is
45
- unavailable or ambiguous. Do not guess a tag or treat its absence from
46
- `source list` as proof that it does not exist. Retain the requested version/tag
47
- and resolved commit; never fall back to a product branch or newer tag. If automatic
48
- preparation fails, inspect the reported gap and retry only the same fixed snapshot
49
- after resolving it.
50
-
51
- `source inspect` reads only the prepared exact commit, without network access.
52
- It archives the **whole original file**, while `result.text` contains only the
53
- requested lines (at most 2,000). The capture being complete does not mean the
54
- excerpt contains the whole file. Preserve `context.snapshot`, the exact commit,
55
- path, first/last/total line counts, full-file hash and capture ID. Git must be
56
- available for preparation and reads; this workflow does not invoke the old CLI.
57
-
58
- `source index` warms the rebuildable file mapping by analyzing Lua/XML/TOC
59
- without executing them. A successful command can still have `complete: false`:
60
- retain the diagnostic count and sample, rather than treating an unparsed file
61
- as empty. Mapping completeness covers syntax extraction, not load-closure
62
- validation or runtime behavior. `source query`
63
- supports `precise` and `exploratory` modes and the `api`, `lua`, `xml`, `toc` and
64
- asset topics. Precise mode prioritizes stronger matches; exploratory mode
65
- broadens matching, so treat results as candidates and verify them in their
66
- pinned locations. Calls are inferred, dynamic calls remain unresolved, and
67
- generated API definitions are separately categorized. Keep query truncation
68
- visible; inspect returned source locations to obtain original-file evidence.
69
- `source query --cursor` pages matching results; its relation list is a bounded
70
- preview. If relation evidence can change the answer, use `source refs` with the
71
- selected `symbolId` and page that command's own cursor.
72
- `source inspect --symbol` finds symbol candidates; `--target-path` inspects file
73
- or asset metadata. Use returned stable symbol IDs for relation and context
74
- requests. If names collide, inspect each candidate's repository, commit, path
75
- and scope; do not join them by spelling alone.
76
-
77
- `source refs` returns references/calls for one symbol. `source context` combines
78
- its definition, bounded code, direct relations and available loading evidence.
79
- Both accept `--symbol-id` from query or `--symbol` for an unambiguous name, plus
80
- `--cursor` for the next page. Keep the same snapshot, symbol and budgets when
81
- using a cursor. Relations identify confirmed semantic resolution, static
82
- candidates and unknown edges separately. The CLI attempts the verified bundled
83
- LuaLS when needed; `--static-only` chooses structural evidence alone. For a
84
- third-party repository, pass `--environment <client-pin>` when a client API
85
- environment is relevant. A missing runtime or environment leaves semantic
86
- coverage partial; continue original-source research and state that limit.
87
-
88
- When explicitly reclaiming source disk space, `source prune --target-bytes <n>`
89
- removes only idle derived worktrees. It preserves fixed pins, cached facts and
90
- capture evidence; the ordinary `cache prune` remains a separate operation.
91
-
92
- `source diff` requires two explicitly fixed snapshots from the same
93
- repository. It compares file and declaration content and
94
- declaration sites, not every repository asset or version metadata file. Duplicate
95
- declarations remain separate sites; a line-only move is a source-location change,
96
- not proof of an API break. `--limit` applies separately to document and declaration
97
- change groups; totals and `truncated` describe the full comparison. The capture
98
- records both snapshot IDs and both commits. An incomplete index is rejected
99
- rather than making an unparsed declaration appear removed.
100
-
101
- For load/syntax/source-name checks and fixed multi-client validation, use the
102
- addon-validation reference. A matrix validates only the clients and pinned
103
- inputs declared in its config; preserve unresolved coverage and per-client
104
- results.
105
-
106
- Choose the narrowest stable symbol, path, event, template, TOC field, or API
107
- name in the question. Use a broader query only to discover candidates, then
108
- verify the exact definition and follow relations only when the question needs
109
- them. A sufficient original declaration can answer a simple API question.
110
- Preserve excerpt, path, line, relation state, coverage and truncation metadata.
111
- Follow `nextCursor` only while another page can change the answer; never treat
112
- the first truncated page as the whole set.
113
-
114
- Source facts are not runtime proof. A definition or relationship can establish
115
- what the pinned source contains, not that a live client loaded it or that the
116
- API behaves identically under combat, secret values, or another build.
117
-
118
- ## Compatibility and closure
119
-
120
- When checking an addon, route to [addon-validation.md](addon-validation.md) so
121
- the ordered TOC closure and client matrix are checked as a unit. Do not infer a
122
- client identity from a directory name or a branch label when resolved metadata
123
- and build evidence are available.
124
-
125
- Investigate preparation failures without silently changing the source version.
126
- Keep dynamic or conditional relationships explicitly unresolved.
42
+ Choose `api`, `lua`, `xml`, `toc` or `asset` for the question. Broaden with
43
+ `exploratory` only when precise results do not answer it. Search hits are candidates,
44
+ not proof of a unique definition. Resolve collisions by repository, commit, path
45
+ and scope; retain `symbolId` for relations. If evidence still leaves alternatives,
46
+ show those choices rather than silently taking the first match.
47
+
48
+ ## Decide whether to continue
49
+
50
+ Inspect coverage and truncation separately from exit status. An incomplete map or
51
+ dynamic edge cannot establish absence. A query's relation list is only a preview;
52
+ use `source refs` if callers matter. Continue `nextCursor` only while another page
53
+ can change the answer, preserving the command's snapshot, query and budgets.
54
+ Query, refs and context cursors are not interchangeable.
55
+
56
+ `source inspect --path` archives the whole file but returns a bounded excerpt.
57
+ Report its path, first/last/total lines, exact commit, full-file hash and capture;
58
+ capture completion does not imply that every line was read.
59
+
60
+ `source diff --from <pin-a> --to <pin-b> --limit 50` compares document/declaration
61
+ content and declaration sites, not all assets or version metadata. It has no
62
+ cursor: retain category totals/truncation, and inspect relevant files when more
63
+ detail is needed. A line move alone does not prove an API break; an incomplete
64
+ index is rejected, not interpreted as removed declarations.
65
+
66
+ For preparation failures, use the bounded recovery in
67
+ [source-preparation.md](source-preparation.md#recover-without-changing-the-revision).
68
+ Finish with the source-supported answer and unresolved conditions. Static source
69
+ does not prove that a client loaded it or behaved that way in combat or another build.
127
70
 
128
71
  ## Secret values and secure taint
129
72
 
130
- For these questions, start from the reported operation, value or source location.
131
- Pin both the addon revision and the relevant client API source; inspect the exact
132
- generated declarations and their conditions. Preserve metadata such as
133
- `SecretReturns`, `SecretPayloads` and `SecretArguments` as written. Do not assume
134
- Forever follows Retail rules or lacks secret values because it is an older client.
135
- Known `SecretArguments` modes such as `AllowedWhenTainted` and
136
- `AllowedWhenUntainted` describe conditional permission, not a static proof of
137
- the caller's taint state. Keep the raw mode in the finding and classify the
138
- path as possible until runtime conditions are observed.
139
- An API marker can establish a possible source; it alone does not prove that the
140
- reported call produced a secret value or that the consuming operation forbids it.
141
-
142
- Use the installed capabilities reported by `describe --format json`. Query and
143
- inspect can support a source-based explanation; inferred calls and LuaLS types
144
- alone are not a verified value-flow analysis. Request `source context --flow`
145
- only for a concrete value/operation question. Interpret returned steps,
146
- conditions, rule identity and unknown boundaries; do not claim a proven
147
- propagation path when the result has only static candidates or incomplete coverage.
148
-
149
- Trace the relevant value through assignments, table fields and function arguments
150
- or returns, preserving each step's original location. Confirm symbol identity and
151
- loading context before crossing files. A guard applies only to the checked value
152
- on the relevant branch before reassignment; merely calling `issecretvalue` does
153
- not establish that later operations are safe. Check the consuming operation's
154
- versioned restrictions before reporting a violation. Mark dynamic calls, unknown
155
- aliases, missing dependencies and truncation as gaps rather than inventing edges.
156
-
157
- Keep secret-value propagation separate from secure execution taint. A stack made
158
- entirely of Blizzard frames is not sufficient to identify who caused the taint;
159
- static hook/write candidates need further evidence. Source-only research does
160
- not authorize game input. For deep investigation with live work in scope, carry
161
- the fixed source locations, suspected value path, conditions and missing links
162
- into [the live hypothesis workflow](live-investigation.md#test-source-hypotheses).
163
- Continue with existing error evidence and a bounded check that distinguishes the
164
- remaining explanations; do not stop at an unresolved static path when live can
165
- answer the next question. Feed observed conditions back into the source analysis.
166
-
167
- Finish with the supported path and restriction, a minimal correction when
168
- justified, and any conditions still requiring verification. Distinguish observed
169
- runtime evidence, source deductions and unresolved hypotheses. Do not treat no
170
- findings as proof of safety, or propose coercion/default substitution as a generic
171
- way to remove secrecy. When the path cannot be established, state the missing
172
- link and the evidence needed to resolve it.
73
+ Read [source-value-flow.md](source-value-flow.md) for versioned rules, value identity,
74
+ guards and unknown edges. If live investigation is already authorized, carry the
75
+ remaining hypothesis into [live investigation](live-investigation.md#test-source-hypotheses).
76
+ Source-only work does not authorize game input.
@@ -0,0 +1,48 @@
1
+ # Secret values and secure taint
2
+
3
+ Read for a concrete value, consuming operation or taint report; ordinary API
4
+ lookup does not require a value-flow investigation.
5
+
6
+ For these questions, start from the reported operation, value or source location.
7
+ Pin both the addon revision and the relevant client API source; inspect the exact
8
+ generated declarations and their conditions. Preserve metadata such as
9
+ `SecretReturns`, `SecretPayloads` and `SecretArguments` as written. Do not assume
10
+ Forever follows Retail rules or lacks secret values because it is an older client.
11
+ Known `SecretArguments` modes such as `AllowedWhenTainted` and
12
+ `AllowedWhenUntainted` describe conditional permission, not a static proof of
13
+ the caller's taint state. Keep the raw mode in the finding and classify the
14
+ path as possible until runtime conditions are observed.
15
+ An API marker can establish a possible source; it alone does not prove that the
16
+ reported call produced a secret value or that the consuming operation forbids it.
17
+
18
+ Use the installed capabilities reported by `describe --format json`. Query and
19
+ inspect can support a source-based explanation; inferred calls and LuaLS types
20
+ alone are not a verified value-flow analysis. Request `source context --flow`
21
+ only for a concrete value/operation question. Interpret returned steps,
22
+ conditions, rule identity and unknown boundaries; do not claim a proven
23
+ propagation path when the result has only static candidates or incomplete coverage.
24
+
25
+ Trace the relevant value through assignments, table fields and function arguments
26
+ or returns, preserving each step's original location. Confirm symbol identity and
27
+ loading context before crossing files. A guard applies only to the checked value
28
+ on the relevant branch before reassignment; merely calling `issecretvalue` does
29
+ not establish that later operations are safe. Check the consuming operation's
30
+ versioned restrictions before reporting a violation. Mark dynamic calls, unknown
31
+ aliases, missing dependencies and truncation as gaps rather than inventing edges.
32
+
33
+ Keep secret-value propagation separate from secure execution taint. A stack made
34
+ entirely of Blizzard frames is not sufficient to identify who caused the taint;
35
+ static hook/write candidates need further evidence. Source-only research does
36
+ not authorize game input. For deep investigation with live work in scope, carry
37
+ the fixed source locations, suspected value path, conditions and missing links
38
+ into [the live hypothesis workflow](live-investigation.md#test-source-hypotheses).
39
+ Continue with existing error evidence and a bounded check that distinguishes the
40
+ remaining explanations; do not stop at an unresolved static path when live can
41
+ answer the next question. Feed observed conditions back into the source analysis.
42
+
43
+ Finish with the supported path and restriction, a minimal correction when
44
+ justified, and any conditions still requiring verification. Distinguish observed
45
+ runtime evidence, source deductions and unresolved hypotheses. Do not treat no
46
+ findings as proof of safety, or propose coercion/default substitution as a generic
47
+ way to remove secrecy. When the path cannot be established, state the missing
48
+ link and the evidence needed to resolve it.