You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: worker_plan/worker_plan_internal/lever/enrich_potential_levers.py
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -135,15 +135,15 @@ class InputLever(BaseModel):
135
135
136
136
classLeverCharacterization(BaseModel):
137
137
"""Structured response for a single lever's enrichment from the LLM."""
138
-
lever_id: str=Field(description="The uuid of the lever")
138
+
lever_id: str=Field(description="The id of the lever — copy it verbatim from the prompt, without XML tags")
139
139
description: str=Field(
140
-
description="A comprehensive description (80-100 words) of the lever's purpose, scope, and key success metrics."
140
+
description="A concise description (50-70 words) of the lever's purpose, scope, and key success metrics. Add new insight beyond what consequences and review already state."
141
141
)
142
142
synergy_text: str=Field(
143
-
description="A free-form text (40-60 words) describing this lever's most prominent synergistic effects with other levers in the full list. Name the specific levers it enhances."
143
+
description="A brief text (20-40 words) naming one or two other levers this lever amplifies or enables, and why."
144
144
)
145
145
conflict_text: str=Field(
146
-
description="A free-form text (40-60 words) describing this lever's most prominent conflicts or trade-offs with other levers in the full list. Name the specific levers it constrains."
146
+
description="A brief text (20-40 words) naming one or two other levers this lever constrains or trades off against, and why."
147
147
)
148
148
149
149
classBatchCharacterizationResult(BaseModel):
@@ -167,10 +167,12 @@ class CharacterizedLever(InputLever):
167
167
168
168
**Full Context:** You will be given the overall project plan and the FULL list of ALL levers for context. You must analyze each lever in the batch against this full list.
169
169
170
+
**Lever identifiers:** Each lever's id is wrapped in `<lever>...</lever>` XML tags. For `lever_id` in your response, copy the id verbatim from inside the tags — strip the XML tags but do not alter the id itself.
171
+
170
172
**Output Requirements (for each lever in the batch):**
171
-
1. **`description`:** (80-100 words) Clearly explain the lever's purpose, what it controls, its objectives, and key success metrics.
172
-
2. **`synergy_text`:** (40-60 words) Describe its most important POSITIVE interactions. How does this lever amplify or enable others? You MUST explicitly name one or two other levers from the full list that it has strong synergy with.
173
-
3. **`conflict_text`:** (40-60 words) Describe its most important NEGATIVE interactions or trade-offs. What difficult choices does this lever create? Which other levers does it constrain? You MUST explicitly name one or two other levers from the full list that it has a strong conflict with.
173
+
1. **`description`:** (50-70 words) Explain the lever's purpose, scope, and key success metrics. Add new insight beyond what the consequences and review fields already state.
174
+
2. **`synergy_text`:** (20-40 words) Name one or two other levers from the full list that this lever amplifies or enables, and briefly explain why.
175
+
3. **`conflict_text`:** (20-40 words) Name one or two other levers from the full list that this lever constrains or trades off against, and briefly explain why.
174
176
175
177
In `synergy_text` and `conflict_text`, always refer to other levers by their name — for example, write "Policy Advocacy Strategy", not an identifier.
0 commit comments