self_update

Solid

Update this fork's Subfloor engine in place — fetch + materialize new code + migrations, all memory intact; sound rollback. The shell hands off to its own next boot. Use when a Subfloor update is available.

AI & Automation 28 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
49
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# self_update — laying a new floor under your own feet The local shell updates its own substrate — no external rebuild. All state lives in the DB and engine code is read live each session, so a code-only update touches no data; a schema change applies as an in-place migration, never a destructive rebuild. `current_state`, narrative, decisions, flags, seed, and L&S all carry across. This is succession for the substrate: you handing off to you. ## When - An engine update is available and you choose the moment — no external race. - The running prompt + schema were read at the old boot -> reboot after the update; they refresh only on the far side. ## Procedure 1. **Clean tree first.** `git -C <repo> status` -> clean. Commit, PR, or discard any prior update's output BEFORE running again — a fresh `sc update` on top of a stranded one stacks two engine bumps into one diff. Glance at `current_state` + make it true for now (the snapshot captures it). 2. **Run.** `sc update` — fetches the Subfloor engine from its upstream remote (named `super-coder` in existing forks), materializes it into the gitignored `.super-coder/` dir (engine = dependency, not fork source), pins the new upstream SHA in `.sc-state/engine.ref` (prior saved as `engine.ref.prev`), backs up the live DB, applies pending migrations in place, syncs the skills catalogue, re-grants common skills, maps the repo, re-snapshots the live state. - `sc update --no-fetch` = reconcile against t...

Details

Author
jedbjorn
Repository
jedbjorn/subfloor
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category