I3172 — The compiled context names the small set of capabilities the work needs
Add a selector over the capability registry so a compiled context lists the capabilities relevant to the request's scope and kinds, each with its reason, within the budget.
PŘIPRAVENO vlna 0 · p3 · profil implementation · 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 I3172 bude přijato.
Cíl
Add a selector over the capability registry so a compiled context lists the capabilities relevant to the request's scope and kinds, each with its reason, within the budget.
Proč
2026-10-11: avoid overloading the model with the full catalogue (2527 capabilities on this repository on 2026-10-18, from majordomus capabilities). 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:c226#16.
Aktuální stav
devcontext selects layer objects; capabilities are not candidates.
Cílový stav
A bounded, explained tool subset.
Rozsah
- apps/majordomus-cli/src/devcontext
- apps/majordomus-cli/src/capability/registry.rs
- apps/majordomus-cli/src/capability/model.rs
- apps/majordomus-cli/src/capability/handler.rs
- apps/majordomus-cli/src/capability/builtin/devcontext.rs
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- A request about a path lists the capabilities that read or write it, with reasons
- The list respects the budget
Validace
- cargo test --manifest-path apps/majordomus-cli/Cargo.toml --lib devcontext::
Požadované důkazy
- test_context_tool_subset
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/I3172.yaml. Read it back with majordomus plan show I3172.