wire.ts
This file
Path
packages/checks/src/check-runner/wire.ts
20 lines · 623 bytes · TypeScript
Last changed by
Merge build/comments-cli-protocol-checks into mainoscabrielbefore adoptionc86204f
History of this fileTake 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–5why, one step back1import { VerifierBlocked } from "@repo/protocol/refusal";2import { Schema } from "effect";34import { CheckJob, CheckRun } from "../check-runner.ts";5Merge build/comments-cli-protocol-checks into mainoscabrielbefore adoptionc86204f
line 6why, one step back6// The token never enters a Checker's container: the outbound handler adds 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 7–20why, one step back7export const Remote = Schema.Struct({8 token: Schema.RedactedFromValue(Schema.String),9 url: Schema.NonEmptyString,10});1112export type Remote = typeof Remote.Type;1314export const CheckWire = Schema.Struct({ clone: Remote, job: CheckJob });1516export type CheckWire = typeof CheckWire.Type;1718export const CheckExit = Schema.toCodecJson(19 Schema.Exit(CheckRun, VerifierBlocked, Schema.Defect())20);