Commit graph

23 commits

Author SHA1 Message Date
7421ac616c docs(cad-core): record cad-ui consumer run in plan
Some checks failed
cad / cad-truth-gates (push) Has been cancelled
cad / cad-core-checks (push) Has been cancelled
cad / cad-consumers (push) Has been cancelled
repo hygiene / hygiene (push) Has been cancelled
2026-09-26 12:31:07 +00:00
3cfcc2cc60 fix(cad-core): CORE-04 remove last runtime fan triangulators; plan status to complete
- math::triangulate_polygon now ear-clips via polygon::triangulate_indices
  (index/orientation preserving; rejects degenerate, non-finite, bow-tie)
- extrude_polygon_mesh routes through triangulate_profile; new
  try_extrude_polygon_mesh returns structured errors instead of
  underflowing on undersized profiles
- tests: concave area equality, closed-manifold edge twins, bad corpus
- cad.yml gate forbids reintroducing the vertex-zero fan
- EXECUTION_PLAN.md: tranche ledger, verification, release gates
2026-09-26 12:05:51 +00:00
1516aa747b Initial project: app scope + Makepad skeleton 2026-09-26 09:11:09 +03:00
38feca50a1 ci(cad): UI-15 runtime matrix plus CORE/UI truth gates
Some checks failed
cad / cad-truth-gates (push) Has been cancelled
cad / cad-core-checks (push) Has been cancelled
cad / cad-consumers (push) Has been cancelled
repo hygiene / hygiene (push) Has been cancelled
UI-15: project_lifecycle (create/open/edit/save/restart/switch/undo
with A/B isolation and fail-closed corrupt/future/legacy cases),
script_limits (adversarial corpus), bvh_differential (randomized
brute-force comparison with tie discipline), export_interop
(queue discipline, STL/DXF/GLB semantics, grid termination),
runtime_ui (full lifecycle plus desktop/mobile budgets and soak).
cad.yml: CORE canonical-module gates, UI session-module gates
(switch/rebuild/journal/sandbox/ai/cache/BVH/coords/capture/exports),
integration-lane ownership notes; lanes otherwise unchanged.
2026-09-26 05:04:20 +03:00
fca70f96f5 fix(cad-ui): UI-07/09/12/13 backend correctness, valid BVH, bounded exports, honest formats
UI-09: BVH rewritten over a stable primitive-index permutation with
explicit child indices, structural validator, and differential tests
(the old tree walked prims directly and assumed adjacent children).
UI-07: AI worker constructs the selected backend (local fails closed
without a loopback/https endpoint instead of sending prompts to
Claude); streaming is preview-only (never replaces the editor
mid-stream); stale post-cancel events discarded; AI-sized responses
checked against the script ceiling before apply.
UI-06: script source ceiling enforced before VM creation; output
triangle ceiling before cache/export.
UI-12: export dispatch bounded (1 active + 2 queued, explicit reject).
UI-13: GLB preserves hierarchy/scale/visibility/units; PDF uses real
CSG mesh bounds (never fabricated 1x1) and validated grid spacing; SVG
fits viewBox to bounds with validated bounded grids.
Also: corrected PDF CSG test to real bounds, tightened the disabled-copy
test to success markers, FileLock Debug for green lib-test compile.
project_repo.rs/capabilities.rs ride along concurrent fmt/test fixes in
the same files.
2026-09-26 05:04:09 +03:00
22ffa30e8c feat(cad-ui): UI-03b/04/05/06/07/08/10/11/12/14 session modules
UI-03b switch transactions (drain jobs, reset all document-owned
handles, A/B sentinel isolation). UI-04 two-phase rebuild coordinator
(identity/base-revision commits, empty-clears, stale discards). UI-05
universal command journal (per-family round trips, stale refusal,
deterministic budget eviction). UI-06 script sandbox budgets (source,
instructions, depth, dimensions, native cost; identical for all
origins). UI-07 correlated AI (backend-matched factories, preview
buffer, stale/cancel rejection, consent summary, log redaction). UI-08
revisioned bounded caches (canonical identity, digest-verified hits,
LRU bytes, purge on close). UI-10 one coordinate/work-plane model
(right-handed, revision-keyed snap, documented marquee rule). UI-11
capture correlation (bounded resolutions, revision matching, synthetic
gradient guard). UI-12 bounded export coordinator (1+2+reject,
cancel-is-cancelled, switch-stale, no partial success). UI-14
lifecycle gates (hidden/idle/terminal do no work, generation
coalescing, content-free metrics).
2026-09-26 05:03:24 +03:00
f7c4d041b7 fix(cad-core): CORE-11/12 exact URL policy, evidence tests, toolchain hygiene
CORE-11: parsed scheme/host identity replaces string-prefix trust;
loopback is exactly localhost/127/8/::1; plaintext http only for
loopback; lookalikes, user-info, bad ports, fragments rejected.
CORE-12: resource_limits, format_interop (independent parsers), and
migration_corpus integration targets.
Hygiene for green gates under the pinned toolchain: unused-import
cleanup, derivable Default impls, needless-range/manual-contains
fixes, type aliases, fixture-literal allows (no numeric changes).
2026-09-26 05:03:10 +03:00
846d4c5214 fix(cad-core): CORE-08/09/10 bounded STL/DXF and STEP quarantine
CORE-08/09: STL/DXF on the canonical path (graph validation, full
parent-to-world transforms, inherited visibility, triangle/output
budgets, finiteness gates, structured completion metadata, declared
units, preserved sanitized layer names, escaped text).
CORE-10: STEP quarantined behind non-default experimental-step feature
(default builds refuse with a structured error); exact quantized-triple
vertex dedup (no hash collisions), honest open/closed shells (never
asserts a closed manifold without proof), checked entity numbers,
escaped strings, ExperimentalStep naming.
2026-09-26 05:03:09 +03:00
1467d871ad fix(cad-core): CORE-06/07 atomic scene edits and bounded world-mesh stream
CORE-06: DocumentEdit/ScenePatch transactions against base revisions;
failed patches leave byte-identical state, stale bases rejected, undo
via inverse patches, refuse/cascade deletion policy.
CORE-07: one canonical bounded world-mesh stream (hierarchy, full
transforms, inherited visibility, named unit conversion, triangle
budgets, chunked cancellation with no partial success).
2026-09-26 05:02:56 +03:00
0bce180c8c fix(cad-core): CORE-04/05 validated polygon pipeline and mesh hardening
CORE-04: one validated polygon pipeline replaces both fan triangulators
(finite coords, closure/dupe/collinear policy, self-intersection
rejection, ear clipping with area-equality property tests).
CORE-05: mesh validation before use (finite positions, index range,
budget), checked subdivision, None-not-NaN centroid/bounds, chunked
cancellation checkpoints.
2026-09-26 05:02:55 +03:00
0af5d9bc64 fix(cad-core): CORE-01/02/03 structured errors, budgets, checked ids, canonical graph, versioned document
CORE-01: CadError with kind/entity-path, ValidationPolicy/GeometryBudget
hard ceilings enforced before allocation, opaque typed ids with checked
supply, explicit remap tables; missing material/layer refs are hard
errors, never silent fallbacks.
CORE-02: identity transform is translation 0/rotation 0/scale 1
(Default no longer collapses to zero scale); single local/world matrix
convention T*Rz*Ry*Rx*S with iterative validation (duplicates, dangling,
cycles, depth 1024) and inherited visibility.
CORE-03: versioned lossless CadDocument with tagged EntityKind, explicit
units, deterministic canonical bytes, future-version quarantine, and
explicit legacy migration warnings.
Verified in worktree at 64ae8d7: cad-core 319 tests green, clippy/fmt clean.
2026-09-26 05:02:43 +03:00
64ae8d75ab feat(cad-ui): UI-03a project repository with injected roots and atomic saves 2026-09-25 18:57:49 +03:00
081121957e fix(cad-core): UI-02 domain builders record kind_hint (demo goes green) 2026-09-25 17:03:23 +03:00
d4ec1edd34 feat(cad-ui): UI-02 single session authority plus truth gate 2026-09-25 15:01:12 +03:00
b2937ddc83 feat(cad-ui): UI-01 contain STEP/F12/render2d/RayTrace behind capability matrix 2026-09-25 12:52:26 +03:00
a00a7b6790 ci(cad): UI-00 ignored-test inventory plus truth gates and lane split 2026-09-25 12:44:48 +03:00
Arena Agent
4665973b57 docs(cad-ui): add audited remediation execution plan
Some checks failed
repo hygiene / hygiene (push) Has been cancelled
2026-09-12 07:59:51 +00:00
Arena Agent
3666c6ce3a docs(cad-core): add audited remediation execution plan
Some checks failed
repo hygiene / hygiene (push) Has been cancelled
2026-09-12 07:59:51 +00:00
a620609ff9 feat(cad-ui): sun position controls
Some checks failed
repo hygiene / hygiene (push) Has been cancelled
2026-09-12 07:21:51 +03:00
ac8f8aa002 chore: sync full working tree to gitdab
Some checks failed
nigig-build (CAD) / cad-module (push) Has been cancelled
nigig-build (CAD) / full-crate-check (push) Has been cancelled
nigig-build (CAD) / cad-engine-coverage (push) Has been cancelled
nigig-build (CAD) / doc-workspace-coverage (push) Has been cancelled
nigig-build (CAD) / cad-widget-coverage (push) Has been cancelled
traffic / gates (push) Has been cancelled
traffic / nigig-traffic (push) Has been cancelled
traffic / supply-chain (push) Has been cancelled
doc-engine / engine (push) Has been cancelled
doc-engine / coverage (push) Has been cancelled
doc-engine / consumer (push) Has been cancelled
email / gates (push) Has been cancelled
email / email-domain (push) Has been cancelled
email / nigig-email (push) Has been cancelled
email / supply-chain (push) Has been cancelled
nigig-map / test (push) Has been cancelled
sms / gates (push) Has been cancelled
sms / robius-sms (push) Has been cancelled
sms / android (push) Has been cancelled
sms / nigig-sms (push) Has been cancelled
sms / supply-chain (push) Has been cancelled
spreadsheet / engine-coverage (push) Has been cancelled
spreadsheet / ui-controller-coverage (push) Has been cancelled
p2p-intel / engine (push) Has been cancelled
p2p-intel / notifications (push) Has been cancelled
p2p-intel / coverage (push) Has been cancelled
p2p-intel / makepad-app (push) Has been cancelled
p2p-intel / exchange-tab (push) Has been cancelled
Payment domain, storage, platform and UI / isolated-payment-tests (push) Has been cancelled
Payment domain, storage, platform and UI / payment-ui-tests (push) Has been cancelled
Whole-tree sync: cad-core/cad-ui split sources, nigig-build
construction_frame migration, pdf port progress, mpesa/pay/uikit/doc
updates, workspace members/profiles/lock, CI workflows and reviews.
See individual file history for details.
2026-09-12 07:15:24 +03:00
338b8c818f fix(android): enable cad-ui on mobile + new-API fixes
Some checks failed
nigig-build (CAD) / supply-chain (push) Has been cancelled
nigig-build (CAD) / cad-module (push) Has been cancelled
nigig-build (CAD) / full-crate-check (push) Has been cancelled
nigig-build (CAD) / cad-engine-coverage (push) Has been cancelled
nigig-build (CAD) / doc-workspace-coverage (push) Has been cancelled
nigig-build (CAD) / cad-widget-coverage (push) Has been cancelled
repo hygiene / hygiene (push) Has been cancelled
spreadsheet / engine-coverage (push) Has been cancelled
spreadsheet / ui-controller-coverage (push) Has been cancelled
- nigig-build: cad-ui + construction_frame back on unconditionally.
  The host-only gate is dropped: cad-ui now compiles for aarch64, and
  pageflipnav mobile needs ConstructionScreen / BuildProjectsPage
  (CAD/Docs/Spreadsheet buttons) — gating produced the white screen.
