diff --git a/agent-skills/skills/hosts/snowflake-coco/adapter.md b/agent-skills/skills/hosts/snowflake-coco/adapter.md index e9c4349cb..9e9fb5437 100644 --- a/agent-skills/skills/hosts/snowflake-coco/adapter.md +++ b/agent-skills/skills/hosts/snowflake-coco/adapter.md @@ -45,7 +45,9 @@ must be kept. Never relabel natural-language content as categorical to dodge the is a host restriction, not a portable Kumo restriction. Preflight cannot predict Kumo's sampled type inference, so a column name is not proof either way: -at the graph gate, exclude only columns whose text semantics are already established. The +at the graph gate, exclude only columns whose text semantics are already established, and put an +open-vocabulary string whose type is not settled to the user as a `Column types` line +(`kumoai-reference/references/graph_construction.md` *How a semantic type is inferred*). The generated code carries the runtime guard, because the user may run it without the agent: after `infer_metadata()` and the `with_column` corrections, and before `graph.snapshot()`, emit a cell that fails on any retained `Stype.text` column. diff --git a/agent-skills/skills/kumo-data-science/SKILL.md b/agent-skills/skills/kumo-data-science/SKILL.md index 0668c6cf5..fd92fba98 100644 --- a/agent-skills/skills/kumo-data-science/SKILL.md +++ b/agent-skills/skills/kumo-data-science/SKILL.md @@ -207,6 +207,16 @@ Carry the confirmed exclusion set into code generation: a table with any exclusi with an explicit positional column list, because omitting it silently restores every source column. +**Column types.** `infer_metadata()` types each column from its name, its physical type and its +sampled values (`kumoai-reference/references/graph_construction.md` *How a semantic type is +inferred*), and those rules can contradict what a column means. Add a `Column types` section to +the proposal with one line for every selected non-key column a rule there matches: the type Kumo +will give it, the rule behind it, and the type its meaning calls for. Where the two differ, the +choice is the user's, at this gate; the notebook declares the confirmed type with +`with_column(...)`. A type confirmed here is a declaration, like a foreign key's `ID` — not a +change made to silence a data message (`kumoai-reference/references/troubleshooting_signals.md` +§1a). + **Assert what preflight could not find.** The proposal must state these explicitly rather than leaving them unmentioned, because each one changes whether the task is expressible: diff --git a/agent-skills/skills/kumo-data-science/accept/preflight.md b/agent-skills/skills/kumo-data-science/accept/preflight.md index abed8b5ba..92f0dfbfa 100644 --- a/agent-skills/skills/kumo-data-science/accept/preflight.md +++ b/agent-skills/skills/kumo-data-science/accept/preflight.md @@ -217,6 +217,10 @@ Excluded columns - fraud_events.DAYS_TO_RESOLVE [inferred] — duration of an interval that has not ended yet - ... +Column types +-