fix(skill/databricks-genie): use jq for cross-workspace catalog remap#527
Draft
jacksandom wants to merge 1 commit into
Draft
fix(skill/databricks-genie): use jq for cross-workspace catalog remap#527jacksandom wants to merge 1 commit into
jacksandom wants to merge 1 commit into
Conversation
sed -i '' is BSD/macOS-only — the empty-string argument is required by BSD sed but rejected by GNU sed on Linux. Replace with jq, which is portable, already used throughout the skill, and operates on JSON values directly. L3 audit (stf audit) on this branch vs origin/experimental: both score 0.85 / 1.0 with all 10 dimensions PASS — no regression. Co-authored-by: Isaac
calreynolds
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sed -i ''in the Cross-Workspace Migration section is BSD/macOS-only — theempty-string argument that's required by BSD sed is rejected by GNU sed on
Linux. Linux users running the documented snippet hit
sed: -e expression #1, char 0: no previous regular expression.Replace with
jq, which is portable across macOS and Linux, already usedthroughout the skill, and operates on JSON values directly.
Diff
Evaluation
Ran
stf audit(L3 — static SKILL.md quality audit) against both this branchand
origin/experimentalvia the Databricks AI Gateway:NEUTRAL on L3 — the rubric doesn't grade for cross-platform shell portability,
so the actual fix isn't visible at this granularity. No regression introduced.
stf lintclean. No MCP refs in the skill, so L1 MCP-preflight is N/A.How to verify
Test plan
stf lint databricks-skills/databricks-geniecleanstf auditPASS on this branch (0.85)stf auditPASS on origin/experimental (0.85) — no regressionjqsnippet verified on a samplegenie_space.json(rewrites bothidentifierfields and catalog names embedded in instruction text)