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.

I3666 — Spend against a funding source is observed from a named vendor seam or recorded absent, and no balance is derived from a price

Give each held source a spend figure that is observed only when a vendor seam named in share/models.yaml with dated evidence reports it; otherwise record it absent with the reason (for an individual account: the vendor's cost report is not available to it), and refuse in economics check any remaining-credit or spent-credit figure computed from tokens and a price.

ZRUŠENO vlna 2 · p3 · implementační profil · bezpečné paralelně

Part of every-model-call-is-paid-from-a-declared-source — How a model call Majordomus starts can be paid is declared by the vendor with evidence, and each call names the source it was declared to draw on.

Cíl

Give each held source a spend figure that is observed only when a vendor seam named in share/models.yaml with dated evidence reports it; otherwise record it absent with the reason (for an individual account: the vendor's cost report is not available to it), and refuse in economics check any remaining-credit or spent-credit figure computed from tokens and a price.

Proč

The owner will ask how much of the monthly grant is left. Majordomus holds no price list (share/models.yaml), and I3292's dated vendor claims say the cost report is unavailable to individual accounts, so the honest answer today is absent with that reason; a derived balance would be an estimate shown as a fact, which docs/ECONOMICS.md and ADR 0213 forbid.

Aktuální stav

No spend per source exists; economics check refuses typed quantities in prose.

Cílový stav

Spend per source reads observed with its seam, or absent with its reason; a derived balance is refused.

Rozsah

  • apps/majordomus-cli/src/economics
  • share/models.yaml
  • docs/ECONOMICS.md

Závislosti

Co na tom čeká

Kritéria přijetí

  • With no seam declared, every held source's spend reads absent with the reason, never zero
  • A surface showing a remaining-credit figure derived from tokens is refused by economics check (test)
  • A seam, once declared with evidence, yields observed spend from a recorded fixture

Validace

  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test economics
  • majordomus economics check

Požadované důkazy

  • test_funding_spend_without_a_seam_is_absent

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á.

Zpráva o dokončení

Cancelled 2026-10-21 on feature/intent-funding-sources by the plan's critique (finding spend-seam-is-speculative-and-misplaced): no vendor seam reports spend to an individual account (I3292's dated vendor claims), so the seam scaffolding would have no real counterpart, ADR 0213 declares seams in share/providers.yaml rather than the model catalogue, and refusing a derived balance on generated and UI surfaces is I3297's work. Reopen when a seam is evidenced.

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

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