Repository navigation
Commit b303c21
committed
🧱 Close the generated-XMD durable protocol and state the evaluation profile
Foundation for #713's protected <Evaluate>, not the surface itself. Six things
the amended contract needs before a component can be built on them.
The retained record is versioned. Version 2 tags itself at both the result and
the policy level and carries the Workspace basis as one optional member, because
an ordinary host evaluates against no Workspace and a reader that treated a
missing basis as an empty one would compare those two equal. The untagged #369
record stays readable as version 1, proved against frozen literal records rather
than version-2 records mechanically rewritten — a rewrite proves only that the
rewriter and the reader agree.
Both versions are now closed at every level: policy, Workspace basis, allowed
entry, named invocation, and request. A member this build does not know means a
record written under rules it does not have, so reading the members it
recognizes would admit a grant on terms it never saw. `parseRequestRecord()` is
the wrong reader for a retained ceiling — it ignores unknown members and treats
a malformed timeout as an absent one — so requests read through a closed reader
here instead.
Exact text joins the ceilings a continuation is held to. An admission is a
decision about one fragment; a caller now holding different text is asking for a
decision nobody made, so it refuses rather than silently expanding the retained
copy. GX24/GX24b asserted the superseded behavior and now assert this, with
GX24c as the unchanged-text control.
A Workspace basis is validated where it is stated, not only where it is
compared: non-empty unique roots and a selected root the host retains. A basis
with no roots or a selected root nothing holds is not a stricter grant, it is
nothing for a continuation to be held to.
`ExecutionInstallation.evaluation` carries one host profile, refused in the
plural on the same terms as `symbols`, and reaches canonical expansion on the
private authority. The deep by-value capture, the per-entry request ceilings and
the captured provider operations are the next commit; this one places the
singleton and its carrier.1 parent bb2c1c4 commit b303c21
7 files changed
Lines changed: 911 additions & 82 deletions
File tree
- packages
- core
- src
- components
- tests
- workflow/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
124 | 140 | | |
125 | 141 | | |
126 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
2173 | 2175 | | |
2174 | 2176 | | |
2175 | 2177 | | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
2176 | 2187 | | |
2177 | 2188 | | |
2178 | 2189 | | |
| |||
2361 | 2372 | | |
2362 | 2373 | | |
2363 | 2374 | | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
2364 | 2379 | | |
2365 | 2380 | | |
2366 | 2381 | | |
| |||
2655 | 2670 | | |
2656 | 2671 | | |
2657 | 2672 | | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
2658 | 2690 | | |
2659 | 2691 | | |
2660 | 2692 | | |
| |||
3072 | 3104 | | |
3073 | 3105 | | |
3074 | 3106 | | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
3075 | 3123 | | |
3076 | 3124 | | |
3077 | 3125 | | |
| |||
3123 | 3171 | | |
3124 | 3172 | | |
3125 | 3173 | | |
| 3174 | + | |
3126 | 3175 | | |
3127 | 3176 | | |
3128 | 3177 | | |
| |||
0 commit comments