Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

membrane-restart

/membrane-restart

Bezpiecznie restartuje proces membrane, unikając ponownego uruchamiania z wnętrza procesu i restartu w trakcie edycji.

Repozytorium
babyseat ↗
Licencja
MIT
Ostatnia zmiana repozytorium
28.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Bezpiecznie restartuje proces membrane, unikając ponownego uruchamiania z wnętrza procesu i restartu w trakcie edycji.

Wyzwalacze z opisu

bounce the proxyload new codedid my edit take effect
Oryginalny opis (EN)

Restart membrane safely (the operator asks for a restart, "bounce the proxy", "load new code", "did my edit take effect"). Encodes the safe procedure and the never-do list: never re-exec the running process from within itself, never restart mid-edit.

Jak działa

  1. The safe procedure
  2. The NEVER list (disaster routes)
  3. After a restart
Sekcje z nagłówków SKILL.md, w oryginale · 49 linii, 363 słów
Podgląd SKILL.md
---
name: membrane-restart
description: Restart membrane safely (the operator asks for a restart, "bounce the proxy", "load new code", "did my edit take effect"). Encodes the safe procedure and the never-do list: never re-exec the running process from within itself, never restart mid-edit.
---

# Membrane restart

Membrane is a long-running proxy process. Restarting loads code changed on
disk and re-hydrates the field from its backend (Couchbase or JSON). The
FIELD IS DURABLE: a restart loses nothing except in-flight turns, so there
is no reason to fear one -- and no reason to improvise one.

## The safe procedure

From a shell (Bash tool) in the project root:

    ./run.sh restart          # or: membrane reset

That kills whatever listens on the opencode seat's port (:11500, or the
`--listen` you pass), then boots a fresh `membrane opencode` with the same
flags.

If ONLY a boot smoke on a spare port is wanted (never disturb the live one):

    .venv/bin/python -m membrane.opencode --listen 18787 --no-launch --field .membrane/field.json ...

Then verify with `field state` (the membrane-state skill) that the field
re-hydrated: exemplar count in the expected range, safe_frac sane.

## The NEVER list (disaster routes)

- NEVER re-exec or `os.execv` the RUNNING membrane from inside itself (no
  watcher, no self-restart on file change). A membrane must not restart
  while it is running -- and never while IT is being edited. Restarts are
  operator-initiated, from the shell, at rest.
- Never kill the proxy mid-write of the field. Membrane saves are atomic
  (temp + rename), but a kill during a CAS/arbitration pass can leave a
  retryable -- not corrupt -- remote state. Check no learn/compactor cycle
  is mid-flight (quiet stderr) before bouncing.
- Never restart to "fix" a confused field. Restart reloads code; it does
  not clean state. Use `membrane: forget ...` for content, not a reboot.
- A dirty git tree + `membrane update` is a no-op by design (it refuses to
  force-merge). Commit or stash first; do not work around it.

## After a restart

1. Post-boot, run `field state` once and READ it (one honest read beats
   trusting the prep).
2. If code changed, the boot update check may print a changelog + prompt:
   answer it in the terminal, or run `membrane update` explicitly.
3. The schema sliding window makes old/new mixed-version state safe; if a
   migration warning appears at boot (`field file vN envelope -> ...`),
   that is normal and one-line -- note it, do not hand-edit the field.

Wersje

W bazie nie ma innych skilli o nazwie membrane-restart.

Migawka bazy z 13.11.2026 · wersja paczki 7adb6ac3336e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100restart-claude
    Restartuje Claude Code na prośbę użytkownika albo po zmianie ustawień, hooków lub skrótów klawiszowych.
  • 90membrane-state
    Sprawdza stan pamięci membrane: rozmiar pola, wskaźniki energii, kompaktor i ustawienia bramek.
  • 90membrane-state
    Sprawdza stan pamięci membrane: rozmiar pola, wskaźniki energii, kompaktor i ustawienia bramek.
  • 98gateway-restart
    Restartuje bezpiecznie bramkę Kiro Crew z aktywnej sesji agenta, zachowując ciągłość przez monitor wznowienia.
  • 80after-restart
    Znajduje przyczynę po restarcie komputera, awarii lub zawieszeniu aplikacji Claude i wznawia sesje w trakcie zadania.
  • 100membrane-framework
    Pomaga pracować z frameworkiem multimedialnym Membrane w Elixirze: pipeline'y, własne Elementy, Biny i Filtry, łączenie padów, callbacki, formaty strumieni i EOS.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.