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:
2026-11-18 18:40:34 +00:00
parent 53f992a5e0
commit 14b9b01d86
4 changed files with 53 additions and 32 deletions
+19 -2
View File
@@ -154,7 +154,23 @@ memory the agent owes itself across sessions.
## State pointers
- **The conflict-persistence round is BUILT (2026-11-18, GM ruling):
- **The deployment box exists and is oriented (2026-11-18): a burble
VM, bare but ready.** The connection specifics (address, port,
key) live in `.ssh/box.md` -- gitignored on purpose, this note
stays generic (GM, 2026-11-18). A small single-core Debian 13 VM,
passwordless sudo, almost nothing installed; a 4G swapfile landed
(fstab'd, swappiness 10). Ruled, not yet built: TLS terminates in
caddy (automatic TLS-ALPN-01 -- the 443-only challenge, right for
the HTTPS-only forward), node stays loopback http behind the
proxy; node via nvm at the current stable branch, NO version pin
(GM, 2026-11-18 -- apt's node is too old for node:sqlite; our
DatabaseSync usage is kept as an alias through node 26, so
current-stable is safe, though dev still runs 22.15); the deploy
pipeline is its own discussion (a gitea runner the leading idea).
Orientation only -- nothing runs there yet, no code deployed, no
caddy installed.
- **The conflict-persistence round is BUILT (2026-11-18, committed
53f992a with the rewind round and the GM's reminder edit):
conflicts stay in the contwin and are self-contained.** The old
view policy treated conflicts as transient (visible only while
the latest word, elided after) -- the GM overruled it: a mistake
@@ -184,7 +200,8 @@ memory the agent owes itself across sessions.
final line now prints the draft id too (the 8a899168 leftover:
a smoke draft survived cleanup because "run ids" never named it
-- delete-by-list is the backstop, the print is the fix).
- **The rewind round is BUILT (2026-11-17, verified into 11-18):
- **The rewind round is BUILT (2026-11-17, verified into 11-18,
committed 53f992a):
the GM's take-back, riding the send.** The GM took "session
rewind" off their operator queue and simplified the design past
my cut-event proposal: physical truncation, not typed entries --