Repository navigation
feat(skill-optimizer, SCL-6360): find the skill from a repository root - #66
doogal-tessl wants to merge 1 commit into
Conversation
setup-skill-performance stopped with "package it as a plugin first" when run from the root of an application repository whose skill had no plugin manifest. Phase 1 now finds what to evaluate with the agent's judgement: use the enclosing plugin if there is one; at a repository root, use one clear skill, ask among a few, or ask the user to name it when there are many. A skill with no manifest is imported with `tessl skill import`. Also: pass --wait to `tessl scenario generate`, download by run ID, say that generation uses credits, update the time estimate to 2-5 minutes per scenario, and give each question a non-interactive default. Adds the skill-without-plugin-in-app-repo eval scenario. Version 0.16.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Tessl Reviewer
Changes requested (1 required)
The change adds repository-root skill discovery, automatic import, and more reliable scenario generation and download instructions. The non-interactive default introduces a consent conflict: it can treat an unanswered setup-script approval request as permission to enable and run the script.
| Severity | Requires changes | Advisory |
|---|---|---|
| Major | 1 | 0 |
Requires changes (1)
- Major · Requires changes · The non-interactive default treats missing setup-script consent as approval
skill-optimizer/skills/setup-skill-performance/SKILL.md:14
Working with this review
Verify before acting. These findings are AI-generated and not authoritative. Check each one against the code, yourself or with an agent, before acting on it.
Answer each finding on its thread:
- Addressed: you changed the code. Say what changed.
- Refuted: the finding is wrong about the code.
- Declined: the finding is right, and you are not changing it. Say why.
Reviews are incremental. The first review shows every valid optional and required finding. A later round checks the latest changes and earlier findings, and adds a fresh finding only when it requires changes. It never repeats one you refuted or declined. The configured request-changes severity sets the consequence baseline, and review mode sets the strength required to block. Ask for a full review to inspect the whole change and show optional findings again.
Lenses are configurable. Add your own and scope them to paths with globs. Keep the set small so findings stay distinct. See https://docs.tessl.io/tutorials/setting-up-agentic-code-review#route-reviews-with-yaml
Mention @tessl-reviewer to run another review.
|
|
||
| **Companion skill:** After setup is complete, suggest the user run the `optimize-skill-performance` skill to analyze results, diagnose failures, fix plugin content, and re-verify improvements. | ||
|
|
||
| **Non-interactive runs:** if you cannot ask the user, do not stop at a question. Take the first option the step offers, unless the step gives its own non-interactive rule. |
There was a problem hiding this comment.
Major · Requires changes · The non-interactive default treats missing setup-script consent as approval
SKILL.md:14 tells unattended runs to take the first offered option unless a step supplies its own non-interactive rule. In phase3-fixtures-and-setup.md:99–111, the first option is “Approve this script,” followed by writing and enabling setup.sh; that step has no non-interactive exception. A full-pipeline run for a scenario needing dependency setup can therefore enable a script such as npm install and proceed to an eval that executes it without the explicit user approval the same reference requires. Displaying the script or the pre-run summary does not supply that consent when nobody can answer. Non-interactive continuation must preserve the explicit approval gates for setup scripts and fixture sourcing rather than treating the absence of a response as approval.
Skill Instruction Integrity
setup-skill-performancestopped with "package it as a plugin first" when a user ran it from the root of an application repository whose skill (for exampleskills/<name>/SKILL.md) had no plugin manifest. This change lets the agent find the skill and import it.Changes
tessl skill import <skill-dir>, which adds only<skill-dir>/.tessl-plugin/plugin.json.tessl scenario generategets--wait. Without it, a non-interactive run returns at once.--last.skill-without-plugin-in-app-repo.Testing
tessl agent --printread-only run with the edited skill planned the correct import, generate, download and eval commands. The released skill stopped at "package it first".Before merging
mainhasskill-optimizerat 0.14.0, but the registry already hastessl/skill-optimizer0.16.0. Confirm where 0.15 and 0.16 were published from, so 0.16.1 does not drop changes made outside this repository.🤖 Generated with Claude Code