- cad-ui: ScriptVmHost for standalone eval (no more vm.std / () host),
  std::thread workers (Cx::spawn_thread removed upstream).
- viewport: same worker fix + section_state helper for the CPU cull path.
- script_bindings: new script/geometry binding module.
- spreadsheet grid + invoice Walk literals: ..Default::default() for
  new aspect/cell/deferred fields; explicit style::CellAlign import
  (makepad added its own CellAlign).
Verified: pageflipnav aarch64 release links with 0 errors; APK built,
installed (54M) and running with home screen drawing.
2026-09-12 00:26:43 +03:00
b1045d79d4 feat(pdf): graphics/document port progress + android gates
Some checks failed
nigig-build (CAD) / supply-chain (push) Has been cancelled
nigig-build (CAD) / cad-module (push) Has been cancelled
nigig-build (CAD) / full-crate-check (push) Has been cancelled
nigig-build (CAD) / cad-engine-coverage (push) Has been cancelled
nigig-build (CAD) / doc-workspace-coverage (push) Has been cancelled
nigig-build (CAD) / cad-widget-coverage (push) Has been cancelled
repo hygiene / hygiene (push) Has been cancelled
PDF engine / engine (push) Has been cancelled
PDF engine / makepad-integration (push) Has been cancelled
PDF engine / fuzz (push) Has been cancelled
- pdf-graphics: new cff, truetype, cjk_cmap, disk_cache, document_ai,
  path, reflow, text_diff modules + port tests (all green); syntax/type
  fixes for the aarch64 build (stray brace, &u8 derefs, f2dot14 assign).
