Skip to content

epic: profiles, delegation, multi-round discussion and model routing #583

Closed
6 of 6 issues completed
Closed

Description

@ajianaz

Goal

One always-on orchestrator with any number of dormant profiles (config + persona only: no process, no tokens) that wake only when the orchestrator delegates. Profiles can collaborate in multi-round discussions without token blow-up, every action stays auditable, and each profile picks a model tier by task weight. Design: docs/profiles-collaboration-secrets.md Part A (A5–A10).

Owner decisions (2026-11-11)

  • One orchestrator (also the maintainer) is always on; other profiles are dormant and activated only through it (@mention is routed by it).
  • No fixed count of live profiles: the owner's prompt sets it; the budget carve (each delegation takes from its parent's remaining budget) is the cap. Supersedes the 2026-10-06 "uncapped multi-agent is anti-DNA / keep depth 1" stance.
  • Depth 2 by default, max 3 below the orchestrator. Every level may write, with worktree isolation, a per-workspace write lease, merges only by the orchestrator with owner approval, approvals bubbling to one surface, and a mandatory report.
  • Discussion: dynamic rounds, default max 4; a two-pass sanitizer per round (deterministic redaction + digest by a cheap-model scribe) that never drops dissent; the orchestrator gate reports, escalates or continues; digests go to hierarchical uteke documents (feat(uteke): parent parameter for uteke_document (hierarchical documents) #576).
  • Every profile and the orchestrator have model tiers (light/standard/heavy + advisor); routing by task weight: RuleRouter baseline, LayaRouter (hosted laya/Jev; on/off = SYSTEMONE_API_KEY + SYSTEMONE_BASE_URL), eval-gated. Advisor enabled (host-side, provider-agnostic).

Owner decisions (2026-11-14)

Design constraints (AGENTS.md)

  • Approver on every non-ReadOnly tool; Destructive unreachable at every depth; child allowlist = parent ∩ profile.
  • Append-only JSONL; the depth limit stays structurally enforced (the tool is not registered past max_depth).
  • Adding code is a last resort: profiles go through the existing config layer.

Phases

Order: #584 → #585 → (#586, #587) → #588; #576 any time before #588. The sanitizer's deterministic pass reuses SecretSet (#595).

Closed 2026-11-15

All phases are merged. Follow-ups live in their own issues: #813 (owner decisions on the [delegation] approvals default and the discussion timeout floor), #756/#786/#804 (discussion timeout, retry and charging, merged).

Out of scope

Group-chat swarms between bots; a durable task board (the A5 ledger adapter) until a user story needs it; chat channels.

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions