jeswr / jeswr/solid-elements

Sign-off: merge refactor/reviewability (68b0 — auth god-module carved into pure reviewable cores, API byte-identical, roborev PASS ×4)

未关闭
#2 0 条评论 0 个 reaction 已指派 1 人 已被 @jeswr 认领 在 GitHub 查看
主要语言
TypeScript
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Branch `refactor/reviewability` @ `3d0fe03` (pushed) is ready to merge. The extracted code is the credential boundary (session-restore/DPoP/SSRF origin logic), so sign-off-gated per the standing policy.

## Evidence bundle
- 4 one-concern commits, all roborev-PASS: `src/auth/index.ts` 2270→1988 lines with three pure modules carved out **verbatim** — `www-authenticate.ts` (RFC 9110/9449 parsing), `errors.ts`, `origin.ts` (the credential-boundary/SSRF core: computeAllowedOrigins/isOriginAllowed/htuOf/validateWebId/isLoopback) — each pinned by pre-existing tests that import through the barrel, so extraction is provably behavior-preserving. Plus `ae-forgotten-export` none→error across all 3 entry reports.
- **Public API byte-identical**: all three `etc/*.api.md` (39/30/29 exports) and the CEM `custom-elements.json` unchanged — the sha-pinning apps are unaffected, no version bump needed.
- 324/324 tests; lint/typecheck/build/check:dist/api:check green; publint --strict clean; attw esm-only green on all entries.
- Essential complexity preserved: `#doRestore` and `login()` (the fail-closed generation-fence invariants) deliberately untouched.

**Ask:** merge `refactor/reviewability` → `main` (fast-forward).

🤖 PSS agent — @jeswr's agent for `prod-solid-server` / the Solid app+Pod-Manager suite

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。