Repository navigation
Conversation
Castiron custom codeEvaluated main: ✅ No new custom-code files detected. 2 mixed files remain; 0 existing customizations changed. Compared 2 existing customizations unchanged
A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 38035012219 --repo openai/openai-cli \
--name castiron-custom-code-38035012219-1 --dir /tmp/castiron-custom-code-38035012219-1
git apply --stat /tmp/castiron-custom-code-38035012219-1/custom-code.patch
cat /tmp/castiron-custom-code-38035012219-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 5739ce0f3a6cc5887092554a403bf53357eca9a4 fbcae06752ca45bbe1fb8d9fab1b50bfe96c9ca3
python3 scripts/castiron/custom_code_report.py report \
--base 5739ce0f3a6cc5887092554a403bf53357eca9a4 \
--head fbcae06752ca45bbe1fb8d9fab1b50bfe96c9ca3 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-fbcae06752ca
cat /tmp/castiron-custom-code-fbcae06752ca/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project rate-limit commands currently require
list-rate-limitsandupdate-rate-limit.This adds
listandupdate, with clearer rate units and project-specific empty results.What changes
Readable labels also change in pipes. Explicit machine formats retain API field names and values.
Commands
New convenience names:
Use a rate-limit ID returned by
list, and only apply an approved project change.The colon route,
admin organization projects, andprojectsshortcut support both verbs.Existing
list-rate-limitsandupdate-rate-limitremain available.Pagination flags, JSON/JSONL/YAML/raw formats, field extraction, and request overrides retain their behavior.
update --helplists supported fields. Omitted fields remain unchanged; zero and null are not reset shortcuts.Code
pkg/customadds command decoration before route cloning and supplies the scoped empty-result message.pkg/transformerschanges readable field labels while preserving values and unfamiliar data.Generated request handlers, dependencies, and startup wiring remain unchanged.
The synthetic recorder reuses
scripts/demos/capture_and_render.sh.Tested
On macOS arm64, 196 focused test/subtest results passed without skips. Focused race checks, compilation, and module verification passed.
An independent observer passed 123 CLI processes, including machine-output comparisons, combined output/API failures, and copied Bash/zsh help.
Copied
scripts/runexamples passed twice. Local runtime checks usedc900d05; later changes affect only the recorder.The final build matches the tested binary byte-for-byte.
Required CI, CodeQL, and native help checks passed at
fbcae067. The trusted budget check passed at 21/1,000 custom lines.The local budget reporter stalled; its CI counterpart completed successfully.
Native help covered macOS Bash/zsh, Ubuntu Bash, and Windows cmd/PowerShell/pwsh, with documented platform skips.
F32-specific native Windows workflows, graphical-terminal appearance, and live Admin acceptance remain unverified.
Public daily-token and rate-limit reset contracts remain separate API decisions.
Demo
Real CLI binaries with matching synthetic local responses, recorded as macOS Bash terminal replays.
Baseline:
5739ce0. Runtime:c900d05; later commits only correct the recorder.Dark and light 100×30, plus narrow 40×36 captures, passed assertions and independent visual inspection.
The demo shows the shorter list command, project-specific empty results, and readable rate units.
Before:
After:
Recording recipe