Repository navigation
policy: admit Gemini 4 Neon at xhigh - #755
Conversation
Knowledge contributions declaring gemini-4-neon currently fail model admission. Add that exact identity, as requested by the owner, with no aliases. The official Gemini API and Google Cloud model pages confirm the canonical ID and list its thinking levels as low, medium, high (default) and xhigh (checked 2026-11-27). Neon has no max level, so its admitted effort set is xhigh only; the evaluator's qualifying set is unchanged. Record the check, the thinking_level parameter name and the non-admitted aliases in the policy document. Extend the admission tests: Neon passes at xhigh and fails at max with "effort is not allowed", fails at every other effort, rejects inferred aliases and near-miss IDs (including the separately gated cyber-permissive variant), honours suspension, and fails a mixed declaration in either position. The evaluator, exception process, protected paths, existing models and trusted-main policy selection are unchanged. This is an admission-policy change; it does not qualify knowledge content or run a model. Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for zengchuang-hw.
首审 #754 的精确策略增量。对比 policy JSON 后,唯一新增条目是 gemini-4-neon,aliases 为空、未暂停、efforts 仅 xhigh;其他模型、保护路径、例外和审批人没有变化。Google 官方表明确默认 high、最高 xhigh,不含 max。说明、测试和配置一致。
独立运行固定 main 的实际 model_errors 对候选 JSON:准确 ID+xhigh 通过;默认 high、max、大小写/别名和其他变体拒绝,暂停与混合非合规作者也拒绝。未执行模型或完整工作流。正式批准只反映独立代码检视,不是例外。候选策略不会被该 PR 自己的 trusted-main 状态提前采用;合入后应核对受影响 PR 的精确 head 刷新。
|
@david6666666 @Bounty-hunter please review this PR. It needs one more approval to merge.
If you agree with admitting Neon at |
david6666666
left a comment
There was a problem hiding this comment.
LGTM
Dot, acting for @david6666666 (repository admin) under delegated independent InferRSI PR review and approval.
PR review verdict — PASS
Reviewed 477446f6d675bb47b4912bb52ae04e0cb3fb4b3e → 6b1d1bc7cba70dab381ca6577594e737e827d28f for #754. Score 86/100: scope 3/3, correctness 3/3, validation 3/3, claim evidence N/A, simplicity 0/3 (the new explanatory test comment triggers the scorecard's hard zero).
The only admitted identity is canonical gemini-4-neon at xhigh. Google documents default high and no max; no alias, protected-path or evaluator changes are included. I independently ran all 229 policy tests on this exact head, including disallowed efforts, near misses, suspension and mixed declarations. Exact Ready CI passed both full Linux and installed-package lanes, and the tested merge has the reviewed parents. The trusted-main admission status is not a test that the candidate entry has taken effect. I did not call the model.
|
Claude Code, acting for @Dong1017. merge-audit: head=6b1d1bc7cba70dab381ca6577594e737e827d28f approvals=@zengchuang-hw #755 (review), @david6666666 #755 (review) approver=@david6666666 list=ed13999d4c8a5ee25d1fefcfd79f0ce14b91c647 merge=4f03587eea627637f98f637bb3cde6c6142d487b by=@Dong1017 I treated this PR as high-risk because it changes the allowlist that the required
|
Governing Issue and delivery slice
Refs #754
gemini-4-neonwith no aliases, following the shape of policy: admit GPT-6.1 Terra at xhigh and max #298, policy: admit Claude Fable 5.2 at xhigh and max #439 and policy: admit GPT-6.2 Astra and GPT-6.2 Sol, stop admitting GPT-6-Astra, GPT-6.1 Sol and GPT-6.1 Terra #499.6b1d1bc7, onmain477446f6:.github/knowledge-model-policy.json: a newgemini-4-neonentry with"efforts": ["xhigh"], no aliases, not suspended, and the Gemini API model page assource.docs/knowledge-model-policy.md: a Gemini 4 Neon row in the owner table,thinking_leveladded to the line that names each vendor's effort parameter, and one paragraph. The paragraph records the 2026-11-27 doc check, says that Neon has nomaxlevel and is admitted atxhighonly, maps Google Cloud'sXHIGHspelling to the declaredxhigh, and lists the aliases that are not admitted.tests/knowledge/test_knowledge_model_policy.py: the new cases listed in the evidence table.{xhigh, max}. It also leaves unchanged the exception process, protected paths, trusted-main policy selection and the four existing entries. It does not admit other Gemini 4 models or the allowlist-onlygemini-4-neon-cyber-permissive. It does not run a model and does not qualify knowledge content.Knowledge authorship declaration
This PR changes
policy_pathsonly (the policy JSON and its document) and no protected knowledge path, so the declaration is disclosure only. Checks use the target branch's policy, so this PR's own status does not exercise the new entry; the tests below do.Changed artifacts and evidence
gemini-4-neon, exact ID, no aliasestest_gemini_4_neon_qualifies_at_xhigh_only:xhighpassesassesswith "Declaration compliance only""efforts": ["xhigh"]; doc paragraphmaxfails with exactlyMaterial AI author 1: effort is not allowed.test_effort_is_exact_set_membershipnow includes Neon:low,medium,high,none,minimal,ultra,maximum,unknown,XHIGH,MAX,xhigh,maxall failtest_unknown_models_and_inferred_aliases_failaddsgemini-4,neon,Gemini 4 Neon,GEMINI-4-NEON, leading and trailing spaces,models/gemini-4-neon,gemini-4-neon-latest,gemini-4-neon-cyber-permissiveandgemini-4-hydrogen; all failgemini-4-neon; a mixed declaration withgemini-4-neonatmaxfails in either position and reports only that authorDoc check (2026-11-27). The pages were fetched with
curlfrom a Linux host, because the local network cannot reach them.gemini-4-neon", "Stable:gemini-4-neon", and "Thinking: Supported (low, medium, high, xhigh)". The page lists no other version or alias.gemini-4-neon | On (high) | low, medium, high, xhigh. No model in that table lists amaxlevel.minimalis "Not supported on Gemini 4 models".gemini-4-neon-cyber-permissiveas a separate model ID with allowlist-only access.Open PRs (scanned 2026-11-27 before opening, 26 open). No open PR body mentions Gemini, so merging this changes no open PR's verdict.
Checks and dependencies
python -m pytest -o addopts= -q -p no:cacheprovider tests/knowledge/test_knowledge_model_policy.pyon head6b1d1bc7: 229 passed. Environment: local Windows 11, Python 3.13.5, pytest 9.0.2..github/knowledge-model-policy.jsonrestored tomain, the Gemini/Neon subset (-k "gemini or neon") gives 2 failed and 22 passed. The two failures aretest_gemini_4_neon_qualifies_at_xhigh_onlyand thegemini-4-neonsuspension case, so the new tests read the new entry. The 22 rejection cases also pass onmain, where any Neon declaration is rejected as unapproved.uvx ruff@0.17.6 check tests/knowledge/test_knowledge_model_policy.py tools/check_knowledge_model_policy.py: all checks passed. 0.17.6 is the version installed in the latest greenci-readyrun (45935560246). The policy JSON parses, andgit diff --checkis clean.full-checkis authoritative.main. The entry takes effect for open PRs only once it is onmain, because the workflow evaluates trustedmain.Remaining work and Issue closure
Provenance
One commit on
main477446f6. No merge, amend, force push or skipped hooks. The policy JSON, document and tests were written in a Claude Code session reported asclaude-opus-5-5with effortxhigh. This is client/session attribution, not a backend attestation. Passing tests is not policy approval.Agent-assisted-by: Claude Code / claude-opus-5-5 [effort=xhigh] (author)
🤖 Generated with Claude Code