- pdf-document: ocr, pdf_a, xmp modules + roundtrip tests; annotation
  editor updates.
- pdf-makepad: handle RenderCommand::SetOverprint (report via
  TransparencyError per ADR 0009, no silent drop); renderer/page_view
  updates for the new recording ops.
- matrix_client: nimanyatta native module (ungated; the aarch64 wrapper
  needs it unconditionally).
- pageflipnav home_screen: project_store sync is host-only until
  cad-ui's Widget Script derive is fixed for aarch64.

Verified: cargo check on all four crates clean at fork 66cc4f15f;
nigig-pdf-graphics tests pass; pageflipnav aarch64 release links.
2026-09-11 05:09:11 +03:00
c901f1d4f1 chore(deps): bump makepad fork rev to b9a083c26 + workspace updates
Some checks failed
doc-engine / engine (push) Has been cancelled
doc-engine / coverage (push) Has been cancelled
doc-engine / consumer (push) Has been cancelled
email / gates (push) Has been cancelled
email / email-domain (push) Has been cancelled
email / nigig-email (push) Has been cancelled
email / supply-chain (push) Has been cancelled
nigig-build (CAD) / supply-chain (push) Has been cancelled
nigig-build (CAD) / cad-module (push) Has been cancelled
nigig-build (CAD) / full-crate-check (push) Has been cancelled
nigig-build (CAD) / cad-engine-coverage (push) Has been cancelled
nigig-build (CAD) / doc-workspace-coverage (push) Has been cancelled
nigig-build (CAD) / cad-widget-coverage (push) Has been cancelled
nigig-map / test (push) Has been cancelled
repo hygiene / hygiene (push) Has been cancelled
sms / gates (push) Has been cancelled
sms / robius-sms (push) Has been cancelled
sms / android (push) Has been cancelled
sms / nigig-sms (push) Has been cancelled
sms / supply-chain (push) Has been cancelled
spreadsheet / engine-coverage (push) Has been cancelled
spreadsheet / ui-controller-coverage (push) Has been cancelled
Fork nigig-makepad-test-android now at b9a083c26 (upstream merge +
robot secondary-dex bundling + app_main wrapper fix, on top of the
game-libs/arcade port). All 16 workspace makepad revs follow.

Also takes the in-tree workspace updates: exclude nested
crates/nimanyatta workspace, add crates/apps/nigig-site member, and
PERF-OPS Phase 1 profile tuning (thin LTO + engine opt-level 3).
cad-core/cad-ui split and nigig-traffic members stay WIP.
2026-09-10 16:36:11 +03:00