FLOOXS » TclLib » Agents

Agents — TclLib Procs

7 documented proc(s) in TclLib/Agents/.

analysis-agent · inspect-agent · models-agent · pull_defaults · pull_families · pull_resolve · solution_info

analysis-agent

file: TclLib/Agents/analysis-agent.tcl

Marker proc — empty body, the side-effect of sourcing this file is
what registers the agent.

inspect-agent

file: TclLib/Agents/inspect-agent.tcl

Marker proc — empty body, the side-effect of sourcing this file is
what registers the agent. Anyone reaching for `inspect-agent` (or
calling `auto_load inspect-agent`) triggers the registration.

models-agent

file: TclLib/Agents/models-agent.tcl

Marker proc — empty body, the side-effect of sourcing this file is
what registers the agent. Anyone reaching for `models-agent` (or
calling `auto_load models-agent`) triggers the registration.

pull_defaults

file: TclLib/Agents/models-agent.tcl

pull_defaults domain=device|stress|diffuse|quantum
Returns the requested pull-domain master models dict. Lazy-sources
every TclLib/Device/*/baseline.tcl once (via ::Defaults) — the same
dict the bareword `device pull` / `stress pull` / `diffuse pull`
forms consume.

pull_families

file: TclLib/Agents/models-agent.tcl

pull_families domain=device|stress|diffuse
Lists the pull-mode family registry for one domain: family names in
dispatch order, their resolve mode (deep = additive chain-merge,
selone = one model per material), and — where the family publishes a
schema proc — the known/required parameter keys per model.

pull_resolve

file: TclLib/Agents/models-agent.tcl

pull_resolve mat=<Material> ?domain=device|stress|diffuse|quantum? ?dict=<models-dict>?
Returns the chain-merged models dict one material actually sees: the
deep merge of every link on its inherit chain (root first, child
wins), exactly what `device pull` hands the family composers. With
dict= the caller's dict is resolved; without it the domain baseline
defaults are used. Args are hand-parsed on the FIRST '=' so dict
values containing '=' survive.

solution_info

file: TclLib/Agents/shared-tools.tcl

solution_info ?list|status? ?name=<sol>? ?print? ?<Material>?
Read-only gate over the `solution` command for agents that must not
register or modify equations. Forwards ONLY the inspection surface:
the bare keywords `list`, `status`, `print`, a `name=<sol>` selector,
and declared material names (validated against `mater list`). Any
other argument — `add`, `value=`, `solve`, side-property setters —
is rejected with a TCL_ERROR before `solution` ever sees it, making
the read-only discipline structural instead of prompt-level.