feat(org): add unified v0.2 dispatch entry with Oracle routing

This commit is contained in:
Chen Gu
2026-08-13 17:00:21 +08:00
parent bfdb8fcd79
commit 689105ee10
@@ -0,0 +1,86 @@
{
"version": "v0.2-unified",
"updated_at": "2026-03-09T12:50:00+08:00",
"entrypoint": "oracle",
"global": {
"max_concurrency": 3,
"queue_limit": 20,
"failure_streak_degrade_to": 1,
"priority_order": ["urgent", "high", "normal", "low"]
},
"oracle": {
"classification": {
"simple": {
"signals": ["single_step", "low_risk", "no_external_send", "no_irreversible_action", "known_tool_path"],
"route": ["val", "helix"],
"audit_mode": "sentinel_fast_optional",
"budget_tier": "low",
"max_concurrency": 3
},
"medium": {
"signals": ["multi_step", "moderate_risk", "workspace_changes", "clear_acceptance_criteria"],
"route": ["helix", "sentinel", "anvil"],
"audit_mode": "sentinel_required",
"budget_tier": "medium",
"max_concurrency": 2
},
"complex": {
"signals": ["cross_system_or_channel", "privacy_or_permission_boundary", "irreversible_or_high_impact", "high_uncertainty", "long_horizon_dependency_graph"],
"route": ["helix", "sentinel", "anvil", "prism"],
"audit_mode": "sentinel_strict",
"budget_tier": "high",
"max_concurrency": 1,
"must_escalate_to_user": true
}
},
"overrides": {
"force_complex_if": ["external_send", "irreversible_action", "privacy_boundary_crossing", "budget_threshold_exceeded"],
"force_medium_if": ["code_or_config_change", "requires_exec_or_edit"]
}
},
"roles": {
"helix": {
"stage": "draft",
"max_concurrency": 2,
"allowed_tools": ["read", "web_search", "web_fetch", "memory_search", "sessions_spawn", "sessions_send"],
"forbidden_actions": ["external_send", "irreversible_change"]
},
"sentinel": {
"stage": "audit",
"max_concurrency": 2,
"allowed_tools": ["read", "memory_search", "session_status"],
"audit_decisions": ["PASS", "SOFT_BLOCK", "HARD_BLOCK"]
},
"anvil": {
"stage": "execute",
"max_concurrency": 2,
"allowed_tools": ["read", "write", "edit", "exec", "process"],
"requires_audit": "PASS"
},
"prism": {
"stage": "reliability",
"enabled": "phase1_upgrade",
"responsibility": ["failure_diagnosis", "retry_strategy", "rollback_plan", "self_healing_suggestion"]
}
},
"routing": [
{ "when": "new_task", "to": "oracle" },
{ "when": "oracle.simple", "to": ["val", "helix"] },
{ "when": "oracle.medium", "to": ["helix", "sentinel", "anvil"] },
{ "when": "oracle.complex", "to": ["helix", "sentinel", "anvil", "prism"] },
{ "when": "sentinel.SOFT_BLOCK", "to": "helix" },
{ "when": "sentinel.HARD_BLOCK", "to": "val.report" }
],
"escalation": {
"must_escalate_if": ["external_send", "irreversible_action", "privacy_boundary_crossing", "budget_threshold_exceeded", "audit_uncertainty_high"],
"double_sign_rule": {
"required": ["sentinel", "bastion"],
"proxy_if_bastion_missing": "val"
}
},
"atlas": {
"base_path": "org/knowledge/atlas",
"write_targets": ["task_history", "decision_log", "failure_patterns", "user_prefs"],
"policy": "structured_records_only"
}
}