Skill references
tackOS-upgrade
Bring every layer, tackOS included, and every External Skillset up to date, one audited and approved change at a time.
Run it
/tackOS-upgradeUse it when
tackOS-checkwarns that a pinned layer is behind the newestv*tag. tackOS releases often, so a machine pinned to a release falls behind quickly.- You want the newest release of the skills you import from other people.
- You want every layer you follow by branch brought up to date in one go.
What it does
- Surveys each layer of the Active Loadout, tackOS included, and every External Skillset in them.
- A layer pinned to a
v*tag is behind when a newer tag is out. - A layer that follows a branch has incoming commits, or it’s current.
- A layer pinned to a SHA stays as it is, and so does one with local changes.
- A skillset is behind, current or unpinned. A skillset in a pinned or read-only layer moves only with its layer.
- A layer pinned to a
- Previews each change: the diff between the two tags, the incoming commits, or each skillset at its new tag in a scratch folder. It audits every one, as sync does.
- Asks about one change at a time, layers first. You see a short summary and every audit finding, and the full diff if you ask. You answer yes or no, and for a skillset you can add new skills or drop gone ones.
- Applies each yes. A pinned layer gets its new tag in your Loadout file and is checked out at it. A followed layer is fast-forwarded. A skillset is installed at its new tag, and only its
skills-lock.jsonis committed, checked and pushed. tackOS goes last, so that the run finishes under the skill it started with. - Runs
/tackOS-synconce, when a change added or removed a skill or changed a layer’s shape. Then it reports each layer and skillset.
What it changes
- The
ref:of each upgraded pinned layer, in the Loadout file that lists it. - The checkout of each upgraded layer under
~/.tackOS/layers/. - The
skills-lock.jsonof each approved skillset, with one commit each.
Done when
Every approved change is in place, and sync, if it ran, prints Check: ok.
Related
tackOS-sync · tackOS-check · Pin a layer or use one read-only