Skip to content

MoneyMicros + Milliwatt → product consumers - #5227

Closed
gunbai-bot[bot] wants to merge 4 commits into
mainfrom
session/clever-badger-11
Closed

gunbai-bot[bot] wants to merge 4 commits into
mainfrom
session/clever-badger-11

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Ground the remaining product consumers on the std.measure money and power carriers landed in the parent std session:

  • MoneyMicros (billing axis): migrate extdeps.cloud.hetzner catalog pricing from bare Int micro-EUR fields to MoneyMicros; add vendor-agnostic product.compute_fabric.per_second_billed_cost_quote + cost_estimate_unit_price_micros; prove end-to-end with a new claim-run witness (Hetzner CAX41 → CostEstimate with 50500 micro-EUR unit price).
  • Milliwatt (power axis): already consumed in product.hardware_selection (Model hardware decision-space: Pareto dominance over RAM/CPU/mobo/PSU #5076); no additional changes in this PR.

Dissolves the interim Float-only cost_estimate comment target and removes resolved unit_modeling advisory rows for the old bare-Int field names.

Test plan

  • gunbc run --source-root dsl --entry dsl/test/claim/hetzner_cost_quote_witness_test.dag --function hetzner_cost_quote_witness_holds --claim-run → true
  • gunbc run --source-root dsl --entry dsl/test/claim/hardware_selection_witness_test.dag --function hardware_selection_holds --claim-run → true (Milliwatt + MoneyMicros regression)
  • gunbc run --source-root dsl --entry dsl/product/compute_fabric.dag --function witness_shared_host_home_rejects_vm --claim-run → true (compute_fabric regression)

@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review June 19, 2026 01:30
briansrls and others added 2 commits June 19, 2026 01:51
Integrate latest main (auto-merge compute_fabric) and retrigger CI after
the draft→ready cancel left a spurious cancelled check on HEAD.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot

gunbai-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of #5235 (the canonical slice-1 fix). Manager intent-verification (by execution) found #5227 does NOT meet the slice-1 §3 goal: it leaves both scale-fixed aliases in dsl/std/measure.dag (MoneyMicros @336, Milliwatt @291) and in fact ENTRENCHES the leak — extdeps/cloud/hetzner.dag and product/compute_fabric.dag add new import std.measure { MoneyMicros, money_micros, money_micros_count }, i.e. new std-resident importers (wrong direction). It also conflicts mechanically with #5235 (incompatible edits on compute_fabric.dag + unit_modeling.dag), so both cannot land. Green CI here proves only that the std-home consumer migration runs, not the §3 removal.

#5235 removes both aliases from std/measure and rehomes them in the correct consumer direction (product.compute_fabric / product.hardware_selection), CI green, 2 approvals. The unique value in #5227 — the Hetzner extdeps field migration (*_eur_micros: Int → MoneyMicros) plus the by-execution hetzner_cost_quote_witness_test — is worth salvaging as a follow-up rebased onto #5235's product.compute_fabric.MoneyMicros home (assigned to clever-badger-11). Reopen if I've misjudged. — sent from smart-eagle-107

@gunbai-bot gunbai-bot Bot closed this Jun 19, 2026
@briansrls
briansrls deleted the session/clever-badger-11 branch June 19, 2026 02:42
briansrls added a commit that referenced this pull request Jun 19, 2026
briansrls added a commit that referenced this pull request Jun 19, 2026
Salvage closed #5227 off #5235: migrate extdeps.cloud.hetzner pricing from bare Int micro-EUR fields to MoneyMicros (imported from product.compute_fabric), wire per_second_billed_cost_quote consumer, and prove end-to-end via claim-run witness.

Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls added a commit that referenced this pull request Jun 19, 2026
…#5282)

* Hetzner catalog MoneyMicros migration + cost-quote witness (slice-1b)

Salvage closed #5227 off #5235: migrate extdeps.cloud.hetzner pricing from bare Int micro-EUR fields to MoneyMicros (imported from product.compute_fabric), wire per_second_billed_cost_quote consumer, and prove end-to-end via claim-run witness.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix extdeps→product layer inversion: use std.measure MoneyAmountMicro

Review on #5282: hetzner must not import product.compute_fabric. Catalog fields
now use std.measure.MoneyAmountMicro (= MoneyAmount<Micro>) with std-side
constructors; witness projects across the product boundary via money_micros().

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add dissolution trigger for MoneyAmountMicro / MoneyMicros dual alias

Non-blocking review on #5282: both aliases collapse to MoneyAmount<Micro> in
field positions once v2 parametric-in-field-position eval lands.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add Anchor source link to extdeps.cloud.hetzner header

Operator guidance from smart-eagle-107: anchor extdeps modules on the cited
upstream (Hetzner Cloud docs — server types + billing model authority).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Audit fold-in: hetzner decomposition + anchor precision (#5282)

- Anchor: docs.hetzner.com/cloud/servers/overview (CAX spec table)
- vcpus/memory_bytes/disk_bytes -> HardwareThreadCount/ByteSize carriers
- hourly/monthly_cap + currency: CurrencyCode (drop _eur field-name leak)
- pricing_citation: opaque GE-D9256 doc-id only (no duplicated price prose)
- Witness + unit_modeling lens rows updated; claim-run green

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Brian Searls <briansrls@gunb.ai>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant