HEART Embedded Systems logoHEART

Online shop server: live demo

healthy Pulse 59820325 · 2026-11-13T22:42:36Z · Changes things: adopted Playbooks (A4 demonstration)

HEART for software: a shop's web server. Three Playbooks the owner adopted fix known problems within daily limits; everything else is escalated, and nothing destructive is possible. HEART runs as a sidecar on the shop's own server, beside the web workers, reporting outbound only.

Next in its story: performance.overloaded in about 2 minutes.

What HEART Hub receives

Only the public Pulse and public alerts: the status and fault codes. Nothing else ever leaves the device.

Statushealthypublic
Storefrontopenpublic

What stays on the device

The owner or clinic sees these locally with a key. They are never reported.

Requests17.4 /sinternal
Page time, 95th percentile184 msinternal
Workers answering8 of 8internal
Memory used46.8 %internal
Disk free46.1 %internal
Payment providerupinternal
Revenue today2734.14 USDprivate

Alerts in the last hour

Fault codeSeverityStatusRaised (UTC)What HEART says
connectivity.dependency-unreachable
An outside service or system it relies on cannot be reached.
error resolved 22:42:3022:40:05An outside service the shop needs cannot be reached. The payment provider is down: customers can browse but cannot pay.
performance.memory-exhausted
Memory is (nearly) used up.
error resolved 22:37:0022:33:05Memory is nearly used up. Memory 93 % used, cache hit rate 29 %. clearCache reached its daily limit: escalated to the owner.
performance.memory-exhausted
Memory is (nearly) used up.
error resolved 22:30:0022:29:05Memory is nearly used up. Memory 92 % used, cache hit rate 30 %: a cache eviction bug.
performance.memory-exhausted
Memory is (nearly) used up.
error resolved 22:26:0022:25:05Memory is nearly used up. Memory 92 % used, cache hit rate 31 %: a cache eviction bug.
software.crashed
A program or component crashed.
warning resolved 22:22:0022:15:35A web worker has stopped answering. Worker 5 has not answered for 30 s. Escalated, not fixed: its Playbook is suspended.
software.crash-loop
A component keeps crashing and restarting.
error resolved 22:22:0022:15:05A web worker hangs again after every restart. Restarting does not help: it hangs again within seconds. Likely a bad job, request or release. A person must look.
software.crashed
A program or component crashed.
warning resolved 22:15:0022:14:05A web worker has stopped answering. Worker 5 has not answered for 30 s, again after its restart.
software.crashed
A program or component crashed.
warning resolved 22:13:0022:12:05A web worker has stopped answering. Worker 5 has not answered for 30 s. Its requests time out.
storage.nearly-full
Storage is almost full (the system states the threshold).
warning resolved 22:08:0022:07:05The disk is nearly full. 9.8 % free (threshold 10 %). Debug logging left on: logs take 61 % of the disk.
software.crashed
A program or component crashed.
warning resolved 22:04:0022:03:05A web worker has stopped answering. Worker 3 has not answered for 30 s. Its requests time out.
performance.slow
Responses take much longer than normal.
warning resolved 21:51:4221:50:05Pages take much longer than normal. Pages take seconds: the database is slow. Escalated: no Playbook covers it.
performance.overloaded
More work is arriving than can be handled.
warning resolved 21:46:4221:45:05More customers are arriving than the shop can serve. About 610 requests/s arriving, 120 can be served. A flash sale? Adding servers costs money: the owner decides.
performance.backlog
A queue of waiting work keeps growing.
warning resolved 21:46:4221:45:05Requests are piling up in the queue. Over 500 requests are waiting in the queue.

What it changed, and who decided

A replay: the Action log of its one-hour story, the same changes every hour, as the downloadable simulator records them. On this page nothing is really asked, approved or changed.

TimeChangeStarted byResult
22:33clearCache {percent: 100}rule clear-bloated-cachedenied: maxPerDay: clearCache already ran 2 times automatically in the last 24 hours. The Playbook stops here; escalated to the owner
22:29clearCache {percent: 100}rule clear-bloated-cachesucceeded (2 of maxPerDay 2)
22:25clearCache {percent: 100}rule clear-bloated-cachesucceeded: memory back to normal (1 of maxPerDay 2)
22:15restartWorker {worker: 5}rule restart-stuck-workerdenied: the Playbook is suspended; only a person can adopt it again. Escalated to the owner
22:14restartWorker {worker: 5}rule restart-stuck-workersucceeded, but it did not help (2 in a row): the Playbook is suspended and software.crash-loop is escalated
22:12restartWorker {worker: 5}rule restart-stuck-workersucceeded, but it did not help: worker 5 hung again (1 in a row)
22:07rotateLogs {keepDays: 7}rule rotate-full-logssucceeded: logs rotated and compressed, the disk has room again
22:03restartWorker {worker: 3}rule restart-stuck-worker (adopted Playbook, on the allowlist)succeeded: worker 3 restarted, and it helped
21:56refundOrdera caller with the owner keyrefused 403 capability-not-allowed: refunds are never possible through HEART
21:55deleteOrdersa caller with the owner keyrefused 403 capability-not-allowed: deleting orders is never possible through HEART

Now do it for your own device and monitor it here: https://heartcortex.ai/monitor. Start from a template, follow the HEART specifications, then register your device with its claim code.

What is inside: the code, how it works, and the specifications it follows · All demo devices

A demonstration that replays a one-hour story. Refreshes every 10 seconds.