Update rules and skills
The rules and skills your project takes from libraries and other repositories keep changing after you add them: authors fix mistakes, improve advice, add new rules and skills, and retire old ones. Your project doesn’t pick up those changes on its own, so every so often you’ll want to bring it up to date. This guide shows how to do that with trailguide project update, how to see what will change before you accept it, and how to handle the cases where you don’t want every change, such as keeping one rule where it is.
This guide starts with a full update and what it does to your skills, including sources that aren’t libraries and rules and skills a library retires. Advanced use cases cover the less common needs, such as updating one rule or keeping a rule where it is. The guide ends with how to recover from a failed update.
You need a project that already takes rules or skills from at least one source; if yours doesn’t yet, start with Select rules or Install skills. If you’re publishing new rule versions from a library you maintain, see Version your rules. If you’re looking for exactly which files each command writes, see Sync and recovery.
Sync and update
Section titled “Sync and update”Your project records exactly which revision of each source it uses, and which version of each rule. That record is the lock: one file, .trailguide/lock.json, with an entry per source that names the source’s exact Git commit and the version of each rule and skill it took. Because the lock is committed with the project, everyone who checks out the project gets the same rules and skills, and so do their agents and CI.
Two commands work with the lock, and they have opposite jobs:
trailguide project syncreproduces the lock. It installs what the lock records and never moves a source to a newer revision. Run it after you check out the project, or after you change what you include.trailguide project updatemoves the lock forward. It looks for newer revisions of your sources, shows you what would change, and writes the new lock only after you confirm.
The split exists so that changes arrive only when someone chooses them. A teammate who syncs, or a CI job that builds, gets exactly what the project recorded. A change in a library reaches your project only when someone runs update, reads the preview, and commits the result. Neither command runs during ordinary coding, review, or trailguide project check, so rules and skills never change underneath your agents.
For a library, .trailguide/config.yaml also says which library release the project takes, as the source’s ref, such as ref: release/4. A reviewer sees an update as a one-line change from release/4 to release/5, next to the new lock.
Sync does take something new in two cases. A source that’s new to the project, or whose repository you changed, is taken as an update would take it. So is a source whose ref you changed to a branch, tag, or commit. A source whose ref you changed to another library release isn’t: sync fails and names trailguide project update SOURCE, which takes it. When you include a rule or skill that the recorded revision doesn’t have, sync fails and names trailguide project update SOURCE.
A source without a ref
Section titled “A source without a ref”Every source needs a ref. A project synced with an earlier Trailguide may have library sources without one, and then sync, update, build, and check all fail, naming the release your project records:
Error: sources.fabrica has no ref, so .trailguide/config.yaml doesn't say which library release the project takes. Add ref: release/4 to sources.fabrica, the release this project records, or ref: latest-release to take the newest release at each update, then run the command again. No files were written.Add the line the error names to the source:
sources: fabrica: repository: https://github.com/fabricahq/.trailguide.git ref: release/4Nothing else changes: the release is the one your lock already records, so check passes and sync writes nothing.
Run an update and read the preview
Section titled “Run an update and read the preview”Update never changes your project without showing you first. It prints a preview of every change, waits for you to read it, and applies nothing until you confirm. This section walks through that preview and what to look for in it.
The versions and summaries in the preview come from library releases. A library publishes its changes in numbered releases, tagged release/1, release/2, and so on, and each release gives every changed rule and skill a new version and a one-line summary of what changed.
Rules and skills update differently
Section titled “Rules and skills update differently”One update covers both the rules and the skills your project takes from a source, and the preview lists them together. But they update in different ways:
| Rules | Skills | |
|---|---|---|
| What gets updated | Each rule updates to its own newest version. | All of a source’s skills update together, to the source’s newest release or commit. |
| Update one at a time | trailguide project update SOURCE:RULE takes one rule’s newest version. | Not possible. You must update all of a source’s skills at the same time. |
| Hold one back | Pin it, and it stays at its current version. | Exclude or fork it, or keep the source’s ref at its release. |
| What a change level tells you | Whether code that followed the old version still complies. | Whether whatever relied on the old version, such as your workflow or another skill that uses it, still works the same way. |
Skills update together because they often call one another, and skills from one revision always match. The rest of this section explains the preview using rule rows; Update skills covers what’s different in skill rows, such as script warnings and level changes.
Run the update
Section titled “Run the update”From the project root, run:
trailguide project updateThe command previews every change to the rules and skills in each source, with the summary of each new version, then asks you to confirm:
team major practices/testing/verify-retry-limits 1.3.0 -> 2.0.0 Require a test at the limit for every retry policy. major techs/react/prefer-server-components 1.4.0 -> 2.0.0 Require server components for all data fetching. minor techs/react/test-hooks-in-isolation 2.1.0 -> 2.2.0 Add an example for custom hooks. new practices/testing/verify-retries 1.0.0 Add the rule. retired practices/testing/check-retry-backoff 1.2.0 Replaced by practices/testing/verify-retries. Covered by the broader rule about testing retries. replaced techs/react/use-query-hooks 1.1.0 -> 1.2.0 Add an example for paginated queries. Your rule: rules/techs/react/use-query-hooks.md, based on 1.1.0. Changes since 1.1.0, the version your rule is based on. To replace your rule and its assets with a fork of 1.2.0, pass --update-fork team:techs/react/use-query-hooks. pinned practices/testing/verify-backoff 1.3.0 Newest version: 2.0.0. Reason: Waiting on the author's response to acme/.trailguide#45. minor skills/build-feature 1.2.0 -> 1.3.0 Add a step that writes a failing test before each slice. script changed: scripts/verify.sh new skills/tdd 1.1.0 Write a failing test before each change. Installed because skills/build-feature uses it. script added: scripts/run-tests.sh
Warning: some skills in this update add or change scripts. Trailguide never runs them, but your agents may; read them before you confirm.Each source lists its rules first, then its skills. Here, team has seven rule rows and two skill rows: a newer version of skills/build-feature, and a new skill, skills/tdd, that it now uses.
When a rule moves through several versions, each summary starts with the version it belongs to, such as 1.4.0: Add an example.
| Change | What it means for your project |
|---|---|
patch | Work that complied with the previous version still complies. The rule adds no new guidance. |
minor | Work that complied with the previous version still complies. The rule adds new guidance. |
major | Work that complied with the previous version could fail this one. |
new | A rule the library added that your selectors reach, such as one in a rule group you include with practices/testing/*. |
retired | The library stopped publishing the rule, so your agents will stop reading it. The preview names its replacement when there is one. |
replaced | The library changed a rule you replaced with your own since the version your rule is based on, its basedOn, which a fork records. The preview lists those changes. Without basedOn, it lists the changes since the version your project’s lock records, which your rule may already have. Your rule doesn’t change unless you replace it with a fork of the newest version. |
pinned | A newer version exists, but your pin keeps the rule where it is. |
At the end of a source’s list, the preview may show a line such as Shared files: release 3 -> 4. Besides rules and skills, a library publishes files that every rule draws on, such as rule group descriptions and shared diagrams; see What a version covers. This line means a newer release changed some of them, and the update brings them in even when no rule changes.
What to check before you confirm
Section titled “What to check before you confirm”Most rows need no action, but a few can change what your code must do, so read these closely:
major: code that followed the old version may break the new one.new: your agents will start following a rule they didn’t follow before.retired: your agents will stop following the rule; check whether its replacement covers what you need.
For skill rows, see Update skills. Rows marked replaced need a decision from you, described next.
When you confirm, the update applies exactly the changes the preview showed, and nothing else.
Rules you replaced with your own
Section titled “Rules you replaced with your own”You may have replaced a library rule with your own rule, often by forking it: copying the library’s rule into your project so you can edit it. Your rule doesn’t follow the library, so when the library changes the original, the preview flags it as replaced and lists what changed. Update never touches your rule on its own; you choose one of two ways to bring it up to date.
Take the library’s newest version, discarding your edits. Choose this when you never edited your fork, or no longer need your edits. In a terminal, answer yes when the update asks whether to replace your rule; it first names the files it would replace or remove. In a script, pass --update-fork team:<rule> with --yes. Either way, your rule becomes a fresh fork of the newest version, exactly as forking that version would write it, its asset directory is replaced, and Trailguide records the version you’re now based on. Your edits are overwritten, so commit them first. See Replace a fork with the newest version.
Keep your edits and merge by hand. Copy the library’s changes you want into your rule. Then set the rule’s basedOn in .trailguide/config.yaml to the version you merged. basedOn is how Trailguide knows which library changes your rule already has: later previews list only the changes after it. Trailguide never moves basedOn itself, because only you know whether you took the changes in.
A forked skill is different: its update keeps your edits. When the source’s copy changes, the preview lists the skill as replaced with the files that changed, and says whether merging them into your fork finds text conflicts. When it finds none, answer yes when a terminal update asks whether to merge them, or pass --merge-fork fabrica:<skill>, and Trailguide merges the changes into your fork and moves its basedOn. When it finds conflicts, merge by hand and set basedOn yourself. See Fork a skill.
New rules: add or exclude
Section titled “New rules: add or exclude”When a library adds a rule to a rule group you include, your project takes it by default. If the rule doesn’t fit your project, you can turn it down with an exclusion: a line in .trailguide/config.yaml that leaves the rule out, with the reason why, so later updates don’t offer it again. In a terminal, the update asks whether to add each new rule; answer no to exclude it, and it asks for the reason. In a script, pass --exclude team:<rule> --reason '…' with --yes.
Apply an update in a script or CI
Section titled “Apply an update in a script or CI”A script or CI job has no terminal to answer the confirmation, so there the command only prints the preview and changes nothing. To apply the update without being asked, pass --yes:
trailguide project update --yesUpdate skills
Section titled “Update skills”Unlike rules, skills don’t update one at a time; see Rules and skills update differently. All of a source’s skills come from the one library release or commit the project recorded for it, the same revision that supplies its library-wide files, so skills that call each other always match. When an update moves that revision, every installed skill from the source moves with it.
Library skills have versions too, so the preview lists them beside the rules, with the same changes and summaries. It lists each skill whose version changed:
fabrica minor skills/build-feature 1.2.0 -> 1.3.0 Add a step that writes a failing test before each slice. script changed: scripts/verify.sh new skills/tdd 1.1.0 Write a failing test before each change. Installed because skills/build-feature uses it. script added: scripts/run-tests.sh new practices/testing/test-behavior-not-implementation 2.0.0 Test what callers observe, not how the code does it. Cited by skills/build-feature; reference-only. replaced skills/fix-bug commit 9f2c4e1a7b3d -> 4b8e0c2d6f1a Your skill: skills/fix-bug, based on commit 9f2c4e1a7b3d. Changed since commit 9f2c4e1a7b3d, the copy your skill is based on: SKILL.md Merging them into your skill finds no text conflicts with your edits. To merge them and set basedOn to commit 4b8e0c2d6f1a, pass --merge-fork fabrica:skills/fix-bug.
Warning: some skills in this update add or change scripts. Trailguide never runs them, but your agents may; read them before you confirm.Under each skill’s row, the preview flags every executable file that’s new or changed: a file whose executable bit is set at the new revision and that the update adds or changes, as script added or script changed, and a file whose executable bit changed, as script changed. When it flags any, the preview ends with one warning. Trailguide never runs these scripts, but your agents may, so read them before you confirm. The warning doesn’t block the update.
For a skill, the change levels describe what the skill does rather than an obligation:
| Change | What it means for your project |
|---|---|
patch | The skill only clarifies its wording. |
minor | The skill adds steps or guidance without changing how it was used. |
major | The skill now produces or requires something different, such as a removed or reordered step people rely on, a new required input, or a new skill or rule it uses. |
A skill’s new version can use more skills or cite more rules. The preview lists each skill it newly brings in as new, saying which skill uses it, and each rule it newly cites as new, at the rule’s newest version, marked reference-only unless your selectors also reach it. A skill or cited rule that no installed skill needs any longer is dropped.
--exclude takes skill IDs the same way it takes rule IDs, such as --exclude fabrica:skills/review-change. Pins, --keep, and --update-fork are for rules only, and --merge-fork is for forked skills only, and trailguide project update fabrica:skills/build-feature is refused: skills move only when their whole source updates, in a full update or trailguide project update fabrica. In a terminal, skill changes have no questions of their own: the preview lists each major change, retirement, level change, and new skill, a new skill installs as skills.include says, and confirming the update takes them all. To hold a skill back, decline the update, then exclude or fork it, or set the source’s ref, which holds every rule and skill from that source. For a skill you forked, --merge-fork merges the source’s changes into your fork instead of replacing it; see Fork a skill.
After you confirm, the update rewrites the installed copies in your target folders, SKILLS.md, and generated/installed-skills.json in the same step as vendor/ and generated/.
Level changes
Section titled “Level changes”A library sets a level for each skill it publishes. A required skill installs in every project that uses the library. A recommended skill installs in projects that include recommended. An available skill installs only when you name it. See Skill levels.
A library can change a skill’s level in any library release, so an update can start or stop installing a skill you never named. The preview shows each move under the skill’s row, with what it means for your project:
fabrica added skills/ship-service level: available -> required Now required: it installs whatever skills.include says, and the project can't exclude or fork it. removed skills/write-design-doc level: recommended -> available No longer recommended: it installs only when skills.include names it or has "*". level skills/build-feature available -> recommended Now recommended: it installs when skills.include has recommended.- A move that installs a skill, such as
available -> required, oravailable -> recommendedwhen you includerecommended, shows the skill asadded, with the move on the line below. - A move that stops installing one, such as
recommended -> availablewhen you don’t name the skill, shows it asremoved. To keep it, add its ID toskills.includebefore you confirm. - When the skill’s files change too, the move appears under its
changedrow, or itsreplacedrow for a skill you forked, before the files. - A move that installs or removes nothing, such as
available -> recommendedwhen you don’t includerecommended, gets alevelrow of its own, so you can decide whether to include the skill.
A skill that becomes required while your project excludes or forks it stops the update: required skills can’t be excluded or forked. The error names the library and your exclusion; remove the exclusion, or stop using the source. Levels don’t chain: a project sees only the levels of the libraries it names as sources.
Update a non-library source
Section titled “Update a non-library source”A non-library source is any Git repository of skills that hasn’t adopted Trailguide, that is, one without a Trailguide library manifest. Most skill collections you’ll find, such as a third party’s, are non-library sources. Such a repository may tag its own releases, such as v1.2.0, and you can set ref to one of those tags. What it doesn’t have is what a library release adds: a version for each skill, and a change note saying what changed in it. So the update preview can’t say how each skill changed; it lists the skill folders and files that changed instead. With no library releases to follow, the source must name a ref, and an update follows that ref. See Non-library sources.
When its ref names a branch, the update moves it to the newest commit on the branch. The preview shows the commit it moves from and to, then lists each installed skill folder that changed between the two, with the files that changed:
pstack main: 3f9c2e1a5b7d -> 8a41d07c2e9f changed skills/architect Changed: SKILL.md, scripts/diagram.sh script changed: scripts/diagram.sh added skills/review removed skills/sketch
Warning: some skills in this update add or change scripts. Trailguide never runs them, but your agents may; read them before you confirm.changedlists a skill folder whose files differ, including a file whose executable bit changed.addedlists a new skill folder that the source’s"*"includes. New folders you haven’t included aren’t listed; runtrailguide project list skillsto see them.removedlists an installed skill whose folder is gone. Applying the update stops installing it. When the skill is in yourskills.include, the entry no longer does anything, and sync and update warn about it so you can delete it.
Scripts are flagged and warned about as they are for library skills. Read the changed files before you confirm: without versions or summaries, the diff is the only record of what changed. When the branch has no new commit, the preview says main: no new commit.
- A tag. A tag that now names a different commit than at your last update moves too, and the preview warns that the tag moved. Only a non-library source follows a tag this way; a library source with a tag
refholds one revision. - A commit. A non-library source whose
refis a commit never moves. To take another commit, changerefand runtrailguide project sync. - Holding it back.
--keepand pins don’t apply to non-library sources. To hold one that tracks a branch at its current commit, set itsrefto the commit.trailguide/lock.jsonrecords for it.
Curated skills
Section titled “Curated skills”A library can also offer skills that live in another repository. These are curated skills: the library names the other repository, usually with a ref in it, and either lists each skill at a level or uses it from one of its own skills. See Curated skills.
Your project resolves the curated source’s ref itself when it updates, so a curated skill can move even when the library doesn’t publish a new library release. The preview lists the curated source’s move under the library that curates it, with the same rows as a non-library source:
fabrica release 7 -> 7 fabrica curates mattpocock main: 3f9c2e1a5b7d -> 8a41d07c2e9f changed mattpocock:skills/engineering/to-spec Changed: SKILL.mdTo take a newer or older revision of a curated skill than the library’s ref gives you, declare the same repository as your own source, with the ref you want, and the same path when the library curates from one folder of it. Your source’s ref then decides for every skill the library curates from that repository and folder; see Try a newer version of a curated skill.
Handle retired rules and skills
Section titled “Handle retired rules and skills”Libraries retire rules and skills that no longer earn their place, often because a broader one replaces them. A retirement removes guidance your agents relied on, so the preview shows it for you to check. A retired rule or skill appears with its last version, the summary explaining why, and its replacement if it has one. A rule never replaces a skill, or the reverse. If the library later retired the replacement too, the preview says so and names the rule that replaced it, if any.
Retired rules. When you confirm, the rule is dropped and your agents stop following it. If it has a replacement, read the replacement and check that your selectors include it. To keep following the retired rule, choose to keep it when the update asks, or pin it to its last version before you confirm; once the retirement is applied, the rule is gone and can’t be pinned. If you exclude, replace, or include by ID a rule that the library retires, that entry no longer does anything; sync and update warn about it so you can delete it. A fork of the retired rule stays. When the retired rule was the only source of its rule group’s metadata, the update writes that metadata to .trailguide/rules/<group-id>/_group.yaml, so the fork keeps its rule group.
Retired skills. When you confirm, the skill’s installed folders are removed. If it has a replacement, check that you include it. To keep using the skill, fork it before you apply the update.
Review and commit the update
Section titled “Review and commit the update”An update changes what your agents read and may change scripts they run, so review it like any other change before you commit. trailguide project update reports added, changed, and removed file paths. Before committing:
- Inspect the diff of
.trailguide/vendor/for changes from your sources, including rules and skills hidden by your exclusions and replacements, and changes to retained licenses and notices. - Inspect the diff of the installed skills in
.claude/skills/and.agents/skills/, especially scripts, which your agents may run. - For each
replacedrule in the preview, compare the library’s old and new text before deciding whether your own rule still makes sense. - When updated rules introduce competing obligations, use the conflict-review prompt to inspect the combined guidance.
The update also raises minTrailguideVersion in .trailguide/config.yaml to the Trailguide version you ran, when it named an older one, and the preview says so before you confirm. Teammates whose Trailguide is older then get an error asking them to upgrade, instead of regenerating the files differently. See Minimum Trailguide version.
Commit the configuration, vendor snapshots, generated files, and installed skill folders together.
Advanced use cases
Section titled “Advanced use cases”Most updates need only the steps above. The cases below come up less often: taking changes from one source or one rule at a time, holding rules back, staying on one library release, and changing what you include without updating.
Update one source
Section titled “Update one source”When your project takes rules and skills from several sources, you may want to take one library’s changes now and leave the others for later. Name the source, its name under sources in .trailguide/config.yaml:
trailguide project update teamThe update works like a full one, with the same preview and questions, for team only. Your other sources stay where they are until your next full update.
When the update moves a library source to a newer release, it writes that release to the source’s ref, and the preview says so, such as Sets sources.team.ref to release/5 in .trailguide/config.yaml. A library source whose ref is latest-release moves to the newest release too, and its ref stays latest-release. One whose ref is a tag other than a library release, or a commit, doesn’t move this way; see Take one library release.
Update one rule to its newest version
Section titled “Update one rule to its newest version”Sometimes you need one rule’s newest version, such as a fix your team is waiting for, without taking anything else its library changed. Name the rule after its source, as SOURCE:RULE:
trailguide project update team:techs/react/prefer-server-componentsThe preview and the update cover only that rule. The library’s new rules, its other rule changes, and its shared files stay where they are. There’s one exception. A rule version can rely on the shared files its library release published, so when the rule’s new version comes from a newer library release than your shared files, the shared files move to that release. The source’s skills come from the same release, so they move too, and the preview lists them. To move several rules together, name each of them.
You can’t update one skill on its own: a library’s skills all come from one library release, and a non-library source’s from one commit. Update the whole source instead.
A pinned rule doesn’t move; delete its pin first. A source that uses ref moves only as a whole; see Refs.
Keep a rule at its current version
Section titled “Keep a rule at its current version”An update can bring a change you’re not ready for, such as a major version that your code doesn’t meet yet. You don’t have to choose between taking it and skipping the whole update. A pin keeps one rule at one version while everything else updates. It records the version and why you’re keeping it:
sources: team: repository: https://github.com/acme/.trailguide.git ref: release/4rules: include: [team:techs/react/*, team:practices/testing/*] pins: - id: team:practices/testing/verify-retry-limits version: "1.3.0" reason: Waiting on the author's response to acme/.trailguide#45.There are three ways to add one:
-
During the update. In a terminal,
trailguide project updateasks whether to adopt each major change, and whether to drop each retired rule. Answer no to keep the rule at its current version, give a reason, and the command writes the pin. -
With
--keep. Pin rules as part of the update, without prompts:Terminal window trailguide project update --yes \--keep team:practices/testing/verify-retry-limits \--reason "Waiting on the author's response to acme/.trailguide#45." -
By hand. Add the pin to
.trailguide/config.yaml, using the version recorded in.trailguide/lock.json, and runtrailguide project sync. An agent asked to keep a rule at its current version can do this for you.
Pins are for rules only. To hold a skill back, see Update skills.
A pinned rule keeps its identity: it still appears as the library’s rule, with its version, in your generated guidance and lock.json. Every update preview lists it, with its newest version and your reason, so the decision isn’t forgotten.
When you’re ready for the newer version, delete the pin and update that rule:
trailguide project update team:practices/testing/verify-retry-limitsA pin can also move a rule to a specific version. Set version, and trailguide project sync moves the rule to exactly that version, up or down, when the library release your ref names or an earlier one published it. For a later version, run trailguide project update SOURCE, or set ref to the release that published it. To change what a rule says instead, fork it into your project’s .trailguide/rules/. See Pin a rule for the details.
Take one library release
Section titled “Take one library release”Each update moves a library source to the newest release and writes it to ref. Sometimes you want to stay on one release, such as while you adapt your code to the next one. The source stays where it is as long as you don’t update it; update your other sources by name:
trailguide project update other-sourceOther times you need a particular release, not the newest. Set ref to its tag:
sources: vendor-rules: repository: https://github.com/example/engineering-rules.git ref: release/5rules: include: [vendor-rules:*]Sync refuses the changed ref, because sync never moves a source. Update the source instead:
trailguide project update vendor-rulesThe update previews and takes exactly what release 5 published, and leaves the rules you pinned where they are. ref: release/5 doesn’t keep the source there, though: the next update, with ref unchanged, moves it to the newest release and rewrites ref. When the library has published a newer release, the preview says so, and running the update again moves the source to it. Update moves a source only forward; to go back to an older release, revert the commit that moved it.
A project that wants each update to take the newest release, without naming it in config.yaml, can set ref: latest-release. Sync keeps the release the project records, and each trailguide project update moves the source to the newest release, leaving ref as it is. latest-release means the newest library release, not the newest commit on main.
ref also accepts other revisions:
- Another tag or a full commit SHA. Library authors use these to test unreleased changes. Update doesn’t move them; change
refand sync to take another revision. - A branch, such as
main. The source takes the library’s newest commit each time you update, so the library never has to publish a library release.
The catch with anything other than a release is change notes. A library writes them only when it publishes a release, so rules and skills changed since its last release come without them. The update preview shows the commit move and skill changes instead. Trailguide warns about such a source when you sync or update. See Take one revision.
Change what you include
Section titled “Change what you include”Including a new rule or skill, or excluding one, isn’t an update: you’re changing the selection, not moving the source. Edit rules.include or skills.include, or their exclude lists, and run trailguide project sync.
Sync takes newly included rules and skills from the library release the source’s ref names, or the commit your project recorded, and leaves the rest of your rules and skills unchanged. Each new rule gets the newest version that library release or an earlier one published. When something you include isn’t in the recorded revision, such as a skill the library published after your last update, sync fails and names trailguide project update SOURCE, which moves the whole source.
When you stop including, or remove, the last source that supplies an authored rule’s rule group, sync writes the rule group’s metadata to .trailguide/rules/<group-id>/_group.yaml and warns that it did. Review the file afterward; it’s now yours to edit. If the file already exists, sync leaves it unchanged. See Keep the rule group of an authored rule.
Recover from a failed update
Section titled “Recover from a failed update”An update or sync can fail partway, such as when a source is unreachable or a rule doesn’t validate. Both commands validate and render before installing anything, so a failed sync, or an update you didn’t confirm, leaves the previous rules and skills in place. An interrupted installation is detected, and must be recovered, before another command can report success. See Sync and recovery for how recovery works.