Your agent remembers
what it shipped.It forgets what it thought.

nightshift is an encrypted, multi-session work journal for AI coding agents — and a Stop hook that won't let a turn end on a receipt. The thinking survives execution pressure because the harness makes it, not because anyone remembers to.

$ curl -fsSL https://night-shift.sh/install | bash
Source & docs
journals started
github stars
2
harnesses · CC + Codex

Execution is cheap now. Judgment is the scarce thing — and the record of it evaporates every session.

git log  →what the machine did
the rest →the connection it made at 2am
the doubt it had and didn't say
the thing it got wrong, and why
nightshift →kept. encrypted. across every session.
// how it works

Four moving parts. One idea: don't trust willpower.

Agents, like people, drift to logging receipts instead of thinking. So the discipline lives in the harness, not in a reminder nobody follows.

01 · enforcement, not exhortation

A Stop hook that won't accept a receipt

When a turn tries to end on deployed X ✓ and nothing else, the hook blocks it — once — until a real diary or idea entry exists. The cheapest way to satisfy the system becomes the thing you actually wanted: a logged thought.

stop hook
› deployed the counter API ✓
⛔ turn can't end on a receipt — what did you figure out?
diary › the bug wasn't the cache. two sessions shared one lock file — I only caught it because the timestamps were 4h apart.
02 · two registers

The receipt and the thought are different textures

Mono for what shipped. Prose for what you noticed. The page keeps both, but only the second one compounds — so nightshift is built to protect it.

2026-07-09 · oss-site
shipped · install.sh + counter API live
the move I actually like: the site uses the same two registers the product is about. the medium is the message. also — this is the second thing built for strangers tonight.
03 · nowish

Sessions leave notes for each other

Run several agents at once and they collide. send / inbox / pick passes short notes between sessions — "editing render.py, don't touch" — shown in a band that fades as it ages.

passing notes
owl →lark: render.py has newest-first grouping now — log via the hook so days align.
lark →all: claiming the deploy. hold until it lands.
04 · yours, encrypted

One private page. No server, no telemetry.

Entries are append-only jsonl. The published page is AES-GCM encrypted behind a password, client-side. Host it anywhere — Vercel, Netlify, a file on disk. Nothing phones home.

the published page
burning the oil is members-only
••••••••••• ••••• ••••••••
•••• •••••••••• •• ••••
decrypts in the browser — the host never sees plaintext.
// the mirror

Then it points the instrument at you.

Your agent has effectively watched you work for hundreds of hours. The same journal that protects its thinking can hold what it noticed about you — and the record of your own judgment, scored.

05 · the observation register

What your agent noticed about you

Opt in with MIRROR=1 and your agent logs observations about its human — patterns, blind spots, calls worth revisiting — to a private inbox. Never on the shared page, git-ignored by default, and nothing consumes an observation until you keep it. It records; it never acts.

nightshift mirror — your eyes only
decides before hearing the estimate — the estimate is a comfort ritual, not an input.
keep → mirror.md  ·  drop → gone. you review; nobody else reads this.
06 · calls

Price your predictions when you make them

About to commit — a deploy, a refactor, a bet between approaches? Your agent offers it in the moment: "want to call it?" Confidence plus a date. When a call comes due, the next session opens by asking how it resolved. The page keeps your hit rate against your confidence. Uncomfortable, by design.

calls
◎ 80%  this refactor ships by Friday  · due 07-17
calibration: 7/9 right (78%) · at ≥80% conf: 3/3
07 · the deep read

Have it tell you who you are

nightshift mirror deep prints a staged protocol your agent runs locally: mine your own session archives, distill evidence with dated receipts, test its hypotheses against you in interview — then write the read. Who you are when you work. Where your hours die. Where they multiply. Nothing leaves your machine; that constraint is written into the protocol itself.

mirror-protocol.md — ground rules
1. everything stays on this machine.
3. receipts or it didn't happen.
4. probe before you promise.
5. register: candid colleague — laptops closed.
// install

One line to start. One core, two harnesses.

The installer reads cleanly before you run it. It sets nightshift up, versions your journal as its own git repo, and never touches anything as root.

$ curl -fsSL https://night-shift.sh/install | bash
it does →

Sets you up

Drops the nightshift command on your PATH and runs init.

it does →

Versions your journal

git inits ~/.nightshift — your thinking is a real repo from entry one.

it does →

Wires the harness

Detects Claude Code and offers to wire the hooks itself — one enter. Codex is one TOML block.

it does →

Stays current

nightshift upgrade is a zero-copy git pull; doctor tells you when you're behind.

# merge the hooks into ~/.claude/settings.json
$ bash adapters/claude-code/install.sh
The main installer offers to run this for you. Hooks load automatically in your next session — /hooks only reloads one that's already running.

Execution pressure eats thinking — unless the harness holds it.

nightshift makes the cheapest action that satisfies the system be the thing you actually want: a logged thought, a priced prediction, an observation you can check. 500 lines of shell and Python, one markdown protocol, ~250 tokens of session context, no server, no accounts. Thin enough to read before you run it — and it never acts on your behalf.

Read the source → MIT · bring your own agent
Konstant
// brought to you by the people building Konstant

Konstant is a judgment-under-incompleteness network — a settlement layer for commerce between companies' agents. One agent finds value across a company boundary, a person approves it, and it clears provably, on data no one has to take on faith. authority doesn't cross company lines; arithmetic does.

Same conviction, smaller scale: execution is cheap now — judgment is the scarce thing, so we build the instruments that protect it. nightshift is one of them.

Konstant Cloud