Files
summercms/.planning/phases/19.6-two-factor-auth-and-device-flow-in-sm-user-plugin/deferred-items.md
Jakub Zych d3b1636ac7 docs(19.6-03): complete WebAuthn and adoption plan
sm-demo-app mounts golem15.mfa v0.1.0 at user v0.1.12, sociallogin v0.1.4
and the two-factor UI (0eb1f60..bb24207, pushed with the 19 earlier
commits as 18597e5..bb24207, not deployed). The summary records the
"proceed" reply, the push checks and the tests. deferred-items.md gains the
private sm-mfa-plugin repository's effect on the demo's release build, and
a pending todo tracks the demo's leftover journal and oauthserver moves.
2026-10-26 13:47:45 +01:00

3.7 KiB

Deferred Items

  • sm-sociallogin-plugin: signin_event_test.go is not gofmt-clean at origin/master 4d3b2dd (v0.1.3) status: open What: gofmt -l . lists it: logRecorder.Enabled is a one-line method gofmt now splits. It came with 4d3b2dd from another session. Plan 19.6-03 did not touch it. Fix it in a style: commit in sm-sociallogin-plugin.
  • vue-demo-app has no type-check tooling status: open What: the Nuxt build does not type-check, and vue-tsc is not a dependency, so 19.6-03 Task 3 checked the new page, composables and header with vitest and pnpm build only. The user decides whether to add nuxi typecheck.
  • fonoteka.go: five Docker-backed tests in plugins/golem15/fonoteka fail without -short, at the committed user pointer v0.1.10 as well as at v0.1.12 status: open What: found by 19.6-03 Task 6 (baseline run with the user submodule at bfcfea4; the failures are identical):
    • TestPhase09SecurityRoutes: unexpected cabana admin routes (account/contributions, account/preferences, reorder, singleton) from the framework working tree.
    • TestPhase8RedMCPMe, TestOAuthToolsMeRouteIsolation: GET /_user/api/v1/token/me counts as a /me-suffixed route on another surface.
    • TestMustChangePasswordLock: login answers 401 "Invalid email or password".
    • TestPhase14Edges/prune-cutoff-90-days-then-one-second-older: prune leaves the "past" row. None of these tests inventories user-plugin tables, routes or models, so 19.6-03 did not change them. The -short suites are green. The parity inventories (parity/migrate_test.go, parity/schema_diff_test.go) were also red at v0.1.10; 95fd58a fixed them along with the bump.
  • fonoteka.go: root go.mod still requires sm-user-plugin v0.1.10 status: open What: the module resolves through replace => ./plugins/golem15/user, so builds and tests use the v0.1.12 checkout. 19.6-03 Task 6 staged only the paths the plan names. Precedent 06bc9d0 raised the require together with the pointer. Raise it to v0.1.12 (and tidy) in a follow-up chore: commit.
  • sm-mfa-plugin: the v0.1.0 tag message says the two-factor mode is "optional, required or disabled" status: open What: the config values are disabled, optional and enforced. The tag is pushed and is not rewritten (that would need a force-push). The README and config/config.yaml are correct. The next release's tag message should name the right values.
  • sm-demo-app: the release build needs read access to the private sm-mfa-plugin repository status: open What: found by 19.6-03 Task 6 part (1). scripts/build.sh release and scripts/check-pins.sh run with GOWORK=off GOPRIVATE=git.golem15.com/*, so Go fetches every required plugin over anonymous HTTPS. The other sm-*-plugin repositories allow that; sm-mfa-plugin is private, so the fetch fails ("could not read Username for 'https://git.golem15.com'"). On this machine the release build and the pins check pass, because v0.1.0 is already in the module cache: go get filled it through a one-command url.git@git.golem15.com:.insteadOf https://git.golem15.com/ rewrite in the environment, and no global config was changed. A clean module cache, or another build machine, fails. The user decides: make sm-mfa-plugin public like the other plugins, or give the build host credentials (an insteadOf rewrite to SSH or a netrc) and document it in DEPLOY.md. sm-bm-app is not affected (it builds from the submodule through a replace).
  • sm-demo-app: uncommitted journal and oauthserver submodule moves left over from Phase 19.7 plan 05 status: open What: tracked as the pending todo .planning/todos/pending/2026-10-26-sm-demo-app-journal-oauthserver-pointers.md. 19.6-03 left both unstaged.