Lantern/Act and report
Impulse, Flux and Loom
#Impulse: reaching the devices
Reaching the devices. Monitoring programmes put part of the estate into a different regime for a window (load test, vibration watch, seasonal high output, commissioning, incident response, quiet period) and restore it after; proposals from the detectors and Argus wait here for a person; every command a node applies becomes a memory naming who asked.
What you can do there
- Approve or dismiss proposals
- Start a programme from a template and change any field
- Send an ad-hoc command to devices
- Audit every command and what the node said back
Impulse is how the platform acts on devices. Monitoring programmes put part of the estate into a different regime for a window — a load test, a vibration watch, commissioning, a quiet period — and put it back afterwards. Proposals from the detectors and Argus wait here for a person to approve or dismiss. Every command a device applies becomes a memory naming who asked.
- Four views Proposals waiting for a person, programmes (live, armed, complete), the command queue with the nodes’ replies, and the audit.
- Proposals What the detectors and Argus suggest doing — each with why. Approve and it runs; dismiss and it is remembered as declined.
- Programme templates A programme snapshots each device’s cadence at the start and restores it at the end; excursions inside a programme that expects them are not alarms.
#Flux: reflexes
Reflexes: WHEN a condition the platform can measure (site event, machine in zone C, coupling lost, memory formed, alert, threshold, schedule, a forecast crossing) THEN do something (start a programme, send a device command, propose an action, write a memory, notify, run analytics or a Loom workflow). Evaluated every five minutes.
What you can do there
- Write a rule from a recipe or from scratch with the composer
- Dry-run a rule over the last 24 h
- Fire it now
- Read every firing with the snapshot that satisfied it
A Flux rule is a reflex: when something the platform can measure happens (a site event, a machine entering a vibration zone, a coupling lost, a forecast crossing…) then do something (start a programme, send a command, propose an action, write a memory, notify, run a workflow). Rules are checked every five minutes; any rule can be dry-run over the last day before it is switched on.
- Rules Each rule reads as one sentence: when this, then that. Pause, dry-run over the last day, fire now, or read its history. Errors show inline.
- Recipes Start from one — the composer opens with the trigger and actions filled in; change anything. A rule that would email people starts switched off.
#Loom: workflows
Workflows written by Argus for your project: describe the analysis or export in your words; the code is written from the project’s real channels, runs in a sealed sandbox, and hands back files (xlsx, csv, parquet, SQLite, PNG, HTML). Every version is kept like a repository; every run’s finding is a memory.
What you can do there
- Create a project on a site, canvas or devices
- Have Argus write a workflow, or start from a starter script
- Run it over any window and download outputs
- Ask for changes in plain language
- Open the IDE, edit, save a version, restore any version
- Schedule it with a cron
- Read the vigil library reference at /loom/sdk/ and run every example live
- Pip install vigil-sdk to run the same code on an exported bundle
Loom turns an analysis or an export you describe in words into a workflow: Argus writes the code against your project's real channels, it runs in a sealed sandbox, and hands back files — spreadsheets, CSV, charts, HTML. Every version is kept; every run's finding is a memory.
- Project → workflow → run A project is a scope (a site, a canvas or some devices) plus a purpose; a workflow is one analysis in it; a run leaves files and a memory.
- Describe it Your goal in your words, then the scope and a name. Argus writes and runs it on the last 7 days; a failing first attempt is repaired automatically.
- Projects Each project with its workflows and latest run.
- Recent runs Window, inputs, outputs, log and the memory each run wrote.
- The vigil library The functions every workflow uses — channels, memories, bands, outputs — with live examples at /loom/sdk/.
Still unsure?
