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.

I3412 — entity.affected also answers the rules, claims and knowledge records whose declared references name an affected path or issue, and takes a revision range

Extend entity.affected with two relations: the rules, claims and knowledge records whose declared references (file:, issue:) name an input path or a reached issue, read from the references the index already holds; and a revision range, whose changed paths come from git and give the same answer as those paths passed directly. This is the reader I3414 and I3430 use, so no second derivation of the same backlinks is written.

BLOKOVÁNO wave 2 · p2 · implementation profile · parallel safe

Part of an-entity-says-how-it-is-known-and-what-it-affects — One entity read names how its record says it is known and when it was observed, identically on every surface, and what a change affects is derived from the same index.

Blocked. This issue cannot start until I3407, milestone:an-entity-says-how-it-is-known-and-what-it-affects are done. The status is derived from that, not declared.

Cíl

Extend entity.affected with two relations: the rules, claims and knowledge records whose declared references (file:, issue:) name an input path or a reached issue, read from the references the index already holds; and a revision range, whose changed paths come from git and give the same answer as those paths passed directly. This is the reader I3414 and I3430 use, so no second derivation of the same backlinks is written.

Proč

The owner's 2026-10-19 Cognitive Fabric pack asks for the knowledge and rules a change affects to be found from existing references, and for a git-only change to reconcile only the impacted graph (campaigns/prismatic-way-cognitive-fabric-prompt-pack/prompts/02_EVENTS_INTENTS.md, prompts/03_KNOWLEDGE.md).

Aktuální stav

Knowledge references admit knowledge, rule, adr and issue targets (knowledge_base.rs:1010), and curated notes cite file: and issue: references. No capability reverses them for a path. I3318 plans reverse edges on /ui from the entity layer.

Cílový stav

One answer names every record that cites an affected path or issue, with the relation that reached it.

Rozsah

  • apps/majordomus-cli/src/entity.rs
  • apps/majordomus-cli/src/capability/builtin/entity.rs
  • apps/majordomus-cli/tests/objects.rs
  • docs/generated/registry.json
  • docs/generated/registry.yaml
  • docs/generated/openapi.json
  • docs/generated/openapi.yaml
  • docs/generated/modules/entity.md
  • site/data/generated/openapi.json
  • site/data/registry/registry.json

Mimo rozsah

  • The /ui reverse-edge view (I3318)
  • Writing any reference
  • A filesystem watcher

Závislosti

Co na tom čeká

Kritéria přijetí

  • A knowledge record whose related names a file answers under that file with relation cites
  • A rule naming an issue reached through scope answers with relation cites_issue
  • A revision range answers the same set as its changed paths given directly
  • repository_scans and index_builds read the same before and after a call

Validace

  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test objects
  • bin/majordomus-cli generate --check

Požadované důkazy

  • test_records_naming_a_path_are_affected

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/I3412.yaml. Read it back with majordomus plan show I3412.

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