cyberine
UsageRun recipes

cyberine rulings route: give every one-off owner decision a durable home (k31qz, 2026-11-17)

Since kdct8 a one-off owner decision is not a ruling: it sits in the board's decision ledger, which no session reads, so the why behind a feature fades. cyberine rulings route proposes where each one belongs and --apply writes it there. Four homes:

  • docs: docs/history/owner-decisions.md, tracked. Product and feature decisions.
  • shared: CLAUDE.md, tracked and loaded by every session. A constraint every session in this repo must know; use it sparingly.
  • private: CLAUDE.local.md, which must be gitignored. Decisions that name the owner's own machine, accounts, hosts, bots or private tooling.
  • ledger: nothing is written. An expired one-off (a release, a "go" for one run).

Run recipe:

  • cyberine rulings route lists every one-off decision with no home yet, each with a suggestion (docs or private) and why, plus the homes this repo has (it says when CLAUDE.md is missing or CLAUDE.local.md is not gitignored). --json prints { targets, unrouted, routed }; every unrouted item carries ref, ids, choice, rejected, reason, suggested and because. No model call, writes nothing.
  • cyberine rulings route --apply --input <file|-> writes the chosen homes from {"routes":[{"ref","home","section"?,"text"?,"recordOnly"?}]}. Each one-line text lands under ## <section> of its file; the file and the heading are created when missing (default sections: docs "Other decisions", shared "Owner decisions", private "Owner decisions about this machine and private tooling"). The first docs route also appends one pointer line to CLAUDE.md when it does not already name the docs file. "recordOnly": true records a route whose entry is already written; ledger needs no text. All-or-nothing: an unknown ref, a bad home, a missing or multi-line text, a private route while CLAUDE.local.md is not gitignored, or a shared route with no CLAUDE.md exits 2 and writes nothing. Each route is journaled as a decision routed note, so a second apply of the same input skips it and route stops listing it; routing a decision again with another home moves its record. --json prints { routed, skipped, files }.
  • cyberine rulings reclassify ends with a line naming cyberine rulings route while any decision has no home (--json adds unrouted).
  • In Claude Code, "cyberine don rulings" runs reclassify, consolidate and then route through the cyberine:tasks skill: the session reviews each suggestion, writes one line per entry and applies the routing in the same turn.

Known Limitations and Deferred Work: the suggestion is a keyword rule over the choice and the reason (homelab, ssh, MacBook, Telegram, a ~/ path other than ~/.cyberine and ~/.claude, the global fleet, amemoria, the keychain, "the owner's machine or account"); everything else is suggested docs, and only the session that reviews it can tell a shared constraint or an expired one-off apart. The paths are fixed (no config key yet), and the pointer line targets CLAUDE.md only, not AGENTS.md. Undoing a written entry is a git change to the file; the route record itself is never deleted, only replaced by a later route.