Skip to content

chore: address residual review nits (config readonly, url scheme, session doc)#18

Merged
olivrg merged 1 commit into
mainfrom
chore/review-nits
Jun 18, 2026
Merged

chore: address residual review nits (config readonly, url scheme, session doc)#18
olivrg merged 1 commit into
mainfrom
chore/review-nits

Conversation

@olivrg

@olivrg olivrg commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Tidies the three residual nits logged during the pre-0.1.0 review. No tag is cut.

  1. AdapterConfig fields → readonly — matches EvidenceRule/EvidenceConfig and the code-style guide. Typecheck passing confirms the resolved config is never mutated.
  2. helioBaseUrl requires an http(s) URL (only behavioral change)URL.canParse alone accepted ftp:/file:/etc.; the sideband only speaks HTTP. New test covers ftp:/file: rejected, https: accepted.
  3. mapSession JSDoc now documents that the channelId/'unknown' fallback can collapse distinct sessions onto one session_id — correlation-safe (registry fails closed on ambiguity), but operators wanting per-session scoping should supply sessionId/sessionKey.

Verification

pnpm verify green: 200 tests (was 198), 0 type errors, build ✓.

…sion doc)

Three deferred nits from the pre-0.1.0 review, no behavior change beyond #2:

1. AdapterConfig fields are now `readonly`, matching EvidenceRule/EvidenceConfig
   and the code-style guide (resolved config is never mutated).
2. helioBaseUrl now requires an http(s) URL — URL.canParse alone accepted
   ftp:/file:/etc; the sideband only speaks HTTP.
3. mapSession JSDoc now documents that the channelId/'unknown' fallback can
   collapse distinct sessions onto one session_id (correlation-safe — fails
   closed on ambiguity — but operators wanting per-session scoping should supply
   sessionId/sessionKey).
@olivrg olivrg merged commit c0f38ae into main Jun 18, 2026
1 check passed
@olivrg olivrg deleted the chore/review-nits branch June 18, 2026 14:18
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