Repository source: docs/plans/nojs_basic_access/nojs_basic_access_step4_implementation_summary.md
Debug mode: enabled (inherited from Step 3)
Effort study: railspike-effort / v3/nojs_basic_access (ledger); standing enrollment P2
Extended estimates: disabled (inherited)
Cycle estimate: 0.35
Branch feat/nojs-basic-access from main 32f884b1; planning commit 58eefd2c. Approved Step 3 received 2026-11-16.
Step 4 entry
Projection: 0.35 reaffirmed at entry (same scope v1, R1/P2, single exposed rater); no new understanding since the Step 3 handoff.
Tooling: browser checks need the declared devDependency
playwright-core@1.58.1. Its gitignorednode_moduleswas copied from the sibling checkout../v3-claude-3(same pinned version; nothing new added).
Stage 1 - No-script journey check
Changes:
tests/browser/nojs_basic_access.mjs: scripts off from the first request. Covers entry, the "All" view, page 2 and back (pages disjoint, 55 seeded threads all covered), a thread, the inline board thread, standalone New post with an empty-body failure that keeps the title, inline reply, and standalone reply with a failure that keeps the thread context. Every post is checked after reload. It also checks for visible deadtype="button"controls on board, thread and compose, and for honest members-only denial.tests/Support/nojs_browser_fixture.php: seeds an isolated instance with N threads. Reuse decision: it is served by the existingimage_browser_router.php(itsflags.jsonalready switches members-only). The image fixture itself was not reused because it requires an approved key and seeds no threads.
Verification:
node tests/browser/nojs_basic_access.mjs: every journey step passes (entry, page 2 and back, thread, inline and standalone threads and replies, both failures keeping drafts, reload). It fails as the plan expected, on the gaps Stage 2 fixes:board: "View query"
button[data-view-query]visible but dead;thread: Like/Flag
button.thread-reaction-buttonvisible but dead (new finding; the baseline only probed the home page);members-only
/threads/: 401, heading "Reconnecting";members-only
/threads/: no visible/account/key/link.
node tests/browser/composers.mjs: PASS (unchanged).board_compose_focus.mjs:61timeout diagnosed in part: after the test releases its frozen scripts, one/api/auth_statusrequest never completes, sonetworkidlenever arrives. The endpoint answers in 75 ms on its own (401), so the problem is contention in that test's setup (single-threadedphp -S, session), not the endpoint. The cause is not fully pinned down. Recorded as a follow-up; not fixed here.
Notes:
Same-author reply runs collapse earlier posts' actions until hover or focus (
content-interactions.css:147). That works without scripts, so the test uses the run's last visible Reply link.Thread order ties within the same second, so the pagination check compares sets rather than specific thread numbers.
— Claude (claude-opus-5-5) · 2026-11-16 UTC
Stage 2 - Truthful controls and protected recovery
Changes:
public/assets/site.css, existing first-paint@media (scripting: none)block: also hides[data-view-query],.thread-reaction-button(Like/Flag) and a new.requires-scriptutility. A matching@media (scripting: enabled)rule hides.without-script. Server HTML stays static.templates/pages/authentication_resume.php: with scripts, the page is unchanged ("Reconnecting", verifying copy, "If this does not complete automatically, check your browser key or go to the lobby."). Without scripts it reads "Members only" and "Check your browser key or go to the lobby.", with the same links and the same 401.tests/LocalAppSmokeTest.php: five<h1>Reconnecting</h1>assertions now match the new class attribute.tests/browser/nojs_basic_access.mjs: link check scoped to<main>(the hidden navigation Account link also points to/account/key/); heading check reads the visible<h1>.docs/plans/ui_copy_audit_checklist.md: entry added.
Verification:
node tests/browser/nojs_basic_access.mjs: PASS, all five sections.node tests/browser/composers.mjs: PASS.node tests/browser/image_content_browser.mjs(scripts-on members-only flows): exit 0.php tests/run.php LocalAppSmokeTest: 162 run, 159 passed. The three failures are tracked long-standing (failing since 2026-11-03) and none involves the resume page: lobby pending-approval copy, Forte expired sessions, archive download filename method.Theme sweep, 13 themes in Chromium, scripts off and on: View query and Like are hidden off and visible on in every theme.
Members-only
/threads/with app scripts blocked: scripts on shows "Reconnecting" with the original sentence; scripts off shows "Members only". Both answer 401.
Notes:
Browsers without support for the
scriptingmedia feature (Firefox before 113, Chrome before 120, Safari before 17) show both versions of the copy on the members-only page and keep the dead buttons. Not verified; old engines are the Windows ME cycle's scope.Hiding Like/Flag without scripts follows Step 2's "script-dependent actions must not misrepresent availability". Reactions without scripts remain deferred.
— Claude (claude-opus-5-5) · 2026-11-16 UTC
Stage 3 - Acceptance, Lynx replay and closeout
Changes:
docs/concepts/no_script_presentation.md: new concept entry. It merges the two proposed entries (page-shell no-script presentation; members-only resume) because they share one mechanism. Its source links were checked.Ledger closeout (
docs/plans/effort_estimation_trial.md, nojs section only; the uncommitted Windows ME section stays out of this commit).
Verification:
No-script journey (
nojs_basic_access.mjs), composers and members-only scripts-on checks: PASS (Stage 2 runs on the final code; Stage 3 changed only docs).Lynx 2.9.0dev.10 against an isolated fixture:
lynx -dump -number_fields /compose/threadshows the textarea (fields 12–18) and Post (19) in server HTML.Lynx submitted the form's fields to its action (
-post_data), followed the 303 and rendered "Posted from Lynx … by guest". A fresh Lynx load of the thread shows it again, and the record exists in the fixture repository. Passed in this narrower form.Keyboard-driven discovery: not achieved. Lynx arrow navigation stops on about 26 unlabeled "(Script button)" theme and palette buttons before the textarea, and scripted keystrokes (
-cmd_script, also under a pseudo-terminal) kept landing in Lynx's command mode. Handed to the Windows ME cycle, which owns the old-engine clutter.
Theme sweep: 13 themes, scripts on and off, recorded in Stage 2.
Deployment, migration and roles: not applicable (no schema, authentication or deployment change; members-only gate unchanged and still 401).
Notes:
Baseline failure kept:
board_compose_focus.mjs:61(see Stage 1). It still fails on this branch exactly as onmain; follow-up.Smoke 159/162: three tracked long-standing failures reproduced, unrelated.
No full-suite run is claimed.
— Claude (claude-opus-5-5) · 2026-11-16 UTC
Final verification
| Check | Status |
|---|---|
| All three stages completed with stage-scoped commits that include summary updates | Passed (19c2930c, 15d5d529, final stage commit) |
Planning commit holds only approved plans and organization (58eefd2c); summary created afterward | Passed |
| Contract: entry, page 2, thread, inline and standalone threads and replies, drafts kept, reload, honest members-only denial, scripts off | Passed in Chromium (nojs_basic_access.mjs) |
| Script-enabled behavior unchanged (composers, members-only sign-in flow, View query and Like in 13 themes) | Passed |
| Lynx posting replay | Passed via Lynx form submission; keyboard discovery blocked (see Stage 3) |
board_compose_focus.mjs | Failed: baseline failure reproduced, cause partly diagnosed, follow-up |
LocalAppSmokeTest | 159/162; three tracked long-standing failures reproduced |
| Full test suite | Not run |
| Deployment, production, real old browsers | Not applicable or pending (Windows ME cycle) |
Study closeout
Entry projection 0.35 (reaffirmed). Retrospective scope assessment: 0.40. The extra came from the Like/Flag finding, the Lynx replay attempts and partial diagnosis of the baseline test timeout. This is a judgment, not measured labor.
Delivered scope: v1 as planned, with Like/Flag added under Step 2's existing "must not misrepresent availability" requirement (new understanding, not new scope).
Corrections vs new requests: none from the user during Step 4.
Maintainer comfortable-fit judgment and acceptance: pending. Merge: pending.
— Claude (claude-opus-5-5) · 2026-11-16 UTC
Maintainer merge — 2026-11-16
The user said "Yes please merge into main and push". Local
mainwas fast-forwarded toorigin/main(65b98d00, 1,052 commits newer than the branch base), then merged asc7bdd707.Conflicts resolved by keeping both sides:
site.css's no-script block (main had narrowed the search rule to.board-toolbar__search[data-users-search]), plus the appended sections in the copy audit checklist and the study ledger.Integration fix
d0bb6986: the visitor intro's "Hide" button (new on main) is script-only and was caught by the no-script check; it is now hidden without scripts.Combined tree:
nojs_basic_access.mjsPASS.LocalAppSmokeTest168/168.composers.mjsandimage_content_browser.mjsfail identically on plainorigin/mainin a separate worktree, so they are pre-existing and unrelated.
Pushed
main65b98d00..d0bb6986. Maintainer comfortable-fit judgment and study acceptance remain pending; scores unchanged.