# Abilities: four small things that would make multi-page agent builds more reliable

**URL:** <https://forum.bricksbuilder.io/t/abilities-four-small-things-that-would-make-multi-page-agent-builds-more-reliable/40715>\
**Category:** Feature Requests / Improvements\
**Created:** [October 28, 2026, 12:41pm UTC](https://forum.bricksbuilder.io/t/abilities-four-small-things-that-would-make-multi-page-agent-builds-more-reliable/40715 "2026-10-28T12:41:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roundedhexagon](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/roundedhexagon/32/3136_2.png) [@roundedhexagon](https://forum.bricksbuilder.io/u/roundedhexagon)\
**Post date:** [October 28, 2026, 12:41pm UTC](https://forum.bricksbuilder.io/t/abilities-four-small-things-that-would-make-multi-page-agent-builds-more-reliable/40715/1 "2026-10-28T12:41:11Z")

</div>

Hi guys! A few requests from building complete sites through the 2.4 abilities. Each one costs us a round trip or a manual fix today.

**1. Global class name collisions during import: let us choose what happens**

Importing a second page whose CSS has `.card` with _identical_ declarations reuses the existing class, which is great. If the declarations differ by even one value, the whole import fails with `bricks_conflict_duplicate_global_class_name`. Setting `options.create_global_classes: false` avoids that, but then the rule lands in the section’s `_cssCustom` rather than in native controls.

On a multi-page build this comes up all the time (a hero variant, a slightly different card padding). An option such as `global_class_conflict: "fail" | "reuse" | "update" | "suffix"` would let the caller decide. Including the differing declarations in the error data would also help.

**2. The HTML/CSS import: per-declaration report** (a reminder of [#40291](https://forum.bricksbuilder.io/t/report-which-css-declarations-mapped-to-native-settings-and-which-fell-back-to-custom-cs/40291))

`responseFormat: "detailed"` gives `customCssGlobalClassCount` and `customCssBytes`, which is a good start. A list of `{selector, property, breakpoint, target: native|custom, reason}` would tell us exactly which source line to rewrite before handover.

**3. Local images in the import** (a reminder of [#40295](https://forum.bricksbuilder.io/t/will-the-fixed-image-import-sideload-into-the-media-library-or-should-i-keep-chaining-upload-media/40295))

On 2.4.4 an `<img>` whose `src` is this site’s own uploads URL still becomes `{"url":…,"external":true}` with no attachment ID and no `srcset`. Resolving it with `attachment_url_to_postid()` would make “upload, then import” a clean two-call flow.

And one that isn’t about the importer:

**4. A loud error instead of a silent drop when element-count changes aren’t permitted**

On a site where the agent role lacked builder access, `bricks/add-element` correctly failed with `bricks_forbidden_builder_access`. A direct meta write that added elements, however, “succeeded” while the stored tree stayed unchanged, because of the `user_can_modify_element_count()` guard. A `_doing_it_wrong` notice, or at least a debug-log line, when that guard discards a write would have saved us an afternoon.
