ShtukbaseStandard
package file→ .shtukbase/packages/code-functional-core/judges/decisions-in-core.md

judges/decisions-in-core.md

15 lines, 799 B.

  1. # Judge: decisions are in the core, the shell is thin
  2. Norm FC-R04. Branching, calculations and rules live in the core; the shell only reads the world, calls the core and writes the result, and has little branching.
  3. **Who judges.** The reviewer of the change.
  4. **When.** On a change that adds logic next to input and output: a handler of a command, a request, a file.
  5. **What the judge looks at.**
  6. 1. New branching or a calculation landed in the shell, although it could be a pure function over the data already read.
  7. 2. The core receives time, chance and settings as values and does not read them itself.
  8. 3. The shell reads, then calls the core, then writes; there are almost no decisions in it.
  9. **Result.** "holds" or "violated: which decision to move into the core, which function to create".