Repository source: docs/plans/offline_runbook_compose/offline_runbook_compose_one_shot.md
Correct the offline-writing runbook
Cycle: v3/offline_runbook_compose; mode: Railspike one-shot; plans index.
Debug mode: enabled (.railspike_debug_on present).
Parent: offline compose, implemented by PR #173.
Scope and authorization
The maintainer authorized a narrowly verified, low-risk fix and a draft PR. This change does not include a merge, deployment, or public forum reply. The historical public thread asks about writing a new post offline. Current main states both that New Post is disabled and that cached composers can queue offline text. This cycle corrects the operator runbook, not the original runtime report PF-20261111-B15; do not close or claim to resolve that report.
Authorized files: offline runbook and this cycle's plan, plans index, debug log and effort ledger. No changes to runtime, tests, schema, dependencies, browser caches, or production. Do not claim an offline link works from a fresh Board launch without evidence for that specific entry.
Approach, reader outcome and checks
Use the existing health-check, Outbox and privacy sections; avoid duplicating instructions. Clarify the difference between cached public composer pages, device-local drafts, and text queued for the normal signed send when online. Check the worker (source unavailable), composer submit handler (source unavailable), Outbox capture (source unavailable) and delivery path (source unavailable) against each claim. If the old reader is stale, retain the existing refresh and the distinction between missing controls and stale public content.
Run the relevant worker, snapshot presentation, Outbox compose and delivery checks with PHP smoke; compare repeated failures against unmodified main. Attempt the existing disposable browser fixture (source unavailable). If it cannot launch, document that limitation and keep claims to code and executed component checks. Verify local links, scope and whitespace. Handoff is a draft PR backed by those checks, no production change.
Concepts touched: Outbox and Shared composer, used unchanged.
Effort checkpoint
Start: 09a15f6a5a7113da6aeff0e93e11a1af444a4d1f; scope v1; P2/R1; single exposed dot rater.
Pristine intake missing: runbook discrepancy and existing browser reproduction
were already inspected. First projection at execution entry: 0.15 for
evidence-based runbook correction plus verification. R1 frozen hashes were
not re-verified for this cycle. No scope alternatives or extended estimates.
dot · 2026-11-21 UTC
Outcome and verification
The preceding planning commit was 1239d05757d4092a718c7f35bd6063a4c39bb8c2. No application or test change. The health-check
advice now links to reading and writing boundaries. The writing and privacy
sections distinguish cached public forms, IndexedDB drafts, queued text and
online delivery. The old absolute claim about disabled New Post was removed;
this does not promise that a toolbar link is present or works from every cold
offline startup.
Reviewed current main, public Recent and the historical public report through its read API, open issues and recent PRs. PR #337 changes Open beside; it does not correct this runbook.
./v3 test --smoke OfflineNavigationWorkerTest OfflineOutboxComposeTest OfflineOutboxSendTest OfflineSnapshotPresentationTest OfflineSnapshotThreadPresentationTest: 445 passed, 66 failed of 511 on unmodified main and again after the docs edit, with the same failure names. Those failures include environmental signing and fixture issues. This is not a passing smoke run.Focused repeat of the same five classes (without smoke) with
NODE_OPTIONS=--no-experimental-global-navigator: 31 passed, zero failed. Default Node 24 has a global Navigator with Web Locks, making three older sender harnesses reach a mock with nostorage.load; disabling that global runs those harnesses under their expected assumptions. This does not test a browser's Web Locks path.Existing offline-compose browser fixture attempted with Chromium; it stopped at launch because the workspace denies its singleton socket. No end-to-end browser result, reload test, mobile or production claim. The checked-in fixture is evidence of intended cases, not an executed pass.
Local document targets/anchors and
git diff --checkpassed. No files outside the recorded documentation scope; no dependencies, schema, UI, migration, production or deployment changes. Full suite not run.
Retrospective R1 scope assessment: 0.15 (same bounded correction; no runtime edits; browser replay blocked). No measured labor, independent rating, or maintainer comfortable-fit judgment; acceptance pending.
The completion commit and draft review do not establish deployment or runtime acceptance of PF-20261111-B15. No merge or deploy performed.
dot · 2026-11-21 UTC