Skip to content

Disconnected AI: Artifacts, Snapshots and Update Authority

12 min reading

Define a complete disconnected capability with reviewed artifacts, explicit snapshot freshness, local capacity and an accepted recovery path.

Page details

GenAI · Advanced study · 2 / Depth

Sources · 12 min reading · 27 min with practice

Published · Last edited:

More
20px

Progress is saved in this browser when storage is available.

View guided paths and progress

Know first: Design the hypothetical enterprise knowledge base for 10 million documents. Optional help: GenAI foundations.

Optional background references

Which dependencies must stay inside the declared boundary?

Hypothetical scenario. Northwind needs the assistant in an environment without ordinary external connectivity. Maya can ask a basic question, but a later input triggers a missing artifact download. Dev has copied the weights and documents; Priya asks what the complete accepted service actually requires.

Maya: “The first answer worked. Why does this input still need an external service?”

Dev: “The model files are only part of the runtime and maintenance path.”

Priya: “Inventory the supported task, its dependencies and its accepted evidence snapshot.”

This optional depth chapter builds on serving, evidence lifecycle and versioned release records. You will trace artifact completeness, update authority, snapshot age and rollback through a declared connectivity boundary, without equating local generation with a complete disconnected service.

Inventory the complete runtime and maintenance path before calling the deployment disconnected. The boundary includes model and preprocessing artifacts, inference runtime, retrieval storage, identity, task tools, logging, monitoring and updates. A local generation process is only one part of the service.

Specify the actual connectivity and trust boundary

“Offline” can mean no internet access during inference, controlled periodic transfer or a physically separated environment. Those are different operating contracts. Describe the allowed paths and who controls them rather than assigning one reassuring label to every deployment.

Keep the assistant's capabilities explicit. It can answer from accepted local evidence and execute permitted local tools; it cannot know an external policy revision that has never crossed the boundary. If a task requires current external state, the system needs a defined stale-data or unavailable outcome rather than a confident guess.

Physical separation also does not authorize every local user or tool action. Authenticate callers, enforce source scope and restrict execution to the permitted task. An untrusted imported document remains untrusted even after it is copied into an isolated network.

Package a coherent disconnected release with update authority

Hypothetical scenario. A disconnected assistant needs model, tokenizer, runtime, retrieval index, permission snapshot and trust metadata inside its declared boundary. A downloaded weight file alone is not a complete deployable system.

Package a coherent disconnected release with update authority
ArtifactConcrete evidenceDecision boundary
Bundle manifestartifact hashes and compatible versionsCompleteness
Trust metadataauthorized signing roles/version/expiryUpdate authority
Permission snapshotscope and accepted ageDisclosure envelope
Check integrity and trust: Authorized bundle → Offline verifier.Check integrity and trust: Authorized bundle → Offline verifier. Authorized bundle to Offline verifier: check integrity and trust; Offline verifier to Snapshot-bound assistant: enforce compatibility and freshness.Authorized bundleOffline verifierSnapshot-boundassistantcheck integrity and trustenforce compatibility and freshness
Check integrity and trust: Authorized bundle → Offline verifier. Enlarge the diagram to inspect its labels; the surrounding records and explanation give the text alternative.

Integrity hashes detect changed bytes; authenticity establishes the authorized publisher; freshness determines whether the artifact is still acceptable. Use a versioned bundle manifest and an update policy that rejects rollback or expired metadata under the selected trust model. Disconnected permission snapshots cannot promise immediate online revocation. State the permitted snapshot age and unavailable behavior when it expires, and retain an explicit process for signed updates and recovery.

Package every dependency needed for a supported task

A release manifest should identify model weights, tokenizer and processors, runtime packages, configuration, evidence and index versions, and the evaluator used to accept the bundle. Record compatibility between them. A model artifact that loads is not proof that the full task path works under the deployed input shapes.

Include the non-model services: local identity, clock assumptions, storage, secrets, logging and any approved tool endpoints. Check whether dependencies attempt remote downloads, license checks, telemetry or metadata lookup. A denied remote call can still break availability even when it does not succeed in moving data.

