Přeskočit na obsah

Tato stránka byla automaticky přeložena z angličtiny, jediného jazyka, ve kterém se tento web píše. Číst originál.

plan.next

Úkol READY s nejnižší vlnou aktivního milníku, nejdřív s nejvyšší prioritou, pak podle id. Aktivní milník může mít nic připraveného, zatímco jiný ano — třeba ten, který čeká na vlastní důkazy přijetí — takže se hledání rozšíří na celý plán, místo aby odpovědělo `none` a odeslalo pracovníka pryč od práce, která je skutečně proveditelná. Na tohle se agent ptá, než začne.

Úkol READY s nejnižší vlnou aktivního milníku, nejdřív s nejvyšší prioritou, pak podle id. Aktivní milník může mít nic připraveného, zatímco jiný ano — třeba ten, který čeká na vlastní důkazy přijetí — takže se hledání rozšíří na celý plán, místo aby odpovědělo `none` a odeslalo pracovníka pryč od práce, která je skutečně proveditelná. Na tohle se agent ptá, než začne.

  • query
  • behaviorally_verified
  • modul plan
  • #plan
  • #project
  • #next

Zpřístupnění

Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.

povrchjako
MCPnástroj majordomus_plan_next
HTTPGET /api/v1/plan/next operationId plan.next
příkazová řádka—

Schémata

Kanonický vstup a výstup z typů Rustu; schéma nástroje MCP a parametry a odpovědi OpenAPI se odvozují z nich.

vstup · PlanMilestoneFilter

Na kterou část plánu odpovědět.
vlastnosttyppovinnépopis
milestone string | null ne Omezit odpověď na jeden milník. Výchozí: celý plán, a pro next aktivní milník se zbytkem plánu jako zálohou.
JSON Schema
{
  "additionalProperties": false,
  "description": "Which part of the plan to answer about.",
  "properties": {
    "milestone": {
      "description": "Restrict the answer to one milestone. Default: the whole plan, and for `next` the\nactive milestone with the rest of the plan as the fallback.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "title": "PlanMilestoneFilter",
  "type": "object"
}

output · PlanNextIssue

Jediný úkol, který má pracovník teď převzít.
vlastnosttyppovinnépopis
active_milestone string ano Milník, v němž hledání začalo.
issue jedno ze 2 ne Úkol, pokud plán nějaký spustitelný má.
důvod string | null ne Proč žádná není, když není: co spustit, abyste viděli, co v cestě stojí.
JSON Schema
{
  "$defs": {
    "PlanIssue": {
      "description": "One issue, as its record declares it and as the graph derives it.",
      "properties": {
        "blocked_by": {
          "description": "The dependencies that are not DONE, plus `milestone:<id>` when the milestone gate\nholds the whole outcome back.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "completed_at": {
          "description": "When completion was recorded.",
          "type": "string"
        },
        "dependents": {
          "description": "The issues that depend on this one.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "depends_on": {
          "description": "Every issue it declares a dependency on, as declared — including one that does not\nexist, which is a finding rather than a silent omission.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "evidence_have": {
          "description": "Evidence entries attached.",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "evidence_need": {
          "description": "Evidence tokens the record requires before it may be DONE.",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        },
        "id": {
          "description": "The identity, which is also the file name.",
          "type": "string"
        },
        "milestone": {
          "description": "The milestone it belongs to.",
          "type": "string"
        },
        "objective": {
          "description": "One line: what the issue is for.",
          "type": "string"
        },
        "parallel_safe": {
          "description": "Whether it may run beside another issue of its wave.",
          "type": "boolean"
        },
        "priority": {
          "description": "`p0` … `p3`.",
          "type": "string"
        },
        "profile": {
          "description": "The execution profile the issue is worked under.",
          "type": "string"
        },
        "scope": {
          "description": "The paths it touches; two issues of one wave that share a path are serialised.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "serves": {
          "description": "The intent criteria it exists to make true, each `<intent>#<criterion>`, as declared.\nEmpty for maintenance work under a milestone no intent names; whether a named\ncriterion exists is the intent coverage's question, not the plan's.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "slug": {
          "description": "The slug, when the record carries one.",
          "type": "string"
        },
        "started_at": {
          "description": "When execution began, when it did.",
          "type": "string"
        },
        "status": {
          "description": "The derived status. Never stored: an issue records what happened to it and the\nstatus follows from that and from the state of its dependencies.",
          "type": "string"
        },
        "title": {
          "description": "One line naming the outcome.",
          "type": "string"
        },
        "verified_at": {
          "description": "When implementation was declared complete.",
          "type": "string"
        },
        "wave": {
          "description": "The execution wave: one past the longest path to it through the dependency graph.",
          "format": "uint32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "id",
        "milestone",
        "status",
        "wave",
        "priority",
        "profile",
        "parallel_safe",
        "title",
        "slug",
        "depends_on",
        "blocked_by",
        "dependents",
        "scope",
        "serves",
        "objective",
        "evidence_have",
        "evidence_need",
        "started_at",
        "verified_at",
        "completed_at"
      ],
      "type": "object"
    }
  },
  "description": "The one issue a worker should take now.",
  "properties": {
    "active_milestone": {
      "description": "The milestone the search started in.",
      "type": "string"
    },
    "issue": {
      "anyOf": [
        {
          "$ref": "#/$defs/PlanIssue"
        },
        {
          "type": "null"
        }
      ],
      "description": "The issue, when the plan has one that is executable."
    },
    "reason": {
      "description": "Why there is none, when there is none: what to run to see what is in the way.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "active_milestone"
  ],
  "title": "PlanNextIssue",
  "type": "object"
}

Politiky

benchmark
povinné — cíl na každém transportu, který expozice deklaruje; případy jsou ty ze vstupního typu
cache
generation: až 16 záznamů v procesu, vymezených otiskem registru a čtením repozitáře kontextem

Cíle benchmarku

Odvozeno z registru pro tento repozitář: jeden požadavek na transport a případy, které poskytuje typ vstupu. Celá matice je na stránce měření výkonu.

transportstatepřípadytargets
directpokryto2whole-plan studený+teplý
one-milestone studený+teplý
mcppokryto2whole-plan studený+teplý
one-milestone studený+teplý
httppokryto2whole-plan studený+teplý
one-milestone studený+teplý

Prohledává názvy a popisy všech stránek, které tento web publikuje.