I3663 — An Anthropic API advisor is declared, so a held Anthropic credit grant can pay for review
Declare an advisor in share/advisors.yaml reached over the Anthropic Messages API through the vendor's credential variable, with a model from share/models.yaml (claude-opus-5-5, which this issue adds to the catalogue with its provenance) and an adapter scripts/lib/advisors/anthropic-messages.mjs that speaks the same contract as openai-chat.mjs; reasoning check resolves it, and an absent credential reads not_configured (rule project.advisors-are-optional). No Rust change: the advisor is data and an adapter.
PŘIPRAVENO vlna 0 · p2 · implementační profil · bezpečné paralelně
Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I3663 bude přijato.
Cíl
Declare an advisor in share/advisors.yaml reached over the Anthropic Messages API through the vendor's credential variable, with a model from share/models.yaml (claude-opus-5-5, which this issue adds to the catalogue with its provenance) and an adapter scripts/lib/advisors/anthropic-messages.mjs that speaks the same contract as openai-chat.mjs; reasoning check resolves it, and an absent credential reads not_configured (rule project.advisors-are-optional). No Rust change: the advisor is data and an adapter.
Proč
share/advisors.yaml reaches OpenAI through its API credential but declares no Anthropic API advisor, so the API credits the owner's Max plan includes pay for nothing Majordomus does. The advisor contract (ADR 0098) already makes absence a status. An Anthropic advisor reviewing work a Claude session wrote shares the author's model family: reasoning policy counts independence only among advisors (reasoning/policy.rs), so the advisor's note says so and nothing here claims it as independent of a Claude author (critique finding anthropic-advisor-is-not-independent-of-a-claude-author).
Aktuální stav
Advisors: chatgpt (openai API), gemini and codex (CLI), ollama and lmstudio (local), mesh peers; no Anthropic API advisor.
Cílový stav
An Anthropic API advisor exists, reasoning check resolves it, and it reads not_configured without its credential.
Rozsah
- share/advisors.yaml
- scripts/lib/advisors
- share/models.yaml
- docs/generated
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- The adapter passes the advisor contract suite against a recorded fixture answer, with no network
- With ANTHROPIC_API_KEY unset, reasoning advisors reports the advisor not_configured
- The adapter never logs, stores or echoes the credential or the prompt body
- The advisor's note states that it shares a Claude author's model family
Validace
- node --test scripts/lib/advisors/contract.test.mjs
- env -u MAJORDOMUS_SHARE majordomus reasoning check
Požadované důkazy
- anthropic api adapter: request normalisation, credential, usage
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/I3663.yaml. Read it back with majordomus plan show I3663.