Lawfare Academy · Complete Digital Business and AI Applications edition 5

Choose an operating pattern before choosing a model

Preserve the two existing economic investigations

The original course contains two distinct task-cost investigations. The first uses an eight-minute baseline, two-minute drafting, three-minute review and additional five-minute correction; the second uses a six-minute inquiry baseline, two-minute review and separate subscription/processing assumptions. Preserve both with their original denominators, changed facts and cost boundaries. They are not observations from one measured business. This studio adds the missing patterns-management preparation and an independent **Cypress Request Office** example. All figures are fictional and no real records or external actions are needed.

An architectural or operating pattern is a reusable way of addressing a recurring problem under stated conditions. Its value is the reasoning that connects the problem, context, competing needs, proposed structure and consequences. A label such as AI assistant supplies none of those details. Two applications can call the same model but have different authorization, source, review and recovery arrangements; their business risk and usefulness can differ sharply.

Begin a pattern record with an identifier, version and owner. State the problem, participants, assumptions, data boundary, expected result, known failure modes, alternatives and evidence needed to use it. Document consequences that remain after adoption. An approval-before-release arrangement reduces some unreviewed actions but introduces a review queue and depends on the reviewer seeing the actual proposed payload. A cached answer reduces retrieval work but introduces freshness, revocation and scope questions. Neither pattern proves safety by its name.

Move from an enterprise choice to an implementation

At enterprise scope the organization may decide that each client retains a separate information boundary. At solution scope a particular request service then authenticates a caller, filters permitted sources, creates a draft, presents supporting evidence and records a review decision. At component scope a policy-checking interface, source-version cache key and duplicate-safe submission operation implement parts of that promise. A language-specific idiom expresses a narrower implementation choice. These levels constrain one another; a convenient implementation cannot silently override the enterprise's client boundary.

An architectural style describes an overall organizing approach. An architectural pattern resolves a recurring structural problem within a context. A design pattern addresses a narrower responsibility or interaction among components. An implementation pattern or idiom makes a choice concrete in a technology environment. Terminology varies among catalogs, so explain the actual boundary instead of arguing only about names. An application using a singleton object does not thereby have one authorized business authority across all servers, processes or clients. Object creation and organizational permission are different matters.

For Cypress, compare a request/reply service with a queued drafting service. The first waits for a result and can give immediate feedback but depends on timely availability of its sources and model. The second records accepted work and returns a tracking identity, allowing delayed processing, but now needs queue ownership, cancellation handling, retry policy and a way to show pending versus completed work. A queued acknowledgment is not proof that the answer was verified or sent. Choose the pattern according to the promised response and consequence rather than assuming asynchronous means reliable.

Compose a small pattern language

A catalog makes patterns discoverable by scope, problem, dependencies and evidence. A pattern language records how choices work together: a permitted-source gate precedes retrieval; a draft-with-evidence step supports review; a payload-bound approval precedes submission; a stable operation identity supports reconciliation after uncertain responses. Each relationship should explain why order and boundaries matter. A catalog of impressive names without their relationships does not describe a working system.

Consider orchestration and choreography. In orchestration, a coordinator tracks the work and directs participating services. That can make the overall state and timeout owner explicit, but creates a coordinator dependency and requires durable state. In choreography, services respond to published events under agreed contracts. That can reduce central sequencing but makes ordering, duplicate handling, tracing and overall completion harder to see unless designed. An event about a draft being generated is not an event that an authorized final communication was delivered. Both structures need cancellation and uncertain-outcome policies.

A useful Cypress catalog entry might be “review a source-bounded draft.” Context: a permitted staff member seeks a nonbinding draft from approved current documents. Participants: requester, authorization service, source store, generator and reviewer. Consequence: the reviewer receives a proposal and supporting passages, while sending or modifying an official record remains outside the generator's authority. Failure cases include an expired source, misleading passage, client mismatch, malicious text, unsupported assertion, reviewer overload and changed payload after approval. Its evidence packet includes representative adverse cases and a current permission/payload check. A completion badge from the language model is not the evidence.

Manage patterns as maintained assets. Record which versions, environments and tests supported prior use. A changed source store, model, prompt or access policy can invalidate an assumption even if the pattern's name stays fixed. Retain rejected patterns and the reason for rejecting them, and distinguish a reusable design from verified implementation evidence. A local precedent can help another team ask better questions but is not automatic acceptance in its different context.