Prepare and inspect the exact artifacts intended for transfer. Resolving an unpinned package name again inside the boundary may select a different dependency graph or fail entirely. Retain enough provenance to trace where the approved material came from and which review accepted it.

Integrity, authenticity and freshness answer different questions

A digest can show that transferred bytes match an expected digest. A signature checked against a trusted key can support authenticity under the key and verification policy. Neither automatically establishes that the artifact is the newest allowed version or that its contents are safe for Northwind's task.

The Update Framework overview explains a structured approach to protecting software updates using trusted metadata and roles. It is a primary mechanism reference. Using a file digest or one signature does not establish that a deployment implements the framework or meets a particular assurance level.

Protect the trusted-key and approval process independently from ordinary inference use. Plan how compromised or retired keys are handled, how a known-bad release is withdrawn and what happens when update metadata cannot be refreshed. A disconnected system needs an explicit answer to those events rather than an assumption that isolation prevents them.

Reviewed release material crosses a controlled deployment boundaryA preparation environment assembles model, runtime and evidence artifacts. Approved transfer carries a versioned bundle into the disconnected environment. Local verification and task evaluation precede activation, with the previous accepted bundle retained for rollback.Prepared artifactsand provenanceApproved transferversioned bundleVerify and evaluateinside the boundaryActivate accepted releaseretain rollback identity

Budget the transfer and rollback footprint

Hypothetical scenario. Choose a release bundle containing 4 GiB of model/runtime material and 2 GiB of evidence/index material. The selected bundle is 4 + 2 = 6 GiB. Keeping a current release and a previous accepted release requires 2 × 6 = 12 GiB before logs and ordinary working storage.

Preparing another complete candidate alongside both requires 12 + 6 = 18 GiB. This selected staging peak is larger than the six-GiB final bundle. Compression, unpacking and temporary verification files may add further space, so inspect their actual lifetimes instead of treating final artifact size as the storage requirement.

At an assumed useful transfer rate of 100 MiB per second, six GiB contains 6 × 1,024 = 6,144 MiB. Payload-only transfer time is 6,144 / 100 = 61.44 seconds. Approval, media handling, verification and activation require separate time. These are chosen values, not a measured transfer or a security certification.

An accepted snapshot needs a visible age and task policy

Record the source cutoff and accepted evidence revision. If a chosen task requires evidence no older than 48 hours and the local snapshot is 60 hours old, its age exceeds that requirement by 60 − 48 = 12 hours. The system should follow the defined unavailable or explicitly historical outcome rather than imply current knowledge.

A new model does not refresh a stale policy index. Likewise, a fresh document transfer does not establish compatibility with an older parser or embedding representation. Evaluate the complete bundle's source and transformation identities before activation.

Different tasks can have different freshness requirements. A stable procedural explanation may be acceptable from a declared snapshot while a live account-status decision is not. Make the permitted scope visible to the application and user; do not claim a universally current disconnected assistant.

Size accepted work with the same care as a connected service

Choose a hypothetical sequential worker whose ordinary request takes five seconds and whose larger request takes 20 seconds. With a selected mix of 80% ordinary and 20% larger requests, mean service time is 0.8 × 5 + 0.2 × 20 = 4 + 4 = 8 seconds.

The simplified maximum under that stable mix is 3,600 / 8 = 450 requests per hour before other overhead. At 300 arriving requests per hour, the selected utilization is 300 / 450 ≈ 66.67%. This average does not establish a latency guarantee; burstiness, longer inputs, tool waits and scheduling can still cause queues.

Define local admission, output bounds and cancellation behavior. A disconnected system cannot assume cloud overflow will rescue an overloaded worker. Batch processing or an explicit deferred outcome may be appropriate when interactive capacity is unavailable.

Treat imported knowledge as a new derived release

Validate imported source identities, access labels and parsing quality before rebuilding the local index. Preserve the accepted source cutoff and use a versioned index switch. A partial transfer should not make half of a new policy revision readable beside half of the old one.

