Commit Graph

1234 Commits

Author SHA1 Message Date
a2d19360d2 docs(14.2-03): PHP cross-check and re-verification recorded in UAT 2026-10-11 23:04:28 +02:00
b9de0610d7 docs(14.2-03): record the manual session, its findings and fixes in UAT 2026-10-11 20:34:55 +02:00
4660f95e5c fix(14.2-03): access log records a cancelled request's 5xx as 499
A client that goes away mid-request cancels the context; a handler then
fails on context.Canceled and writes a 500 nobody receives. The request
log now records it as 499 (client closed request) so a grep for 5xx shows
real server errors only.
2026-10-11 20:27:56 +02:00
66dbd5a64a docs(14.2-03): UAT record with the deferred PHP cross-check 2026-10-11 19:46:44 +02:00
48286b67b3 docs(17): create phase plan 2026-10-11 19:28:15 +02:00
05442174b6 docs(14.2-02): complete local stack start script plan 2026-10-11 19:08:45 +02:00
5c75b316a7 docs(17): UI design contract 2026-10-11 18:23:09 +02:00
3156baaf38 docs(phase-17): add validation strategy 2026-10-11 18:01:12 +02:00
ea8408e9e9 docs(17): research phase domain 2026-10-11 18:00:21 +02:00
2158db790c docs(14.2-01): record plan 01 progress in state and roadmap 2026-10-11 17:48:43 +02:00
d0eeb4d291 docs(14.2-01): complete Go-side local stack glue plan 2026-10-11 17:48:18 +02:00
2d68eab3c0 feat(14.2-01): opt-in http.access_log request log in surf
- one Info record "http request" per request with method, matched route
  pattern, status and duration_ms; path without the query only when no
  route matched
- the matched route records its pattern through a request-scoped entry,
  so locale prefix rewrites do not hide it
- logs through the published *slog.Logger or slog.Default; off by default
- surf README, logging and configuration docs describe the key
2026-10-11 17:42:51 +02:00
ad1fa5abfa docs(14.2-01): todo for sm-user-plugin commands that need a published database 2026-10-11 17:41:29 +02:00
0b6d757b40 feat(14.2-01): opt-in storage.uploads.serve route for public uploads
- surf mounts GET {storage.uploads.public_path_prefix}/{path...} on
  attach.StaticHandlerPublic when storage.uploads.serve is true
- bucket and database resolved per request; X-Content-Type-Options: nosniff
- surf README, storage and configuration docs describe the key
2026-10-11 17:36:54 +02:00
3408742fb0 test(10): persist human verification items as UAT 2026-10-11 17:13:01 +02:00
f31ea9387f docs(10): re-verify after go-stage fixes, phase 10 human_needed 2026-10-11 17:12:55 +02:00
77ca4b0b93 fix(scripts): skip the opt-in TestBootstrapEndToEnd in the check-phase10 go stage 2026-10-11 16:35:33 +02:00
fc7cfaf51c docs(10): re-verify after quick-261011-mag, hygiene closed, gaps_found on --all go stage 2026-10-11 16:29:35 +02:00
6c7434243e docs(quick-261011-mag): fix check-phase10.sh hygiene gaps from 10-VERIFICATION.md 2026-10-11 16:14:20 +02:00
1541cd4167 test(admin): import the untested SPA modules directly for check-phase10 hygiene
- mlLocale: type predicates, localeRecord, the ML_LOCALE_CHANGE broadcast
- MLField: locale switch, whole-map emit, broadcast follow, content-locale
- FileCaptionModal: prefill, save via FileRoutes.update, 422 stays, danger toast
- ApiTokensPanel and ApiTokenCreateDialog mounted directly next to the app tests
2026-10-11 16:13:19 +02:00
42b5cf887f fix(scripts): allow the files.ts upload XHR in check-phase10 hygiene
- network rule exempts only the line-anchored upload XHR in admin/src/api/files.ts
- api-listing rule exempts only the exact path admin/src/api/files.ts
- self-test plants an XHR elsewhere and an extra admin/src/api file
2026-10-11 16:08:19 +02:00
d2fa195a91 docs(10): re-verify stale phase 10 report, gaps_found on check-phase10 hygiene gate 2026-10-11 15:54:52 +02:00
07e579a264 docs(09): re-verify after quick-261011-kzi, phase 09 passed 2026-10-11 15:40:54 +02:00
be82bccfc3 docs(quick-261011-kzi): fix Phase 09 gaps (fonoteka route inventory, per-guard token throttle) 2026-10-11 15:21:03 +02:00
b45af8ebbf fix(cabana): scope the token last_used_at throttle to the guard instance
- The process-global debounce map was keyed by token ID, so a stamp from one test database suppressed a later write in another and turned TestBackendTokenPostgres red depending on order
- Each compositeGuard now owns a stampThrottle; the backend guard and the ResolveBackend guard of one activation share it, so a single-app binary still writes last_used_at at most once a minute per token
- TestTokenLastUsedThrottlePerGuard pins the per-guard isolation
2026-10-11 15:19:55 +02:00
21fdcfcba6 docs(09): re-verify stale phase 09 report, gaps_found on fonoteka route inventory 2026-10-11 15:03:11 +02:00
a3b502bfb9 docs: record -short test fix in STATE 2026-10-11 14:43:52 +02:00
c85cb64b6e docs: CLAUDE.md -short runs without Docker again 2026-10-11 14:43:40 +02:00
7ef2e4f6cb test: honour -short in Docker-backed TestMain and cabana list-service fixture
TestMain scanned os.Args for a literal -test.short, but go test passes
-test.short=true, so beachcomber, conga, lagoon and lighthouse started a
Postgres container even under -short. Parse the flags and use
testing.Short() instead; skip cabana's newListService fixture under -short
like adminGorm already does.
2026-10-11 14:43:40 +02:00
73af414793 docs: correct the Docker note for go test -short in CLAUDE.md v0.1.22 2026-10-11 14:35:56 +02:00
73074ee257 fix(admin): keep plugin rail and section panel sticky so Settings stays at the viewport bottom 2026-10-11 14:34:24 +02:00
ee6fc7a235 docs(quick-261011-joh): record passing Docker-backed test re-run 2026-10-11 14:31:46 +02:00
290713cce3 docs(quick-261011-joh): sieve generic collection helpers module 2026-10-11 14:28:16 +02:00
a0bf8ece05 feat(sieve): add the remaining collection helpers and docs mentions
- Add TryMap, Filter, Reduce, KeyBy, GroupBy, Uniq, UniqBy, Partition
  and Find, plus the Set type built with SetOf (Has, Add, Slice).
