Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
7aca222
feat(cloudflare): preserve native Bricks runtime proof
TyMac20 Sep 10, 2026
f721b03
chore(cloudflare): add Bricks public reader canary config
TyMac20 Sep 10, 2026
43e3790
fix(cloudflare): avoid frozen-clock Bricks ID generation
TyMac20 Sep 10, 2026
4f09dc8
fix(cloudflare): restore canonical media files for native Bricks
TyMac20 Sep 10, 2026
0abe251
fix(cloudflare): version persisted render caches with runtime changes
TyMac20 Sep 10, 2026
b92606a
docs: record native Cloudflare media render proof
TyMac20 Sep 10, 2026
647afe8
feat(cloudflare): validate canonical native Bricks artifacts
TyMac20 Sep 10, 2026
9861e68
fix(cloudflare): retain guide provenance without selected references
TyMac20 Sep 10, 2026
e569638
fix(cloudflare): resolve SQLite multi-table delete target aliases
TyMac20 Sep 10, 2026
e559e9d
Add native Bricks artifact and revision API with real local Build reh…
TyMac20 Sep 10, 2026
1774855
Bound native canonical reconstruction and release PHP before packing
TyMac20 Sep 10, 2026
fd04439
Add receipt-bound protected native Bricks previews
TyMac20 Sep 10, 2026
2f851aa
Keep native Bricks previews within Worker memory and return protected…
TyMac20 Sep 10, 2026
7ff4ff3
Record real native Cloudflare API and protected preview rehearsal
TyMac20 Sep 10, 2026
fd4775e
Record isolated engine and sales allocation handoffs
TyMac20 Sep 10, 2026
0aa6c4d
docs(cloudflare): record native Worker telemetry and memory gate failure
TyMac20 Sep 10, 2026
0bd5103
fix(cloudflare): reduce native PHP WASM allocator overhead
TyMac20 Sep 10, 2026
bf880b6
docs(cloudflare): qualify allocator improvement without clearing memo…
TyMac20 Sep 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ scripts/uploads/
*.tsbuildinfo
.DS_Store
.wrangler/
# Disposable local Cloudflare/Miniflare state and Python bytecode.
packages/runtime-cloudflare/.bricks-local-state-*/
packages/runtime-cloudflare/scripts/__pycache__/
# Generated local native API credentials/config; export only compact receipts.
packages/runtime-cloudflare/outputs/native-api-prepared*/
11 changes: 11 additions & 0 deletions outputs/bricks-native-api-local-rehearsal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Native Bricks API local rehearsal

Actual Build producer and writer at `db6717f419bfd848296db4eb193b77ff91db4e0a` called the local Cloudflare Worker, D1 and R2 emulator. The Worker ran PHP-WASM 8.5 and the original agency-provided Bricks 2.4-rc ZIP, SHA-256 `a97171e889ff82a92949dff994f10ceeb38cc70d46d7df3d97d3522562c2e887`. Every Bricks vendor file in this allocation was extracted directly from that ZIP. The SQLite alias correction is a separate checked-in runtime materialization patch.

The source allocation started with no native documents or uploads. Provision committed revision 2, revision committed 3, a stale base returned HTTP 409, and restore committed NEW revision 4 with the original native document hashes and design-system version. Each operation passed the real Build writer terminal-receipt validator, byte-equivalent idempotent replay, operation polling, and public heading observation. `receipt.json` contains the exact requests and receipts. `artifact.json` is the staged original native artifact.

After stopping and restarting Wrangler, `cold-reopen.json` confirms the saved operation receipt, restored native heading, loaded images, and desktop/mobile rendering. Screenshots were inspected. This is a deliberately minimal API fixture with two one-pixel image instances, not a customer design or a visual parity acceptance result. The authored font-family CSS is present; the fixture does not bundle the requested webfont binaries.

All native receipts remain `draft`, with null protected preview, false editor qualification, and all five client-acceptance steps `not_run`. No Bricks license activation or actual visual-editor acceptance occurred. Programmatic native save and rollback proof does not replace the licensed editor transaction.

