Skip to content

@table params= is accepted and stored but emitted by neither face #128

Description

@sotashimozono

@table ... params= is accepted into Table.params (src/document.jl:682, :707).

Neither emitter reads it:

src/themes/agent.jl:148-176      emit_table -- no params in the JSON
src/themes/gallery.jl:1242-1268  emit_table -- no params either

Repo-wide, params on a Table is read in exactly one place: src/testset.jl:1648-1649, which @warns that it is dropped across a shard dump. In an ordinary direct render it is dropped with no warning at all.

A caller who writes @table data params=key, mirroring @figure ... params=key and expecting the same DataVault-lineage treatment CLAUDE.md attributes to params, gets a complete no-op.

Fix

Surface Table.params in agent.json the way _agent_params_json does for Figure, or drop the kwarg and warn at macro-expansion time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions