Skip to content

Clarify release pack charge accounting without changing prices - #1212

Merged
sswiftdrtv merged 4 commits into
mainfrom
codex/pack-accounting-independent
Nov 16, 2026
Merged

sswiftdrtv merged 4 commits into
mainfrom
codex/pack-accounting-independent

Conversation

@sidneyswift

@sidneyswift sidneyswift commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Add explanatory quote.cost_accounting labels to new Release Pack quotes and legacy readback. Customer charges remain distinct from unmeasured provider expense and unfunded concepts, contingency and refinements. Numeric prices, configuration, fingerprints, stored approvals, retry authorization, provider execution/recovery and saved progress are unchanged.

Exact reviewed head 28f8601, tree da343a971eb696ab8fed5ce9bd7edbdf0c4ed115, normally integrates released Catalog main 486d32e. Incoming Catalog behavior is preserved. Combined published fixture SHA256 7af66d00e0b6fcb7e5a2f27124d173273c973badd670430c0084809f21719458 matches the actual Docs producer.

Validation: 237 affected tests; production, pack and response-contract types; lint/format; exact-head full CI passed. Independent exact-source review found no blocking findings. Cubic skipped AI review for the merge commit; its success is not independent approval.

Docs30 merged first as 82935171f7846e6a3f867bdcb5cc505639ebd8be after exact-source paired/inventory checks, independent source review, fresh browser guide/read/export/fixed false-zero/null acceptance, supported static-file download and independent final receipt review. The downloaded bytes exactly match the existing serializer and full parsed JSON equals authored source. Historical failed download and old paired mismatch remain historical outcomes, resolved for this bounded current release by later evidence.

These checks do not establish authenticated customer workflows, measured provider expenses, funded creative execution, production data changes or postmerge deployment acceptance. No provider/customer/database/spend/access/manual deployment action was performed.

@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api Ready Ready Preview Nov 16, 2026 3:05pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Explain Change →

Pre-merge checks: Passed 1

Check name Status Explanation
Solid & Clean Code Passed Reviewed the PR's own changes, which are the diff from released Catalog main 486d32e to head 28f8601 (8 files, +160/-4). Primary author is sidneyswift (GitHub, verified). Production changes are smal…
Full details: Solid & Clean Code

Explanation

Reviewed the PR's own changes, which are the diff from released Catalog main 486d32e to head 28f8601 (8 files, +160/-4). Primary author is sidneyswift (GitHub, verified). Production changes are small and focused: - lib/const.ts: adds one packCostAccounting constant object. The accounting labels are defined once, which follows the DRY and configuration-object guidance. - buildReleasePackQuote.ts: adds one cost_accounting: { ...packCostAccounting } line to the returned object. No new function. - readPackSnapshot.ts: wraps job with a quote spread that adds cost_accounting. This adds about 5 lines. The function was already about 50 lines before this PR, so it exceeds the 20-line guideline. The PR worsens that length only slightly, and the added logic is a single expression. - packTypes.ts: type-only change that makes the legacy field optional. No new function. - lib/mcp/tools/packs/index.ts: updates one tool description string. - published-docs.json: fixture hash update. No new function was added to an existing file, so the file-function name rule is not triggered. The new test files contain only test cases. Minor observations, not failures: - The accounting literal in packCostAccounting.test.ts and the label literals in packFirstUse.test.ts repeat the constant values. The tests assert the contract explicitly, so this is acceptable. - The same inline spread is used in two production files. This is a small repetition. - readPackSnapshot remains a long function. Its length predates this PR, and the PR only adds a few lines. No explicit failure condition of the SOLID and Clean Code check is established by the changed code.

  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T15:43:29.638896Z 28f8601 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sswiftdrtv
sswiftdrtv merged commit c37e7e4 into main Nov 16, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 28f86014 Deployed Nov 16, 2026 by vercel[bot]
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.

2 participants