Skip to content

fix(skills): ducklake-lakehouse — two false claims, and the maintenance trigger it never had - #687

Merged
athvin merged 1 commit into
mainfrom
fix/ducklake-lakehouse-audit
Nov 6, 2026
Merged

athvin merged 1 commit into
mainfrom
fix/ducklake-lakehouse-audit

Conversation

@athvin

@athvin athvin commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Applies the findings from a /skill-audit of ducklake-lakehouse. Two of them were statements the tree contradicts; the rest are selection and economy.

Two claims that were false

references/extensions.md named the wrong CI job and advertised a gap that had closed. It said the extension-loading tier runs in the DuckLake e2e job "not in the default test job", and concluded a green cargo test --workspace says nothing about whether an extension loads. The step was moved into test-shard — rust.yml:868-879 records the move in its own comment — and ducklake-e2e dropped the variable (rust.yml:1142). The gap it describes is real but local, which is what it now says. The job name is no longer spelled out in prose; ci-and-supply-chain's generated required-checks block owns it.

evals.md scenario 3 required asserting a field that exists. It made it a must to note DuckLakeConfig "has no field for that at all" — the field is metadata_schema at dedupe-core/src/session/ducklake.rs:22, fed by ER_LAKE_CATALOG_SCHEMA, and this skill's own reference records that it landed. A hand-run failed a correct answer and pointed the next author at re-breaking the tenant-isolation passage.

A description that could not fire on its own eval

Lake maintenance has a 149-line reference and eval scenario 4 here, but the description carried no maintenance vocabulary — no "maintenance", "compaction", "expire", "reclaim" — while er-engine-ops claims "lake maintenance" outright. Eval 4's own wording selected the neighbour. Fixed, and routing closed both ways with:

Neighbour Overlap Now
er-engine-ops lake maintenance triggers added here; its tail names the checkpoint ordering
ducklake-performance partition / sort / extension choice split stated: whether to change layout there, how to set it here
security per-tenant lake isolation closed in both, on the (catalog, catalog schema, data path) triple
infra-platform object-store credentials was one-way; this skill now routes back

Smaller

  • Three reference sections restated the SKILL body rather than extending it. Each now defers to it the way attach-and-tenancy.md:30 already did, keeping only what it adds.
  • Two selection musts, and two scenarios for content nothing exercised: unpinning an attach option, and the -dev version label behind a total extension-fetch failure.
  • One sentence saying org / tenant / dataset are not interchangeable, on the passage the body itself calls a security boundary.
  • Dropped "tables are columnar files, not B-trees" — general knowledge, not repo knowledge.

Gate

make skills-check — lint + overrides + drift, all green, tree clean. The description edit regenerated the skill-inventory block in CLAUDE.md, which is committed. No Rust, Terraform or frontend changed, so rust.yml's detect skips every compile job.

Note per docs/agent-skills.md: a .claude-only PR's green is not proof the generated references are current, because agent skills (lint + drift) is not yet a required check — the push-to-main run is what confirms it.

🤖 Generated with Claude Code

@athvin
athvin force-pushed the fix/ducklake-lakehouse-audit branch 2 times, most recently from ed10490 to 5f522bf Compare November 6, 2026 05:13
…ce trigger it never had

A `/skill-audit` of `ducklake-lakehouse` found two statements the tree
contradicts and a description narrower than the skill's own content.

**Two claims that were false.**

`references/extensions.md` said the extension-loading tier runs in the DuckLake
e2e job and not in the default `test` job, and concluded that a green
`cargo test --workspace` says nothing about whether an extension loads. The step
was moved into `test-shard` (rust.yml:868-879, whose own comment records the
move), and `ducklake-e2e` dropped the variable (rust.yml:1142). So the skill
pointed at the wrong job and advertised a CI gap that had closed. The gap it
describes is real but *local*, which is what it now says — and the job name is
no longer spelled out in prose, since `ci-and-supply-chain` carries it in a
generated block.

`evals.md` scenario 3 made it a **must** to state that `DuckLakeConfig` has no
field for DuckLake's `METADATA_SCHEMA`. It has one — `metadata_schema` at
dedupe-core/src/session/ducklake.rs:22, fed by `ER_LAKE_CATALOG_SCHEMA` — and
this skill's own reference records that it landed. The eval failed a correct
answer and pointed the next author at re-breaking the body.

**A description that could not fire on its own eval.** Lake maintenance has a
149-line reference and an eval scenario here, but the description carried no
maintenance vocabulary at all, while `er-engine-ops` claims "lake maintenance"
outright — so eval 4's own wording selected the neighbour. Maintenance triggers
added, and routing closed both ways with `er-engine-ops`, with
`ducklake-performance` on who owns choosing a layout versus setting one, and
with `security` and `infra-platform` on the two overlaps nothing closed.

**Smaller.** Three reference sections restated the SKILL body rather than
extending it; each now defers to it the way attach-and-tenancy.md already did
and keeps only what it adds. Two selection musts and two scenarios added —
unpinning an attach option, and the `-dev` version label behind a total
extension-fetch failure, neither of which was exercised. One sentence stating
org/tenant/dataset are not interchangeable, on the passage the body calls a
security boundary.

Gate: `make skills-check` (lint + overrides + drift). No Rust, Terraform or
frontend changed, so `rust.yml`'s `detect` skips every compile job.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants