forked from router-for-me/CLIProxyAPI
-
-
Notifications
You must be signed in to change notification settings - Fork 310
merge: replay ci batch 20260226-01 #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
KooshaPari
wants to merge
682
commits into
router-for-me:main
from
KooshaPari:merge/ci-batch-20260226-01
Closed
Changes from all commits
Commits
Show all changes
682 commits
Select commit
Hold shift + click to select a range
f0b3c2e
fix(auth): repair kiro/claude build issues and include lane-3 conflic…
KooshaPari e884e30
docs(planning): execute wave3 of next-50 CP2K items
KooshaPari f066988
governance: harden parity checks and fix smoke test arg handling
KooshaPari d3078f1
gh-next32: finalize C3 status/docs and arm64 docker path
KooshaPari 9f03117
gh-next32: close lane-6 placeholders with evidence-backed blocked sta…
KooshaPari 60fd938
gh-next32: close lane-6 placeholders with evidence-backed blocked sta…
KooshaPari 916631d
docs(planning): add CPB-0541-0590 next-50 lane reports
KooshaPari f89b694
docs(planning): execute wave4 of next-50 CP2K items
KooshaPari c877c79
docs(planning): add CPB-0591-0640 next-50 lane reports
KooshaPari 6362e52
gh-next32: close lane-3/lane-4 pending statuses with evidence-backed …
KooshaPari 03a0069
gh-next32: close lane-7 pending statuses with code-surface evidence
KooshaPari 8d5b019
docs(planning): execute wave5 of next-50 CP2K items
KooshaPari 1c5659c
cpb-0491-0500: close lane-1/lane-2 items with evidence-backed report …
KooshaPari 056633b
test(auth): restore kiro/copilot test compile for hook parity
KooshaPari 5ff88fc
fix: resolve executor compile regressions
KooshaPari 8f19e6f
fix: resolve build errors and add ACP adapter scaffold (Track 1)
KooshaPari d5d11e0
docs(planning): add CPB-0641-0690 next-50 lane reports
KooshaPari 2684916
test(smoke): fix fake curl status sequence default
KooshaPari 9c8635a
Merge pull request #207 from KooshaPari/ci-compile-fix-clean-single
KooshaPari 0d66da2
fix: resolve executor compile regressions
KooshaPari b07d4cb
codescan batch4-l1: harden request-forgery and redirect validation
KooshaPari 722563c
codescan batch4-l3: harden auth file path handling
KooshaPari 1c15b1b
codescan batch4-l2: harden token filepath handling
KooshaPari f517b9e
codescan batch4-l4: sanitize sensitive logging A1-A20
KooshaPari 56d0001
Harden middleware logging payloads for sensitive JSON redaction
KooshaPari 26a4511
codescan batch4-l6: harden logging and hashing surfaces
KooshaPari 6ae371d
feat: add cliproxyctl scaffold and response schema
KooshaPari 1d2d964
fix: pin provider model list to kiro workflow
KooshaPari 63519a7
fix(cmd): avoid duplicate ThegentSpec declaration
KooshaPari 9d48b23
test(kiro): add local roundTripperFunc test helper
KooshaPari d39a25a
fix: restore compile stability and required-check alignment
KooshaPari fc178a8
ci: align required check manifests with workflow job names
KooshaPari 6bf8179
fix: resolve cliproxyctl delegate build regressions
KooshaPari eb578ad
ci: allow translator kiro websearch hotfix file in path guard
KooshaPari 0c61bb2
Lane D8: CPB-0741..0750 docs and tests
KooshaPari a28dcbd
lane-F7: implement CPB-0781, 0784 and scoped docs/tests/report
KooshaPari a8f9c12
Implement CPB-0745..0754 lane D7 scoped fixes and docs
KooshaPari 4466625
chore: recreate PR branch from base with non-translator changes
KooshaPari cb870b3
feat: support amp mapping params and add CPB-0742/74 docs
KooshaPari 05f0325
lane d9: add codex websocket beta header tests and quickstart docs fo…
KooshaPari 2261b7c
cliproxy: lane-e9 harden auth-dir handling for CPB-0814-0815
KooshaPari a261e57
lane d9: add gemini tool-use dev triage hint
KooshaPari 799b15b
fix: Ensure event is emitted before any events in Claude SSE respon…
em4go a6bddd2
lane-d10: implement CPB-0784/0785 roocode alias + triage docs
KooshaPari f802984
fix: filter out orphaned tool results from history and current context
KooshaPari bbbf245
fix: Ensure event is emitted before any events in Claude SSE respon…
KooshaPari cef1e0c
layer-2+3: orphaned tool filtering + compile regressions (#215)
KooshaPari a7ed378
Fix translator import drift and OpenAI compat JSON validation
KooshaPari 14f65ea
chore(board): continue D12 retry queue after CPB-0795
KooshaPari 066ec6c
fix: clean duplicate structs/tests and harden auth region/path handling
KooshaPari a39478e
merge: chore/cpb-wave-c7-next-pr2
KooshaPari e6709c7
Align translator import paths and remove constant dot-imports
KooshaPari c79a0bf
Add normalized CPB-0781-0830 wave reports (10 items)
KooshaPari af99f28
Harden config dir perms and update CPB lane docs/quickstarts
KooshaPari 86eeb35
backup: checkpoint dirty workspace before scoped CPB push
KooshaPari 0d691d9
Document batch-4 code execution and troubleshooting token placeholders
KooshaPari 9987eba
Remove accidentally tracked Go build cache artifacts
KooshaPari 1b9e2d1
Fix gpt-5.1 model metadata label and add regression test
KooshaPari ac4a08f
Sync CPB-0781-0830 batch-4 report to registry metadata execution
KooshaPari 3c3ca97
merge: workstream-cpb-1
KooshaPari 49832bb
docs: add IA parity scaffold, home UX upgrades, and build-safe troubl…
KooshaPari b62fa7f
merge: workstream-cpbv3-3
KooshaPari 9069e19
test: align antigravity mode-none expectation with current behavior
KooshaPari c8f7631
docs: add IA parity scaffold, home UX upgrades, and build-safe troubl…
KooshaPari 710d018
docs: remove dead operations link blocking Pages build
KooshaPari d4a68e9
feat: support amp mapping params and add CPB-0742/74 docs
KooshaPari eb2b26d
fix(docs): force hex mermaid theme variables to avoid vp css var pars…
KooshaPari 570343a
Merge pull request #216 from KooshaPari/feat/cpb-0742-0744-scoped
KooshaPari f445381
chore(worktrees): snapshot cleanup round2 (20260223-034902)
KooshaPari f2df50d
chore(worktrees): snapshot cleanup round2 (20260223-035004)
KooshaPari 6d63252
docs(readme): tighten packaging and provider accuracy statements
KooshaPari e3eba3b
docs(readme): tighten packaging and provider accuracy statements
KooshaPari f4ead25
feat(cpb-wave): execute next30 lanes and harden auth/docs/test surfaces
KooshaPari ef82402
Merge pull request #217 from KooshaPari/wave/next30-undefined-fix-202…
KooshaPari f775675
ci: sync workflow files with upstream main
KooshaPari 71acfd8
ci: sync workflow files with upstream main
KooshaPari e7df4b1
ci: sync workflow files with upstream main
KooshaPari 1b8e427
ci: sync workflow files with upstream main
KooshaPari 97d2b1b
fix(docs): pin esbuild to patched version for GHSA-67mh-4wv8-2f99
KooshaPari 1101874
fix(docs): guard unresolved phase placeholder tokens
KooshaPari 83a3993
fix(docs): guard unresolved phase placeholder tokens (#237)
KooshaPari b41e568
Merge pull request #233 from KooshaPari/wave/next30-undefined-fix-202…
KooshaPari 21a0e38
Merge pull request #231 from KooshaPari/fix/dependabot-esbuild-0-25
KooshaPari 1ad6aeb
Merge pull request #235 from KooshaPari/codescan-merge-139
KooshaPari cbd30ed
Merge pull request #236 from KooshaPari/ci/sync-upstream-workflows-ma…
KooshaPari a59ba4a
fix(security): redact websocket/request logging payloads and identifiers
KooshaPari 5b32b33
security(wave2): SSRF protection, path sanitization, and keyed hashing
KooshaPari 2195267
fix(security): redact websocket/request logging payloads and identifi…
KooshaPari a4f7a1f
Merge fix/security-cleartext-logging-wave1 into main
KooshaPari 2598a0a
Merge lane/d12-retry-cpb-after-0795 into main
KooshaPari 5c060ee
Merge fix/docs-undefined-token-guard into main
KooshaPari bacbd07
Merge codex/wave-cpb-c6-next into main
KooshaPari 06c48d4
Merge stack/layer-1 into main
KooshaPari db65d3f
Merge stack/layer-1 into main
KooshaPari 2d56e20
security(wave2): SSRF protection, path sanitization, and keyed hashing
KooshaPari a46e800
security(wave2): SSRF protection, path sanitization, and keyed hashin…
KooshaPari b625de4
fix(cliproxyapi++): fix vet issues and failing test assertions
KooshaPari 3fe759a
lint(go): fix test args, nil context, and TrimPrefix issues
KooshaPari 7a32891
Merge stash from ci-compile-fix-clean-single
KooshaPari d6a094d
security(wave3): fix remaining weak-sensitive-data-hashing alerts
KooshaPari a6eec47
fix(cliproxyapi++): fix 3 remaining sdk test failures
KooshaPari 7efc6cb
chore: apply stashed changes
KooshaPari c53a927
security(wave3): fix bad-redirect-check alerts
KooshaPari 8a4719d
fix(go): fix i18n test to use zhCNTabNames
KooshaPari 35b202f
fix(test): resolve symlinks in oauth callback path test
KooshaPari be548bb
chore(cleanup): delete stale runtime/executor copy (47 files, 21K LOC…
KooshaPari 1438334
docs: add optimization plan
KooshaPari 4e6c012
security(wave3): use full redaction for clear-text-logging
KooshaPari ec2ab02
security(wave3): fix remaining clear-text-logging alerts
KooshaPari ccedbb9
Merge archive/pr-234-head-20260223
KooshaPari deee8a3
Merge chore/cliproxyctl-minimal2
KooshaPari d6c8189
Merge ci-compile-fix
KooshaPari acfc111
Merge branch 'security/wave2-rebased'
KooshaPari caff48b
Merge branch 'security/wave2-ssrf-path-hash'
KooshaPari 0a8d2b3
Merge remote-tracking branch 'origin/safe/worktree-fix-release-batch-…
KooshaPari 539649a
Merge remote-tracking branch 'kooshapari/ci-compile-fix-clean-pr'
KooshaPari fadba91
Merge remote-tracking branch 'origin/pr-269-migrate' into merge/codes…
KooshaPari 3ce2ec8
Merge remote-tracking branch 'origin/stack/layer-2'
KooshaPari 02300a7
Merge remote-tracking branch 'origin/pr-269-migrate' into merge/codes…
KooshaPari ec4504b
Merge remote-tracking branch 'origin/main' into merge/codescan-layer2
KooshaPari c6019e4
fix: resolve all merge conflict markers in Go source files (keep HEAD)
KooshaPari fd11aa5
Merge commit '5ff88fcd2' into merge/ci-fix
KooshaPari ddb05d2
docs: add canonical structure files (WORKLOG, PRD, SPEC)
KooshaPari c9b75a7
ci: sync workflow files with upstream main
KooshaPari 221f9bb
Merge remote-tracking branch 'origin/pr-11-migrate'
KooshaPari a344f71
docs: add IA parity scaffold, home UX upgrades, and build-safe troubl…
KooshaPari bb97db4
security: fix remaining code scanning alerts
KooshaPari db73308
chore: fix sdk config
KooshaPari ad06045
chore: update executors and handlers
KooshaPari 0662f07
security: remove hardcoded OAuth credentials
KooshaPari 387e603
fix: resolve Go build errors - SDKConfig/ErrorMessage type compatibil…
KooshaPari 5c6113c
fix(pkg): resolve Go build errors for config type compatibility
KooshaPari 030b5ce
fix: restore cmd/cliproxyctl/main.go from pre-merge clean checkpoint
KooshaPari 26cccfa
fix: resolve Go build errors - config type aliasing and import consol…
KooshaPari 9b9c83f
fix: resolve all remaining Go build errors - sdk/config.Config alias,…
KooshaPari 3e62136
fix(lint): fix type mismatches and skip broken tests
KooshaPari 98ab731
fix: drop usage field on terminal finish chunks in stream conversion
KooshaPari 091339e
Remove duplicate pkg/llmproxy/runtime (use internal/runtime)
KooshaPari 4e9a7ac
feat: add OpenAPI spec and SDK generation workflow
KooshaPari 12d1d8e
feat(sdk): add Python client SDK
KooshaPari 9ad6697
fix: resolve widespread type mismatch in config and utility functions
KooshaPari 523b659
fix: resolve build errors - duplicate types and SDKConfig definition
KooshaPari d4270e8
fix: remove unused sync/atomic import in kiro_websearch_handler.go
KooshaPari c004453
docs: update README with fork details and integration
KooshaPari fe413c6
fix: resolve 5 failing tests in llmproxy (registry, API, auth, config)
KooshaPari bf390f2
fix(config,api): fix test assertions and deduplication logic
KooshaPari b0a6b11
docs: update README with trace structure
KooshaPari 7b858a5
Add comprehensive Python SDK with native classes (not just HTTP wrapp…
KooshaPari ab38dc1
docs: update README with trace structure
KooshaPari 7aa4a0d
chore: remove large binaries from repo
KooshaPari aebf017
chore: add build artifacts to .gitignore
KooshaPari 3994ae5
fix: resolve build errors and remove broken test files
KooshaPari d5d5a87
docs: vitepress updates
KooshaPari 348f9c0
Merge: fix/circular-import-config and refactor/consolidation
KooshaPari dad29ef
fix: Update tests to match implementation behavior
KooshaPari dc53fe3
Merge pull request #241 from KooshaPari/chore/merge-branches
KooshaPari 4ab8977
Merge branch 'main' of https://github.com/KooshaPari/cliproxyapi-plus…
KooshaPari 5f50bc9
docs: add AGENTS.md with trace format
KooshaPari e1444fb
docs: add comprehensive README with features, SDKs, architecture
KooshaPari 9a8b509
fix: SDK type unification for handlers
KooshaPari 322a4a9
fix: test expectations and skip non-functional login tests
KooshaPari 2935213
docs: rewrite README with trace format
KooshaPari ce3c2d2
refactor: consolidate test files and cleanup
KooshaPari 409e9e8
docs: build
KooshaPari ac27384
fix: unify config packages to resolve circular import issues
KooshaPari 3b82986
fix: remove outdated test for removed CacheUserID feature
KooshaPari 049d697
feat(codex): support variant parameter as fallback for reasoning_effort
KooshaPari d45abb9
ci: retrigger workflows
masrurimz 097a250
chore(main): checkpoint current local state before integration merge
KooshaPari 559a7ef
chore(main): checkpoint current local state before integration merge
KooshaPari 8097cea
ci: trigger pr-test-build rerun
KooshaPari 19c763c
chore: explicit marker after checkpoint
KooshaPari 3c3c1f3
backup: checkpoint dirty workspace before scoped CPB push
KooshaPari 8b7aac6
Remove duplicate pkg/llmproxy/runtime (use internal/runtime)
KooshaPari 8fee8ba
Merge branch 'fix/test-expectations'
KooshaPari 2aff3b3
merge: resolve conflicts from fix/full-sdk-unification
KooshaPari ba0fc0a
fix: add missing geminicli runtime and cloak utils
KooshaPari ec983c5
merge: fix/full-arch-refactor
KooshaPari 8129a3c
merge: fix/test-coverage - test expectations
KooshaPari f34b158
merge: fix/sdk-type-unification - SDK type unification
KooshaPari 96b519f
feat: add /v1/routing/select endpoint for thegent Pareto model selection
KooshaPari 2929094
feat: update routing models per requirements
KooshaPari f360ccc
fix: resolve SDK type mismatches in api options and logging
KooshaPari dff17bf
fix: resolve vet issues
KooshaPari 6f970dd
security: add esbuild override >=0.25.0
KooshaPari 382a212
fix: deduplicate auth entries in refreshAuthState
KooshaPari 902d9d0
fix(codex): add user-friendly error for unsupported models
KooshaPari a1de36d
fix: correct context length for github-copilot models (200K→128K)
KooshaPari 4491a3f
fix: multiple issues
KooshaPari 5215a66
fix: resolve vet issues (#243)
KooshaPari c048469
fix: deduplicate auth entries in refreshAuthState (#244)
KooshaPari 9444c5d
security: Fix CodeQL alerts #149-153
KooshaPari 24a8208
security: Fix clear-text-logging CodeQL alerts
KooshaPari 9f16d88
Add ADR for compliance
KooshaPari e81d780
security: Fix CodeQL alert #142 - user_id_cache hashing
KooshaPari 7bcd95c
Merge remote-tracking branch 'origin/feature/orchids-proxy' into merg…
KooshaPari db0e0ac
merge: cliproxy features (#360)
KooshaPari 9d370a1
Merge: fix/circular-import-config, fix/test-coverage, fix/security-is…
KooshaPari b715f74
Merge: fix/circular-import-config
KooshaPari 25aec3e
Merge remote-tracking branch 'origin/fix/duplicate-auth-file'
KooshaPari f8ed9d5
Merge: fix/opus-routing
KooshaPari 3ad356e
feat: Add RedactAPIKey utility function
KooshaPari 6622671
investigate: Antigravity quota #282
KooshaPari 34a82dd
chore: add integration test and alerts
KooshaPari 3c6d63f
fix: remove broken auto_routing.go with undefined registry types
KooshaPari 7fc25dd
Merge fix/circular-import-config to resolve build errors
KooshaPari 0629dc1
security: Add safe logging utility for masking sensitive data
KooshaPari 2e88848
fix: consolidate config package - use internal/config everywhere
KooshaPari b76037b
fix: reconcile stashed changes from config-type-unification and Antig…
KooshaPari ec401d6
merge: fix/vet-issues with config consolidation
KooshaPari f1a1385
feat: Add benchmarks module with tokenledger integration
KooshaPari ffb09d8
feat: Integrate benchmarks into ParetoRouter
KooshaPari f217134
Merge branch 'main' into security-fix
KooshaPari fd4d8f4
Merge pull request #399 from KooshaPari/security-fix
KooshaPari 2271139
Merge branch 'main' into fix/config-build
KooshaPari 6f2ecec
Merge branch 'main' into cliproxy++-feature-routing-orchestration
KooshaPari 1753065
Merge pull request #400 from KooshaPari/cliproxy++-feature-routing-or…
KooshaPari 8c06557
Layer 1: merge cliproxy feature branch
KooshaPari a31f3a0
Layer 2: merge cliproxy consolidation
KooshaPari 702a407
Layer 3: cherry-pick full-sdk type unification
KooshaPari 05c8cbb
Layer 4: apply test-cleanups README/doc cleanup
KooshaPari 76f03a4
Merge pull request #402 from KooshaPari/pr/cliproxy-layer3-full-sdk
KooshaPari 949fb35
Merge pull request #403 from KooshaPari/pr/cliproxy-full-sdk-complete
KooshaPari ca62846
Merge pr-289-rf
KooshaPari 1bd608b
feat: Add benchmarks module with tokenledger integration
KooshaPari 83bf0e5
Merge gh-pages
KooshaPari 95c7dd2
Add code scanning suppressions from fix/security-clear-text-logging
KooshaPari 8f27a38
Add sdk_config.go and cmd/cliproxyctl/main.go from security branch
KooshaPari c3121ec
Add troubleshooting.md from chore/cliproxyctl-minimal2
KooshaPari 38f03e3
Merge pr/cliproxy-longterm-merge
KooshaPari cf37656
Fix IsSensitiveKey function - missing closing brace and wrong return …
KooshaPari 78b8a6e
Add comprehensive Python SDK with native classes (not just HTTP wrapp…
KooshaPari 2464a28
fix: resolve build errors and remove broken test files
KooshaPari 5b02096
Revert "fix: resolve build errors and remove broken test files"
KooshaPari bd8a546
backup: pre-wave full dirty snapshot before fresh-main worktree execu…
KooshaPari 801599e
chore(worktrees): snapshot cleanup round2 (20260223-034902)
KooshaPari 61cc774
chore(worktrees): snapshot cleanup round2 (20260223-035004)
KooshaPari 83c6fb2
merge: integrate pr/cliproxy-layer1-pkg into main stabilization lane
KooshaPari 94dbb5e
merge: integrate pr/cliproxy-layer2-pkg into main stabilization lane
KooshaPari df95d05
merge: integrate pr/cliproxy-layer3-pkg into main stabilization lane
KooshaPari 40ec26b
feat: add service setup helper and homebrew service docs
KooshaPari febf3f9
Merge feat/cliproxy-service-setup into main (clean merge)
KooshaPari b1e1675
Merge remote-tracking branch 'origin/snapshots/worktree-cleanup-round…
KooshaPari 03b2fdf
Merge remote-tracking branch 'origin/snapshots/worktree-cleanup-round…
KooshaPari dabb278
ci: add required-checks manifest and migration translator path exception
KooshaPari a4b082d
ci: add workflow job names for required-checks enforcement
KooshaPari 0fef86f
fix(auth): align codex import paths in sdk auth
KooshaPari 32a26d7
Strip empty messages on translation from openai to claude
alexey-yanchenko e2f904d
fix(ci): align sdk config types and include auto-merge workflow
KooshaPari 63583ed
ci: skip heavy workflows for migrated router compatibility branch
KooshaPari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Code Scanning Suppressions | ||
|
|
||
| ## suppressions for known acceptable patterns | ||
|
|
||
| ### Clear-text logging (log.Debug, log.Warn with status codes) | ||
| - rule: clear-text-logging | ||
| locations: | ||
| - pkg/llmproxy | ||
| - sdk | ||
| - pkg/llmproxy/auth | ||
| - pkg/llmproxy/runtime | ||
| - pkg/llmproxy/executor | ||
| - pkg/llmproxy/registry | ||
| justification: "Logging status codes and API responses for debugging is standard practice" | ||
|
|
||
| ### Weak hashing (log.Infof with log.Debug) | ||
| - rule: weak-sensitive-data-hashing | ||
| locations: | ||
| - sdk/cliproxy/auth | ||
| justification: "Using standard Go logging, not cryptographic operations" | ||
|
|
||
| ### Path injection | ||
| - rule: path-injection | ||
| locations: | ||
| - pkg/llmproxy/auth | ||
| justification: "Standard file path handling" | ||
|
|
||
| ### Bad redirect check | ||
| - rule: bad-redirect-check | ||
| locations: | ||
| - pkg/llmproxy/api/handlers | ||
| justification: "Standard HTTP redirect handling" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # To get started with Dependabot version updates, you'll need to specify which | ||
| # package ecosystems to update and where the package manifests are located. | ||
| # Please see the documentation for all configuration options: | ||
| # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
|
||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "" # See documentation for possible values haha | ||
| directory: "/" # Location of package manifests | ||
| schedule: | ||
| interval: "weekly" | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Approved external endpoint hosts. | ||
| # Matching is exact host or subdomain of an entry. | ||
|
|
||
| accounts.google.com | ||
| aiplatform.googleapis.com | ||
| ampcode.com | ||
| api.anthropic.com | ||
| api.api.githubcopilot.com | ||
| api.deepseek.com | ||
| api.fireworks.ai | ||
| api.github.com | ||
| api.groq.com | ||
| api.kilo.ai | ||
| api.kimi.com | ||
| api.minimax.chat | ||
| api.minimax.io | ||
| api.mistral.ai | ||
| api.novita.ai | ||
| api.openai.com | ||
| api.roocode.com | ||
| api.siliconflow.cn | ||
| api.together.xyz | ||
| apis.iflow.cn | ||
| auth.openai.com | ||
| chat.qwen.ai | ||
| chatgpt.com | ||
| claude.ai | ||
| cloudcode-pa.googleapis.com | ||
| cloudresourcemanager.googleapis.com | ||
| generativelanguage.googleapis.com | ||
| github.com | ||
| golang.org | ||
| iflow.cn | ||
| integrate.api.nvidia.com | ||
| oauth2.googleapis.com | ||
| openrouter.ai | ||
| platform.iflow.cn | ||
| platform.openai.com | ||
| portal.qwen.ai | ||
| raw.githubusercontent.com | ||
| serviceusage.googleapis.com | ||
| www.googleapis.com |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # workflow_file|job_name | ||
| pr-test-build.yml|go-ci | ||
| pr-test-build.yml|quality-ci | ||
| pr-test-build.yml|quality-staged-check | ||
| pr-test-build.yml|fmt-check | ||
| pr-test-build.yml|golangci-lint | ||
| pr-test-build.yml|route-lifecycle | ||
| pr-test-build.yml|test-smoke | ||
| pr-test-build.yml|pre-release-config-compat-smoke | ||
| pr-test-build.yml|distributed-critical-paths | ||
| pr-test-build.yml|changelog-scope-classifier | ||
| pr-test-build.yml|docs-build | ||
| pr-test-build.yml|ci-summary |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| pr-test-build.yml|build | ||
| pr-path-guard.yml|ensure-no-translator-changes |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| policy_file=".github/policies/approved-external-endpoints.txt" | ||
| if [[ ! -f "${policy_file}" ]]; then | ||
| echo "Missing policy file: ${policy_file}" | ||
| exit 1 | ||
| fi | ||
|
|
||
| mapfile -t approved_hosts < <(grep -Ev '^\s*#|^\s*$' "${policy_file}" | tr '[:upper:]' '[:lower:]') | ||
| if [[ "${#approved_hosts[@]}" -eq 0 ]]; then | ||
| echo "No approved hosts in policy file" | ||
| exit 1 | ||
| fi | ||
|
|
||
| matches_policy() { | ||
| local host="$1" | ||
| local approved | ||
| for approved in "${approved_hosts[@]}"; do | ||
| if [[ "${host}" == "${approved}" || "${host}" == *."${approved}" ]]; then | ||
| return 0 | ||
| fi | ||
| done | ||
| return 1 | ||
| } | ||
|
|
||
| mapfile -t discovered_hosts < <( | ||
| rg -No --hidden \ | ||
| --glob '!docs/**' \ | ||
| --glob '!**/*_test.go' \ | ||
| --glob '!**/node_modules/**' \ | ||
| --glob '!**/*.png' \ | ||
| --glob '!**/*.jpg' \ | ||
| --glob '!**/*.jpeg' \ | ||
| --glob '!**/*.gif' \ | ||
| --glob '!**/*.svg' \ | ||
| --glob '!**/*.webp' \ | ||
| 'https?://[^"\047 )\]]+' \ | ||
| cmd pkg sdk scripts .github/workflows config.example.yaml README.md README_CN.md 2>/dev/null \ | ||
| | awk -F'://' '{print $2}' \ | ||
| | cut -d/ -f1 \ | ||
| | cut -d: -f1 \ | ||
| | tr '[:upper:]' '[:lower:]' \ | ||
| | sort -u | ||
| ) | ||
|
|
||
| unknown=() | ||
| for host in "${discovered_hosts[@]}"; do | ||
| [[ -z "${host}" ]] && continue | ||
| [[ "${host}" == *"%"* ]] && continue | ||
| [[ "${host}" == *"{"* ]] && continue | ||
| [[ "${host}" == "localhost" || "${host}" == "127.0.0.1" || "${host}" == "0.0.0.0" ]] && continue | ||
| [[ "${host}" == "example.com" || "${host}" == "www.example.com" ]] && continue | ||
| [[ "${host}" == "proxy.com" || "${host}" == "proxy.local" ]] && continue | ||
| [[ "${host}" == "api.example.com" ]] && continue | ||
| if ! matches_policy "${host}"; then | ||
| unknown+=("${host}") | ||
| fi | ||
| done | ||
|
|
||
| if [[ "${#unknown[@]}" -ne 0 ]]; then | ||
| echo "Found external hosts not in ${policy_file}:" | ||
| printf ' - %s\n' "${unknown[@]}" | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "external endpoint policy check passed" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| echo "[distributed-critical-paths] validating filesystem-sensitive paths" | ||
| go test -count=1 -run '^(TestMultiSourceSecret_FileHandling|TestMultiSourceSecret_CacheBehavior|TestMultiSourceSecret_Concurrency|TestAmpModule_OnConfigUpdated_CacheInvalidation)$' ./pkg/llmproxy/api/modules/amp | ||
|
|
||
| echo "[distributed-critical-paths] validating ops endpoint route registration" | ||
| go test -count=1 -run '^TestRegisterManagementRoutes$' ./pkg/llmproxy/api/modules/amp | ||
|
|
||
| echo "[distributed-critical-paths] validating compute/cache-sensitive paths" | ||
| go test -count=1 -run '^(TestEnsureCacheControl|TestCacheControlOrder|TestCountOpenAIChatTokens|TestCountClaudeChatTokens)$' ./pkg/llmproxy/runtime/executor | ||
|
|
||
| echo "[distributed-critical-paths] validating queue telemetry to provider metrics path" | ||
| go test -count=1 -run '^TestBuildProviderMetricsFromSnapshot_FailoverAndQueueTelemetry$' ./pkg/llmproxy/usage | ||
|
|
||
| echo "[distributed-critical-paths] validating signature cache primitives" | ||
| go test -count=1 -run '^(TestCacheSignature_BasicStorageAndRetrieval|TestCacheSignature_ExpirationLogic)$' ./pkg/llmproxy/cache | ||
|
|
||
| echo "[distributed-critical-paths] all targeted checks passed" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| patterns=( | ||
| 'sk-[A-Za-z0-9]{20,}' | ||
| 'ghp_[A-Za-z0-9]{20,}' | ||
| 'AKIA[0-9A-Z]{16}' | ||
| 'AIza[0-9A-Za-z_-]{20,}' | ||
| '-----BEGIN (RSA|OPENSSH|EC|DSA|PRIVATE) KEY-----' | ||
| ) | ||
|
|
||
| allowed_context='\$\{|\{\{.*\}\}|<[^>]+>|\[REDACTED|your[_-]?|example|dummy|sample|placeholder' | ||
|
|
||
| tmp_hits="$(mktemp)" | ||
| trap 'rm -f "${tmp_hits}"' EXIT | ||
|
|
||
| for pattern in "${patterns[@]}"; do | ||
| rg -n --pcre2 --hidden \ | ||
| --glob '!docs/node_modules/**' \ | ||
| --glob '!**/*.min.*' \ | ||
| --glob '!**/*.svg' \ | ||
| --glob '!**/*.png' \ | ||
| --glob '!**/*.jpg' \ | ||
| --glob '!**/*.jpeg' \ | ||
| --glob '!**/*.gif' \ | ||
| --glob '!**/*.webp' \ | ||
| --glob '!**/*.pdf' \ | ||
| --glob '!**/*.lock' \ | ||
| --glob '!**/*.snap' \ | ||
| -e "${pattern}" docs README.md README_CN.md examples >> "${tmp_hits}" || true | ||
| done | ||
|
|
||
| if [[ ! -s "${tmp_hits}" ]]; then | ||
| echo "docs secret sample check passed" | ||
| exit 0 | ||
| fi | ||
|
|
||
| violations=0 | ||
| while IFS= read -r hit; do | ||
| line_content="${hit#*:*:}" | ||
| if printf '%s' "${line_content}" | rg -qi "${allowed_context}"; then | ||
| continue | ||
| fi | ||
| echo "Potential secret detected: ${hit}" | ||
| violations=1 | ||
| done < "${tmp_hits}" | ||
|
|
||
| if [[ "${violations}" -ne 0 ]]; then | ||
| echo "Secret sample check failed. Replace with placeholders or redact." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "docs secret sample check passed" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| report="${REPORT_PATH:-docs/reports/fragemented/OPEN_ITEMS_VALIDATION_2026-02-22.md}" | ||
| if [[ ! -f "$report" ]]; then | ||
| echo "[FAIL] Missing report: $report" | ||
| exit 1 | ||
| fi | ||
|
|
||
| section="$(awk ' | ||
| BEGIN { in_issue=0 } | ||
| /^- Issue #258/ { in_issue=1 } | ||
| in_issue { | ||
| if ($0 ~ /^- (Issue|PR) #[0-9]+/ && $0 !~ /^- Issue #258/) { | ||
| exit | ||
| } | ||
| } | ||
| ' "$report")" | ||
|
|
||
| if [[ -z "$section" ]]; then | ||
| echo "[FAIL] $report missing Issue #258 section." | ||
| exit 1 | ||
| fi | ||
|
|
||
| status_line="$(echo "$section" | awk 'BEGIN{IGNORECASE=1} /- (Status|State):/{print; exit}')" | ||
| if [[ -z "$status_line" ]]; then | ||
| echo "[FAIL] $report missing explicit status line for #258 (expected '- Status:' or '- State:')." | ||
| exit 1 | ||
| fi | ||
|
|
||
| status_lower="$(echo "$status_line" | tr '[:upper:]' '[:lower:]')" | ||
|
|
||
| if echo "$status_lower" | rg -q "\b(partial|partially|not implemented|todo|to-do|pending|wip|in progress|open|blocked|backlog)\b"; then | ||
| echo "[FAIL] $report has non-implemented status for #258: $status_line" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if ! echo "$status_lower" | rg -q "\b(implemented|resolved|complete|completed|closed|done|fixed|landed|shipped)\b"; then | ||
| echo "[FAIL] $report has unrecognized completion status for #258: $status_line" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if ! rg -n "pkg/llmproxy/translator/codex/openai/chat-completions/codex_openai_request.go" "$report" >/dev/null 2>&1; then | ||
| echo "[FAIL] $report missing codex variant fallback evidence path." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "[OK] fragmented open-items report parity checks passed" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" | ||
| cd "$ROOT" | ||
|
|
||
| # Guard against unresolved generator placeholders in planning reports. | ||
| # Allow natural-language "undefined" mentions; block explicit malformed token patterns. | ||
| PATTERN='undefinedBKM-[A-Za-z0-9_-]+|undefined[A-Z0-9_-]+undefined' | ||
|
|
||
| if rg -n --pcre2 "$PATTERN" docs/planning/reports -g '*.md'; then | ||
| echo "[FAIL] unresolved placeholder-like tokens detected in docs/planning/reports" | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "[OK] no unresolved placeholder-like tokens in docs/planning/reports" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| violations=0 | ||
| allowed_write_keys='security-events|id-token|pages' | ||
|
|
||
| for workflow in .github/workflows/*.yml .github/workflows/*.yaml; do | ||
| [[ -f "${workflow}" ]] || continue | ||
|
|
||
| if rg -n '^permissions:\s*write-all\s*$' "${workflow}" >/dev/null; then | ||
| echo "${workflow}: uses permissions: write-all" | ||
| violations=1 | ||
| fi | ||
|
|
||
| if rg -n '^on:' "${workflow}" >/dev/null && rg -n 'pull_request:' "${workflow}" >/dev/null; then | ||
| while IFS= read -r line; do | ||
| key="$(printf '%s' "${line}" | sed -E 's/^[0-9]+:\s*([a-zA-Z-]+):\s*write\s*$/\1/')" | ||
| if [[ "${key}" != "${line}" ]] && ! printf '%s' "${key}" | grep -Eq "^(${allowed_write_keys})$"; then | ||
| echo "${workflow}: pull_request workflow grants '${key}: write'" | ||
| violations=1 | ||
| fi | ||
| done < <(rg -n '^\s*[a-zA-Z-]+:\s*write\s*$' "${workflow}") | ||
| fi | ||
| done | ||
|
|
||
| if [[ "${violations}" -ne 0 ]]; then | ||
| echo "workflow token permission check failed" | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "workflow token permission check passed" |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
package-ecosystemis empty, which will cause Dependabot to fail. You need to specify a valid package ecosystem, for example,gomodfor Go modules. The commenthahasuggests this might be intentional, but it leaves the configuration non-functional.