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.

continuity.publish

Promítne nejnovější záznam předávky do přenosného záznamu — tělo předávky, identitu repozitáře a zařízení, epizodu, zdrojový stav (branch, commit a u špinavého stromu změněné cesty a otisk, nikdy jejich obsah), úlohu a její rozhodnutí a záznam, který dále vede — odmítne ho, pokud některá hodnota nese přihlašovací údaj, tajnou hodnotu prostředí nebo cestu na disku tohoto stroje, podepíše ho meshovým klíčem zařízení a přidá do refs/majordomus/continuity. Nedotýká se žádné branche, indexu ani pracovního stromu a nepoužívá síť: publikuje ho až sync.

Promítne nejnovější záznam předávky do přenosného záznamu — tělo předávky, identitu repozitáře a zařízení, epizodu, zdrojový stav (branch, commit a u špinavého stromu změněné cesty a otisk, nikdy jejich obsah), úlohu a její rozhodnutí a záznam, který dále vede — odmítne ho, pokud některá hodnota nese přihlašovací údaj, tajnou hodnotu prostředí nebo cestu na disku tohoto stroje, podepíše ho meshovým klíčem zařízení a přidá do refs/majordomus/continuity. Nedotýká se žádné branche, indexu ani pracovního stromu a nepoužívá síť: publikuje ho až sync.

Zpřístupnění

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

povrchjako
MCPnástroj majordomus_continuity_publish
HTTPPOST /api/v1/continuity/publish operationId continuity.publish
příkazová řádkamajordomus continuity publish

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 · PublishInput

Vstup continuity.publish.
vlastnosttyppovinnépopis
handover string | null ne Název souboru záznamu předávky v .ai/local/state/handovers/; když chybí, nejnovější.
issue string | null ne Úkol, ke kterému práce patří (#184, I0042).
milestone string | null ne Milník, do něhož patří.
JSON Schema
{
  "additionalProperties": false,
  "description": "The input of `continuity.publish`.",
  "properties": {
    "handover": {
      "description": "The file name of a handover record under `.ai/local/state/handovers/`; the newest\nwhen absent.",
      "type": [
        "string",
        "null"
      ]
    },
    "issue": {
      "description": "The issue the work belongs to (`#184`, `I0042`).",
      "type": [
        "string",
        "null"
      ]
    },
    "milestone": {
      "description": "The milestone it belongs to.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "title": "PublishInput",
  "type": "object"
}

výstup · Published

Odpověď continuity publish.
vlastnosttyppovinnépopis
handover string ano Záznam předávky, ze kterého byl přečten, relativně k checkoutu.
next array ano Co bude dál: záznam se na jiný stroj dostane jen přes synchronizaci.
record reference ano Záznam.
tip string ano Commit lokální reference.
zapsáno boolean ano False, když táž předávka na tomtéž zdrojovém stavu už byla záznamem, na němž tento checkout stojí: nic nového se nezapsalo.
JSON Schema
{
  "$defs": {
    "Device": {
      "description": "The device a record was written on: the mesh node key's id and the label its identity\nfile carries. The label is presentation; the node id is identity.",
      "properties": {
        "label": {
          "description": "The display label of the device's identity file (`macbook-pro`), or the first eight\nhex of its node id when it has none.",
          "type": "string"
        },
        "node": {
          "description": "The node id: the first 32 hex of the SHA-256 of the device's Ed25519 public key.",
          "type": "string"
        }
      },
      "required": [
        "node",
        "label"
      ],
      "type": "object"
    },
    "RecordView": {
      "description": "One record as every surface shows it.",
      "properties": {
        "age_minutes": {
          "description": "Minutes since then, by this machine's clock; absent when either clock's reading is\nunusable.",
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "branch": {
          "description": "The branch it was written on.",
          "type": [
            "string",
            "null"
          ]
        },
        "changed_total": {
          "description": "How many paths differed from HEAD at the origin.",
          "format": "uint",
          "minimum": 0,
          "type": "integer"
        },
        "device": {
          "$ref": "#/$defs/Device",
          "description": "The device that published it."
        },
        "head": {
          "description": "The commit it was written at.",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "description": "The record id.",
          "type": "string"
        },
        "issue": {
          "description": "The issue.",
          "type": [
            "string",
            "null"
          ]
        },
        "line": {
          "description": "Its line.",
          "type": "string"
        },
        "objective": {
          "description": "The handover's `# Objective`, first line.",
          "type": "string"
        },
        "parent": {
          "description": "The record it continues.",
          "type": [
            "string",
            "null"
          ]
        },
        "published_at": {
          "description": "When it was published, by the publisher's clock.",
          "type": "string"
        },
        "session": {
          "description": "The episode it was published from.",
          "type": [
            "string",
            "null"
          ]
        },
        "task": {
          "description": "The task's title: the intent.",
          "type": [
            "string",
            "null"
          ]
        },
        "this_device": {
          "description": "Whether that device is this one.",
          "type": "boolean"
        },
        "trust": {
          "$ref": "#/$defs/Trust",
          "description": "Whether its signer is trusted here."
        },
        "working_tree": {
          "$ref": "#/$defs/WorkingTree",
          "description": "Clean or dirty at the origin."
        }
      },
      "required": [
        "id",
        "line",
        "device",
        "this_device",
        "trust",
        "working_tree",
        "changed_total",
        "published_at"
      ],
      "type": "object"
    },
    "Trust": {
      "description": "Whether the device that signed a record is one this repository trusts.",
      "oneOf": [
        {
          "const": "this_device",
          "description": "This device signed it.",
          "type": "string"
        },
        {
          "const": "trusted",
          "description": "The mesh declaration's trust list admits the key.",
          "type": "string"
        },
        {
          "const": "untrusted",
          "description": "The mesh declaration exists and does not admit the key: never resumed from.",
          "type": "string"
        },
        {
          "const": "undeclared",
          "description": "The repository declares no mesh, so no list exists to check the key against. The\nsignature still binds the record to its key; the plan warns.",
          "type": "string"
        }
      ]
    },
    "WorkingTree": {
      "description": "Whether the working tree had changes git does not hold in a commit.",
      "oneOf": [
        {
          "const": "clean",
          "description": "Nothing outside HEAD.",
          "type": "string"
        },
        {
          "const": "dirty",
          "description": "Modified, staged or untracked files that HEAD does not hold.",
          "type": "string"
        }
      ]
    }
  },
  "description": "The answer of `continuity publish`.",
  "properties": {
    "handover": {
      "description": "The handover record it was read from, relative to the checkout.",
      "type": "string"
    },
    "next": {
      "description": "What is next: the record reaches another machine only through a sync.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "record": {
      "$ref": "#/$defs/RecordView",
      "description": "The record."
    },
    "tip": {
      "description": "The local ref's commit.",
      "type": "string"
    },
    "written": {
      "description": "False when the same handover at the same source state was already the record this\ncheckout stands on: nothing new was written.",
      "type": "boolean"
    }
  },
  "required": [
    "record",
    "written",
    "tip",
    "handover",
    "next"
  ],
  "title": "Published",
  "type": "object"
}

Politiky

benchmark
waived — prominuto: destructive
cache
vypnuto — každé volání spustí handler

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
directprominuto (destruktivní)0
mcpprominuto (destruktivní)0
httpprominuto (destruktivní)0

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