@treeseed/sdk 0.13.0-rc.127 → 0.13.0-rc.129
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.
- package/README.md +21 -0
- package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +0 -5
- package/dist/content/validation/content-model-schemas.d.ts +8453 -5653
- package/dist/content/validation/content-model-schemas.js +75 -30
- package/dist/content/validation/portable-content-data.d.ts +102 -0
- package/dist/content/validation/schema-constraints.d.ts +1 -1
- package/dist/content/validation/schema-constraints.js +9 -6
- package/dist/operator-contracts/catalog/workdays/selection-commands.js +0 -2
- package/dist/operator-contracts/workday-lifecycle.d.ts +178 -7
- package/dist/operator-contracts/workday-lifecycle.js +31 -21
- package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +15 -0
- package/guarantees/verifiers/golden.verifiers.yaml +28 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,27 @@ agent names, class IDs, class slugs, union matching and unknown fields even on
|
|
|
63
63
|
internal calls. Proposal groups and discussion addressing supply participants;
|
|
64
64
|
the phase selection describes which activities run. Fair allocation weights
|
|
65
65
|
still use the agent's one class and are independent of participation.
|
|
66
|
+
Closeout participation is also group-driven: public workday intent and generated
|
|
67
|
+
commands reject `reportingAgentId` and expose no `--reporting-agent` flag. Existing
|
|
68
|
+
applied plans retain their derived reporting identity as historical authority.
|
|
69
|
+
|
|
70
|
+
## Group contribution proposal contract
|
|
71
|
+
|
|
72
|
+
Current proposal metadata uses `treeseed.proposal/v2`. A proposal requires shared
|
|
73
|
+
`groupIds`; its execution plan contains each subscriber's own work items and
|
|
74
|
+
bounded estimates with rationale. Work items have no agent or class selector.
|
|
75
|
+
Each `estimateRef` names the existing PostgreSQL `assignment-attempt` by its
|
|
76
|
+
admitted ID and attempt ordinal (`revision`), rather than its changing lease state
|
|
77
|
+
version. The API must verify that estimating attempt's actual
|
|
78
|
+
author, current proposal authority, completed result and contribution before
|
|
79
|
+
approval or execution; a syntactically valid reference grants no authority.
|
|
80
|
+
Every subscriber contributes and executes its work, rather than bidding for one
|
|
81
|
+
selected assignment. Dependencies order the contributions and independent review.
|
|
82
|
+
|
|
83
|
+
The validator preserves historical `treeseed.proposal/v1` records unchanged for
|
|
84
|
+
read-back. Schema descriptions default to v2; historical consumers can explicitly
|
|
85
|
+
request the v1 description. This contract does not itself implement participation
|
|
86
|
+
readiness, estimate integration, execution provenance or peer review in the API.
|
|
66
87
|
|
|
67
88
|
## TreeDX API
|
|
68
89
|
|
|
@@ -112,7 +112,6 @@ export declare const workdayScheduleSchema: z.ZodObject<{
|
|
|
112
112
|
proposalIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
113
113
|
decisionIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
114
114
|
groupIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
115
|
-
reportingAgentId: z.ZodOptional<z.ZodString>;
|
|
116
115
|
continueFromWorkdayId: z.ZodOptional<z.ZodString>;
|
|
117
116
|
allocation: z.ZodOptional<z.ZodObject<{
|
|
118
117
|
planningPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -167,7 +166,6 @@ export declare const workdayScheduleSchema: z.ZodObject<{
|
|
|
167
166
|
durationSeconds?: number | undefined;
|
|
168
167
|
projects?: any;
|
|
169
168
|
executionMode?: "simulation" | "production" | undefined;
|
|
170
|
-
reportingAgentId?: string | undefined;
|
|
171
169
|
endsAt?: string | undefined;
|
|
172
170
|
planningOnly?: boolean | undefined;
|
|
173
171
|
objectiveFilters?: string[] | undefined;
|
|
@@ -197,7 +195,6 @@ export declare const workdayScheduleSchema: z.ZodObject<{
|
|
|
197
195
|
durationSeconds?: number | undefined;
|
|
198
196
|
projects?: any;
|
|
199
197
|
executionMode?: "simulation" | "production" | undefined;
|
|
200
|
-
reportingAgentId?: string | undefined;
|
|
201
198
|
endsAt?: string | undefined;
|
|
202
199
|
planningOnly?: boolean | undefined;
|
|
203
200
|
objectiveFilters?: string[] | undefined;
|
|
@@ -227,7 +224,6 @@ export declare const workdayScheduleSchema: z.ZodObject<{
|
|
|
227
224
|
durationSeconds?: number | undefined;
|
|
228
225
|
projects?: any;
|
|
229
226
|
executionMode?: "simulation" | "production" | undefined;
|
|
230
|
-
reportingAgentId?: string | undefined;
|
|
231
227
|
endsAt?: string | undefined;
|
|
232
228
|
planningOnly?: boolean | undefined;
|
|
233
229
|
objectiveFilters?: string[] | undefined;
|
|
@@ -257,7 +253,6 @@ export declare const workdayScheduleSchema: z.ZodObject<{
|
|
|
257
253
|
durationSeconds?: number | undefined;
|
|
258
254
|
projects?: any;
|
|
259
255
|
executionMode?: "simulation" | "production" | undefined;
|
|
260
|
-
reportingAgentId?: string | undefined;
|
|
261
256
|
endsAt?: string | undefined;
|
|
262
257
|
planningOnly?: boolean | undefined;
|
|
263
258
|
objectiveFilters?: string[] | undefined;
|