feat(temples): make recovery pricing need-aware - #211
Conversation
|
Delivery review complete at
The nonblocking native |
|
This PR is paused for the review-directed dependency work tracked by Before it becomes ready again, the implementation will:
The current successful checks describe the existing head only and are not the |
|
Scope amendment recorded: this draft will move from one exact pre-cast price to The eventual confirmation will show the range, available funds, existing debt, The PR body now lists the revised Classic dependencies (#265, #266, #248, |
Status
Draft and blocked pending the work-aware service contract in
atrinik/classic#264. The current
head is a validated prototype, but it still contains the superseded hard-coded
provider registry, exact-price quote, pre/postcondition inference, and no
provider-credit support.
Revised target
npc_idand custom key/valuetemple_service_rankon every provider NPC;identity/rank inventory;
deterministic minimum/maximum monetary quote;
maximum possible new debt into confirmation;
cast, with zero cash and zero debt for zero work; and
available amount and record the bounded interest-free remainder against that
provider's
npc_id.An indebted provider requires full repayment before another paid service.
Other providers are independent, and eligible newcomer-essential care remains
free and never creates debt. The actual cash plus debt can never exceed the
confirmed maximum.
Dependencies
side-effect-free work ranges;
work-query API;
work outcomes; and
provider-specific credit and repayment.
The same APIs will support future per-item Smith identification pricing under
#217, which does not block this
temple PR.
Required validation after revision
python3 tools/validate.pyandgit diff --checknpc_id/rank and save-enabled-map auditrepayment unit/runtime coverage
Superseded current-head evidence
Head
1dce4f43ebe4d5d8d5582d3f06f395da70254455previously passed full contentvalidation, the derived Classic test suite, an isolated server scenario, two
whole-diff reviews, and all required checks. Those results describe only the
superseded prototype and are not acceptance evidence for the revised design.
Closes #106