the deployment orientation: the public place gets its shape, no code yet.
The box: a burble-hosted VM, Debian 13, small single-core, 20G disk, passwordless sudo, outbound clean, almost nothing installed at orientation (curl only). Reached through the gitignored .ssh/ (a fresh ED25519 deploy key minted for the purpose, no passphrase by design -- deploys must work unattended, the lesson the main remote's passphrase key taught; the host key pinned to .ssh/known_hosts; the connection specifics live in .ssh/box.md, gitignored, because AGENTS stays generic by ruling -- GM, 2026-11-18: disclosing server intel is not catastrophic but the specifics do not belong in a tracked file). Done on the box, the one thing orientation installed: a 4G swapfile (fstab'd, swappiness 10) -- on a sub-gig VM with zero swap, one bad spike is an OOM kill rather than a slowdown, and 4G "just in case" was ruled over my proposed 1G.
The rulings that shape the deploy (recorded in ROADMAP's service-step amendment): TLS terminates in caddy, NEVER in node -- the server stays loopback http behind the proxy, which costs zero server changes (the bind already defaults to loopback) and keeps the zero-dependency shape intact; the certificate rides caddy's automatic TLS-ALPN-01, the challenge type that needs only 443 -- the right pick for the provider's HTTPS-only raw forward, with the operational note that config iteration starts against Let's Encrypt's staging endpoint so a config loop cannot burn the production rate budget. Node comes via nvm at the current stable branch, NO version pin (GM, 2026-11-18: no reason to pin 22 -- apt's node is too old for node:sqlite either way, and our DatabaseSync usage is alias-kept through node 26, so current-stable is safe; dev still runs 22.15, a parity bump on the table, nothing blocked). The bun alternative was weighed and parked: bun's node:sqlite support only merged this July, the runtime is JavaScriptCore where every gate we have ever run was V8, and the honest win on this box is 20-30ms per transient clerk spawn against a measured 44MB server -- a possible future migration with the full gate re-run under the new runtime, not an install choice.
The deploy pipeline itself is ruled a separate discussion, a gitea runner the leading idea. Orientation stands: nothing runs on the box, no code deployed, no caddy installed. Along the way: .gitignore gains .ssh/, the AGENTS state pointer carries the generic half of the box facts plus the hash updates for 53f992a, and HANDOFF's where-we-are reflects the commit. The GM's WIP packages (box, detention, and the new template) stay untracked, untouched.
This commit is contained in:
+22
-29
@@ -9,32 +9,25 @@ file is the "where did we leave off" map.
|
||||
|
||||
## Where we are
|
||||
|
||||
- **The conflict-persistence round is BUILT and fully verified
|
||||
(2026-11-18), staged with the rewind round.** GM ruling:
|
||||
conflicts stay in the contwin (a mistake remains visible so it is
|
||||
not made again) and are self-contained -- each describes its
|
||||
problem in full, quoting the offending emission, because the
|
||||
block it answers strips from the view. The view renders conflicts
|
||||
unconditionally, the guards and the mind verb's refusals quote
|
||||
what she wrote, and carried conflicts now count against the
|
||||
carry budget. Verified end to end: typecheck, smoke (+3
|
||||
assertions), restart + reminder checks, check-repo.
|
||||
- **The rewind round is BUILT and fully verified (2026-11-17/18),
|
||||
staged and awaiting the GM's commit.** The GM's take-back:
|
||||
a send may carry `rewind` (a log line index naming one of your
|
||||
turns) and replaces it, everything after leaving the log by
|
||||
physical truncation -- fork is the preservation story. The
|
||||
staleness guard `expect` rides every send (and the ask answer);
|
||||
the floor is the start marker after the carryover; the
|
||||
player-facing records tools are off until rewind-compatible (the
|
||||
CLI --gm path stands); the SPA stages the gesture (two-click arm,
|
||||
auto-fill, tint + note, cancel, the disabled rename when the box
|
||||
holds text). gmTurn's order: ask-refusal -> expect -> expand ->
|
||||
truncate -> land, one commit. Verified: typecheck both programs,
|
||||
smoke ALL PASS (+14 rewind assertions), restart + reminder
|
||||
checks, check-repo after staging, and a browser pass committing
|
||||
a real rewind through the UI with zero console errors. The full
|
||||
record: DECISIONS #15's amendment, the AGENTS state pointer.
|
||||
- **Everything is built and committed through `53f992a` (2026-11-18).**
|
||||
The latest commit carries the day's three pieces:
|
||||
- **The rewind round**: the GM's take-back riding the send --
|
||||
`rewind` (a log line index naming one of your turns) truncates
|
||||
the log at its target and lands the new turn in one commit;
|
||||
fork is the preservation story. The staleness guard `expect`
|
||||
rides every send (and the ask answer); the floor is the start
|
||||
marker after the carryover; the player-facing records tools
|
||||
are off until rewind-compatible (the CLI --gm path stands);
|
||||
the SPA stages the gesture (two-click arm, auto-fill, tint +
|
||||
note, cancel, the disabled rename when the box holds text).
|
||||
Browser-proven committing a real rewind through the UI.
|
||||
- **The conflict-persistence round** (GM, 2026-11-18):
|
||||
conflicts stay in the contwin -- a mistake remains visible so
|
||||
it is not made again -- and are self-contained, quoting the
|
||||
offending emission (the block it answers strips from the
|
||||
view). Carried conflicts now count against the carry budget.
|
||||
- **The GM's reminder edit**: the checked-action metrics (three
|
||||
probes for when to write as intent, the dud reveal embraced).
|
||||
- **Everything else is built and committed through `eefb721`
|
||||
(2026-11-17).**
|
||||
The three rounds of that day, each mock-proven and live-proven where
|
||||
@@ -105,9 +98,9 @@ file is the "where did we leave off" map.
|
||||
la-caramba leftovers. `packages/detention/` is also WIP, untouched.
|
||||
- **The debug server runs the current code** (port 7350, pid in the
|
||||
temp pid file; sessions rebuilt for Chloe and Irene at boot).
|
||||
state/ holds the refined registry. Three commits await the GM's
|
||||
push (`bbaf336`, `5279dd3`, `eefb721` -- the ssh key takes a
|
||||
passphrase, pushes are the GM's), plus the staged rewind round.
|
||||
state/ holds the refined registry. Four commits await the GM's
|
||||
push (`bbaf336`, `5279dd3`, `eefb721`, `53f992a` -- the ssh key
|
||||
takes a passphrase, pushes are the GM's).
|
||||
|
||||
## Immediate next steps, in order
|
||||
|
||||
|
||||
Reference in New Issue
Block a user