Skip to content

Docs: bring every document up to date with the 0.1.1 code - #6

Merged
danielpclark merged 2 commits into
mainfrom
docs/review-0.1.1
Oct 21, 2026
Merged

danielpclark merged 2 commits into
mainfrom
docs/review-0.1.1

Conversation

@danielpclark

Copy link
Copy Markdown
Owner

What

A documentation accuracy pass over everything that remains after #5: the root README, docs/integrations/*, the six gem READMEs and the six example READMEs, each checked against the code at 0.1.1. docs/security.md, docs/protocol.md, gems/sqrl-core/README.md and gems/sqrl-client/README.md were verified and needed no change.

Drift corrected

  • Root README: the sqrl-rack row now covers Roda (plugin :sqrl); "What is implemented" lists all four store sets (memory, Redis, ActiveRecord, ActiveSupport::Cache), the rate-limit hooks, host allow-list, refresh endpoint, sqrlonly/hardlock enforcement and identity management; Development documents rubocop, rake build / rake release_check, the per-example bundle install the harness needs, and the Chromium, Rust and Redis requirements; deferred work points at GitHub issues.
  • Integration index: adds Roda and its example, the store list, the HTTPS rule, poll_requires_ip_match as opt-in, the hooks and prune_every, and the refresh flow.
  • Rack/Sinatra guide: GET /sqrl/refresh and the facade's refresh_url, the middleware options, a Roda section, and the real (lazy) ordering rule for set :sqrl instead of the stale "sessions before register" claim.
  • Rails guide: the generator's six steps (the password-policy includes were missing), the engine routes, identity management, account policies, :cache/:memory stores, rate_limit, hooks, allowed_hosts, prune_every.
  • Devise guide: refresh, identities and unlink routes; sqrl_only_blocked_strategies; the correct default of sqrl_on_unknown_identity (nil, deferring to config.sqrl); insecure_http / poll_requires_ip_match; account policies.
  • OmniAuth guide and README: refresh_path, allowed_hosts, host_cache_limit, hooks, prune_every, logger.
  • Client guide: identity subcommands, --alt-id, and the insecure / --ca-file / --no-verify-tls rules.
  • Gem READMEs (sqrl-rack, sqrl-rails, devise-sqrl): refresh routes and helpers, the unlink route, a garbled sentence, and a testing snippet that used plain http:// without insecure:.
  • Example READMEs: a truncated sentence in rack-app, missing SQRL_ASK/SQRL_SIN and SESSION_SECRET variables, missing refresh routes, and a "Logging in with the browser extension" section for every example (HTTPS via SQRL_TLS_KEY/SQRL_TLS_CERT, or SQRL_INSECURE_HTTP=1 on localhost only).

Also

rake release_check now does what its description says: when GITHUB_REF_NAME is set it aborts if the tag does not match SQRL::VERSION.

Checks

Documentation plus one Rakefile task. CI must be green before merging.


Generated by Claude Code

Corrects drift across the root README, the integration guides, the gem
READMEs and the example READMEs: the Roda plugin, the refresh endpoint,
the store implementations, the hooks and host allow-list, account
policies and identity management, the client's TLS and insecure flags,
and a "logging in with the browser extension" section per example.
Deferred work is now pointed at GitHub issues. The release_check task
compares the tag with the version when run in CI.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LquamEUPHNaNMzZW6tZz8r
@semanticdiff-com

Copy link
Copy Markdown

Review changes with  SemanticDiff

Copy link
Copy Markdown
Owner Author

The "Gem specs (Ruby 3.3)" and "Gem specs (Ruby 3.4)" failures on the first run here are not this PR's: the failing examples (sqrl-client identity load and the CLI identity sequence) are in code this PR does not touch, they passed on the second run of the same commit, and the cause is a pre-existing bug in sqrl-core's S4 parser that truncates binary identity files whose last byte happens to be whitespace (about one file in forty). The fix is #7, with regression specs. Once #7 is merged I will merge main into this branch so CI re-runs on the fixed base, and merge this PR only when that run is green.


Generated by Claude Code

@danielpclark
danielpclark merged commit dd7ccbb into main Oct 21, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant