Table of Contents

Privacy, Metadata, and Signing Boundaries

This article documents the current 1.2.x stable boundary for metadata privacy, identifier handling, signing-ready fields, released signing providers, host responsibilities, and future provider work.

In this software project, ASI means Accountable Systems Infrastructure. AsiBackbone provides governance-oriented software building blocks. It does not provide legal, compliance, privacy, security, or cryptographic guarantees by itself.

Important

The current 1.2.x package family includes signing-ready Core metadata, released local-development signing, and a managed-key adapter boundary. These surfaces do not provide production key custody, tamper-evidence, immutable storage, privacy classification, legal non-repudiation, or compliance certification by themselves.

Current 1.2.x boundary summary

The current stable package family focuses on explicit governance records, host-owned integration seams, released local-development signing, managed-key adapter boundaries, provider-neutral emission, and optional provider projection.

Area Current 1.2.x behavior Still not provided by default
Metadata Host-provided dictionaries and values can flow into contexts, decisions, audit residue, and ledger records. Automatic classification, redaction, encryption, tokenization, or privacy scanning.
Identifiers Correlation IDs, trace IDs, event IDs, record IDs, actor IDs, policy versions, and policy hashes are available for linking records. Automatic pseudonymization, identity-proofing, cross-system identity governance, or secret handling.
Signing and verification boundaries Core records can carry signing-ready metadata and canonical hashing inputs. Released local-development signing and managed-key adapter packages support test/sample signing and host-owned managed-key integration. Production key custody, automatic key rotation, concrete Azure Key Vault/HSM/KMS implementation, immutable storage, tamper-evidence, legal non-repudiation, or compliance guarantees.
Persistence EF Core integration supports host-owned persistence through the host application database. Package-owned database lifecycle, retention policy, encryption-at-rest enforcement, backup policy, or immutable storage.
Audit Audit residue and ledger records make decision flow easier to inspect. Tamper-evidence, regulatory audit certification, legal evidence guarantees, or automated compliance approval.

Metadata privacy boundary

AsiBackbone treats metadata as host-owned data. The package does not know whether a metadata value is public, internal, confidential, regulated, personal, or secret.

The host application should classify and minimize metadata before passing it into AsiBackbone APIs.

Recommended metadata shape:

metadata: new Dictionary<string, string>(StringComparer.Ordinal)
{
    ["region"] = "US-LA",
    ["risk"] = "routine",
    ["workflow"] = "document-approval"
}

Avoid placing secrets, credentials, raw personal data, protected records, or other sensitive values directly in metadata.

Prefer stable but non-sensitive codes:

Prefer Avoid
region = US-LA full address details when not needed
risk = consequential free-form incident details containing personal data
workflow = document-approval full document body
resourceType = purchase-order complete financial details
opaque host-owned subject ID direct personal identifiers when not required

Identifier handling boundary

AsiBackbone exposes identifiers so a host can connect decision flow to logs, audit records, and operational records.

Common identifiers include:

  • EventId
  • RecordId
  • CorrelationId
  • TraceId
  • ActorId
  • PolicyVersion
  • PolicyHash
  • SchemaVersion

These identifiers are not automatically private. They may become sensitive when they can be linked to a person, tenant, agency, customer, protected workflow, or confidential resource.

Host guidance:

  • Use opaque identifiers where possible.
  • Do not use raw secrets as identifiers.
  • Do not place credentials, security tokens, or confidential key material in any identifier field.
  • Treat actor identifiers as potentially personal data when they can be mapped to a person.
  • Treat correlation and trace identifiers as operational data that may appear in logs.
  • Keep tenant, jurisdiction, and resource identifiers no more specific than the decision requires.

Signing-ready, local-development signing, and managed-key boundaries

The current 1.2.x package family separates signing-related behavior into explicit boundaries:

  • Core records may carry signing-ready metadata and canonical hashing inputs.
  • AsiBackbone.Signing.LocalDevelopment provides local/test/sample signing and verification proof paths.
  • AsiBackbone.Signing.ManagedKey provides a provider-neutral adapter boundary for host-owned managed-key clients.

These surfaces do not make audit records tamper-evident, immutable, legally non-repudiable, or compliance-certified by default.

Host responsibilities

The consuming application remains responsible for privacy, security, compliance, and operational policy.

Before using AsiBackbone in a production or regulated environment, the host should decide:

  • which metadata fields are allowed;
  • which metadata fields must be redacted, hashed, tokenized, or omitted;
  • whether actor IDs are personal data;
  • how long audit records are retained;
  • who can read audit records;
  • whether durable records require encryption at rest;
  • whether logs include correlation IDs or decision metadata;
  • whether metadata needs privacy review before persistence;
  • whether records must be copied to immutable storage;
  • whether signing, verification, or timestamp authority is required;
  • how keys, certificates, secrets, and rotation are managed;
  • how data deletion, discovery, and retention obligations are handled.

AsiBackbone should sit inside the host's existing security, privacy, and compliance program. It does not replace that program.

EF Core and persistence boundary

AsiBackbone.EntityFrameworkCore provides model configuration and storage helpers. The host application owns the DbContext, provider, connection string, database permissions, migrations, schema deployment, backups, retention, and encryption choices.

For production persistence, the host should review:

  • database access controls;
  • encryption at rest;
  • encryption in transit;
  • backup and restore behavior;
  • tenant isolation;
  • retention and purge processes;
  • administrative access;
  • operational logging;
  • migration review;
  • incident response requirements.

See EF Core Host Ownership and Migrations for host-owned persistence expectations.

ASP.NET Core boundary

AsiBackbone.AspNetCore provides thin host adapters for request correlation, actor context, HTTP result mapping, and acknowledgment challenge helpers.

The ASP.NET Core package does not own:

  • authentication;
  • authorization;
  • claims transformation;
  • consent notices;
  • privacy notices;
  • session management;
  • endpoint exposure;
  • route protection;
  • UI rendering;
  • external execution.

The host must decide which requests are allowed to reach AsiBackbone and which actors may view or act on decisions and audit records.

Released, host-owned, and future provider work

The current 1.2.x stable package family includes released provider or provider-adjacent surfaces for OpenTelemetry governance emission, local-development signing, and managed-key signing adapter boundaries.

Other provider areas remain host-owned, strategy-only, design-only, sample-only, preview, or future-provider work unless a later stable release explicitly ships them.

Future provider documentation should state whether a provider is:

  • stable;
  • preview;
  • experimental;
  • sample-only;
  • host-owned integration guidance.

Release wording checklist

Use this checklist when preparing current stable release notes or documentation:

  • State that AsiBackbone provides Accountable Systems Infrastructure, not artificial superintelligence.
  • State that metadata is host-owned.
  • State that hosts must classify, minimize, redact, or omit sensitive metadata before passing it into package APIs.
  • State that signing-ready fields, local-development signing, and managed-key adapter boundaries are available where released, but production key custody, tamper-evidence, immutability, legal non-repudiation, and compliance certification remain host-owned.
  • Avoid claims of tamper-evidence unless signing or immutable storage is actually implemented and documented.
  • Avoid claims of regulatory compliance or legal non-repudiation.
  • Keep provider, cloud, signing, outbox, and gateway behavior separate from the current stable package boundary unless explicitly released as stable.