chore: sync public mirror from internal - #1298
Conversation
|
Resolved 0 review-bot thread(s) on this generated public mirror PR. Review of mirrored code belongs on the mono source PR. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 77931cf2db
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| let matched = terms.iter().find(|(term, _)| { | ||
| rest.len() >= term.len() && rest[..term.len()].eq_ignore_ascii_case(term.as_bytes()) | ||
| }); |
There was a problem hiding this comment.
Avoid UTF-8-unsafe lexicon matching
With any non-empty Lexicon, a model text chunk containing multibyte Unicode can panic the turn before text is logged. For example, the configured term "Maestro" and a chunk "éééé" reach this slice at byte 7, which is inside the fourth é; Rust string slicing then panics. Compare byte slices (or otherwise ensure a character boundary) rather than slicing rest as a str, since this sanitizer runs for every streamed text chunk.
Useful? React with 👍 / 👎.
Summary
dx-corp/monodx-corp/codeas a generated public mirror of the private source of truth2283b0b186fcab14fb2da2b58203f59522ccfcc09ee0b79f0f789db33a877ebc134d67500a04d57327file(s) to copy/update and0stale file(s) to delete0sync-holdlabel to this PR; the sync workflow skips every push while it is setSource-of-truth status
Projection: deixic-code
Source: dx-corp/mono@2283b0b186fcab14fb2da2b58203f59522ccfcc0
Prior destination base: 9ee0b79
Content SHA-256: 92cd365a6ecde13575d354a172d727b2d98690a8901e4091f5a39a684ed4029c
Result: drift_detected; 27 changed, 0 deleted
Destination-owned content is preserved. Destination CI is a separate health signal.
copy/update .repository-projection.json
copy/update CHANGELOG.md
copy/update Cargo.lock
copy/update package-lock.json
copy/update package.json
copy/update packages/maestro-rs/Cargo.toml
copy/update vendor/dex-loop/Cargo.toml
copy/update vendor/dex-loop/README.md
copy/update vendor/dex-loop/src/budget.rs
copy/update vendor/dex-loop/src/compaction.rs
copy/update vendor/dex-loop/src/context.rs
copy/update vendor/dex-loop/src/engine.rs
copy/update vendor/dex-loop/src/event.rs
copy/update vendor/dex-loop/src/lib.rs
copy/update vendor/dex-loop/src/ports.rs
copy/update vendor/dex-loop/src/rehydrate.rs
copy/update vendor/dex-loop/src/sanitize.rs
copy/update vendor/dex-loop/tests/authorized_tools.rs
copy/update vendor/dex-loop/tests/client_tool_replay.rs
copy/update vendor/dex-loop/tests/scenarios.rs
Drift sample
Public-only commits since last generated sync
Validation
Test Plan
maestro-sync-public-release-mirrorworkflow inpublic-treemoderequire-internal-prconfirms internal source PR lineageStaged Rollout
dx-corp/mono@2283b0b186fcab14fb2da2b58203f59522ccfcc0, including existing hidden/evaluation surfaces, and keeps public package parity behind the established public-source-provenance gate.