Deletion and correction need to cross the boundary as deliberately as new content. A local service that receives only additions can retain withdrawn evidence indefinitely. Include tombstones, revision changes and cache invalidation dependencies in the update process, with evidence that the intended view became active.

Keep model adaptation lineage separate. A source withdrawn from the retrieval snapshot may also have appeared in training material. The local vector-store cleanup does not establish that an already trained adapter no longer reflects it.

Keep observability useful inside the boundary

Local operators still need request outcomes, queue state, accepted artifact identities and failure signals. Decide what diagnostic content is retained and who can inspect it. Logging entire prompts can create another sensitive corpus even when logs never leave the environment.

If diagnostic material may later be exported, define an approval and minimization process. The transfer should not become an unreviewed path for source documents or credentials. Aggregate operational measurements and content-bearing traces have different information risks and should not be treated as interchangeable files.

Time synchronization and certificate or metadata expiry also need an operating plan. A machine can remain disconnected while its assumptions about time or trusted configuration become invalid. Test the actual recovery behavior for those conditions rather than assuming that a working first boot establishes continuing availability.

In the wild: update security is more than checking a hash

The Update Framework's documented roles and metadata illustrate why software distribution needs authenticity and version/freshness reasoning in addition to byte integrity. The useful lesson is to define which authority approves an artifact and which conditions permit its activation. The reference does not claim that Northwind has implemented or audited that framework.

Hypothetical scenario. Northwind transfers a validly signed older bundle after a newer policy release. Its signature passes, but activating it would restore withdrawn instructions. Consult the accepted-release and rollback policy, distinguish an approved recovery from an accidental downgrade, and reevaluate the task's freshness constraints.

Choose disconnection for an explicit operating requirement

Disconnected deployment can be appropriate when connectivity is unavailable or a defined boundary requires local processing. It increases responsibility for dependencies, capacity, updates and recovery. It does not automatically establish privacy, compliance or correctness; those depend on the actual controls and task evidence.

Prefer a narrower accepted task when the environment cannot maintain the required freshness or capacity. A reliable snapshot-based assistant with clear limits can be more useful than an apparently general assistant that silently guesses about external state.

Test the bundle manifest boundary

Recovery keeps the original contract: validate full manifest.Recovery keeps the original contract: validate full manifest. New signed bundle to Compatibility check: validate full manifest; Compatibility check to Atomic activation: retain recoverable prior edition.New signed bundleCompatibility checkAtomic activationvalidate full manifestretain recoverable prior edition
Recovery keeps the original contract: validate full manifest. Enlarge the diagram to inspect its labels; the surrounding records and explanation give the text alternative.

The bundle hash matches but its permission snapshot expired. May the system claim current access?

Reveal the design reasoning

No. Follow the declared offline policy, such as refusing affected disclosures until an authorized update. Byte integrity cannot establish current permission.

Decision: Define offline freshness and update authority alongside the artifact bundle.

Follow the release across the boundary

A six-GiB bundle is ready. How much selected space is needed for current, rollback and candidate copies?

Three complete copies require 3 × 6 = 18 GiB before working files and logs. The final bundle size does not describe the staging peak. Inspect unpacking and verification allocations separately.

A signed bundle is older than the accepted release. Does its signature require activation?

No. Signature verification supports authenticity under the trusted-key policy. Version, freshness, withdrawal and approved rollback are separate decisions. A valid signature does not make an old task policy current.

The local evidence is 60 hours old and the task requires a 48-hour maximum. Can the model fill in the missing update?

No. The snapshot exceeds the selected requirement by 12 hours. Use the defined stale-data or unavailable outcome. Model fluency is not evidence of an external revision that never entered the environment.

Northwind decision log

  1. Inventory the complete runtime and accepted snapshot before declaring a disconnected capability.
  2. Verify artifact authority, integrity, compatibility and freshness before activation.
  3. Budget local capacity, update staging and explicit recovery without assuming remote overflow.

Go deeper: least privilege and recovery

Northwind can identify an accepted local evidence and runtime bundle. Page 49 returns to choosing an intervention: use the prompt, retrieval and evaluation lessons to distinguish a behavior problem from missing or obsolete evidence before considering parameter adaptation.