# Software and storage architecture

The build/SSR boundary validates full site configuration and emits the cookie runtime descriptor. Root/headless `createConsent` consumes that descriptor and exposes only the cookie inventory; full-site documents and workflow inputs stay separate. See [browser configuration](</guide/browser-config/index.md>) for CLI output, required evidence and compatibility migration.

The [compliance map](</guide/compliance-map/index.md>) explains what each component serves. This diagram shows where the supporting software runs and where its information is kept.

## All twenty-one packs

Start with one job or combine several. Each pack below opens its place in the setup library. The software diagram that follows shows their shared infrastructure.

### Start here

- [Legal pages](/start/#pack-privacy-pages) — Publish privacy, cookie and terms pages that explain your data practices and conditions of use.
- [Cookie choices](/start/#pack-cookie-choices) — Ask before loading optional analytics or other tools, and let visitors change their choice.
- [Terms agreement](/start/#pack-terms-agreement) — Ask users to accept a particular terms version and keep the matching agreement record.

### Privacy information

- [Form notices](/start/#pack-collection-notices) — Put a short privacy explanation beside a form, where people decide what information to give.
- [Information from other sources](/start/#pack-indirect-collection) — Explain information received from a partner or another source. Current profile: New Zealand IPP3A.
- [Privacy request page](/start/#pack-privacy-requests) — Give people a place to find access, correction, deletion and other privacy request routes.
- [Profiling & location notices](/start/#pack-technology-notices) — Explain identification, location or profiling features before activation. Québec-focused profile.

### Add a function

- [Form permissions](/start/#pack-form-permissions) — Record a separate opt-in, explicit refusal or withdrawal for a specific purpose and contact channel.
- [Marketing requests · South Africa](/start/#pack-za-marketing-requests) — Ask for future email, SMS or WhatsApp marketing permission, with declared products and an explicit refusal.
- [Gated media](/start/#pack-gated-media) — Hold an embedded frame or image until the visitor allows contact with its provider.
- [Evidence workspace](/start/#pack-evidence-workspace) — Keep policy versions and reported choices together for later review, search and export.
- [Processing opt-outs](/start/#pack-processing-opt-outs) — Offer sale, sharing or targeted-advertising opt-outs separately from cookie consent.
- [Storage exceptions](/start/#pack-assessed-storage-settings) — Provide an off switch for qualifying UK statistical or appearance storage, separately from cookie consent.
- [Google Basic Consent Mode](/start/#pack-google-basic) — Connect Google Analytics or Ads to cookie choices using Basic Consent Mode.

### Purchases and contracts

- [Contract withdrawal](/start/#pack-contract-withdrawal) — Give customers an online way to declare withdrawal from an eligible purchase and keep a copy.
- [German contract cancellation](/start/#pack-subscription-cancellation) — Provide the supported German cancellation form for eligible continuing contracts, such as subscriptions.
- [Paid order review](/start/#pack-paid-order-review) — Show products, total charges and ongoing commitments before a customer places a paid order.
- [Contract confirmation copies](/start/#pack-customer-confirmations) — Keep the customer’s full contract copy and track its handoff to your delivery service.
- [Guarantee notices & labels](/start/#pack-guarantee-information) — Display the EU shop guarantee notice and qualifying producer durability labels on products.

### Regional rules

- [Consent expiry · Ireland](/start/#pack-ie-consent-duration) — Add the Irish six-calendar-month default expiry for saved consent, after applicability review.
- [Repeat prompts · Italy](/start/#pack-it-repeat-prompts) — Avoid asking again too soon after refusal or dismissal, using the supported Italian rule.

Regional packs cover the named timing rules. Review applicability before enabling them.


The library is smaller than the component API. The [pack roadmap](</guide/pack-roadmap/index.md>) identifies existing components that still need their own guided setup path.

## Build, browser and optional backend

**Where the software and records live**

The frontend can stand alone. Add a recording backend when the selected workflow needs durable evidence; the adopter supplies authorization and operations.

### Your build

Reviewed inputs → pinned output.

- [Inventory & authored content](</guide/authoring/index.md>): Public processing facts, reviewed wording and optional Markdown/MDX sources.
- [Compile & release](</guide/package/index.md>): Validate configuration, render documents and pin the released content and runtime settings.
- [Static public assets](</guide/releases/index.md>): Serve legal pages, selected runtime configuration and retained public revisions with the site.

### Visitor browser

Information, controls and local state.

- [Documents & controls](</guide/compliance-map/index.md>): Display notices; keep cookie choices, form permissions, agreements and order actions separate.
- [Preferences & recovery](</guide/form-permissions/index.md>): Browser storage remembers choices or objections; optional IndexedDB journals retain pending actions. The selected module determines storage.
- [Managed service lifecycles](</guide/consent/index.md>): Start only allowed work and stop owned producers and declared markers on restriction.

### Optional host backend

Authorize before reaching storage.

- [Host authorization & admission](</guide/cloudflare-starter/index.md>): Resolve the site, person or session context, authorize access and validate bounded recording requests.
- [Durable records & archives](</guide/cloudflare/index.md>): Use scoped Durable Objects for evidence, released wording, private source and applicable delivery jobs.
- [Operator workspace & lifecycle](</guide/evidence-lifecycle/index.md>): Search and compare evidence, grant exports separately, and apply host retention, holds and erasure policy.

The build serves public assets to the browser. Configured host transports connect selected actions to scoped backend recording.

Browser preferences are distinct from durable evidence. Public documents, private archives and operator access have different boundaries. Recording, scheduling, delivery and retention require explicit host integration.


Arrows show configured integration paths, not automatic data collection. Static documents need no browser runtime or backend. A host can use its existing recording transport instead of the optional Cloudflare package.

## Storage boundaries

| Location | Contents | Who controls it |
| --- | --- | --- |
| Public deployment | Rendered legal pages, public facts, selected runtime settings and retained public revisions. | The site's build and deployment. Private notes and source archives stay outside these assets. |
| Visitor browser | Local preference memory and, for selected modules, objection or pending-action journals. | The browser and host integration. Unavailable or invalid state keeps managed work blocked; fresh-state behavior depends on the selected module. |
| Scoped Durable Object | Registered releases, selected evidence ledgers and optional private source or job archives. | The host chooses the object/context and authorizes recording and inspection. |
| Host application and providers | Accounts, submissions, fulfillment, payment or delivery state. | The adopter's application. Notabenda records do not perform those operations. |

Browser storage and server evidence have separate lifetimes. In particular, expiring a permission does not determine when its evidence must be erased, and retaining an event does not keep that permission active.

## Operator access and operations

The optional worker receives a host-authorized scope before accessing storage. The [backoffice](</guide/cloudflare/index.md>) can search retained records and compare document revisions. Private source and export access require separate grants. The package provides no account or login system.

The host owns access policy, identity/contact binding, write admission, deployment secrets, scheduling, provider delivery, retention, holds and erasure eligibility. The [Cloudflare starter](</guide/cloudflare-starter/index.md>) and [evidence lifecycle guide](</guide/evidence-lifecycle/index.md>) describe the implemented hooks and remaining host work. Discovery and CI remain optional adopter tooling.
