Files
billion-context/scripts/gate/config.example.json
ranxianglei 28f11a09eb fix(gate): agentsR example default, fresh rc files, README knob parity (PR#6938 review)
- config.example.json shipped agentsR='' (present-but-empty), which the
  jget/:-/|| chain treats as unset-inherited from GATE_AGENTS — Lane R
  would run the full P agent set, hit 'unsupported lane' and false-red
  after paying for six agents of real-model turns. Example now ships the
  launcher default dsh,pi, matching _doc_agentsR.
- entrypoint.sh: rm the per-run rc files before launching the concurrent
  subshells — a stale .rc-plugins/.rc-restart in a persistent outDir
  could be read back if the subshell died before its final echo, a
  failure direction that HIDEs a red in release verification.
- both READMEs: the dsh-variants opt-in sentence still listed dsh-google
  (now in the default set), and laneScript/snapshotRender were missing
  from the config-key lists (they only had _doc_* in the example).
2026-11-16 20:32:17 +08:00

44 lines
2.0 KiB
JSON

{
"_doc": "bili-gate local config. This FILE (and only this file) holds host-specific secrets/ports — it must never be committed. Copy to e.g. ~/system/bili-gate.json and fill in.",
"_doc_keys": "Every key except model1.baseUrl and model1.model is optional; defaults shown.",
"model1": {
"baseUrl": "http://HOST.docker.internal:8199",
"model": "model-id-on-that-upstream",
"apiKey": ""
},
"model2": {
"baseUrl": "",
"model": "",
"apiKey": ""
},
"rev": "master",
"skip": "",
"sourceRepo": "https://github.com/ranxianglei/billion-context.git",
"mirror": "",
"gitProxy": "",
"npmRegistry": "https://registry.npmjs.org",
"turnTimeoutMs": 300000,
"agents": ["dsh", "pi", "codex", "opencode", "claude", "dsh-google"],
"_doc_agentsR": "restart-lane agents, comma list or array. Default dsh,pi; use dsh,pi,claude to also run the anthropic-wire restart lane (prefix topology, harness-managed proxy).",
"agentsR": "dsh,pi",
"_doc_snapBase": "P/R lanes only: run the candidate's snapBase egress plane (storage.snapBase) ON in the gate's bili.json. \"all\" = every protocol cohort; \"openai,responses,anthropic,google\" subset = explicit cohorts; absent or \"off\" = off (byte-identical gate). For candidate-branch verification (e.g. #6785).",
"snapBase": "",
"_doc_laneScript": "Optional: force the P-lane harness script copy, e.g. \"/gate-tools/plugin-lanes.mjs\". Needed when the candidate checkout predates a harness fix (the gate otherwise prefers the candidate's OWN scripts/gate/plugin-lanes.mjs).",
"laneScript": "",
"_doc_snapshotRender": "Optional: \"1\" writes rollout.features.snapshotRender=true into the P/R lane bili.json (config tier, beats the 0% rollout default) so the candidate's snapshotRender egress body plane renders live. Plugin-mode lanes (dsh profile bundle, pi native) stay client-authoritative by design.",
"snapshotRender": "",
"r": {
"corpusTokens": 80000,
"window": 16384,
"capRatio": 0.4,
"cacheRatio": 0.5
},
"network": "host",
"outDir": "./out",
"keep": false
}