Commit Graph
5 Commits
Author SHA1 Message Date
dckc 6c437ec2f1 feat: abandonAll, explicitly, instead of replacing a session on start
Ending a session breaks every reference and pending answer that lives
only in it, so it takes its own update method rather than happening as
a side effect of start. A second start traps again; the clients take
--abandon-all to end the session a previous run left open.

Generated-by: Claude Code (claude-opus-5-5)
2026-11-18 06:43:15 -06:00
dckc b717ccaedf feat: homes per caller and counters that survive upgrades
Nodes on a canister's subnet can read its state, so no authority rests
on swiss numbers. fetch("home") answers the caller principal's own
durable store of named objects (init, get), found through Loam's name
index and made on first use; fetch("makeCounter") answers the public
maker. Homes, counters, and the CapTP identity live in Loam over the
stable-memory log, reopened in post_upgrade; sessions end with the heap.

The canister installs from 32 bytes of entropy passed as its argument
and refuses the anonymous principal. The client takes a key file, so a
caller can come back to its home, and sends string and reference
arguments.

Generated-by: Claude Code (claude-opus-5-5)
2026-11-18 06:21:31 -06:00
dckc eb15a05668 feat: Loam engine logging each commit to stable memory
Rows live in the heap, as in Volatile; each committed transaction is
also appended to a log that opening replays, so a store survives a
canister upgrade.

Generated-by: Claude Code (claude-opus-5-5)
2026-11-18 06:03:05 -06:00
dckc 1177fc86b6 feat: Counter canister and a Node client, over OCapN on a local replica
The canister is freestanding wasm32 importing only ic0. Each caller
principal gets a CapTP session: start carries op:start-session, deliver
carries later frames, and each reply carries the canister's frames.

The client peer is wasm too, driven from Node by @icp-sdk/core. It
holds answer releases so they ride ahead of the next call instead of
costing an update call of their own: handshake, fetch, and each send
are one update call apiece.

Generated-by: Claude Code (claude-opus-5-5)
2026-11-18 05:47:04 -06:00
dckc 6348422012 feat: Counter over glowcap's byte-fed Host, one request/response per round
An in-memory client and canister-shaped server exchange CapTP frames
in Syrup byte-string envelopes, as update calls will carry them.

Generated-by: Claude Code (claude-opus-5-5)
2026-11-18 05:37:48 -06:00