Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions kairoclasp.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# KAIROCLASP v0.0.0
# KAIROCLASP v0.1.0
# Temporal finality utility
# Binds state to time. No execution. No mutation. No remediation.

Expand Down Expand Up @@ -46,7 +46,7 @@ LOCK_EPOCH="$(

NOW_EPOCH="$(date -u +%s)"

if [ "$NOW_EPOCH" -lt "$LOCK_EPOCH" ]; then
if [ "$NOW_EPOCH" -gt "$LOCK_EPOCH" ]; then
printf '%s\n' "DENIED"
exit 1
fi
Expand All @@ -61,7 +61,7 @@ REPO="$(git rev-parse --show-toplevel)"
printf 'COMMIT: %s\n' "$COMMIT"
printf 'LOCK_AT: %s\n' "$LOCK_TIME"
printf 'NOW: %s\n' "$NOW"
printf '---\n'
printf '%s\n' '---'
} >> KAIROCLASP.log

printf '%s\n' "CLASPED"
Expand Down