@llm4ts/flow 3.4.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/CapabilityGuard.d.ts.map +1 -1
  2. package/dist/CapabilityGuard.js +1 -0
  3. package/dist/CapabilityGuard.js.map +1 -1
  4. package/dist/CarriedNotes.d.ts.map +1 -1
  5. package/dist/CarriedNotes.js.map +1 -1
  6. package/dist/Evidence.d.ts.map +1 -1
  7. package/dist/Evidence.js +1 -0
  8. package/dist/Evidence.js.map +1 -1
  9. package/dist/Flow.d.ts +0 -1
  10. package/dist/Flow.d.ts.map +1 -1
  11. package/dist/Flow.js +0 -1
  12. package/dist/Flow.js.map +1 -1
  13. package/dist/FlowEvents.d.ts +1 -23
  14. package/dist/FlowEvents.d.ts.map +1 -1
  15. package/dist/FlowEvents.js +1 -28
  16. package/dist/FlowEvents.js.map +1 -1
  17. package/dist/Gates.d.ts +0 -1
  18. package/dist/Gates.d.ts.map +1 -1
  19. package/dist/Gates.js +1 -2
  20. package/dist/Gates.js.map +1 -1
  21. package/dist/JudgmentDataset.d.ts.map +1 -1
  22. package/dist/JudgmentDataset.js +1 -0
  23. package/dist/JudgmentDataset.js.map +1 -1
  24. package/dist/JudgmentEval.d.ts.map +1 -1
  25. package/dist/JudgmentEval.js +1 -0
  26. package/dist/JudgmentEval.js.map +1 -1
  27. package/dist/JudgmentLog.d.ts.map +1 -1
  28. package/dist/JudgmentLog.js +2 -5
  29. package/dist/JudgmentLog.js.map +1 -1
  30. package/dist/JudgmentTypes.d.ts.map +1 -1
  31. package/dist/JudgmentTypes.js +1 -0
  32. package/dist/JudgmentTypes.js.map +1 -1
  33. package/dist/OracleGuard.d.ts.map +1 -1
  34. package/dist/OracleGuard.js +1 -0
  35. package/dist/OracleGuard.js.map +1 -1
  36. package/dist/Pack.d.ts +1 -1
  37. package/dist/Pack.d.ts.map +1 -1
  38. package/dist/Pack.js +0 -1
  39. package/dist/Pack.js.map +1 -1
  40. package/dist/ProgramJudge.d.ts +1 -4
  41. package/dist/ProgramJudge.d.ts.map +1 -1
  42. package/dist/ProgramJudge.js +2 -2
  43. package/dist/ProgramJudge.js.map +1 -1
  44. package/dist/Recheck.d.ts.map +1 -1
  45. package/dist/Recheck.js +1 -0
  46. package/dist/Recheck.js.map +1 -1
  47. package/dist/ReviewModel.d.ts.map +1 -1
  48. package/dist/ReviewModel.js +1 -0
  49. package/dist/ReviewModel.js.map +1 -1
  50. package/dist/Settings.d.ts +14 -1
  51. package/dist/Settings.d.ts.map +1 -1
  52. package/dist/Settings.js +16 -1
  53. package/dist/Settings.js.map +1 -1
  54. package/dist/Stories.d.ts.map +1 -1
  55. package/dist/Stories.js +2 -1
  56. package/dist/Stories.js.map +1 -1
  57. package/dist/Survey.d.ts +2 -2
  58. package/dist/Survey.d.ts.map +1 -1
  59. package/dist/Survey.js +0 -1
  60. package/dist/Survey.js.map +1 -1
  61. package/dist/Taskforce.d.ts +1 -1
  62. package/dist/Taskforce.d.ts.map +1 -1
  63. package/dist/Taskforce.js +0 -1
  64. package/dist/Taskforce.js.map +1 -1
  65. package/dist/settings/Registry.d.ts.map +1 -1
  66. package/dist/settings/Registry.js +5 -4
  67. package/dist/settings/Registry.js.map +1 -1
  68. package/dist/settings/Value.d.ts.map +1 -1
  69. package/dist/settings/Value.js +1 -0
  70. package/dist/settings/Value.js.map +1 -1
  71. package/package.json +28 -38
  72. package/src/CapabilityGuard.ts +1 -0
  73. package/src/CarriedNotes.ts +1 -0
  74. package/src/EstimatedUsage.ts +2 -2
  75. package/src/Evidence.ts +1 -0
  76. package/src/Flow.ts +0 -2
  77. package/src/FlowEvents.ts +1 -40
  78. package/src/Gates.ts +1 -3
  79. package/src/JudgmentDataset.ts +1 -0
  80. package/src/JudgmentEval.ts +1 -0
  81. package/src/JudgmentLog.ts +2 -5
  82. package/src/JudgmentTypes.ts +1 -0
  83. package/src/OracleGuard.ts +1 -0
  84. package/src/Pack.ts +0 -2
  85. package/src/ProgramJudge.ts +4 -6
  86. package/src/Recheck.ts +1 -0
  87. package/src/ReviewModel.ts +1 -0
  88. package/src/Settings.ts +20 -1
  89. package/src/Stories.ts +3 -5
  90. package/src/Survey.ts +0 -1
  91. package/src/Taskforce.ts +0 -2
  92. package/src/settings/Registry.ts +5 -4
  93. package/src/settings/Value.ts +1 -0
  94. package/dist/Classified.d.ts +0 -16
  95. package/dist/Classified.d.ts.map +0 -1
  96. package/dist/Classified.js +0 -52
  97. package/dist/Classified.js.map +0 -1
  98. package/dist/Mermaid.d.ts +0 -7
  99. package/dist/Mermaid.d.ts.map +0 -1
  100. package/dist/Mermaid.js +0 -98
  101. package/dist/Mermaid.js.map +0 -1
  102. package/src/Classified.ts +0 -72
  103. package/src/Mermaid.ts +0 -112
