Files
gnoma/docs
vikingowl 162c8b1017 docs(plans): prefer-routing-policy and startup-safety-banner
Two parallel pre-flight plans surfaced in the 2026-05-23 session,
both deferred while the routing-defaults-refresh implementation
landed. Drafted as separate plans because they're independent:
the prefer-policy is a router scoring change; the safety banner is
a launch-time check that never touches the router.

prefer-routing-policy
  [router].prefer = "local" | "cloud" | "auto" — soft score
  multiplier (0.3 / 0.5 / 1.0) biasing toward local or cloud arms
  while preserving Strengths cross-tier promotion and bandit
  learning. Default "auto" is byte-identical to current behavior.
  Forced arms and incognito retain priority. CLI-agent subprocess
  arms count as non-local for this knob (they proxy to cloud).

startup-safety-banner
  Three-tier cwd classification at launch — refuse in /etc /sys
  and other system roots; warn+keypress in $HOME, /tmp, ~/Desktop,
  ~/Downloads; OK inside any git repo or directory with a project
  marker (.gnoma/, go.mod, package.json, etc.). Always shows a
  context banner with cwd, git state, model, modes, and a
  top-level sensitive-file inventory (.env, id_rsa, *.pem, .ssh/,
  etc. — informational only, no recursion, capped at 1000 entries).
  Bypass via --dangerously-allow-anywhere. Complements the in-flight
  sensitive-content unified-policy TODO item: this is the pre-flight
  layer, that is the runtime input-path layer.

Both plans default-on with safe defaults; both have explicit
out-of-scope sections to prevent scope creep during implementation.
Linux + macOS first; Windows path classification deferred.

TODO.md surfaces both as in-flight.
2026-05-23 22:00:21 +02:00
..