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.

I3171 — The compiled context names source ranges with their reason and confidence, not only whole objects of the layer

Extend devcontext so a request with scope paths yields source entries (path, line range, symbol where known, reason, confidence, cost) beside layer objects, and measure the tokens saved against whole-file reading on a large file.

PŘIPRAVENO vlna 0 · p3 · profil deep-work · bezpečné paralelně

Součást development-runtime — The runtime has a development surface.

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

Cíl

Extend devcontext so a request with scope paths yields source entries (path, line range, symbol where known, reason, confidence, cost) beside layer objects, and measure the tokens saved against whole-file reading on a large file.

Proč

2026-10-13: a discovery delegate should return a manifest of paths, symbols and ranges rather than file contents, keeping the parent's context small. devcontext's ContextEntry is a layer object with provenance (devcontext/model.rs). Milestone development-runtime is named by no intent, so this issue is derived maintenance and serves no criterion (intent-bound-work#exemption-is-typed). Sources: chatgpt-majordomus:c252#2, chatgpt-majordomus:c252#5.

Aktuální stav

Entries are layer objects only.

Cílový stav

Source-range entries with provenance, budgeted like the rest.

Rozsah

  • apps/majordomus-cli/src/devcontext
  • apps/majordomus-cli/src/capability/builtin/devcontext.rs
  • docs/CONTEXT.md

Mimo rozsah

  • An LSP dependency

Závislosti

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

Kritéria přijetí

  • A large-file request is answered by ranges
  • The measured cost is lower than whole-file reading and the answer says by how much

Validace

  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --lib devcontext::

Požadované důkazy

  • test_context_source_ranges

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

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