Commit 38690c9
V48 Gate 3: Run AssetPacksSynthesis through the formal pipeline (retire the hand-rolled inference)
synthesizeAssetPackCandidates now delegates inference to synthesizeAssetPackCandidatesFormal (the real PipelineExecution -> factoryAgent -> Failsafe of Thricified spine) instead of runBoundedStructuredInference. This module keeps what it owns: the deposit/read lens contract, the candidate schema, fail-closed exclusion/path validation, measurement-catalog mapping, and inference accounting.
- request.execution is now a real execution-generics Execution (the deposit route's streaming Execution); a detached root Execution is created when absent. SourceSafeStreamTarget and the in-module usage-recorder / source-safe-summary bridge are retired — telemetry source-safety is now the universal streaming filter (chunk A).
- Added assertSourceSafeCandidates: defense-in-depth local source-safety assertion (Garrett's 'keep local assert') that fails closed if any candidate's prose carries a verbatim source line (>= 40 chars) from the excerpts.
- deposit-option-real-synthesis adapter + route status wording updated; synthesis test repoints its mock from bounded-structured-inference to asset-packs-synthesis-pipeline (5/5 green).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 008180a commit 38690c9
4 files changed
Lines changed: 108 additions & 190 deletions
File tree
- packages/pipelines/asset-pack/src
- __tests__
- uapi/app/api/deposit/synthesize-options
Lines changed: 22 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
| |||
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
66 | | - | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| |||
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
89 | | - | |
90 | | - | |
| 98 | + | |
| 99 | + | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
94 | | - | |
95 | | - | |
| 103 | + | |
| 104 | + | |
96 | 105 | | |
97 | 106 | | |
98 | 107 | | |
| |||
110 | 119 | | |
111 | 120 | | |
112 | 121 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
116 | 125 | | |
117 | 126 | | |
118 | 127 | | |
| |||
134 | 143 | | |
135 | 144 | | |
136 | 145 | | |
137 | | - | |
| 146 | + | |
138 | 147 | | |
139 | 148 | | |
140 | 149 | | |
| |||
0 commit comments