Create and migrate repo-defined Tessl schedules in a project's tessl.json. Turns a plain-language task and cadence into a validated schedules entry, optionally authors its repo-local skill, and moves an existing schedule made in Tessl into version control, keeping its Loop id and history. Needs a Tessl CLI whose tessl loop commands read the Loop API.
98%
Does it follow best practices?
Impact
99%
1.03x2 of 3 eval scenarios. Add 1 more for a full score.
Low
Low-risk findings worth noting
Read tessl loop view <original loop id> --json for each moved Loop and
compare data with the move's receipt and preview, and with the status and
pausedReason the Loop had before the move (SKILL.md step 2.1).
The move is adopted when:
data.id is the original id and attributes.project.id its project;attributes.archivedAt is null;attributes.source.kind is repo;attributes.source.declaredIn and attributes.key make the receipt's
repoKey: actions:clean-ts is declaredIn actions and key
clean-ts;attributes.source.commit.sha is the merge commit or a later commit on the
default branch that still carries the entry. When source.commit is null,
say the commit is not recorded.Check that the project's listing has no second live Loop with the same
source.declaredIn and key. The same bare key in a different block, such as
schedules:nightly beside actions:nightly, is a different Loop, not a
duplicate.
Compare the preview's entries with the synced tessl.json for what was
written: explicit values, absent keys, cleared values and rewritten
references. Compare the detail with the preview for what took effect:
status and pausedReason, against the values saved before the move;name, cron and timezone, under its renamed name when
the move renamed it;action, which must name the entry of actions the
preview's trigger names (under its renamed key when the move renamed it),
and its overrides;skill, agent and model (with the effective
resolvedAgent and resolvedModel), git, workdir, effort,
timeout, inputs and instructions, and, on a Loop stored before git,
the deprecated baseBranch, which is read as git.branch;environment.name, and whether it carries unusable.What a trigger runs is its action with its overrides laid over it. Compare
that combination, not the action alone.
Compare only the fields the detail prints.
When the original id still shows source.kind app, or any identity check or
setting differs, tell the user what differs and what the project's Loops tab
says about the last sync, and stop. Do not pause, delete or move anything to
repair it.