Skip to content

feat: bounded caller-input mixed-profile section reporting - #95

Merged
Poyqraz merged 11 commits into
mainfrom
cursor/generic-mixed-profile-implementation
Oct 4, 2026
Merged

Poyqraz merged 11 commits into
mainfrom
cursor/generic-mixed-profile-implementation

Conversation

@Poyqraz

@Poyqraz Poyqraz commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Coordinator renderer closure repair on the SAME Draft PR #95.

Current exact HEAD: 546e793.
Reviewed/tested tree: b8f943b0d37b2179f71aac47aa2a1cee57df594f.
Unchanged stacked base: 30b285b.
Coordinator REQUEST CHANGES starting HEAD: 83da77b.
The earlier publication record below is historical; its approval/CI does not cover this repair HEAD.

Delta from starting HEAD: renderer validation in mixed_profile_parent_geometry.py, synthetic regression tests, and an appended documentation closure record. The evaluator and every other preexisting function are AST-identical. Exact arithmetic modules, fixture manifests, historical execution receipts, PR #94, numerical gates and workflows remain unchanged.

TDD: 12 correctly rehashed corruption witnesses each failed with DID NOT RAISE at the starting HEAD. Four further RED cases covered doubled branch/denominator evidence inconsistent with retained coordinates, missing earlier proofs with an admitted BLOCKED parent, missing COMPLETE request identity and premature parent admission. All are GREEN. 48 focused tests and 151 affected tests pass; syntax, document/link, whitespace, digest and preservation checks pass.

Independent exact-HEAD verdict: APPROVE FOR THE TWO RENDERER CLOSURE BLOCKERS. Reviewer independently copied each of the five scalar values and certificates from another parent row, replayed signed-zero/index/bracket/radial and admission-evidence witnesses, checked doubled-gap rejection and legitimate BLOCKED prefixes, and confirmed numerical preservation. No concrete repair-slice blocker remains.

Fresh S01 CLI JSON is byte-identical, SHA-256 4384536470719379fc928d794533b528d7fd43388ed95490bb476303a2e1b2dd. Table is byte-identical, SHA-256 60075f985fcbf6b2b2059da57a4002ab6291014437deaa427eb46b4b9fc20b43. Rational work counts remain 25,439 operations / 19,702 maximum bits / 80 trig terms / 0 retries. Fresh execution metadata is separate: 3de3d0385296bcb171f3e114c16123a1d3655cd378444673a88a0697514de951. Archived R01–R08 still render BLOCKED.

Exact-head push CI 37221355338: SUCCESS at 546e793. Python 3.10 and 3.11 each report 1948 passed, 9 skipped, 37 subtests passed. No pull_request CI exists because the stacked PR targets the declaration branch; workflows unchanged. The PR merge-checkout tree equals the reviewed source tree with parents base30b285... and HEAD546e793....

Draft/unmerged, no force-push or published GitHub review. Hashes remain content identities, not authenticity proof. Selected-asset permissions unresolved, physical_qualification=false; PR #81/#84/#91 and C2V-09 untouched.


Earlier publication record (preserved history):

Implements the separately authorized bounded caller-input generic mixed-profile section/report slice, stacked on Draft PR #94. No merge/freeze or selected-asset realization.

Exact implementation publication HEAD: 83da77b.
Reviewed tree: 3baf0f1bdaa7ae7e8e1c2dee79fa75df4c1c5261.
Stacked base/clarification closure: 30b285b.
Reviewed design: a13d662.
Clarification technical review: 28cc33b (APPROVE).
Executed/reviewed code technical HEAD: a701348.
Receipt publication/review HEAD: 9698b55.
Main reference: 6200b05; preserved actual merge-base 1bbd9ccac876d5d612d2ac19e0cc16d492623e99 has the same baseline tree 136f451a3ace8ae011120c78174c99824508b42f. No rebase/history rewrite.

Scope is six additions: 3 application modules, 1 TDD test module, implementation documentation and compact first-party execution receipt. No existing core/value/sparse services, fixtures, workflows, ADRs or inherited records change.

TDD RED/GREEN: missing-module initialRED; 3 failed / 22 passed for status/endpointlimit/rationalserialization; 4 independent corrupt-receipt RED after refreshing all identities; valid escaped-context and normalization-metadata RED. All resolved; final 31 focused / 137 affected passed. Compile, links, whitespace, hash and immutable inherited-file checks passed. Every scalar source bit and both shared-hinge complementary restrictions retained.

Independent final exact-HEAD verdict: APPROVE FOR THE BOUNDED FIRST-PARTY GENERIC GEOMETRY SLICE. Separate factorial/power exact oracle verified all 432 coordinate components and actual rounding cells; independently replayed full JSON/table/sidecar bytes and R01–R11 receipts. Renderer findings closed. Final docs-only ancestry correction reviewed; no code/output changes.

Actual S01:

  • Immutable fixture canonical SHA-256: 4cd0305a09cb2a460f334d0508af45b5b93fccb239fe6b2ad06bc131d386be02.
  • Request SHA-256: b444f14537c678624f63f734aa4c9cad8137cccd0d96a691185ec6b96c62cfcf.
  • Geometry content SHA-256: 4384536470719379fc928d794533b528d7fd43388ed95490bb476303a2e1b2dd, 1,925,127 bytes.
  • Parent SHA-256: 03e4db350bb26722f0895759aa4edef7dc32ba4858fa1b958201f2480899ab32.
  • 8 sections, 144 points, 25,439 rational operations, 19,702 maximum integer bits, 80 trig terms, 0 retries.
  • Execution SHA-256: cc017b08ca91b0ebc746431cce550350f72b0356b29e4f103f55a63598409951, separate from deterministic content.
  • Receipt bytes SHA-256: b73f830ff1cff88dfbf19af361e7d57e42c42c061f52c1c8b8eee688ba37b7e5.
  • Local CPython 3.12.14 / Clang 22.1.3 / Linux x86_64, exact called-code and executable hashes in receipt. Builtin math/_struct on this host have no separate module file; no alternate-runtime certificate claimed.

Final exact-head push CI 37203978628: success at 83da77b. Python 3.10 and 3.11 each report 1931 passed, 9 skipped, 37 subtests passed. No pull_request run exists for this HEAD: the ordinary workflow targets main, while this PR targets the declaration branch. Workflows unchanged; exact-head cursor/** push CI supplies required Python-version regression coverage. The PR merge-checkout tree equals reviewed source tree 3baf0f1bdaa7ae7e8e1c2dee79fa75df4c1c5261, with parents 30b285b and 83da77b.

First-party synthetic software evidence only. E63/NACA4412/APC permissions unresolved; no selected asset fetching/bundling/realization, external CAD requirement, mesh/solid/BEM/FEA/trajectory/strength/clearance/optimum-hinge assessment. PR #81/#84/#91/C2V-09 and unrelated CSV not modified. physical_qualification=false; ADR-009 unaccepted.

I have read and agree to the PyFoldable CLA.


Note

Medium Risk
Large new numerical/geometry path with certificate and report-audit logic; risk is mitigated by bounded inputs, isolated new modules, and extensive tests, but correctness bugs could still produce misleading reports.

Overview
Adds a caller-input-only mixed-profile parent geometry slice: strict JSON request decoding, a metered exact-rational evaluator, canonical COMPLETE/BLOCKED reports (proofs, sections, hinge cuts), a table renderer, and a small CLI (mixed_profile_parent_geometry).

Contract layer (_mixed_profile_contract): immutable DTOs, size limits, hex float64 wire rules, and decode errors—no asset catalog or network.

Evaluator (mixed_profile_parent_geometry + _mixed_profile_exact): validates declared model/scalars and Selig endpoints (hash-checked raw bytes), builds PWL/smoothstep-blended sections with Taylor sin/cos enclosures and ties-even rounding certificates under one shared rational budget; emits execution metadata separately from deterministic content bytes.

Renderer audit (_validate_report_content): separate bounded transaction that verifies digests, certificates, input receipts, and parent–proof–section correspondence (including retained indices, signed zeros, branch gaps vs admitted coordinates, and COMPLETE admission rules) without re-parsing assets or re-running geometry.

Ships synthetic fixture tests (S01/R01–R11, corrupt-receipt and coordinator witnesses), implementation documentation, and a compact first-party execution receipt JSON.

Reviewed by Cursor Bugbot for commit 546e793. Configure here.

Poyqraz commented Oct 4, 2026

Copy link
Copy Markdown
Owner Author

bugbot run verbose=true

@cursor

cursor Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Bugbot request id: d055bf40-813d-47da-8b8e-2753691bfdec

@cursor

cursor Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Bugbot rules debug

No rules were used for this review.

https://cursor.com/docs/bugbot#team-rules

Bugbot request id: d055bf40-813d-47da-8b8e-2753691bfdec

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 546e793. Configure here.

@Poyqraz
Poyqraz changed the base branch from cursor/mixed-profile-endpoint-declaration to main October 4, 2026 21:31
@Poyqraz Poyqraz closed this Oct 4, 2026
@Poyqraz Poyqraz reopened this Oct 4, 2026
@Poyqraz
Poyqraz marked this pull request as ready for review October 4, 2026 21:36
Copilot AI balanced review requested due to automatic review settings October 4, 2026 21:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Poyqraz
Poyqraz merged commit 022b466 into main Oct 4, 2026
5 checks passed
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