landing.ts
This file
Path
packages/protocol/src/domain/landing.ts
22 lines · 736 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–13why, one step back1import { Schema } from "effect";23import { AskId, Handle, LandedSha, ProjectName, RequestId } from "../ids.ts";4import { Verdict } from "./answer.ts";5import { AgentTrailer, Credit } from "./credit.ts";67export const LandingView = Schema.Struct({8 ask: Schema.optionalKey(AskId),9 assisted: Schema.Array(AgentTrailer),10 author: Handle,11 credits: Schema.Array(Credit),12 heldBackTrailer: Schema.optionalKey(Schema.NonEmptyString),13 landedAt: Schema.DateTimeUtcFromString,Name the ask an opening opened, say why a policy has not evaluated, and give code history a durable storeoscabrielbefore adoption51f046c
line 14why, one step back14 opened: Schema.optionalKey(AskId),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 15–22why, one step back15 parent: Schema.optionalKey(LandedSha),16 project: ProjectName,17 requestId: Schema.optionalKey(RequestId),18 sha: LandedSha,19 verdict: Schema.optionalKey(Verdict),20});2122export type LandingView = typeof LandingView.Type;