Skip to content
Myr

defaults.ts

This file

Path

packages/rules/src/defaults.ts

8 lines · 342 bytes · TypeScript

Last changed by

Merge build/comments-packages-rest into mainoscabrielbefore adoption38cd503

History of this file

Take it

The walk stopped after 200 commits: lines older than 678c8b8 point at it.

Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8

lines 1–4why, one step back
1import { PolicyInput } from "@repo/protocol/domain/policy";
2import { defaults, toPolicyInput } from "@repo/sdk";3import { Schema } from "effect";4

Merge build/comments-packages-rest into mainoscabrielbefore adoption38cd503

line 5why, one step back
5/** It adds no weakening markers: the gate scans its own defaults plus a project's. */

Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8

lines 6–8why, one step back
6export const defaultPolicyInput: PolicyInput = Schema.decodeSync(PolicyInput)(
7 toPolicyInput(defaults)8);