@@ -1 +1 @@
1
- {"version":3,"file":"Value.d.ts","sourceRoot":"","sources":["../../src/settings/Value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAA;AAE3C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAIvC;;;;;;GAMG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,oFAAoF;IACpF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,CAAA;IACxC,+EAA+E;IAC/E,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAA;IACjC,mGAAmG;IACnG,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,2FAA2F;IAC3F,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,uFAAuF;IACvF,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;CACxC;AA+DD,2EAA2E;AAC3E,eAAO,MAAM,MAAM,EAAE,YAAY,CAAC,OAAO,CASxC,CAAA;AAED,gCAAgC;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,eAAO,MAAM,IAAI,EAAE,YAAY,CAAC,MAAM,CAA2D,CAAA;AAEjG,eAAO,MAAM,IAAI,EAAE,YAAY,CAAC,MAAM,CAMrC,CAAA;AAED,eAAO,MAAM,GAAG,EAAE,YAAY,CAAC,MAAM,CAKpC,CAAA;AAED,wBAAwB;AACxB,eAAO,MAAM,OAAO,EAAE,YAAY,CAAC,MAAM,CAMxC,CAAA;AAED,qFAAqF;AACrF,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,MAAM,CAM9C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,YAAY,CAAC,aAAa,CAAC,MAAM,CAAC,CAMxD,CAAA;AAED,6BAA6B;AAC7B,eAAO,MAAM,KAAK,EAAE,YAAY,CAAC,aAAa,CAAC,MAAM,CAAC,CAKrD,CAAA;AAED,yFAAyF;AACzF,eAAO,MAAM,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAiBnE,CAAA;AAED,mBAAmB;AACnB,eAAO,MAAM,MAAM,GAAI,OAAO,aAAa,CAAC,MAAM,CAAC,KAAG,MACH,CAAA;AAEnD,qEAAqE;AACrE,eAAO,MAAM,KAAK,GAAI,KAAK,CAAC,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,KAAG,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAO7F,CAAA"}
@@ -1,3 +1,4 @@
1
+ // @internal: setting value grammars; Settings is the public face
1
2
  import * as Duration from "effect/Duration";
2
3
  import * as Effect from "effect/Effect";
3
4
  import * as Schema from "effect/Schema";
@@ -1 +1 @@
1
- {"version":3,"file":"Value.js","sourceRoot":"","sources":["../../src/settings/Value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,MAAM,MAAM,eAAe,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,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,KAAK,KAAK,CAAC,WAAW,EAAE,CAAC,EACnE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAChB,EAAE,OAAO,EAAE,CACZ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llm4ts/flow",
3
- "version": "3.4.0",
3
+ "version": "4.1.0",
4
4
  "description": "Effect-native LLM workflow, persistence, review, and repository automation",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,29 +13,17 @@
13
13
  "src"
14
14
  ],
15
15
  "exports": {
16
- "./tools/HttpCall": "./dist/tools/HttpCall.js",
17
- "./endpoint/Endpoints": "./dist/endpoint/Endpoints.js",
18
- "./endpoint/Transport": "./dist/endpoint/Transport.js",
19
- "./endpoint/Auth": "./dist/endpoint/Auth.js",
20
- "./tools/Diff": "./dist/tools/Diff.js",
21
- "./tools/JsonValidate": "./dist/tools/JsonValidate.js",
22
- "./tools/Builtin": "./dist/tools/Builtin.js",
23
- "./tools/Tool": "./dist/tools/Tool.js",
16
+ "./Activity": "./dist/Activity.js",
24
17
  "./Approval": "./dist/Approval.js",
25
18
  "./Artifacts": "./dist/Artifacts.js",
26
19
  "./AutonomyContract": "./dist/AutonomyContract.js",
27
- "./package.json": "./package.json",
28
- "./Activity": "./dist/Activity.js",
29
20
  "./AzureDevOpsTool": "./dist/AzureDevOpsTool.js",
30
21
  "./BasecampTool": "./dist/BasecampTool.js",
31
22
  "./Bench": "./dist/Bench.js",
32
23
  "./BenchReport": "./dist/BenchReport.js",
33
24
  "./Blackboard": "./dist/Blackboard.js",
34
25
  "./BoardSync": "./dist/BoardSync.js",
35
- "./CapabilityGuard": "./dist/CapabilityGuard.js",
36
- "./CarriedNotes": "./dist/CarriedNotes.js",
37
26
  "./Chat": "./dist/Chat.js",
38
- "./Classified": "./dist/Classified.js",
39
27
  "./Context": "./dist/Context.js",
40
28
  "./CostLedger": "./dist/CostLedger.js",
41
29
  "./CostReport": "./dist/CostReport.js",
@@ -46,13 +34,9 @@
46
34
  "./Domains": "./dist/Domains.js",
47
35
  "./EpicBrief": "./dist/EpicBrief.js",
48
36
  "./EpicRuns": "./dist/EpicRuns.js",
49
- "./OperatorSchemas": "./dist/OperatorSchemas.js",
50
37
  "./Equiv": "./dist/Equiv.js",
51
- "./tools/JsonSchemaCheck": "./dist/tools/JsonSchemaCheck.js",
52
- "./tools/TreeDiff": "./dist/tools/TreeDiff.js",
53
38
  "./EquivReport": "./dist/EquivReport.js",
54
39
  "./EstimatedUsage": "./dist/EstimatedUsage.js",
55
- "./Evidence": "./dist/Evidence.js",
56
40
  "./Flow": "./dist/Flow.js",
57
41
  "./FlowContext": "./dist/FlowContext.js",
58
42
  "./FlowError": "./dist/FlowError.js",
@@ -67,27 +51,25 @@
67
51
  "./GraphRender": "./dist/GraphRender.js",
68
52
  "./GraphRules": "./dist/GraphRules.js",
69
53
  "./GraphWorklist": "./dist/GraphWorklist.js",
70
- "./Landing": "./dist/Landing.js",
71
54
  "./Interaction": "./dist/Interaction.js",
55
+ "./Judgment": "./dist/Judgment.js",
56
+ "./JudgmentLog": "./dist/JudgmentLog.js",
57
+ "./Landing": "./dist/Landing.js",
72
58
  "./McpServer": "./dist/McpServer.js",
73
- "./Mermaid": "./dist/Mermaid.js",
59
+ "./Memory": "./dist/Memory.js",
60
+ "./NodePreflight": "./dist/NodePreflight.js",
61
+ "./OperatorSchemas": "./dist/OperatorSchemas.js",
62
+ "./Orientation": "./dist/Orientation.js",
74
63
  "./Pack": "./dist/Pack.js",
75
64
  "./Package": "./dist/Package.js",
76
65
  "./PageSpec": "./dist/PageSpec.js",
77
66
  "./Patterns": "./dist/Patterns.js",
78
- "./Judgment": "./dist/Judgment.js",
79
- "./JudgmentLog": "./dist/JudgmentLog.js",
80
67
  "./Perimeter": "./dist/Perimeter.js",
81
- "./NodePreflight": "./dist/NodePreflight.js",
82
- "./OracleGuard": "./dist/OracleGuard.js",
83
- "./Orientation": "./dist/Orientation.js",
84
68
  "./Persistence": "./dist/Persistence.js",
85
- "./RunState": "./dist/RunState.js",
86
- "./Settings": "./dist/Settings.js",
87
69
  "./Plan": "./dist/Plan.js",
88
70
  "./PlanExecution": "./dist/PlanExecution.js",
89
- "./Port": "./dist/Port.js",
90
71
  "./Planner": "./dist/Planner.js",
72
+ "./Port": "./dist/Port.js",
91
73
  "./PrSummary": "./dist/PrSummary.js",
92
74
  "./PriceList": "./dist/PriceList.js",
93
75
  "./ProgramJudge": "./dist/ProgramJudge.js",
@@ -95,22 +77,21 @@
95
77
  "./RefineRound": "./dist/RefineRound.js",
96
78
  "./Replay": "./dist/Replay.js",
97
79
  "./Retro": "./dist/Retro.js",
98
- "./Recheck": "./dist/Recheck.js",
99
80
  "./Review": "./dist/Review.js",
100
81
  "./ReviewCache": "./dist/ReviewCache.js",
101
- "./ReviewModel": "./dist/ReviewModel.js",
102
82
  "./Reviewer": "./dist/Reviewer.js",
103
- "./SpecChecks": "./dist/SpecChecks.js",
104
- "./Spans": "./dist/Spans.js",
105
83
  "./Roster": "./dist/Roster.js",
106
- "./Roundtable": "./dist/Roundtable.js",
107
- "./Memory": "./dist/Memory.js",
108
- "./Taskforce": "./dist/Taskforce.js",
109
84
  "./RosterSeats": "./dist/RosterSeats.js",
85
+ "./Roundtable": "./dist/Roundtable.js",
86
+ "./RunState": "./dist/RunState.js",
87
+ "./Settings": "./dist/Settings.js",
88
+ "./Spans": "./dist/Spans.js",
89
+ "./SpecChecks": "./dist/SpecChecks.js",
110
90
  "./Stall": "./dist/Stall.js",
111
91
  "./Stories": "./dist/Stories.js",
112
92
  "./StoryPlan": "./dist/StoryPlan.js",
113
93
  "./Survey": "./dist/Survey.js",
94
+ "./Taskforce": "./dist/Taskforce.js",
114
95
  "./TestEvidence": "./dist/TestEvidence.js",
115
96
  "./Timing": "./dist/Timing.js",
116
97
  "./Transcript": "./dist/Transcript.js",
@@ -119,8 +100,17 @@
119
100
  "./Wall": "./dist/Wall.js",
120
101
  "./WorkQueue": "./dist/WorkQueue.js",
121
102
  "./Workspace": "./dist/Workspace.js",
122
- "./JudgmentDataset": "./dist/JudgmentDataset.js",
123
- "./JudgmentEval": "./dist/JudgmentEval.js"
103
+ "./endpoint/Auth": "./dist/endpoint/Auth.js",
104
+ "./endpoint/Endpoints": "./dist/endpoint/Endpoints.js",
105
+ "./endpoint/Transport": "./dist/endpoint/Transport.js",
106
+ "./tools/Builtin": "./dist/tools/Builtin.js",
107
+ "./tools/Diff": "./dist/tools/Diff.js",
108
+ "./tools/HttpCall": "./dist/tools/HttpCall.js",
109
+ "./tools/JsonSchemaCheck": "./dist/tools/JsonSchemaCheck.js",
110
+ "./tools/JsonValidate": "./dist/tools/JsonValidate.js",
111
+ "./tools/Tool": "./dist/tools/Tool.js",
112
+ "./tools/TreeDiff": "./dist/tools/TreeDiff.js",
113
+ "./package.json": "./package.json"
124
114
  },
125
115
  "publishConfig": {
126
116
  "access": "public",
@@ -144,7 +134,7 @@
144
134
  "typescript"
145
135
  ],
146
136
  "dependencies": {
147
- "@llm4ts/core": "3.4.0"
137
+ "@llm4ts/core": "4.1.0"
148
138
  },
149
139
  "peerDependencies": {
150
140
  "effect": "4.0.0"
@@ -1,3 +1,4 @@
1
+ // @internal: the capability check behind the git and forge tools
1
2
  import * as Effect from "effect/Effect"
2
3
  import { allows, currentGrants, type Capability } from "@llm4ts/core/Capability"
3
4
  import { FlowCapabilityDenied } from "./FlowError.ts"
@@ -1,3 +1,4 @@
1
+ // @internal: carried findings for Flow and Stories
1
2
  // What a story's earlier tasks learned, carried into the next task's prompt.
2
3
  // With one chat per task (ADR 0003) every task starts cold; without this a
3
4
  // six-task story explores the repository six times. The coder ends each task
@@ -8,8 +8,8 @@ import { LabelDistribution, LlmChunk, TokenUsage, type Message } from "@llm4ts/c
8
8
  import { estimateCostUsd } from "./PriceList.ts"
9
9
  import { settingGiven, settingValue } from "./Settings.ts"
10
10
 
11
- // ESTIMATED token accounting for connectors that report none (Antigravity,
12
- // Copilot, and Cursor on the capability matrix; every backend whose
11
+ // ESTIMATED token accounting for connectors that report none (Antigravity
12
+ // and Cursor on the capability matrix; every backend whose
13
13
  // `usageReporting` is false). The decorator counts characters on both sides
14
14
  // of each request and, when the backend reported nothing, carries the
15
15
  // estimate back on the value the caller already reads — a synthetic final
package/src/Evidence.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // @internal: fabricated-status checks for Stories
1
2
  // Evidence, not assertion (ADR 0027, decision 6): what a task's reply claims
2
3
  // to have verified, checked against the commands the transcript shows it
3
4
  // ran. Pure; the story executor supplies the tool calls.
package/src/Flow.ts CHANGED
@@ -55,8 +55,6 @@ import type { Reviewer } from "./Reviewer.ts"
55
55
  import { withContract } from "./AutonomyContract.ts"
56
56
  import type { StallOptions } from "./Stall.ts"
57
57
 
58
- export { publishUsage, structuredAndPublish } from "./Usage.ts"
59
-
60
58
  export const flowReviewer = (context: FlowContextShape): LlmServiceShape =>
61
59
  context.reviewers[0] ?? context.reasoning
62
60
 
package/src/FlowEvents.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as Context from "effect/Context"
2
2
  import type * as Duration from "effect/Duration"
3
3
  import * as Effect from "effect/Effect"
4
- import * as Option from "effect/Option"
5
4
  import * as Layer from "effect/Layer"
6
5
  import * as PubSub from "effect/PubSub"
7
6
  import * as Ref from "effect/Ref"
@@ -203,10 +202,6 @@ export class EvidenceChecked extends Schema.TaggedClass<EvidenceChecked>()("Evid
203
202
  lane: Schema.optionalKey(Schema.String)
204
203
  }) {}
205
204
 
206
- export class Declassified extends Schema.TaggedClass<Declassified>()("Declassified", {
207
- label: Schema.String
208
- }) {}
209
-
210
205
  /** A blackboard ruleset ran (ADR 0020): its board, trace and failures, for the trace file. */
211
206
  export class BlackboardRun extends Schema.TaggedClass<BlackboardRun>()("BlackboardRun", {
212
207
  ruleset: Schema.String,
@@ -520,7 +515,6 @@ export const FlowEvent = Schema.Union([
520
515
  CapabilityUnenforceable,
521
516
  EvidenceChecked,
522
517
  ReviewFindingDemoted,
523
- Declassified,
524
518
  ExecutorLeased,
525
519
  ExecutorReleased,
526
520
  ExecutorExcluded,
@@ -546,8 +540,7 @@ export const FlowEventsValues = Object.freeze({
546
540
  CapabilityDenied: (capability: string, operation: string): CapabilityDeniedEvent =>
547
541
  new CapabilityDeniedEvent({ capability, operation }),
548
542
  CapabilityUnenforceable: (detail: string): CapabilityUnenforceable =>
549
- new CapabilityUnenforceable({ detail }),
550
- Declassified: (label: string): Declassified => new Declassified({ label })
543
+ new CapabilityUnenforceable({ detail })
551
544
  })
552
545
 
553
546
  export interface FlowEventsShape {
@@ -698,7 +691,6 @@ const laneRules = {
698
691
  CapabilityUnenforceable: unlaned,
699
692
  EvidenceChecked: carried,
700
693
  ReviewFindingDemoted: carried,
701
- Declassified: unlaned,
702
694
  ExecutorLeased: unlaned,
703
695
  ExecutorReleased: unlaned,
704
696
  ExecutorExcluded: unlaned,
@@ -1032,34 +1024,3 @@ export const makeFlowEventHub = Effect.fn("@llm4ts/flow/FlowEvents.makeHub")(fun
1032
1024
 
1033
1025
  /** How long a consumer waits to catch up before the run moves on regardless. */
1034
1026
  export const defaultDrainTimeout = "3 seconds"
1035
-
1036
- /**
1037
- * The shared drain: wait until `consumed` has caught up with everything the
1038
- * hub published, and report whether it did.
1039
- *
1040
- * Bounded on purpose, and the single copy of this loop. A consumer can fall
1041
- * permanently short of the count — a subscription torn down early, an
1042
- * event the PubSub refused — and an unbounded wait then pegs a core forever.
1043
- * In the runner that swallowed the end of a run: every stage printed and
1044
- * ticked green, and no cost summary ever following, because the summary is
1045
- * written only once every consumer reports drained.
1046
- *
1047
- * @deprecated Use `hub.consume`, which counts for the consumer, and
1048
- * `hub.drained` or the consumer's `caughtUp`.
1049
- */
1050
- export const awaitConsumed = (
1051
- hub: FlowEventHub,
1052
- consumed: Ref.Ref<number>,
1053
- timeout: Duration.Input = defaultDrainTimeout
1054
- ): Effect.Effect<boolean> =>
1055
- Effect.gen(function* () {
1056
- const target = yield* hub.publishedCount
1057
- const drain: Effect.Effect<void> = Effect.suspend(() =>
1058
- Ref.get(consumed).pipe(
1059
- Effect.flatMap((count) =>
1060
- count >= target ? Effect.void : Effect.yieldNow.pipe(Effect.andThen(drain))
1061
- )
1062
- )
1063
- )
1064
- return Option.isSome(yield* Effect.timeoutOption(drain, timeout))
1065
- })
package/src/Gates.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // The target's gates as a module (ADR 0027): run them in a directory with a
2
2
  // timeout and a log per gate, remember what they said on a base, and keep
3
3
  // only what matters when an epic lands. The pure half lives in
4
- // GateTriage.ts and is re-exported here.
4
+ // GateTriage.ts.
5
5
  import { join } from "node:path"
6
6
  import type * as Duration from "effect/Duration"
7
7
  import * as Effect from "effect/Effect"
@@ -12,8 +12,6 @@ import { baselinesPath, normalizeGateOutput } from "./GateTriage.ts"
12
12
  import type { PlainFileStoreShape } from "./Persistence.ts"
13
13
  import { lintCommand, mergeReviewResults, type ReviewResult } from "./Review.ts"
14
14
 
15
- export * from "./GateTriage.ts"
16
-
17
15
  export interface GateLogDir {
18
16
  readonly files: PlainFileStoreShape
19
17
  readonly dir: string
@@ -1,3 +1,4 @@
1
+ // @internal: dataset reader for JudgmentEval and tools/judgment
1
2
  import * as Effect from "effect/Effect"
2
3
  import * as Schema from "effect/Schema"
3
4
  import { State, ScoreQuestion, TruthQuestion, truth } from "@llm4ts/core/judgment/Schemas"
@@ -1,3 +1,4 @@
1
+ // @internal: offline judgment evaluation for tools/judgment
1
2
  import * as Schema from "effect/Schema"
2
3
  import { expectedScore, truth, type Answer } from "@llm4ts/core/judgment/Schemas"
3
4
  import { decide, type Decision } from "./Judgment.ts"
@@ -50,11 +50,8 @@ export const makeJudgmentLog = Effect.fn("@llm4ts/flow/JudgmentLog.make")(functi
50
50
  Effect.gen(function* () {
51
51
  if (yield* Ref.get(degraded)) return
52
52
  const at = yield* Clock.currentTimeMillis
53
- // Classified remains sealed until an explicit, audited declassify.
54
- // Text uses its toString; JSON uses its toJSON. Serialize before
55
- // schema traversal so even nested sealed values use that redaction,
56
- // never their private payload. Already declassified plain text has
57
- // no taint metadata; callers must retain the wrapper for secrets.
53
+ // Serialize before schema traversal, so a value's own toJSON
54
+ // decides what is written, never the fields behind it.
58
55
  const observation = yield* Schema.decodeUnknownEffect(codec)(
59
56
  JSON.stringify({ ...event, runId: options.runId, at })
60
57
  )
@@ -1,3 +1,4 @@
1
+ // @internal: judgment literals; Judgment re-exports them
1
2
  import * as Schema from "effect/Schema"
2
3
 
3
4
  /**
@@ -1,3 +1,4 @@
1
+ // @internal: oracle protection for the review and story loops
1
2
  // The oracle guard (ADR 0027, decision 4): a change may not delete a test
2
3
  // file, add a skip or focus marker, or lower the passed-test count unless
3
4
  // its plan entry says it may. Deterministic, from the diff and the gate
package/src/Pack.ts CHANGED
@@ -10,8 +10,6 @@ import { Reviewer, parseReviewer } from "./Reviewer.ts"
10
10
  import { CoverageRule } from "./SpecChecks.ts"
11
11
  import type { WorkspaceError, WorkspaceShape } from "./Workspace.ts"
12
12
 
13
- export { Reviewer, parseReviewer } from "./Reviewer.ts"
14
-
15
13
  export const ComparisonOrdering = Schema.Literals(["Ordered", "Unordered", "PerKey"])
16
14
  export type ComparisonOrdering = typeof ComparisonOrdering.Type
17
15
 
@@ -1,7 +1,7 @@
1
1
  import { reviewRulesPreamble } from "./Review.ts"
2
2
  import * as Effect from "effect/Effect"
3
- import { Sample, type Dimension, type EvalResult } from "@llm4ts/core/eval/Eval"
4
- import { makeEvaluator, type Evaluator } from "@llm4ts/core/eval/Evaluator"
3
+ import { Sample, type Dimension, type EvalResult, type Evaluator } from "@llm4ts/core/eval/Eval"
4
+ import { makeEvaluator } from "@llm4ts/core/eval/Evaluator"
5
5
  import { judgeWithJudgment } from "@llm4ts/core/eval/Judge"
6
6
  import type { JudgmentShape } from "@llm4ts/core/judgment/Judgment"
7
7
  import { capped, withShrink } from "./Context.ts"
@@ -18,7 +18,7 @@ import type { GitToolShape } from "./GitTool.ts"
18
18
  import type { Pack } from "./Pack.ts"
19
19
  import type { PlainFileStoreShape } from "./Persistence.ts"
20
20
  import { ReviewIssue, ReviewResult, mergeReviewResults } from "./Review.ts"
21
- import { cachedReview } from "./ReviewCache.ts"
21
+ import { cachedReview, fingerprintOf } from "./ReviewCache.ts"
22
22
 
23
23
  // Per-program spec-compliance judging, shared by the implement and review
24
24
  // phases. A whole-branch judge call carries every spec and every diff hunk in
@@ -71,8 +71,6 @@ export interface ProgramJudgeOptions {
71
71
  /** A program's spec text; the caller owns where specs live. */
72
72
  readonly specFor: (program: string) => Effect.Effect<string, FlowError>
73
73
  readonly query: string
74
- /** Content fingerprint for the verdict cache (hashing lives outside flow). */
75
- readonly fingerprint: (...parts: ReadonlyArray<string>) => string
76
74
  }
77
75
 
78
76
  /**
@@ -219,7 +217,7 @@ const judgeSlice = Effect.fn("@llm4ts/flow/ProgramJudge.judgeSlice")(function* (
219
217
  return yield* cachedReview(
220
218
  options.files,
221
219
  join(options.gateDir, `${label}.json`),
222
- options.fingerprint(spec, diff, rubric, ...judgmentKey),
220
+ fingerprintOf([spec, diff, rubric, ...judgmentKey]),
223
221
  events.publish(Info.make({ message: `judging ${label}` })).pipe(
224
222
  Effect.andThen(
225
223
  withShrink(`judge[${label}]`, (cap) =>
package/src/Recheck.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // @internal: incremental re-checks for Review and Stories
1
2
  /**
2
3
  * Incremental re-review (ADR 0044): what each reviewer found last time, which
3
4
  * files a fix touched, and so which reviewers a round asks again — in full,
@@ -1,3 +1,4 @@
1
+ // @internal: review values; Review re-exports them
1
2
  /**
2
3
  * What a review answers: findings and their result. Kept apart from
3
4
  * `Review.ts` so modules that `Review.ts` imports can build schemas over them
package/src/Settings.ts CHANGED
@@ -142,7 +142,8 @@ export const settingGiven = <N extends SettingName>(
142
142
  /**
143
143
  * The setting's value in `environment`. Unset: the default when the setting
144
144
  * has one, else `undefined`. A value the grammar does not read counts as
145
- * unset, as it did for every reader before the registry.
145
+ * unset here; a launch through the shell or the runner has already refused
146
+ * it (`unreadableEnvironment`).
146
147
  */
147
148
  export const settingValue = <N extends SettingName>(
148
149
  name: N,
@@ -152,6 +153,24 @@ export const settingValue = <N extends SettingName>(
152
153
  return given._tag === "Read" ? given.value : entries[name].fallback.value
153
154
  }
154
155
 
156
+ /**
157
+ * Why an environment value the grammar does not read stops a run: the name
158
+ * and the grammar, never the value, so a secret cannot leak through it.
159
+ */
160
+ export const unreadableInEnvironment = (name: SettingName): string =>
161
+ `the environment: ${name} must be ${entries[name].value.grammar}; fix or unset it`
162
+
163
+ /**
164
+ * One line per setting `environment` holds a value for that its grammar does
165
+ * not read, in registry order; empty when every value reads. The shell and
166
+ * the runner refuse a launch on any, so `settingValue`'s lenience never
167
+ * decides a run.
168
+ */
169
+ export const unreadableEnvironment = (environment: Environment): ReadonlyArray<string> =>
170
+ settingNames
171
+ .filter((name) => settingGiven(name, environment)._tag === "Unreadable")
172
+ .map(unreadableInEnvironment)
173
+
155
174
  type Spelled = {
156
175
  readonly [N in SettingName]: Values[N] extends string | number ? N : never
157
176
  }[SettingName]
package/src/Stories.ts CHANGED
@@ -21,16 +21,14 @@ import type { LlmError } from "@llm4ts/core/Errors"
21
21
  import { BoardItem, eventedBoard, type BoardSyncShape } from "./BoardSync.ts"
22
22
  import { makeChat } from "./Chat.ts"
23
23
  import { flowReviewer, implementPlanFlow, type TaskOverrides } from "./Flow.ts"
24
+ import { storyGateLogDir, mergeGateLogDir, type GateLogDir } from "./Gates.ts"
24
25
  import {
25
26
  GateBaseline,
26
27
  baselineKey,
27
28
  ensureBaseline as ensureStoredBaseline,
28
29
  failingLinesOf,
29
- storyGateLogDir,
30
- mergeGateLogDir,
31
- writeBaseline,
32
- type GateLogDir
33
- } from "./Gates.ts"
30
+ writeBaseline
31
+ } from "./GateTriage.ts"
34
32
  import type { ContextOptions, FlowContextShape } from "./FlowContext.ts"
35
33
  import {
36
34
  describeFlowError,
package/src/Survey.ts CHANGED
@@ -30,7 +30,6 @@ export const GraphMechanism = Schema.Literals([
30
30
  "codegraph"
31
31
  ])
32
32
  export type GraphMechanism = typeof GraphMechanism.Type
33
- export { JoinMatch }
34
33
 
35
34
  export class GraphEvidence extends Schema.Class<GraphEvidence>("GraphEvidence")({
36
35
  file: Schema.String,
package/src/Taskforce.ts CHANGED
@@ -12,8 +12,6 @@ import { makeOpenPointsCollector, OpenPoint } from "./Decisions.ts"
12
12
  import { PlanInvalid, ReportInvalid } from "./FlowError.ts"
13
13
  import type { Persona } from "./Roundtable.ts"
14
14
 
15
- export { ToolGrade } from "./Roundtable.ts"
16
-
17
15
  const dash = " — "
18
16
  const headerLine = /^([A-Za-z][A-Za-z ]*):\s*(.*)$/
19
17
  const oneLine = (text: string): string => text.replace(/\s+/g, " ").trim()
@@ -1,3 +1,4 @@
1
+ // @internal: the settings table; Settings is the public face
1
2
  import * as Duration from "effect/Duration"
2
3
  import {
3
4
  apiProviderNames,
@@ -100,28 +101,28 @@ export const settings = {
100
101
  scope: "global",
101
102
  value: Value.text,
102
103
  fallback: fallback.perFlow("the agent's own default; the local and sdd flows name theirs"),
103
- doc: "The coder seat's model. pi takes provider/model, such as openai-codex/gpt-5.5."
104
+ doc: "The coder seat's model in every flow, unless the flow names one. pi takes provider/model, such as openai-codex/gpt-5.5."
104
105
  }),
105
106
  LLM4TS_REASONING_MODEL: setting({
106
107
  group: "seats",
107
108
  scope: "global",
108
109
  value: Value.text,
109
110
  fallback: fallback.perFlow("the agent's own default; the local and sdd flows name theirs"),
110
- doc: "The reasoning seat's model."
111
+ doc: "The model of the reasoning seat and of every reviewer or judge on its agent, unless the flow names one. Unset, a seat on the coder's agent takes LLM4TS_CODER_MODEL."
111
112
  }),
112
113
  LLM4TS_CODER_FLAGS: setting({
113
114
  group: "seats",
114
115
  scope: "global",
115
116
  value: Value.cliFlags,
116
117
  fallback: fallback.off("none"),
117
- doc: "Extra CLI flags for the coder seat in the epic flows, on top of its preset's own."
118
+ doc: "Extra CLI flags for the coder seat in every flow, on top of its preset's own. A flag the flow sets keeps its value."
118
119
  }),
119
120
  LLM4TS_REASONING_FLAGS: setting({
120
121
  group: "seats",
121
122
  scope: "global",
122
123
  value: Value.cliFlags,
123
124
  fallback: fallback.off("none"),
124
- doc: "Extra CLI flags for the reasoning seat in the epic flows."
125
+ doc: "Extra CLI flags for the reasoning seat and every reviewer or judge on its agent, as LLM4TS_CODER_FLAGS does for the coder."
125
126
  }),
126
127
  LLM4TS_CODER_HEALTH_URL: setting({
127
128
  group: "seats",
@@ -1,3 +1,4 @@
1
+ // @internal: setting value grammars; Settings is the public face
1
2
  import * as Duration from "effect/Duration"
2
3
  import * as Effect from "effect/Effect"
3
4
  import * as Schema from "effect/Schema"
@@ -1,16 +0,0 @@
1
- import * as Effect from "effect/Effect";
2
- import { type Capability } from "@llm4ts/core/Capability";
3
- import { FlowCapabilityDenied } from "./FlowError.ts";
4
- import { FlowEvents } from "./FlowEvents.ts";
5
- export declare const guarded: <A, E, R>(capability: Capability, operation: string, body: Effect.Effect<A, E, R>) => Effect.Effect<A, E | FlowCapabilityDenied, R | FlowEvents>;
6
- export declare class Classified<A> {
7
- private readonly value;
8
- private constructor();
9
- static of<A>(value: A): Classified<A>;
10
- map<B>(transform: (value: A) => B): Classified<B>;
11
- declassify(label: string): Effect.Effect<A, FlowCapabilityDenied, FlowEvents>;
12
- /** JSON boundaries must use the same sealed representation as text boundaries. */
13
- toJSON(): string;
14
- toString(): string;
15
- }
16
- //# sourceMappingURL=Classified.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Classified.d.ts","sourceRoot":"","sources":["../src/Classified.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,EAAgB,KAAK,UAAU,EAAyB,MAAM,yBAAyB,CAAA;AAC9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAAE,UAAU,EAA0C,MAAM,iBAAiB,CAAA;AAiBpF,eAAO,MAAM,OAAO,GAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAC7B,YAAY,UAAU,EACtB,WAAW,MAAM,EACjB,MAAM,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAC3B,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,oBAAoB,EAAE,CAAC,GAAG,UAAU,CAgBxD,CAAA;AAEJ,qBAAa,UAAU,CAAC,CAAC;IACH,OAAO,CAAC,QAAQ,CAAC,KAAK;IAA1C,OAAO;IAEP,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAIrC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAIjD,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,oBAAoB,EAAE,UAAU,CAAC;IAU7E,kFAAkF;IAClF,MAAM,IAAI,MAAM;IAIhB,QAAQ,IAAI,MAAM;CAGnB"}
@@ -1,52 +0,0 @@
1
- import * as Effect from "effect/Effect";
2
- import { Capabilities, allows, currentGrants } from "@llm4ts/core/Capability";
3
- import { FlowCapabilityDenied } from "./FlowError.js";
4
- import { FlowEvents, FlowEventsValues } from "./FlowEvents.js";
5
- const capabilityName = (capability) => capability._tag === "Exec" ? `Exec(${capability.command})` : capability._tag;
6
- const shouldAuditUse = (capability) => {
7
- switch (capability._tag) {
8
- case "GitPush":
9
- case "GhWrite":
10
- case "AdoWrite":
11
- case "Exec":
12
- return true;
13
- default:
14
- return false;
15
- }
16
- };
17
- export const guarded = (capability, operation, body) => Effect.gen(function* () {
18
- const events = yield* FlowEvents;
19
- const grants = yield* currentGrants;
20
- const name = capabilityName(capability);
21
- if (!allows(grants, capability)) {
22
- yield* events.publish(FlowEventsValues.CapabilityDenied(name, operation));
23
- return yield* new FlowCapabilityDenied({ capability, operation });
24
- }
25
- if (shouldAuditUse(capability)) {
26
- yield* events.publish(FlowEventsValues.CapabilityUsed(name, operation));
27
- }
28
- return yield* body;
29
- });
30
- export class Classified {
31
- value;
32
- constructor(value) {
33
- this.value = value;
34
- }
35
- static of(value) {
36
- return new Classified(value);
37
- }
38
- map(transform) {
39
- return new Classified(transform(this.value));
40
- }
41
- declassify(label) {
42
- return guarded(Capabilities.Declassify, `declassify ${label}`, Effect.flatMap(FlowEvents, (events) => Effect.as(events.publish(FlowEventsValues.Declassified(label)), this.value)));
43
- }
44
- /** JSON boundaries must use the same sealed representation as text boundaries. */
45
- toJSON() {
46
- return this.toString();
47
- }
48
- toString() {
49
- return "Classified(…)";
50
- }
51
- }
52
- //# sourceMappingURL=Classified.js.map