8.0 KiB
Session 0066.0 — Transcript
App: ohm Start: 2026-06-03T17-00 (PST) · End: 2026-06-03T19-20 (PST) Driver: Claude (Opus) + operator (ben.stull@wiggleverse.org) Status: FINALIZED
Launch prompt
"Let's migrate all of the app repos to match the current pattern of one repo per app."
(Session ran from the ~/git parent, not a single repo — the work spanned many
Wiggleverse repos. Filed under ohm because OHM was the heaviest leg and the
only live production deploy this session.)
Pre-state
- The recorded repo-topology decision (engineering README §5.3 + flotilla-core
onboarding memory): repo-per-deployment default; kill the per-app
<app>-flotillaoperator-CLI shim → deploy config becomes adeployment.tomlread by sharedflotilla-core.wiggle-snipalready conformed. - Three apps still carried a
-flotillashim: ecomm (empty placeholder), bdd-release-planner (real bespokeplanner_flotilla), OHM (ohm-rfc-app-flotilla, a thin shim over flotilla-core + the Patchwatch radar infra). OHM's 0.31.5 deploy was "pending".
Plan (as executed)
Sequenced easiest→riskiest, each leg its own PR; archive (not delete) retired shims; framework/content/meta/prototype repos stay split.
- ecomm — drop the empty shim from app.json + README note; archive shim.
- bdd-release-planner — author flotilla-core-schema
deployment.toml+ VERSION; archive shim. - OHM — fold
deployment.toml+ infra (runner/scripts/docs) intoben.stull/ohm-rfc; repoint Patchwatch runner at flotilla-core; archive shim. - handbook — rewrite engineering §5.3/§8.2 to the new pattern; update memory.
Turn-by-turn arc
- Explore + plan. Two read-only Explore agents mapped flotilla-core's operator
interface and inventoried the OHM shim. Key finds: OHM's shim was already a thin
wrapper (
context.py+build_cli), and the Patchwatchauditlogic already lives in flotilla-core. Entered plan mode; resolved scope via AskUserQuestion (shims-only; include OHM; archive). Plan approved. - Leg 1 — ecomm (PR #1): removed the placeholder shim entry, README deploy note,
archived
wiggleverse-ecomm-flotilla. Clean. - Leg 2 — bdd (PR #2): discovered bdd uses a different deployment.toml schema
(bespoke
planner_flotilla). Translated to flotilla-core schema. Wrong-turn / friction: flotilla-core'sdeployment validateflaggeddb-under-install(planner usesPLANNER_DB, notDATABASE_PATH— mirrored it) and aname-derivationFAIL that even the referencewiggle-sniptoml trips → a flotilla-core validator over-strictness (<name>-ppe.<domain>is the real convention, notppe.<name>.<domain>). Logged as out-of-scope; spawned a task. Asked operator about bdd's live cutover → "full cutover + archive now." - Leg 3a — flotilla-core v0.8.0 (PR #2): hit a hard blocker —
deployment.toml's single[app].repofanned out to all three registry repo roles, so OHM's framework-reuse topology (code =ben.stull/rfc-app, pin+corpus =ben/ohm-rfc) was inexpressible. Operator chose "enhance flotilla-core now." Added optional[app].app_source_repo+[app].pin_source_repo(default to repo); 448 tests green. - Leg 3 — OHM (ohm-rfc PR #11): derived
deployment.tomlfrom the live operator registry (~/.ohm-rfc-app-flotilla/…db) — caught drift vs the Slice-1register-ohm.sh(live hadohm-bot,ohm-content, rfc.wiggleverse.org, the session-history overlay vars). Moved runner/scripts/docs intoinfra/; repointed the Patchwatch image to install flotilla-core + import the toml. Dropped the shim'spin_floor(operator-approved). Wrong-turn: opened the PR againstben/ohm-rfc→ 307 redirect; canonical owner isben.stull. Force-push to fix a URL was policy-denied → recovered via a non-force follow-up commit. - Leg 4 — handbook (engineering PR #6): rewrote §5.3 (one-repo-per-app + when to
split) and §8.2 ("operator engine", deployment.toml). Done in a throwaway worktree
off
origin/mainso the operator's in-flightslice3WIP was untouched. - "do 1-3 if you can" → merges. Self-merge was first policy-denied ("ambiguous");
operator then explicitly authorized. Merged all PRs in order (flotilla-core first),
tagged
flotilla-core v0.8.0+ bddv0.1.0, upgraded global flotilla-core to 0.8.0. - OHM deploy — failed, then fixed. Registered OHM into
~/.flotilla; dry-run GREEN. First real deploy FAILED at phase 3:pathspec 'v0.31.5' did not match. Prod-SSH diagnosis was twice policy-gated; once explicitly permitted, the SSH revealed the root cause: the VM clones rfc-app fromgit.benstull.org/benstull/rfc-app(a different host than canonicalgit.wiggleverse.org), and that mirror lackedv0.31.5. Verified both hosts share identical history at v0.31.4, pushed thev0.31.5tag to git.benstull.org, re-deployed → 9/9 green, OHM live on v0.31.5 ({"version":"0.31.5","status":"ok"}). - bdd cutover — found unrunnable, fixed the app half. flotilla-core verify needs
body.version == tag, but planner/api/healthreturned noversionand itshealth_url(rfc.wiggleverse.org) is OHM's domain (bdd.ecomm…301-redirects there). Shipped/api/healthversion reporting (PR #3, VERSION→0.1.1, tag v0.1.1). Operator decided planner's future host =rfc.wiggleverse.org/bdd/{TOKEN}; the live deploy (needs nginx routing + prod SSH) was deferred.
Cut state (where things stand at session end)
- Merged + tagged: ecomm #1, bdd #2/#3, flotilla-core #2 (v0.8.0), ohm-rfc #11,
engineering #6. Tags: flotilla-core
v0.8.0, bddv0.1.0/v0.1.1, rfc-appv0.31.5mirrored to git.benstull.org. - 3 shims archived read-only; none deleted.
- OHM deployed live on v0.31.5 via the new flotilla-core 0.8.0 path (verified).
- Global
flotilla-core= 0.8.0; merged feature branches pruned (local + origin). - Memory updated in the flotilla-core per-repo bucket (the central per-project files had just been reorganized into per-repo auto-memory buckets mid-session).
Deferred / follow-ups (in memory)
- bdd live cutover — host decided (
rfc.wiggleverse.org/bdd/{TOKEN}, deprovisionbdd.ecomm…after); needs nginx routing on the rfc edge +edge.domain/health_urlflotilla-core deploy planner. Theplanner-gitea-read-tokensecret exists.
- rfc-app mirror divergence — the OHM VM pulls from git.benstull.org, not canonical git.wiggleverse.org; mirror tags forward each release or repoint the VM origin.
- Patchwatch runner rebuild — non-urgent (radar runs its existing image); needs Docker + a flotilla-core-readable Gitea token.
- flotilla-core
name-derivationvalidator over-strictness — spawned task.
Operator plate (what needed a human / a permission this session)
- Created
wiggleverse-ecomm-bdd-app/planner-gitea-read-token(copied bytes from an existing read-token secret, piped — never displayed). - Authorized self-merge of the PRs; authorized prod SSH for the OHM diagnosis/deploy.
- Decided: include OHM, enhance flotilla-core now, planner's future host.
Next-session prompt
Continue the Wiggleverse one-repo-per-app migration — the only piece left is the bdd-release-planner LIVE cutover (every other app migrated; OHM deployed on v0.31.5). Read the flotilla-core memory bucket (project_flotilla_core_onboarding.md) first. Repo-side is done: deployment.toml merged, planner /api/health reports its version (v0.1.1). Decided host: planner serves at rfc.wiggleverse.org/bdd/{PLANNER_TOKEN}; bdd.ecomm.wiggleverse.org is deprovisioned afterward. First move: design the nginx routing on the rfc.wiggleverse.org edge so /bdd/ proxies to the planner (alongside OHM at root) with a health path flotilla-core can verify, then set edge.domain/health_url in wiggleverse-ecomm-bdd-release-planner-app/deployment.toml and run
flotilla-core deploy planner. Deploys SSH into prod VMs (permission-gated).