Skip to content

First marge#2

Draft
PenguinDOOM wants to merge 172 commits into
masterfrom
future/first-write
Draft

First marge#2
PenguinDOOM wants to merge 172 commits into
masterfrom
future/first-write

fix: normalize reasoning summary for responses payloads

7086c4b
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jun 30, 2026 in 0s

27 new issues (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 11
- Added 27
           

Complexity increasing per file
==============================
- src/cli.rs  31
- src/codex_ws.rs  21
- src/config.rs  34
- src/errors.rs  14
- src/http.rs  26
- src/main.rs  34
- src/models.rs  34
- src/registry.rs  34
- src/responses/downstream.rs  192
- src/responses/mod.rs  56
- src/responses/translation.rs  220
- src/responses/upstream.rs  26
- tests/http_surface.rs  36
- tests/jobs.rs  25
- tests/reconnect.rs  32
- tests/support/scripted_ws.rs  22
         

Clones added
============
- src/auth.rs  16
- src/cli.rs  1
- src/config.rs  4
- src/jobs.rs  6
- src/main.rs  1
- src/models.rs  2
- src/responses/mod.rs  8
- src/responses/upstream.rs  4
- src/tools.rs  2
- tests/http_surface.rs  37
- tests/jobs.rs  6
- tests/reconnect.rs  25
- tests/registry.rs  2
- tests/support/scripted_ws.rs  2
- tests/ws_pump.rs  4
         

See the complete overview on Codacy

Annotations

Check warning on line 29 in AGENTS.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

AGENTS.md#L29

Absolute rule without escape hatch: "Root `AGENTS.md` contains always-on rules."

Check warning on line 110 in AGENTS.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

AGENTS.md#L110

Absolute rule without escape hatch: "Never log secrets, raw tokens, refresh tokens, cookies, or full author"

Check warning on line 128 in AGENTS.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

AGENTS.md#L128

Absolute rule without escape hatch: "The pump must run while the session is retained, read idle frames, rep"

Check notice on line 148 in AGENTS.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

AGENTS.md#L148

Overly complex sentence (44 words). Break into shorter instructions.

Check warning on line 164 in AGENTS.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

AGENTS.md#L164

Absolute rule without escape hatch: "Job completion must update stored job state only and must not automati"

Check warning on line 168 in AGENTS.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

AGENTS.md#L168

Absolute rule without escape hatch: "Never commit local credentials, cookies, refresh tokens, access tokens"

Check notice on line 1 in CLAUDE.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

CLAUDE.md#L1

No identity/persona defined. Without this, the agent has no consistent personality.

Check notice on line 1 in CLAUDE.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

CLAUDE.md#L1

No tool documentation found. The agent doesn't know what tools are available or how to use them.

Check notice on line 1 in CLAUDE.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

CLAUDE.md#L1

No version or update date found. Helps track freshness of instructions.

Check notice on line 1 in CLAUDE.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

CLAUDE.md#L1

Only 2 section(s) found. Use ## headings to organize instructions into clear sections (aim for 3+).

Check warning on line 269 in src/config.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/config.rs#L269

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 270 in src/config.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/config.rs#L270

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 290 in src/config.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/config.rs#L290

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 291 in src/config.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/config.rs#L291

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 409 in src/config.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/config.rs#L409

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 445 in src/config.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/config.rs#L445

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 474 in src/config.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/config.rs#L474

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 249 in src/http.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/http.rs#L249

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 250 in src/http.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/http.rs#L250

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 305 in src/http.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/http.rs#L305

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 317 in src/http.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/http.rs#L317

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 146 in src/main.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main.rs#L146

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 147 in src/main.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main.rs#L147

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 167 in src/main.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main.rs#L167

Detected 'unsafe' usage, please audit for secure usage

Check warning on line 168 in src/main.rs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/main.rs#L168

Detected 'unsafe' usage, please audit for secure usage