Resolve direct prompt input names
This commit is contained in:
@@ -70,10 +70,17 @@ dependencies do not by themselves make discovery incomplete. Recognizable
|
||||
references on known skipped paths remain optional inventory entries with an
|
||||
inactive-use explanation, unless another applicable use establishes a
|
||||
stronger classification. Skipped expressions are scanned only for
|
||||
syntactically recognizable names and are not evaluated. Invoked named
|
||||
templates are scanned conservatively, and dependency-bearing range scopes make
|
||||
discovery incomplete. Uncalled definitions and bypassed session templates are
|
||||
not traversed. This internal walker does not change rendering behavior.
|
||||
syntactically recognizable names and are not evaluated. A direct caller value
|
||||
or literal-key lookup can also supply an input name, including through simple
|
||||
parentheses or a direct pipeline to `input`; names are used exactly as
|
||||
supplied. Unresolved names and unsupported dependency-bearing expressions
|
||||
produce structured limitations while retaining recognizable references.
|
||||
Where an unresolved name or scope could affect existing optional entries, those
|
||||
entries are reported as conditional rather than inactive-only or definitively
|
||||
optional. Invoked named templates are scanned conservatively, and
|
||||
dependency-bearing range scopes make discovery incomplete. Uncalled definitions
|
||||
and bypassed session templates are not traversed. This internal walker does not
|
||||
change rendering behavior.
|
||||
|
||||
## Profiles And Built-Ins
|
||||
|
||||
|
||||
@@ -305,6 +305,11 @@ Run `go test ./internal/prompt`; commit.
|
||||
|
||||
## Stage 4 — Resolve Direct Names And Finish Limitation Reporting
|
||||
|
||||
**Status: Complete (2026-10-08).** Supported caller-derived input names resolve
|
||||
exactly; unresolved names preserve recognizable dependencies and report
|
||||
structured limitations, with affected optional entries conservatively marked
|
||||
conditional.
|
||||
|
||||
**Outcome:** Simple supplied names resolve exactly; complicated names and
|
||||
constructs return useful partial inventories without speculative analysis.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user