Worked choice: pattern fit and end-to-end cost

The independent Cypress office handles 300 requests per month at a stipulated 12 minutes each. There are 180 eligible routine requests and 120 that remain in the manual workflow. A proposed drafting arrangement takes three minutes to generate, four to review and an additional six to correct on 10% of eligible requests. Expected eligible handling is 3 + 4 + .10 × 6 = 7.6 minutes. Total handling is 180 × 7.6 + 120 × 12 = 2808 minutes, compared with 3600 before the change. The 792 released minutes are 13.2 hours; at a conditional opportunity value of 30 per hour, modeled capacity value is 396 per month.

Recurring cash outlays are a 250 subscription, .20 processing per eligible request and 40 maintenance: 250 + 36 + 40 = 326. Modeled net value is 396 − 326 = 70 monthly before setup. A 1200 setup cost has a simple 1200/70 ≈ 17.14-month recovery period only if that conditional net persists. If paid hours do not fall and no expense is avoided, the 396 is not automatically cash saved. A firm might still benefit by using released capacity productively, but it needs evidence of useful demand and available downstream capacity.

Changed fact: 30% of eligible drafts need the extra correction. Expected eligible handling rises to 8.8 minutes, total work to 3024 minutes and capacity release falls to 576 minutes, or 9.6 hours worth 288 on the stipulated scale. Net modeled value becomes 288 − 326 = −38 monthly. The cost of extra review and correction belongs in the pattern's consequences, not in a footnote hidden by the model's response time.

Compare a competent deterministic template arrangement that takes five minutes for each eligible request and leaves the other 120 unchanged. Total effort is 180 × 5 + 120 × 12 = 2340 minutes, releasing 21 hours worth 630. At a 90 recurring cost, modeled net is 540 before its separate setup. This comparison assumes the same accepted-output quality and eligibility. If templates cannot handle the required variation, that assumption must be tested rather than asserted. A cheaper but inadequate answer is a different product.

Optional practice and complete models

Create a versioned pattern record, a small connected catalog, an adverse-case packet and a recommendation among manual, template and generated-draft arrangements. Explain what evidence would reverse the recommendation.

Guided model: define scope and the actual completion event

An enterprise client boundary constrains solution retrieval, cache design, review and submission. A generated draft is complete only for the drafting step; it is not an authorized external communication. A queued acknowledgment proves accepted work under the queue's contract, not verified delivery. Changed fact: the client revokes access while a task is queued. Recheck permission at each relevant protected read/action boundary and prevent a stale permitted-source result from becoming new authority. Retain cancellation and outcome evidence rather than merely deleting a visible queue row.

Independent model: economics and a changed correction rate

At 10% correction, eligible effort is 7.6 minutes, total 2808, released capacity 13.2 hours worth 396, recurring outlay 326 and modeled net 70. Setup of 1200 gives about 17.14 months simple recovery only under the stipulated continuing net. At 30%, effort is 8.8, total 3024, release 9.6 hours worth 288 and net −38. The separate template comparison gives total 2340, 21 hours worth 630 and net 540 before its setup. Keep Cypress separate from both original 1000-task investigations. None of these figures establishes real payroll savings or equivalent answer quality.

Transfer model and 20-point rubric

Award 0–4 points each for the problem/context/authority boundary; scope hierarchy and concrete implementation distinction; catalog composition and failure dependencies; comparable end-to-end economics; and a justified changed-fact revision. Zero is absent, one supplies labels without usable evidence, two omits a consequential condition, three is reproducible within scope, and four tests a serious alternative and revises the conclusion. A strong answer initially prefers the template on the stipulated economic and quality assumptions, then verifies whether it actually satisfies the required cases. Changed fact: templates fail a critical source-qualification case while generated drafts pass it only with additional review. Rebuild the eligible set, gates, cost and review-capacity evidence; do not preserve the cheap ranking by quietly dropping that case. Independent human subject review and observed learner testing remain pending separately.

Optional provenance

OpenStax, Patterns Management was consulted for pattern scope, catalogs and connected pattern languages. The Cypress operation, costs, adverse cases, comparisons and models are original Academy instruction. The source is optional provenance; all required teaching for this studio is here. Contemporary state-law questions use Florida by default, with federal and explicitly comparative material distinguished. No actual customer, learner or production system is used in these exercises.