Validation: package TypeScript build, seven focused artifact/admission tests, actual local PHP integration, and existing canary Wrangler deployment dry run passed. No remote deployment or customer site mutation was performed for this local API proof.
1 change: 1 addition & 0 deletions outputs/bricks-native-api-local-rehearsal/artifact.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"assets":[{"alt_text":"Bright and Kind Cleaning","bytes":68,"content_base64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=","filename":"bright-kind.png","logical_id":"brand-mark","mime_type":"image/png","sha256":"431ced6916a2a21a156e38701afe55bbd7f88969fbbfc56d7fe099d47f265460"}],"design_system":{"global_classes":[{"id":"section-shell","name":"Section shell","settings":{"_padding":{"bottom":"clamp(4rem,8vw,9rem)","left":"2rem","right":"2rem","top":"clamp(4rem,8vw,9rem)"}},"sha256":"7cad43bd6e7652de1c992d4d34969f4d6d4e4e80196bead2a1af6e7cd2fd1029"}],"global_variables":[{"id":"space-l","name":"Space L","sha256":"f1737a9fed1c8662fc016baff35f6cad6fd4535da2b70ead09a28edf70a094ac","type":"string","value":"4rem"}],"palette":[{"id":"brand","name":"Kind Blue","value":"#2B6F8A"},{"id":"accent","name":"Warm Gold","value":"#F0B44D"}],"theme_style":{"settings":{},"sha256":"61600e5912f22f7566b4371b4d0e0b89747ffbde3853f6435b63a441c5655a1a"},"typography":{"body_font_family":"Inter","heading_font_family":"Fraunces","root_font_size":"62.5%"},"version":"design-system-1"},"documents":{"pages":[{"elements":[{"children":[{"children":[{"children":[],"id":"hero-heading","name":"heading","settings":{"tag":"h1","text":"A brighter home"}},{"children":[],"id":"hero-copy","name":"text-basic","settings":{"tag":"p","text":"A clean home, handled with care."}},{"children":[],"id":"hero-image","name":"image","settings":{"image":{"asset_ref":"brand-mark","size":"full"}}}],"id":"hero","name":"section","settings":{"_cssGlobalClasses":["section-shell"]}},{"children":[{"children":[],"id":"services-heading","name":"heading","settings":{"tag":"h2","text":"Cleaning services"}},{"children":[],"id":"services-copy","name":"text-basic","settings":{"tag":"p","text":"Recurring, deep, and move-out cleaning."}}],"id":"services","name":"section","settings":{"_cssGlobalClasses":["section-shell"]}},{"children":[{"children":[],"id":"trust-heading","name":"heading","settings":{"tag":"h2","text":"Kind people, careful work"}},{"children":[],"id":"trust-copy","name":"text-basic","settings":{"tag":"p","text":"Local professionals who respect your space."}}],"id":"trust","name":"section","settings":{"_cssGlobalClasses":["section-shell"]}},{"children":[{"children":[],"id":"contact-heading","name":"heading","settings":{"tag":"h2","text":"Request an estimate"}},{"children":[],"id":"contact-copy","name":"text-basic","settings":{"tag":"p","text":"Tell us what you need and we will prepare an estimate."}}],"id":"contact","name":"section","settings":{"_cssGlobalClasses":["section-shell"]}}],"id":"home-main","name":"container","settings":{"tag":"main"}}],"logical_id":"home","sha256":"1ee9a15f673e4952905db62eb8bd6c9d622507283668c9af2e3ccb01047b834e","slug":"home","status":"publish","title":"Bright and Kind Cleaning"}],"templates":[{"conditions":[{"main":"any"}],"elements":[{"children":[{"children":[],"id":"header-logo","name":"image","settings":{"image":{"asset_ref":"brand-mark","size":"full"}}},{"children":[],"id":"header-name","name":"text-basic","settings":{"tag":"span","text":"Bright and Kind Cleaning"}}],"id":"header-shell","name":"section","settings":{"tag":"header"}}],"logical_id":"site-header","sha256":"ce05a59acf2c231e9ec75e8ee9fac41ce32bde043765ea269449f2ccfafebc7b","status":"publish","title":"Site Header","type":"header"},{"conditions":[{"main":"any"}],"elements":[{"children":[{"children":[],"id":"footer-copy","name":"text-basic","settings":{"tag":"p","text":"Bright and Kind Cleaning"}}],"id":"footer-shell","name":"section","settings":{"tag":"footer"}}],"logical_id":"site-footer","sha256":"9e355a90b0b11ac633abae4116c291e59c3cff8776ebce15513197bcfac2758d","status":"publish","title":"Site Footer","type":"footer"}]},"editing":{"acceptance_sequence":["edit","publish","public_observation","restore","reopen"],"granularity":"native_bricks_elements","target_role":{"required_capabilities":["bricks_edit_content"],"role_slug":"editor"}},"evidence_inputs":{"authorized_asset_hashes":["431ced6916a2a21a156e38701afe55bbd7f88969fbbfc56d7fe099d47f265460"],"creative_provenance":{"canonicalCommit":"db6717f419bfd848296db4eb193b77ff91db4e0a","catalogSha256":"3333333333333333333333333333333333333333333333333333333333333333","guideSha256":"2222222222222222222222222222222222222222222222222222222222222222","references":[{"id":"bright-kind-cleaning","sha256":"4444444444444444444444444444444444444444444444444444444444444444"}],"version":"2026-09-10-v1"},"dossier":{"revision":3,"sha256":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}},"runtime":{"sha256":"a97171e889ff82a92949dff994f10ceeb38cc70d46d7df3d97d3522562c2e887","version":"2.4-rc"},"schema":"wp-codebox/bricks-site-artifact/v1","site":{"customer_id":"customer_417","site_id":"default","starter_id":"starter_native_service_v1","title":"Bright and Kind Cleaning"}}
62 changes: 62 additions & 0 deletions outputs/bricks-native-api-local-rehearsal/cold-reopen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"status": "cold-native-receipt-and-public-render-passed",
"origin": "http://127.0.0.1:8812",
"restored_revision": {
"receipt_id": "native_034982672dcf4ec899496b92fc5c3da8",
"canonical_state_version": 4,
"canonical_state_revision": "d207bbb4-18f3-489b-820d-c1271fe14129",
"canonical_manifest_key": "sites/default/markdown/revisions/d207bbb4-18f3-489b-820d-c1271fe14129.json",
"canonical_persisted_at": "2026-09-10T18:50:09.925Z",
"artifact_sha256": "b916dfffb1a57060f939af43ba77069a0d33dbe584535fddd8de35596c2e33fb",
"native_document_hashes": [
"cc42b781c2c2b32c78acd4e758a8c74fd955880cd84689c4a6f0c49edf970a01",
"85c48820d25bbe844b4e0dbc90b76b09bd891c48071169704b76748b8ec33c18",
"0fdaf3d80ddab36110aa06e58707728bf64305b019baa143f33a75f7bb192bb0",
"b93203b5ad218393a954a9f15a1829628d9a2f433ce060e9b1ad120a6ebd5776"
],
"design_system_version": "design-system-1"
},
"observations": [
{
"viewport": "desktop",
"status": 200,
"heading": "A brighter home",
"nativeElements": 19,
"images": [
{
"src": "http://127.0.0.1:8812/wp-content/uploads/2026/09/bright-kind.png",
"loaded": true,
"width": 1
},
{
"src": "http://127.0.0.1:8812/wp-content/uploads/2026/09/bright-kind.png",
"loaded": true,
"width": 1
}
],
"overflow": false,
"screenshot_sha256": "178aff9e141fedc73031db6afa9f86ae12abc62484a69364251276c85c42af7f"
},
{
"viewport": "mobile",
"status": 200,
"heading": "A brighter home",
"nativeElements": 19,
"images": [
{
"src": "http://127.0.0.1:8812/wp-content/uploads/2026/09/bright-kind.png",
"loaded": true,
"width": 1
},
{
"src": "http://127.0.0.1:8812/wp-content/uploads/2026/09/bright-kind.png",
"loaded": true,
"width": 1
}
],
"overflow": false,
"screenshot_sha256": "48ba45100bcf35061938707ad430093f425d506b5037ce637472ef0baff8ff4a"
}
],
"qualification": "Programmatic native API proof only; licensed visual editor not run."
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading