Repository navigation
v4.56.0
Minor. kj reviews someone else's PR, and the Sentinel starts to stop reading shell.
Added
kj review --range base...head --third-party --json(KJC-TSK-1075 to 1078, #2227): a reviewer agent reviews another person's PR with kj's reviewer, the target repo's rules and the provider it names (even the one it runs in), and gets one JSON document back (verdict, findings, suggestions, checks), exit 0 whatever the verdict. No own-work gate runs and no verdict is stored, so the mode never unlocks a commit of one's own. The checks need no tokens: size against the repo's budget, Conventional Commits, AI attribution, tests next to the code, secrets, personal data, prompt injection, dependency cooldown, semgrep on the PR's files and Sonar when SonarQube is reachable.- The Steward's block also stops a commit (KJC-TSK-1086): with
method_gates.steward: block,kj reviewrejects before any reviewer token when the sweep has vulnerable dependencies or a red main; a missing or unreadable report blocks too. pre-pushchecks every pushed commit's identity (KJC-TSK-1085): author and committer against the clone's declared identity, including commits from a rebase, cherry-pick, merge or tag that never ran pre-commit.
Changed
- The Sentinel stops reading shell where a checkpoint already decides (ADR 0014 and 0015, plan in
docs/health/sentinel-retirement-plan.md): it no longer reads the text ofkj harden --commitorkj identity enroll-phone(those commands refuse an agent themselves, and now fail closed when the process ancestry cannot be read; on macOS it comes from the systempsby absolute path), nor git commit, tag, rebase or push for identity (now in the hooks), norgit push(protected main,kj reviewat commit, pre-push, stop gate). The gh identity check and the phone key file stay.
Fixed
kj checkjudges configs likekj harden(KJC-BUG-0370): no more permanent "harness drift" for a config covered by a same-tool variant, omitted because its tool is not installed, or in a root the repo excludes.sourceKind()is called with no argument (KJC-BUG-0372): two critical Sonar findings in the RAG indexer.