Repository navigation
Draft: adapt upstream parameterless Claude tool calls (partial sync) - #1
Conversation
|
Daily review 2026-11-26: upstream main now 38fe929502f19f7cce03c69c19aacddf30f1ef5e. Fork/upstream histories remain unrelated (28 vs 5201 commits; 4331 patch-unmatched non-merge commits are NOT proof of missing semantic features). Recent upstream adds null/tool-argument/snake_case translation fixes and Windows Modern Standby OAuth deferral. No new semantic coverage claimed; existing partial adaptation retained, no duplicate PR. cargo fmt --all --check passed today. cargo test --locked --all-targets and strict clippy retries failed during dependency compilation due No space left on device, not a passing test run. Existing CI Windows jobs passed; Rust CI failed with six strict-Clippy errors (confirmed log). Keep draft. Home DB origin baseline now 30 (not prior 29); worker has no new schema migration, no production database accessed. Rust/Home ownership, mTLS/RESP, accounting and unsupported-provider guards unchanged. |
|
Daily reconciliation: fresh origin/main 1bb9115, integration 33093b0; normal merge origin/main already up to date. Original clean main merge-mode pull succeeds (unchanged). Latest upstream main is now 47f18e4d, beyond previously inspected 38fe9295; new Gemini follow-up ordering, cancellation/truncation reporting, Claude/Responses/tool-choice, Codex websocket and Antigravity fixes still need Rust-specific semantic review. Plugin-host changes cannot be imported wholesale: worker intentionally disables plugins. git cherry currently reports 4405 unmatched non-merge patches with unrelated Go/Rust roots, NOT 4405 proven missing features. Identical-environment cargo clippy --locked --offline --all-targets -- -D warnings on exact origin/main isolated baseline AND maintenance reproduces the same six lint errors in codex_catalog, ws_recovery (2), websocket, codex_multiagent_tests and gateway_client_tests. cargo fmt --all --check passes on integration. Current cargo test --locked --offline --all-targets could not complete: ENOSPC while compiling dependencies; this is an environment blocker, not a failed behavior test. No claim of a fresh 525-test pass. Disk is full; no unsafe cleanup, architecture replacement, DB changes or new integration attempted. Home baseline schema is now 30 (old PR text mentioning 29 is historical); no worker migration or additional schema bump. Draft and failed Rust CI retained; Windows checks green. No production action. |
Upstream maintenance review — 2026-11-25
Scope and ancestry
Fork baseline:
1bb9115bonsofyan48/AI48Proxy:main.Upstream inspected:
router-for-me/CLIProxyAPIdefaultmain, tip85225381d89915595598ed13766cd79890c03a84.The Rust fork and Go upstream have independent root commits. Git ancestry and
patch IDs therefore cannot establish semantic coverage:
git cherryreports4,242 unmatched non-merge commits, not 4,242 proven missing features. Do not merge
unrelated histories or copy the Go tree into this Home-managed Rust worker.
This is a partial adaptation of upstream
d2b7dbbdbc9ceeee0312b08c48867ec2789fde30(missing Claude tool input). It does not claim coverage of the upstream tip.
The shared Claude call adapter now emits the JSON object string
"{}"for omittedinput. Explicit null, string, array and boolean values remain invalid. Existingobject arguments and tool-result ownership checks remain intact. This applies
only to existing supported translation paths; it does not expand Codex source
format support or relax unsupported-feature gates.
Features preserved and conflict handling
No textual merge was attempted because the histories and languages differ.
Adapted the upstream improvement to the existing strict Rust translation boundary
without replacing the fork architecture. Preserved AI48 branding, Home-selected
credentials, mTLS/RESP lifecycle, database-backed control-plane ownership,
accounting, plugin startup guards, payload-rule ordering, existing API routes and
fail-closed validation. No Home or UI API shape changes are introduced.
Database
No worker schema migration is involved. Home
origin/mainschema version is 29;upstream Home schema version is 20. Home stays 29 -> 29. No migration was
renumbered, removed, added or executed. Production databases were not accessed.
Pending upstream review
85225381: credential-scoped signature cache; fork docs explicitly exclude fullsigned reasoning replay. Do not infer that enabled config implies cache parity.
bffe6e7e: credential-replacement transport pool isolation needs a Rust-specificpool identity audit, not a copied Go implementation.
e049c336: Imagen predict normalization; specialized Vertex Imagen operationsare explicitly outside the worker's current supported matrix.
path-specific regression review. This PR does not mark those fixes as covered.
Verification
Added a regression for omitted input producing string-valued
{}, retained objectarguments, rejection of explicit invalid input and rejection of unmatched tool
results.
cargo test --locked --all-targets: 525 passed, 0 failed, 1 ignored.cargo fmt --all --check: passed after installing rustfmt.git diff --check: passed.cargo clippy --locked --all-targets -- -D warnings: failed under Rust 1.100.0in unchanged
codex_catalog.rs,ws_recovery.rs,websocket.rs,codex_multiagent_tests.rsandgateway_client_tests.rs(six lint errors).These unrelated baseline issues were not silenced or refactored. PR must remain
draft until required verification succeeds.
Fixtures are synthetic; no live provider, deployment, service restart or production
migration is authorized.