What's Inside
- Why a cached checklist can open and still be out of date
- A lease contract for checklists, tolerances and procedures
- Binding active work orders to one checklist revision
- Matching offline permissions to the risk of each reference
- The reconnect transaction and its outbox
- Boundary tests around every state change
- An append-only record of the rule behind each disposition
A Checklist That Loads Can Still Be Out of Date
A cached inspection checklist stays readable after its permitted validity window ends. That follows from how offline storage works. Local retention and permission to use reference data are two separate mechanisms. The bytes stay on the device until something deletes them, and nothing about their presence says whether the tolerances inside them are still in force.
Consider a plain working scenario. A technician inspects arc welding joints on a remote structure, well beyond network coverage. The handheld opens the weld inspection checklist from local storage, and the form renders cleanly. It shows the questions, the units, the acceptance limits for undercut and porosity, and the procedure steps. Everything looks normal.
The trouble is that a successful render proves only that the content exists locally. It says nothing about whether the technician may apply those limits to a pass/fail call today. An application that treats "the form opened" as "the form is authorized" has quietly merged two questions that need separate answers.
The fix starts with a reference-state check that runs before the governed action, such as starting a procedure or assigning a disposition. The interface can load the form, show historical content for review, and still keep the disposition control unavailable until revalidation succeeds. Many applications check freshness only at startup, and that is too early. A work order that stays open across the expiry moment would sail straight past such a check.
A Lease Contract for Checklists, Tolerances and Procedures
Two kinds of data live on an inspection device, and they deserve different treatment. Reference data governs work: checklists, tolerances, procedures, units. Observations record work: readings, answers, photos, notes. Observations belong to the technician the moment they are captured. Reference data is borrowed, and the loan has terms.
The cleanest model for those terms is a fixed TTL treated as a lease. The client receives the lease at successful authoritative validation. From then on, reading the record, reopening the app, or scrolling through the procedure renews nothing. Only another successful validation against the server can issue a new lease. Lease length itself is a configured policy input. Shorter leases demand more frequent contact with the server, and longer leases let older content stay usable for longer. That trade-off belongs to whoever owns the reference data, and the client has no business inferring it from how often a record gets opened.
The envelope fields
Each cached reference travels inside a compact envelope:
{
"reference_id": "weld-visual-checklist",
"content_revision": "r14",
"validated_at_utc": "...",
"valid_until_utc": "...",
"policy_revision": "p7",
"content_digest": "sha256:...",
"permission_state": "usable"
}
Three timestamps get confused constantly, so it helps to keep them apart. validated_at_utc marks authoritative validation. A download-completed time marks when the transfer finished. A last-modified time marks when someone edited the content. Neither of the last two substitutes for validation.
The comparison rule is strict: effective_now < valid_until_utc means within the lease, and equality means expired. A grace policy, if one exists, is a separate decision that leaves the original valid_until_utc untouched.
Time itself needs care. A server timestamp that arrives after transport delay should not be treated as freshly issued at receipt. A conservative anchor accounts for delay and clock uncertainty. Where the client has a suitable monotonic counter, elapsed time advances that anchor independently of wall-clock changes. A restart, a counter reset or wrap, or lost timing state should trigger a continuity check. If elapsed time cannot be established reliably, governed actions require revalidation, and the lease stays where it was.
Digest Needs a Trusted Source A content digest catches tampering only when the expected value comes from somewhere trustworthy. Authenticate the envelope so the digest, revision, expiry and policy are bound together. Otherwise someone who edits the metadata can silently authorize altered content.
Binding Active Work Orders to One Checklist Revision
An inspection record is really three independently tracked objects. One is the observed measurement. Another is the immutable checklist revision that gives it meaning. The third is the mutable permission decision that authorizes use of that revision. Version pinning handles the second object.
When a work order enters its active inspection state, a single local transaction persists the work-order identifier, the pinned checklist revision and the initial inspection state together. A partial activation should never leave answers floating against an unspecified revision. Each answer then carries a stable question identifier plus that revision. Screen position and visible label play no part in the binding, so reordering questions in a later release cannot change what an old answer meant.
New releases become candidates for newly activated work. Active work keeps its original interpretation. When migration is genuinely needed, it compares field identity, data type, units and semantic meaning, because matching labels alone prove little. A unit change needs an explicit conversion with the original value retained. Threshold changes need a distinct evaluation. A newly required question stays visibly unanswered until someone addresses it.
| Control | Purpose | Evaluation moment | Effect on open work |
|---|---|---|---|
| Fixed TTL | Determines whether a validated reference lease still permits an action | At each governed action and authoritative acceptance evaluation | Can block use of the existing pinned revision without replacing it |
| Revision pinning | Preserves the checklist meaning attached to observations | At activation, with explicit handling during migration | Keeps questions, units, and answer identities stable as new revisions arrive |
The trade-off is worth naming. Pinning preserves meaning and grants no permission. A pinned revision can expire or be withdrawn while the work order is still open. Teams that collapse pinning and expiry into one "version check" end up either replacing forms under a technician's hands or letting expired limits drive dispositions.
Matching Offline Permissions to the Risk of Each Reference
A typo fix in a field label and an expired safety procedure for air carbon cutting should not produce the same lockout. Policy therefore attaches to the smallest practical reference bundle or gated task. The evaluator identifies the requested action and resolves every reference dependency. It checks known withdrawals first, then applies the relevant lease and risk policy.
The policy record supplies risk classification, grace permission and action gates. The client never infers them from a checklist's title or appearance.
| Reference category | Permitted offline action | Expiry response | Technician-facing explanation |
|---|---|---|---|
| Cosmetic form content | Continue within an explicitly configured grace policy | Enter grace-permitted state and retain a stale-reference flag; require revalidation when grace ends | Display content is stale; configured grace permits continued use until the displayed policy boundary |
| Acceptance tolerances | Capture draft observations when the measurement task remains authorized | Retain drafts and withhold pass/fail disposition pending validation | Readings are saved as drafts; validate acceptance limits before assigning a disposition |
| Safety-critical procedures or limits | Begin governed work only while the required validation remains current | Block task start and require current validation for acceptance | Procedure validation is required before this task starts or its submission is accepted |
| Known withdrawn reference | Preserve recorded observations and allow historical review | Override remaining TTL, grace permission, and pinning for governed use | This revision is withdrawn; obtain a permitted reference and resolve the affected work |
Grace is an explicit policy state with a configured boundary. Poor connectivity never triggers it automatically. Cosmetic grace keeps a stale-reference flag in local records and in synchronization metadata, so later processing cannot mistake grace use for current validation.
Dependencies combine strictly. A task that relies on several bundles must satisfy every one of them, and a permissive cosmetic policy cannot carry a procedure that requires revalidation.
Withdrawals Arrive on Reconnect A disconnected device cannot learn about a withdrawal issued after its last server contact. Lease length for safety-critical procedures should therefore reflect how quickly a withdrawal must take effect in the field.
The Reconnect Transaction and Its Outbox
Reconnection runs in two phases. First the client sends its policy revision and reference identifiers and receives current validity decisions. Then it submits queued observations for authoritative evaluation. The server checks two things: whether the recorded actions were permitted, and whether submission meets current acceptance requirements.
The outbox makes this safe to interrupt. Writing the outbox item and transitioning the observation state happen in one local transaction. After a restart, the device holds either a recoverable queued item or an inspection still visibly pending. Each queued inspection carries:
- a stable submission identifier and immutable payload identity
- the work-order identifier and pinned reference revision
- the applied policy revision
- local action times, each with its clock source or uncertainty metadata
- the recorded freshness state and related validation-event or lease identifiers
On the server, a retry with the same identifier and payload returns the existing result. A different payload under that identifier produces an explicit conflict. Duplicates never get accepted.
Acknowledgments come in three kinds: accepted, retained for review, and requires revalidation. A transport-level upload receipt counts as none of them. The client records the acknowledgment durably before clearing its retry obligation. Review and revalidation cases keep their observations and stay visible as unresolved work. The acceptance decision also uses an identifiable policy and reference snapshot, so newer metadata arriving mid-sync never rewrites the policy attached to an earlier action.
The performance cost is modest. Extra metadata rides along with each payload, and the reference exchange adds a round trip before uploads. In return, flaky links cost nothing worse than a retry.
Boundary Tests Around Every State Change
Expiry bugs live at edges, so tests target them directly. Fixtures define reference revisions, policies, a controllable clock and durable client and server state. Each action in the matrix gets its own expected result:
- Opening work
- Starting a governed task
- Saving observations
- Making a disposition
- Submitting
- Receiving server acknowledgment
Every action is exercised just before expiry, exactly at expiry and after expiry. The equality case matters most. With effective_now set equal to valid_until_utc, the checklist should still render and its pinned answers should remain intact. A governed disposition, though, should require either an independently permitted grace state or successful revalidation.
Time-disturbance fixtures move the clock forward, move it backward, restart the application and restart the device. None of these events may assign a new validated_at_utc or extend valid_until_utc without a successful server validation.
Kill Sync After Acceptance Stop the test after the server accepts a submission and before the client persists the acknowledgment. Retrying the same submission identifier should resolve to one accepted inspection and a recoverable local state.
Several more fixtures round out the suite. A mid-inspection revision fixture confirms that active work keeps its pinned answers. A withdrawal fixture blocks governed use without deleting observations. A mixed-risk fixture puts cosmetic content and a plasma arc cutting safety procedure in the same dependency graph and confirms that cosmetic grace never satisfies the procedure gate.
An Append-Only Record of the Rule Behind Each Disposition
Months later, a reviewer looking at a failed weld needs to separate two things: what the technician observed, and which rule classified it. The decision history makes that possible. Each disposition appends an event containing a decision identifier, observation-set identifier, disposition, reference revision, policy revision or policy-decision identifier, actor identifier, validation-event identifier, and recorded time with its clock context.
Corrections append too. An observation correction keeps the original value and records the replacement, actor and reason as a new event. A rule change produces a reevaluation, which is a different kind of event from a measurement correction. Both link explicitly to the decisions they supersede.
Two practical requirements follow. Reconstruction needs the immutable reference and policy content to stay retrievable, because a revision string whose content has been overwritten cannot establish the earlier rule. Append-only behavior also needs real storage permissions and an integrity strategy. Hiding the edit button accomplishes nothing on its own. The structure supports technical investigation and explanation of decisions, and it makes no claim to certification or compliance on its own merits.
The reason all of this matters fits in one weld. The same undercut reading, taken once and never changed, can pass under revision r14 and fail under r15 once the tolerance tightens. The checklist revision belongs inside the inspection record itself, as much a part of the evidence as the measurement.

Join the Conversation
Share your thoughts.
Your Comment