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:
@@ -2,3 +2,4 @@ runs/
|
|||||||
state/
|
state/
|
||||||
server.json
|
server.json
|
||||||
node_modules/
|
node_modules/
|
||||||
|
.ssh/
|
||||||
|
|||||||
@@ -154,7 +154,23 @@ memory the agent owes itself across sessions.
|
|||||||
|
|
||||||
## State pointers
|
## 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
|
conflicts stay in the contwin and are self-contained.** The old
|
||||||
view policy treated conflicts as transient (visible only while
|
view policy treated conflicts as transient (visible only while
|
||||||
the latest word, elided after) -- the GM overruled it: a mistake
|
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:
|
final line now prints the draft id too (the 8a899168 leftover:
|
||||||
a smoke draft survived cleanup because "run ids" never named it
|
a smoke draft survived cleanup because "run ids" never named it
|
||||||
-- delete-by-list is the backstop, the print is the fix).
|
-- 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
|
the GM's take-back, riding the send.** The GM took "session
|
||||||
rewind" off their operator queue and simplified the design past
|
rewind" off their operator queue and simplified the design past
|
||||||
my cut-event proposal: physical truncation, not typed entries --
|
my cut-event proposal: physical truncation, not typed entries --
|
||||||
|
|||||||
+22
-29
@@ -9,32 +9,25 @@ file is the "where did we leave off" map.
|
|||||||
|
|
||||||
## Where we are
|
## Where we are
|
||||||
|
|
||||||
- **The conflict-persistence round is BUILT and fully verified
|
- **Everything is built and committed through `53f992a` (2026-11-18).**
|
||||||
(2026-11-18), staged with the rewind round.** GM ruling:
|
The latest commit carries the day's three pieces:
|
||||||
conflicts stay in the contwin (a mistake remains visible so it is
|
- **The rewind round**: the GM's take-back riding the send --
|
||||||
not made again) and are self-contained -- each describes its
|
`rewind` (a log line index naming one of your turns) truncates
|
||||||
problem in full, quoting the offending emission, because the
|
the log at its target and lands the new turn in one commit;
|
||||||
block it answers strips from the view. The view renders conflicts
|
fork is the preservation story. The staleness guard `expect`
|
||||||
unconditionally, the guards and the mind verb's refusals quote
|
rides every send (and the ask answer); the floor is the start
|
||||||
what she wrote, and carried conflicts now count against the
|
marker after the carryover; the player-facing records tools
|
||||||
carry budget. Verified end to end: typecheck, smoke (+3
|
are off until rewind-compatible (the CLI --gm path stands);
|
||||||
assertions), restart + reminder checks, check-repo.
|
the SPA stages the gesture (two-click arm, auto-fill, tint +
|
||||||
- **The rewind round is BUILT and fully verified (2026-11-17/18),
|
note, cancel, the disabled rename when the box holds text).
|
||||||
staged and awaiting the GM's commit.** The GM's take-back:
|
Browser-proven committing a real rewind through the UI.
|
||||||
a send may carry `rewind` (a log line index naming one of your
|
- **The conflict-persistence round** (GM, 2026-11-18):
|
||||||
turns) and replaces it, everything after leaving the log by
|
conflicts stay in the contwin -- a mistake remains visible so
|
||||||
physical truncation -- fork is the preservation story. The
|
it is not made again -- and are self-contained, quoting the
|
||||||
staleness guard `expect` rides every send (and the ask answer);
|
offending emission (the block it answers strips from the
|
||||||
the floor is the start marker after the carryover; the
|
view). Carried conflicts now count against the carry budget.
|
||||||
player-facing records tools are off until rewind-compatible (the
|
- **The GM's reminder edit**: the checked-action metrics (three
|
||||||
CLI --gm path stands); the SPA stages the gesture (two-click arm,
|
probes for when to write as intent, the dud reveal embraced).
|
||||||
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 else is built and committed through `eefb721`
|
- **Everything else is built and committed through `eefb721`
|
||||||
(2026-11-17).**
|
(2026-11-17).**
|
||||||
The three rounds of that day, each mock-proven and live-proven where
|
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.
|
la-caramba leftovers. `packages/detention/` is also WIP, untouched.
|
||||||
- **The debug server runs the current code** (port 7350, pid in the
|
- **The debug server runs the current code** (port 7350, pid in the
|
||||||
temp pid file; sessions rebuilt for Chloe and Irene at boot).
|
temp pid file; sessions rebuilt for Chloe and Irene at boot).
|
||||||
state/ holds the refined registry. Three commits await the GM's
|
state/ holds the refined registry. Four commits await the GM's
|
||||||
push (`bbaf336`, `5279dd3`, `eefb721` -- the ssh key takes a
|
push (`bbaf336`, `5279dd3`, `eefb721`, `53f992a` -- the ssh key
|
||||||
passphrase, pushes are the GM's), plus the staged rewind round.
|
takes a passphrase, pushes are the GM's).
|
||||||
|
|
||||||
## Immediate next steps, in order
|
## Immediate next steps, in order
|
||||||
|
|
||||||
|
|||||||
+11
-1
@@ -178,7 +178,17 @@ example, gitignored real file, env-var option).
|
|||||||
2026-11-14: the auth/invites/multiuser half is BUILT -- see DECISIONS
|
2026-11-14: the auth/invites/multiuser half is BUILT -- see DECISIONS
|
||||||
#22-31; the service step that remains is the hosting story alone --
|
#22-31; the service step that remains is the hosting story alone --
|
||||||
clone-and-run already works, a running instance is one deployment
|
clone-and-run already works, a running instance is one deployment
|
||||||
away.)
|
away.) (Amended 2026-11-18: the first public deployment's shape is
|
||||||
|
ruled -- a burble-hosted VM, Debian 13, small single-core (the
|
||||||
|
specifics live in the gitignored .ssh/, AGENTS stays generic).
|
||||||
|
TLS terminates in caddy, never in node (GM: the server stays
|
||||||
|
loopback http, caddy reverse-proxies; the certificate rides
|
||||||
|
caddy's automatic TLS-ALPN-01, the challenge type that needs only
|
||||||
|
443 -- the HTTPS-only forward). The deploy pipeline is under
|
||||||
|
discussion, a gitea runner the leading idea; node on the box
|
||||||
|
comes via nvm at the current stable branch, no version pin
|
||||||
|
(GM, 2026-11-18 -- apt's node is too old for node:sqlite, and
|
||||||
|
there is no reason to pin a branch.)
|
||||||
- **Boutique is dormant** -- a stub that never reached its design step;
|
- **Boutique is dormant** -- a stub that never reached its design step;
|
||||||
untouched until its drafting session.
|
untouched until its drafting session.
|
||||||
- **Stack: zero-dependency runtime** (DECISIONS #4, amended
|
- **Stack: zero-dependency runtime** (DECISIONS #4, amended
|
||||||
|
|||||||
Reference in New Issue
Block a user