Przejdź do treści
Biblioteka skilli
Inne · Pisanie

control-sequences

/control-sequences

Pisze i przegląda sekwencje rozruchu, wyłączania i pracy awaryjnej w pliku control/sequences.yaml, odwołując się do blokad i pętli po identyfikatorach.

Repozytorium
core ↗
Licencja
AGPL-3.0
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

Co robi i kiedy

Pisze i przegląda sekwencje rozruchu, wyłączania i pracy awaryjnej w pliku control/sequences.yaml, odwołując się do blokad i pętli po identyfikatorach.

Oryginalny opis (EN)

Write and review startup, shutdown and abnormal-mode sequences in control/sequences.yaml - start permissives separate from trips, steps with entry and completion conditions, timeouts, abort, reset and restart - referring to the C&E interlocks and loops by id. Use when a plant needs its operating modes described, when reviewing a sequence before HAZOP, or when cheme.control-* findings name control/sequences.yaml.

Jak działa

  1. Purpose and when to use
  2. Required inputs and missing inputs
  3. Workflow and tools
  4. Validation and failure handling
  5. Outputs and provenance
  6. Required human judgment
  7. References
Sekcje z nagłówków SKILL.md, w oryginale · 76 linii, 601 słów
Podgląd SKILL.md
---
name: control-sequences
description: Write and review startup, shutdown and abnormal-mode sequences in control/sequences.yaml - start permissives separate from trips, steps with entry and completion conditions, timeouts, abort, reset and restart - referring to the C&E interlocks and loops by id. Use when a plant needs its operating modes described, when reviewing a sequence before HAZOP, or when cheme.control-* findings name control/sequences.yaml.
---

# Operating sequences

## Purpose and when to use

Describe how the plant is taken from one state to another: startup, normal shutdown, and the
abnormal modes that matter (a trip and restart, a utility failure, regeneration). Each sequence
says what must hold before it may start (permissives), its steps, what ends each step, what
happens when a step takes too long or something trips, and how the plant is reset and
restarted. Use it with the loops (skill `control-loops`) and the narrative (skill
`control-narrative`), and to review a sequence before a HAZOP.

## Required inputs and missing inputs

- `control/loops.yaml` (the loops a step puts in manual, auto or cascade or gives a setpoint),
  `control/cause-effect.yaml` (the trips, by id), the equipment and instrument lists.
- The operating cases of `process/flowsheet.yaml`; vendor startup instructions for packages.
- What only people know: the startup order the operators use, hold points, how long a step
  may take. Leave an unknown condition `unresolved`, never invent one.

## Workflow and tools

1. **One entry per sequence** in `control/sequences.yaml` (`cheme schema sequences`): `id`,
   `title`, `mode` (startup, shutdown, abnormal, normal, other), `section`, `cases`,
   `equipment`.
2. **Permissives** are the conditions to start; **trips** are not repeated: list their C&E ids
   under `interlocks`. A permissive may name an interlock (`{interlock: I-01, state: reset}`).
3. **Steps**: `actions` (a tag start/stop/open/close, a loop to manual/auto/cascade or a
   setpoint, another sequence run; `by: operator | automatic`), `complete` (what must hold
   before the next step), `entry` where more than the previous step is needed, `timeout` with
   `on_timeout` (a step or `abort`), `next` where the order is not the list order, `operator`
   for instructions and judgement.
4. **Conditions** use items in a state, `all`, `any`, `vote: {k, of}`, `delay`, `deadband`.
   Logic the format cannot express is `text` (it stays visible as
   `cheme.control-logic-text`); what is not known is `unresolved`.
5. **Abort and reset.** `abort`: its `condition` (besides the trips), the `actions`, the
   sequence that follows (`then`). `reset`: `latching`, `manual`, the `condition` to reset and
   the `restart` condition.
6. `cheme validate`, then `cheme control report` (`build/control-sequences.html`).

### Reviewing a sequence

Walk it as the operator would, from the permissives to the last step, and for each step ask:
can the completion condition be seen from the control room; what if it never comes (timeout);
what if a trip comes now (abort, reset, restart); which loop is in which mode; does a step move
a valve an interlock also moves. Record the findings in a review record (skill `review`) with
the sequences in its `scope`.

## Validation and failure handling

- Errors: `cheme.control-duplicate` (a sequence or step id twice).
- Warnings: `cheme.control-ref` (a step, loop, sequence or interlock that does not exist),
  `cheme.control-unknown-tag`, `cheme.control-unreachable` (a step nothing leads to),
  `cheme.control-conflict` (a loop put in a mode it does not have, `on_timeout` without a
  timeout), `cheme.control-unit` (a delay or timeout that is not a time).
- Info: `cheme.control-incomplete` (a step without completion condition, a startup without
  permissives, a sequence without abort or reset, a timeout without what happens then),
  `cheme.control-unresolved`, `cheme.control-logic-text`.

## Outputs and provenance

`control/sequences.yaml`, committed; the sequence report from `cheme control report`. The
setpoints a step gives carry their provenance; the review status comes from the review records.

## Required human judgment

The order of operations, hold points, abort and restart behaviour are operating decisions with
safety consequences. The format records intent and checks structure; it does not show that a
sequence is safe, that a trip is independent, or that it can be implemented in a given DCS.

## References

- `docs/framework/control.md` of cheme-as-code.
- Skills `control-loops`, `control-narrative`, `review`.
- Worked example: `examples/process-separation/control/sequences.yaml` of cheme-as-code.

Wersje

W bazie nie ma innych skilli o nazwie control-sequences.

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

Pobrania w ostatnich 30 dniach: 0 · ranking

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

Podobne skille

  • 100control-narrative
    Pisze opis procesu i filozofię sterowania zakładu sekcja po sekcji, odwołując się do pętli, sekwencji oraz blokad po identyfikatorach, bez powtarzania ich wartości.
  • 100hazop-study
    Zakłada i szkicuje studium HAZOP w pliku study.yaml: zakres, tryby pracy, zespół, węzły i przyczyny, a każdy wpis czeka na akceptację zespołu.

Uwagi i zgłoszenia

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