Commit 9c2ee83
committed
refactor: sharpen template scaffolding rules for skill conflict detection
The original three never entries surfaced false-positive conflicts with
plugin setup instructions during integration testing against the
databricks-apps skill (Track B PR databricks/databricks-agent-skills#79):
- 'Modify files inside the template directory' caught every plugin must
rule that edits scaffolded files (genie spaces config, lakebase
migrations, analytics queries). The rule was either unreachable (if
read as the SDK source-of-truth) or contradictory (if read as the
scaffolded output, which the user owns post-init). Deleted.
- 'Hardcode workspace-specific values in template files' conflated
workspace IDs (which are correctly committed to bundle config) with
credentials (which must not be). Replaced with a must/never pair that
names the legitimate destinations (app.yaml, databricks.yml, .env)
and the leak path (client bundle).
- 'Skip resource configuration prompts' conflicted with the --set
non-interactive path. Replaced with a should/never pair covering the
actual decision-time failures: ask the user when uncertain; never
guess when discovery returns zero or multiple options.
Net: 0 must + 0 should + 3 never -> 1 must + 1 should + 2 never. All
entries describe agent behaviors at decision points (substitutability
gate passes), each under 120 chars, and the merged set is precedence-
and phase-clean per the skill PR's protocol.
Regression test in validate-manifest.test.ts updated to pin the new
contents.
Co-authored-by: Isaac
Signed-off-by: Atila Fassina <atila@fassina.eu>1 parent 440851c commit 9c2ee83
3 files changed
Lines changed: 31 additions & 15 deletions
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
970 | 970 | | |
971 | 971 | | |
972 | 972 | | |
973 | | - | |
974 | | - | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
975 | 988 | | |
976 | | - | |
977 | | - | |
978 | | - | |
| 989 | + | |
| 990 | + | |
979 | 991 | | |
980 | 992 | | |
981 | 993 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | | - | |
1066 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
1067 | 1069 | | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
| 1070 | + | |
| 1071 | + | |
1071 | 1072 | | |
1072 | 1073 | | |
1073 | 1074 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments