Migrate tile.json to .tessl-plugin/plugin.json - #26
Merged
Conversation
tile.json is deprecated; the CLI warns on every invocation and says support will be removed in a future release. With both files present the linter reports plugin.json as authoritative and tile.json as ignored, so tile.json is removed rather than left to drift. Rewrites the three manifest tests against plugin.json. The previous "skill paths point to existing files" and "steering rule path exists" tests could not fail: their `return 1` ran inside a `while` loop on the right-hand side of a pipe, in a subshell. They now read entries into an array first and assert a non-empty parse. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Why
tile.jsonis deprecated. Everytesslinvocation warns:It's also a prerequisite for evals:
tessl eval run <plugin-dir>looks for.tessl-plugin/plugin.json, so scenario evaluation can't run against the tile-shaped package.Kept separate from the eval work so the packaging change can be reviewed on its own.
What changed
tessl plugin migrategenerated.tessl-plugin/plugin.json. Skills became directory references (skills/dld-common) rather thanSKILL.mdpaths,steeringbecamerules, andsummarybecamedescription.tile.jsondeleted. With both present the linter reports plugin.json as authoritative and tile.json as ignored, with the packaged tarball synthesised from plugin.json — so leaving it would let it drift silently.CLAUDE.mdupdated: directory structure, the dual-directory section, the packaging section, and thetessl tile lint→tessl plugin lintconvention. Also corrects a stale version reference (dld-kit/dld@0.1.0).Test fix worth noting
Two of the replaced tests could not fail. Their
return 1ran inside awhileloop on the right-hand side of a pipe, which bash runs in a subshell:The replacements read entries into an array with
mapfilefirst, and assert the parse produced at least one entry so an empty or renamed manifest fails loudly instead of passing on zero iterations.Verification
tessl plugin lint— valid, deprecation warning gonetessl plugin pack— tarball buildstile.jsonmakes the new test fail as intended🤖 Generated with Claude Code