Skip to content

simplify: dedupe webhook-header, code-gen gateway, proc-detail, and nested-attr helpers#13

Merged
alexkroman merged 2 commits into
mainfrom
claude/security-review-simplify-DfOgk
Jun 5, 2026
Merged

simplify: dedupe webhook-header, code-gen gateway, proc-detail, and nested-attr helpers#13
alexkroman merged 2 commits into
mainfrom
claude/security-review-simplify-DfOgk

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

Apply quality-only cleanups surfaced by /simplify across the tree:

  • config_builder.auth_header_flags() replaces the duplicated
    parse_auth_header + two-key assignment in transcribe and stream.
  • code_gen.gateway_options() replaces the identical llm-gateway dict
    built in both --show-code paths.
  • claude._proc_detail() folds the repeated (stderr or stdout).strip().
  • transcribe_render._nested() folds three getattr-of-getattr lookups.
  • BaseRenderer._emit uses json.dumps(default=str) to match emit_ndjson.
  • session.run_session drops the _connect rebind dance.

No behavior change; ruff, mypy, and the 90% branch-coverage gate pass.

claude and others added 2 commits June 5, 2026 04:48
…ested-attr helpers

Apply quality-only cleanups surfaced by /simplify across the tree:
- config_builder.auth_header_flags() replaces the duplicated
  parse_auth_header + two-key assignment in transcribe and stream.
- code_gen.gateway_options() replaces the identical llm-gateway dict
  built in both --show-code paths.
- claude._proc_detail() folds the repeated (stderr or stdout).strip().
- transcribe_render._nested() folds three getattr-of-getattr lookups.
- BaseRenderer._emit uses json.dumps(default=str) to match emit_ndjson.
- session.run_session drops the _connect rebind dance.

No behavior change; ruff, mypy, and the 90% branch-coverage gate pass.
@alexkroman alexkroman merged commit 45cdb4a into main Jun 5, 2026
13 checks passed
@alexkroman alexkroman deleted the claude/security-review-simplify-DfOgk branch June 5, 2026 04:51
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.

2 participants