Skip to content

I3664 — doctor and the brief tell the owner a held funding source no credential reaches, with the vendor's claim link

Add a typed check (ADR 0069) that doctor and the brief read: for each source the owner holds (I3661) whose credential variable is unset, name the vendor, the source, the vendor's claim link and the date of its evidence; say it once per renewal period, and say nothing for a source the owner declares they do not hold.

CANCELLED wave 2 · p3 · implementation profile · parallel safe

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.

Objective

Add a typed check (ADR 0069) that doctor and the brief read: for each source the owner holds (I3661) whose credential variable is unset, name the vendor, the source, the vendor's claim link and the date of its evidence; say it once per renewal period, and say nothing for a source the owner declares they do not hold.

Why

A credit grant that is never claimed, or claimed but never wired to a credential, is money the owner already pays for and nothing uses. Majordomus cannot claim it and must not sign in to a console; it can only tell the owner, with the link the vendor published, which is evidence and not an instruction.

Current state

doctor reports credential presence for nothing funding-related; the brief says nothing about funding.

Desired state

An unreached held source is told once per period, with its claim link, and silence means nothing is owed.

Scope

  • apps/majordomus-cli/src/models
  • apps/majordomus-cli/src/capability/builtin/brief.rs
  • lib/doctrine.sh

Dependencies

Acceptance criteria

  • A held credit grant with its credential unset appears in doctor and the brief with the claim link and evidence date
  • The same finding is not repeated within one renewal period (test with a fixed clock)
  • A source declared not held produces nothing

Validation

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

Evidence required

  • test_an_unreached_funding_source_is_told_once_per_period

Evidence

None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.

Completion report

Cancelled 2026-10-21 on feature/intent-funding-sources by the plan's critique (findings subscription-has-no-credential-variable and doctor-scope-and-period-are-wrong): a subscription seat is usually reached through Claude Code's login, not a variable, so a credential-presence check would tell a signed-in owner their seat is unusable; and nudging the owner to export the grant's API key would move every headless Claude Code child off the seat, because ANTHROPIC_API_KEY outranks it (code.claude.com/docs/en/authentication, read 2026-10-21). Reopen with a measured instance of a grant going unused (ADR 0207).

Timeline

started
—
verified
—
completed
—

Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.

Canonical record: .ai/repo/project/issues/I3664.yaml. Read it back with majordomus plan show I3664.

Searches the titles and descriptions of every page this site publishes.