GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(aggregator): clinepass percent gate takes plain decimals only; state the #3005 measurement grammar (#3006) by developing-today[bot] · Pull Request #7881 · developing-today/code

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 9, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What this is

The closing inventory audit for design #3005 ("a measurement is a plain decimal"), issue #3006, queue task 4350. Gate verified fresh at claim: #2985, #2997, #3000, #2791, #2743 all CLOSED — the audit was unblocked.

Full inventory evidence with per-file dispositions is posted on #3006. This PR carries the audit's two in-repo deliverables:

Changes

  • pm-stack/aggregator/src/clinepass-adapter.ts — the one missed field-form boundary the audit found: percentUsedOf accepted any Number()-parseable string for a provider percent measurement ("0x10" → 16, "1e2" → 100, " 51 " → 51). It now takes the plain-decimal field form (aa.ts's PLAIN_DECIMAL shape; sign stays because this gate's domain admits negatives, clamped downstream). Drift now reads as not-a-reading, never a reinterpreted percent.
  • pm-stack/aggregator/test/clinepass-adapter.test.ts — probe-matrix test: hex, scientific, and padded percent strings are refused; "51.5" still reads. Targeted run on the laptop: bun test test/clinepass-adapter.test.ts — 18 pass, 0 fail.
  • pm-stack/aggregator/README.md — the recorded Design: a measurement is a plain decimal — one number grammar for every measurement string #3005 measurement grammar stated in a new "Measurement grammar (Design: a measurement is a plain decimal — one number grammar for every measurement string #3005)" section next to the design(aggregator): ingest, fail-closed — one validation contract for every document the PM stack consumes #2576 ingest contract: field form, prose form, the pins (scientific refused, padding refused, grouping stripped-not-validated, typed numbers untouched), per-app copies + shared probe matrix, and the embodiment list.

Audit findings beyond this PR

  • meta-exporter: parseSubscriptionQuota's num() reinterprets empty, hex and scientific strings as real measurements — a drifted '' used value exports as a measured 0% window #2789 embodiment drifted (filed, not fixed here): the feat(meta-exporter): re-home exporter + helium-cdp wedge readiness probe (#5487) #6333 re-home (b4cf60a) restored meta-quota-export.mjs with the pre-meta-exporter: parseSubscriptionQuota's num() reinterprets empty, hex and scientific strings as real measurements — a drifted '' used value exports as a measured 0% window #2789 bare num() — the plain-decimal gate, empty-reset tolerance, and as_of guard were lost, and its probe tests are gone. Restoration filed as meta-exporter: restore the #2789 plain-decimal gate lost in the #6333 re-home (#3005 grammar drift) #7880 per the audit acceptance ("drift filed as a named follow-up").
  • Everything else dispositioned on Phase 3 (audit) of #3005 — closing inventory audit for the measurement grammar + contract statement #3006: Phases 1–3 embodiments verified in place (aa.ts, saas-extract grouped counts, cloudflare/supabase gates); the remaining Number( / \d+ hits are dates, identifiers, ports/limits and other Design: env numbers are arguments — one strict parse for boot-time configuration #2835 arguments, already-typed values with finite checks, display math, or anchored prose patterns whose failure shape for a grouped spelling is absence, never truncation.

Notes

  • Design: a measurement is a plain decimal — one number grammar for every measurement string #3005 stays open with meta-exporter: restore the #2789 plain-decimal gate lost in the #6333 re-home (#3005 grammar drift) #7880 named and linked from it as the remaining follow-up, per the audit acceptance.
  • Verification in GitHub Actions per the packet; the targeted test above was also run locally on the laptop.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-code-k
fix(aggregator): clinepass percent gate takes plain decimals only; st…
8d159ab
…ate the #3005 measurement grammar in the README (#3006)

Closing inventory audit for design #3005 (issue #3006, task 4350): the whole pm-stack measurement surface was grepped for bare Number( coercions and bare count extractions and every hit dispositioned on #3006. One missed field-form boundary found and fixed here: clinepass-adapter percentUsedOf accepted any Number()-parseable string (0x10 -> 16, 1e2 -> 100, padded) for a provider percent measurement; it now takes the plain-decimal field form, with probe-matrix tests. The README gains the recorded measurement grammar next to the #2576 ingest contract. The #2789 meta-exporter embodiment was found drifted (gate lost in the #6333 re-home); restoration is filed as #7880 per the audit acceptance, not fixed here.
@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 9, 2026 00:34
This was referenced Nov 9, 2026
Phase 3 (audit) of #3005 — closing inventory audit for the measurement grammar + contract statement #3006
Closed
Design: a measurement is a plain decimal — one number grammar for every measurement string #3005
Closed
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c99d0b01-3946-4195-91fb-d2f3c4d9054c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 74003f2 into main Nov 9, 2026
2 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/4350-3006-measurement-grammar-audit branch November 9, 2026 01:30
@dezren39 dezren39 mentioned this pull request Nov 25, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dezren39 dezren39 Awaiting requested review from dezren39

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.