Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ the industry's founding lie, in our own product.

---

## Current production checkpoint (3 November 2026)
## Current production checkpoint (4 November 2026)

The repaired signed Sprout build passed independent Mac and iPhone Simulator
sign-in, authenticated session restoration after relaunch, Mac-to-iPhone habit
Expand All @@ -85,17 +85,20 @@ ledger NOLOGIN with password removed. A further boundary pilot used two of four
authorized messages, then was retired on 3 November with key XKM6 rejected (401)
and ten replay tombstones retained. Replacement-code login passed; the separate
boundary request hit Supabase HTTP 429 (email rate limit). A resumed run delivered
one further email, then timed out before code entry or resend. Key slpK is now
revoked (401), the hook/runtime/secrets removed and ledger login disabled; eleven
replay tombstones remain. Superseded-code and one-hour expiry checks remain open;
three of four authorized boundary emails were used, with one unused.
one further email but timed out before code entry. A subsequently approved evening
run delivered two emails and rejected the superseded code at 19:44:55 WAT on
3 November, five seconds after requesting its replacement. The expiry step timed
out waiting for code entry; one-hour expiry remains unverified. All five authorized
boundary emails are used. On 4 November, key 9D8D was revoked (401 verified), the
hook/runtime/secrets removed and ledger login disabled with password removed;
thirteen replay tombstones remain.
All six services are healthy. API and worker run
`db93880e924ac679e24b8cb40abef4ff77e57beb` (separately released PR #62); the pilot
preserved this version. Dashboard remains `328f5ad`, admin `cd3d3ff`,
marketing/developers `1829289`. No new paid infrastructure was added.

Broader rollout remains gated: default Supabase fallback is link-only and
incompatible with the native code UI; ongoing auth delivery, exact expiry/resend,
incompatible with the native code UI; ongoing auth delivery, one-hour expiry,
independent customer setup and broader account acceptance remain open.

The earlier controlled Sprout pilot passed code delivery, native Mac sign-in and session
Expand Down
15 changes: 9 additions & 6 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CLAUDE.md — working notes for rootmail

## Current production checkpoint (3 November 2026)
## Current production checkpoint (4 November 2026)

The repaired signed Sprout build passed independent Mac and iPhone Simulator
sign-in, authenticated session restoration after relaunch, Mac-to-iPhone habit
Expand All @@ -23,17 +23,20 @@ ledger NOLOGIN with password removed. A further boundary pilot used two of four
authorized messages, then was retired on 3 November with key XKM6 rejected (401)
and ten replay tombstones retained. Replacement-code login passed; the separate
boundary request hit Supabase HTTP 429 (email rate limit). A resumed run delivered
one further email, then timed out before code entry or resend. Key slpK is now
revoked (401), the hook/runtime/secrets removed and ledger login disabled; eleven
replay tombstones remain. Superseded-code and one-hour expiry checks remain open;
three of four authorized boundary emails were used, with one unused.
one further email but timed out before code entry. A subsequently approved evening
run delivered two emails and rejected the superseded code at 19:44:55 WAT on
3 November, five seconds after requesting its replacement. The expiry step timed
out waiting for code entry; one-hour expiry remains unverified. All five authorized
boundary emails are used. On 4 November, key 9D8D was revoked (401 verified), the
hook/runtime/secrets removed and ledger login disabled with password removed;
thirteen replay tombstones remain.
All six services are healthy. API and worker run
`db93880e924ac679e24b8cb40abef4ff77e57beb` (separately released PR #62); the pilot
preserved this version. Dashboard remains `328f5ad`, admin `cd3d3ff`,
marketing/developers `1829289`. No new paid infrastructure was added.

Broader rollout remains gated: default Supabase fallback is link-only and
incompatible with the native code UI; ongoing auth delivery, exact expiry/resend,
incompatible with the native code UI; ongoing auth delivery, one-hour expiry,
independent customer setup and broader account acceptance remain open.

The earlier controlled Sprout pilot passed code delivery, native Mac sign-in and session
Expand Down
42 changes: 23 additions & 19 deletions docs/deploy-runbook.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
# Deploy runbook

## Current production (October 26, 2026)
## Current production (November 4, 2026)

API and worker: `effd2bdbe3fe5f52b2f960c3a6075817c7e2cc4a` (PR #59).
API and worker: `db93880e924ac679e24b8cb40abef4ff77e57beb` (PR #62).
Dashboard: `328f5ade6bcb9f916cba758360e07e9b7961420b`; admin:
`cd3d3ff90454d045167d0a750a70fbdc25942e6c`; public marketing/developers:
`182928943604ddb3eb4ba79ec48fc0ae3a6fb7a1`. All are healthy. Exact-main CI and
image publishing passed. Migrations 0083/0084 applied before guarded API canary;
both labelled owner-inbox API/worker canaries delivered. Previous API/worker
`328f5ad` images remain held for rollback.

The controlled Sprout pilot passed native Mac sign-in and session restoration,
using five of eight approved test emails. It is now closed: Supabase hook Disabled,
QA key revoked and rejected with HTTP 401, auth admission removed from API/worker,
optional hook/vault containers removed, and temporary secrets deleted. The
restricted ledger role is NOLOGIN; replay tombstones remain. The original host
composition and Caddy route to port 4000 are restored. No new paid AWS service
was provisioned. Sprout's default Supabase delivery remains untested.

Do not re-enable the saved Supabase hook against the retired runtime/key. A future
pilot needs fresh scoped credentials/configuration and the preflight in the
`182928943604ddb3eb4ba79ec48fc0ae3a6fb7a1`. All six services were healthy with
zero restarts after the latest pilot cleanup; public checks passed. The pilot
preserved these versions. Documentation PR #64 did not deploy new runtime.

Signed Sprout Mac/iPhone Simulator sessions, restart, bidirectional hosted sync,
controlled offline/conflict recovery and discarded-successful-reply retry passed.
Superseded-code rejection passed on 3 November; one-hour expiry remains unverified.
Native changes remain local, not a distributed release. See the
[session and cleanup evidence](sprout-session-acceptance-2026-11-02.md).

The latest pilot is retired: Supabase hook Disabled, QA key 9D8D revoked and
rejected with HTTP 401, auth admission and optional hook/vault runtime/network
removed, temporary secrets deleted. The restricted ledger role is NOLOGIN with
password removed; thirteen replay tombstones remain. Original core configuration
and proxy are restored. No additional paid AWS service was provisioned.
Default Supabase fallback is link-only and incompatible with native code entry.

Do not re-enable the saved hook against the retired runtime/key. A future pilot
needs fresh scoped credentials/configuration and the preflight in the
[Sprout validation report](sprout-pilot-validation-2026-10-25.md). Before rolling
back to older code, keep auth admission disabled and preserve replay metadata.
Pre-pilot host configuration backups remain root-only in `.pilot-backup-20261026`;
never print their contents.
Latest pre-pilot host configuration backups remain root-only in
`.sync-backup-20261103-evening`; never print their contents.

## Previous production (October 16, 2026)

Expand Down
39 changes: 39 additions & 0 deletions docs/sprout-session-acceptance-2026-11-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,42 @@ Both tests passed with zero failures/skips; signed simulator test build and
`lost-reply-after.json`. The JSON evidence contains only revision/pending/count
metadata, not sessions, credentials or habit contents. Native changes remain
local in Sprout's shared working tree and are not a distributed app release.

## Superseded-code rejection and pilot retirement — 3–4 November

The owner authorized two further sends (the one unused message plus one extra).
The first message `msg_dxldvoeb1w69nzqwzdnvdkte` was provider-delivered at
19:38:21 WAT on 3 November. After owner entry, the native runner requested a
replacement at 19:44:50 WAT. The replacement `msg_b8cls7h1d2wvti4tp7kre7hm` has
provider delivery evidence at 19:44:53 WAT. Both have null retained HTML, text and
content hashes. **The typed superseded code was rejected at 19:44:55 WAT**, and
the simulator remained signed out. This closes the immediate resend-invalidation
check for this observed project/build; replacement-code acceptance passed earlier.

The combined runner reached the expiry-entry step at 20:45:56 WAT, then timed
out at 20:55:57 waiting for entry. No expired-code submission occurred. The overall
`Boundary.xcresult` failed; its successful resend substep must not be reported as
a passing combined test. One-hour expiry remains open. All five authorized
boundary emails have been used; there is no unused allowance.

Cleanup completed after resumption on 4 November, not immediately after delivery:
Supabase hook Disabled; key 9D8D revoked with HTTP 401 verified; original core
configuration restored; auth admission, optional hook/vault runtime/network and
temporary secrets removed; local encrypted transfer artifacts deleted. Ledger
NOLOGIN with password removed; thirteen replay tombstones retained. All six core
services were healthy with zero restarts, unchanged images and passing public
checks. No ongoing Rootmail auth sending or new paid resource remains enabled.

Evidence under `.cache/rootmail-acceptance/20261103/evening-boundary/` includes
`Boundary.xcresult`, the marker-only interpretation of `boundary.log`, and the
hook-disabled screenshot. Delivery audit SSM:
`3d1853d3-d831-40e4-a557-6393293a6ea9`; cleanup:
`1b53c7ad-6a8b-40e1-8445-ca10bcb37b47`; final health:
`8b130072-7177-4f04-9138-3aa64d41789e`.

A replacement opt-in native expiry-only test now builds successfully. It requests
one email, accepts direct owner entry at the start without reading the code, then
automatically submits after 3,665 seconds. It has not run live and needs a new
one-email allowance. Temporary sender access should be retired after delivery,
before the long wait. This is a rejection-after-expiry check, not a measurement
of the exact instant at which Supabase invalidates a credential.
24 changes: 12 additions & 12 deletions docs/supabase-rollout-acceptance-2026-10-27.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,32 @@ the successful request evidence.
passed on 2 November. Controlled offline recovery and divergent-edit conflict
resolution passed on 3 November. Discarded-acknowledgement recovery after a real
hosted commit also passed, with an independent Mac read and no duplicate revision.
- Verify immediate resend invalidation and controlled expiry behavior; do not
infer them from email arrival or an old-code rejection hours later.
- Immediate superseded-code rejection passed on 3 November. Verify controlled
one-hour expiry; the combined runner timed out before submitting that code.
- Complete account deletion/retention acceptance using disposable data/accounts,
including ownership and prevention of resurrection. Never delete the owner account.
- Have an independent customer complete installation, and obtain applicable
delivery access before unrestricted onboarding. No SES appeal is filed here.

## Current operational boundary

Updated 3 November: signed Mac and iPhone Simulator independent login and
Updated 4 November: signed Mac and iPhone Simulator independent login and
session restoration passed, followed by both-direction hosted habit/check-in sync
and a second sequential undo/check-in round trip. Three hosted UI test executions
passed with zero failures/skips. This closes the observed session-loss regression
for these builds. Hosted offline recovery and explicit conflict resolution passed
on 3 November. A deliberately discarded successful write reply also recovered
through durable retry after relaunch, with an independent Mac read before retry.
Physical-device and broader account acceptance remain open. See the [2–3 November evidence](sprout-session-acceptance-2026-11-02.md).
Physical-device and broader account acceptance remain open. See the [2–4 November evidence](sprout-session-acceptance-2026-11-02.md).

The renewed two-email pilot is retired: hook Disabled, key revoked and HTTP 401
verified, auth admission/runtime/secrets removed, ledger login disabled. The later
four-email boundary allowance has now used three emails. Its latest run delivered
one email but timed out waiting for code entry before resend. All pilot access is
again retired: key slpK rejected with 401, hook/runtime/secrets removed, ledger
NOLOGIN; eleven replay tombstones remain. Replacement-code acceptance passed in
the earlier run; Supabase HTTP 429 blocked a separate request before the hook.
Superseded-code and expiry acceptance remain unverified; one authorized send is unused.
The renewed two-email pilot and later boundary pilots are retired. The last run
provider-delivered two emails and rejected the superseded code at 19:44:55 WAT on
3 November. Its expiry step timed out before code submission; no expiry pass is
claimed. Five boundary emails were authorized and used, with none remaining.
Cleanup on 4 November verified key 9D8D rejected with 401, hook Disabled,
auth admission/runtime/secrets removed, and ledger NOLOGIN/password removed;
thirteen replay tombstones remain. Replacement-code acceptance passed earlier;
Supabase HTTP 429 had blocked a separate request before the hook.
All six services are healthy; API/worker run the separately
released `db93880`, preserved throughout this pilot. No additional paid resource
was created. Default Supabase delivery remains incompatible with native code entry.
Expand Down
Loading