LAYAK · Permenaker 8/2020 · gate check

Watch a certificate expire

The gate asks one question and never compares a date. When the certificate's lifetime runs out the row leaves the query surface, so the same question answers itself differently — with nothing run to make that happen.

MemArkiv — the executable spec, cited to the SDK source. Not a deployment; no Arkiv network is open. Blocks advance at 2s against the wall clock. Certificate lifetime 120s instead of a statutory 1–2 years, so it can be watched.

LAYAK

GREEN

Certificate live. Cleared to operate.

asset A-4471mobile crane 25t cert SLO-angkatsite S-JKT-03

the query — unchanged, every 500 ms

// layak.sketch.ts · gateCheck() · imported, not retyped
p.select({ key, creator, attributes, createdAtBlock })
 .where(
   eq("project",  "layak"),
   eq("type",     "cert"),
   eq("assetId",  "A-4471"),
   eq("certType", "SLO-angkat"))
 .limit(5).fetch()   // no date predicate exists

chain state

block
blocks left
live rows

events emitted