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.

I3308 — Zed validates and completes .ai files against the repository's own schemas

Project YAML and JSON schema associations from share/schemas onto .zed/settings.json through the existing Zed adapter, so .ai records get validation and hover in the editor.

PŘIPRAVENO vlna 0 · p3 · profil implementation · bezpečné paralelně

Part of a-provider-carries-the-contract-natively — Each agent client carries the contract through its own extension points, generated once and checked for drift.

Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I3308 bude přijato.

Cíl

Project YAML and JSON schema associations from share/schemas onto .zed/settings.json through the existing Zed adapter, so .ai records get validation and hover in the editor.

Proč

The Zed adapter projects skills and workflows (ADR 0140) but not the schema associations the owner's design asked for (10-11). Rebound to the new intent criterion #editor-validates-the-layer (Zed validates .ai records against the layer's schemas through generated associations). It does not serve #one-plugin, which it cannot make true. Proposed in ADR 0214 (A provider's native extension points carry the contract as generated projections; Majordomus neither embeds nor patches the worker's runtime) (proposed; it carries no authority until the owner accepts it). Sources: chatgpt-majordomus:c222#2.

Aktuální stav

apps/majordomus-cli/src/editors/zed.rs has no schema association.

Cílový stav

Associations derived from share/kinds.yaml; generate --check holds them.

Rozsah

  • apps/majordomus-cli/src/editors/zed.rs

Závislosti

Žádné. Tento úkol je kořenem grafu.

Kritéria přijetí

  • Every kind with a schema has an association
  • A new kind gains one with no edit to the adapter

Validace

  • majordomus generate --check
  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --lib editors::zed

Požadované důkazy

  • test_zed_schema_associations

Důkazy

Nic nezaznamenáno. Za každým tokenem výše musí stát příkaz nebo artefakt, než lze tento úkol dokončit; vyprávění se odmítá.

Časová osa

zahájeno
—
ověřeno
—
dokončeno
—

Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.

Canonical record: .ai/repo/project/issues/I3308.yaml. Read it back with majordomus plan show I3308.

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