Make pr-reviewer binding provider/model-agnostic #70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "maintenance/pr-reviewer-binding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner-authorized maintenance (direct instruction, 2026-10-05): make the
pr-reviewercontract provider/model-binding agnostic.Change
Only
.kilo/agents/pr-reviewer.md:model: openai/gpt-6.1-solandvariant: high(no replacement pin);## Reviewer bindingpolicy: reviewer inherits the implementation session's provider family/model/reasoning configuration by default, with OpenAI→OpenAI and z.ai→z.ai provider-family affinity, explicit owner override support, no silent substitution, and precise reporting when a binding cannot be executed.Preserved
Kernel-specific permission allowlists (
git -C .../creatidy-kernel-*,env -isandboxedmake -Cchecks,external_directoryscoping,web-reader_webReader), the NOTICE provenance comment, checkout/read-only constraints, secret/environment restrictions, rule references, whole-PR/exact-HEAD semantics, verdict semantics, evidence isolation, and the stable JSON result schema (no new fields).Validation
description,mode,permissionopenai/gpt-6.1-sol,variant: high,GPT-6.1orKilo 7.8.3references remaingit diff --name-only origin/develop...HEAD→ only.kilo/agents/pr-reviewer.mdpython3 -m unittest tests.test_workflow_contract: 12 tests, exactly 1 failure⚠ Why this PR is not merged
The task's scope guard allows changing only
.kilo/agents/pr-reviewer.md. Buttests/test_workflow_contract.py::test_command_inventory_gates_and_reviewer_permissions(line ~275) asserts the exact removed frontmatter pinmode: subagent\nmodel: openai/gpt-6.1-sol\nvariant: high\n— the test enforces the very binding this maintenance removes. The expected single CI failure is that assertion.Merging requires a one-line follow-up updating that assertion to the new binding-agnostic frontmatter (e.g. assert
mode: subagentplus the permission block, and that nomodel:/variant:pin exists). That file is outside this task's authorized scope, so the owner must authorize it. Everything else in the change is complete and validated.