- Add unit tests at 100% statement coverage and a runnable example for
  every function and Set method.
- Complete the module README: contracts, use cases, Pluck rationale,
  standard-library pointers and the full API reference.
- docs/architecture/introduction.md: add a Utilities row for sieve.
- docs/setup/coming-from-wintercms.md: map Laravel collection methods
  to sieve and narrow the not-provided row to the fluent collection
  object.
2026-10-11 14:27:13 +02:00
6933004b87 feat(sieve): add sieve module with Map 2026-10-11 14:22:56 +02:00
b906bdd48b docs(phase-16.3): complete phase execution 2026-10-11 14:08:47 +02:00
5913337cda docs(16.3): verification passed after admin gate fix
Re-verify after d1b043a: SC-6 closed, check-phase16.3.sh --all green, score 6/6.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 14:08:06 +02:00
d1b043a361 test(16.3): retarget panel create test after WR-02 submit gate
Assert submit stays disabled with no scopes; keep the 422 focus path
with a selected scope so check-phase16.3.sh --all stays green.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 14:05:59 +02:00
502fae3e90 docs(16.3): mark WR-01 and WR-02 review findings fixed
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:53:50 +02:00
cb4b0a9c75 fix(16.3): disable Create token until a scope is selected
Client-side canSubmit now matches the 422 rule so Submit stays disabled
with an empty scope set (WR-02).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:53:32 +02:00
a955d2a3d4 fix(16.3): refresh CSRF coverage golden and blog scaffold layout
Account token POST/DELETE routes made TestPhase10Coverage expect 32 unsafe
routes; token_scopes.go is hand-authored and excluded from the scaffold pin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:53:31 +02:00
e368ae9c85 docs(16.3): record code review disposition 2026-10-11 13:48:56 +02:00
36b1bce5c5 docs(16.3): add code review report 2026-10-11 13:48:16 +02:00
f4395b57b7 docs(16.3-04): point STATE state_head at SUMMARY commit
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:42:12 +02:00
e565062479 docs(16.3-04): complete unit tests and phase gate plan
Record SUMMARY, advance STATE/ROADMAP to 4/4 plans executed, and
mark Phase 16.3 ready for verify-work after the gate passed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:42:12 +02:00
463541549f docs(16.3): complete validation map with nyquist_compliant
Fill every 16.3-VALIDATION.md row from plan 04 results, tick Wave 0,
and set nyquist_compliant true after the phase gate passed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:40:53 +02:00
9b811f6042 test(16.3): phase gate
Add scripts/check-phase16.3.sh with fail-closed go/admin/docs/postgres
stages, detector self-tests and NOT RUN postgres without Docker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:37:30 +02:00
55999b2984 test(16.3-04): full SPA coverage for API tokens panel and dialog
Pin list states, row anatomy, revoke paths and create-dialog step 1/2
behaviours from the UI-SPEC, including plaintext lifetime backstops.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:36:17 +02:00
78124ab86f test(16.3-04): full Go coverage for tokens, guard, account API and CLI
Pin bouncer Scope serialization, party Activated order, lagoon migration,
compile/overlap/mint/expiry/validation, guard/debounce/resolver,
interactive-only, account token API and CLI on Postgres.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 13:32:11 +02:00
bdd393c15f docs: rewrite CLAUDE.md for MSD and the current repo layout 2026-10-11 13:28:15 +02:00