From 9a6c34f2b4ed1607212cb4d0f1bd8705267e8106 Mon Sep 17 00:00:00 2001 From: Nova_2761 Date: Thu, 12 Mar 2026 03:54:44 +0000 Subject: [PATCH] =?UTF-8?q?Sprint=2054:=20add=20depends=5Fon=20sequencing?= =?UTF-8?q?=20=E2=80=94=20adjudicate=5Ftenant=20waits=20for=20research,=20?= =?UTF-8?q?create=5Fcompany=20waits=20for=20adjudication?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/planning.yml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/templates/planning.yml b/templates/planning.yml index d84dcdc..4cf0ffb 100644 --- a/templates/planning.yml +++ b/templates/planning.yml @@ -2,13 +2,10 @@ name: planning description: "Crimson Leaf executive planning — boardroom deliberation, structured task breakdown, child task dispatch." debug: true system: agent_prompt - participant_prompt: - "= identity.md" - agent_prompt: - "= identity.md" - sections: - agent - project @@ -20,7 +17,6 @@ sections: - templates - message - instructions - steps: - type: think rotate_participants: true @@ -65,6 +61,11 @@ steps: Do NOT split charter design, CEO recruitment, and company creation into separate tasks. The create_company template handles the full flow internally. + SEQUENCING RULE: + - adjudicate_tenant and create_company tasks MUST wait for all prior research tasks. + They cannot run until market_intelligence, portfolio_architectural_review, and + write_charter are all complete. This MUST be expressed using depends_on in the task list. + Be specific about agent assignments — use EXACT names from the TEAM ROSTER. When the group has genuinely agreed on a complete plan, include exactly: @@ -87,6 +88,9 @@ steps: - agents: EXACT name(s) from TEAM ROSTER - task_type: MUST be one of the valid template names listed below - priority: 1 (critical) to 5 (nice-to-have) + - depends_on: list of task_name values this task must wait for before it can start. + Use the EXACT task_name strings of the blocking tasks. + Omit this field entirely if this task has no blockers. Order tasks correctly — blockers before dependents. No ambiguous assignments. No placeholder names. @@ -97,9 +101,14 @@ steps: audit_tenant, charter_audit, financial_audit, capital_allocation_audit, retire_tenant, adjudicate_tenant, quick - RULES: + MANDATORY SEQUENCING RULES: + - adjudicate_tenant MUST have depends_on listing ALL research/charter tasks. + Valerius cannot adjudicate without completed research and a charter. + Example: depends_on: ["Market Intelligence", "Portfolio Architectural Review", "Write Charter"] + - create_company MUST have depends_on that includes the adjudicate_tenant task. + A company must NOT be created until adjudication passes. + Example: depends_on: ["Adjudicate Tenant"] - Do NOT emit planning or boardroom tasks. Deliberation already happened above. - - For create_company: emit ONE task with the full opportunity in the description. - type: package packet_type: PlanningResponsePacket @@ -111,10 +120,12 @@ steps: - "string — EXACT agent name from TEAM ROSTER" task_type: "string — MUST be a template name from the valid list" priority: "integer 1 (critical) to 5 (nice-to-have)" + depends_on: + - "string — exact task_name of a blocking task (omit this field if no dependencies)" insert_children: true - type: close rag_update: false adjudication: - enabled: false + enabled: false \ No newline at end of file