runners: share protocol and reviewer policy

This commit is contained in:
ejclaw
2026-04-11 05:07:05 +09:00
parent 94d53e4cc3
commit f5c3393c32
17 changed files with 648 additions and 276 deletions

View File

@@ -1,9 +1,8 @@
export {
assertReadonlyWorkspaceRepoConnectivity,
buildReviewerGitGuardEnv,
getReviewerRuntimeCapabilities,
isArbiterRuntimeEnvEnabled,
isReviewerRuntime,
isReviewerRuntimeEnvEnabled,
} from 'ejclaw-runners-shared';
// Codex app-server does not expose a BashTool-style pre-use hook, so reviewer
// mode can only hard-block mutating git via PATH interception here. Non-git
// shell mutation commands remain a known gap when REVIEWER_AGENT_TYPE=codex.