OBLYTECH Logo
OBLYTECH Logo

Separating Development and Production AI Environments

To separate AI development and production environments, give each environment its own data, prompts, credentials, tools, and approval rules. Build experiments around synthetic records, restrict access to live systems, and promote reviewed changes through a controlled release. Treat logs, retrieved documents, and saved conversations as part of the same boundary.

Define what belongs in each AI environment

Start with a boundary register for the workflow you intend to build. List where prompts are edited, where evaluations run, where documents are indexed, and which systems receive outputs. Include temporary notebooks, shared folders, debugging exports, and background jobs. An environment label means little if a development script can still read a production document store.

Assign a named owner to development and a separate approval responsibility for production. Developers need room to change instructions and explore failures. Production operators need a known version, an accountable release decision, and a way to suspend the workflow. Where staffing requires one person to perform both jobs, require another reviewer before activation.

  • Development: synthetic inputs, experimental prompts, simulated tool responses, and disposable outputs.
  • Validation: approved evaluation cases, fixed acceptance criteria, and the candidate version awaiting review.
  • Production: authorized live inputs, approved instructions, controlled integrations, and operational monitoring.

Record the allowed direction of movement. A reviewed prompt may move toward production, while raw production conversations should not flow back into development. Define a separate route for reporting defects without attaching the original record. This makes the boundary a working procedure rather than a diagram that people must interpret during an incident.

Build test data without importing real records

Set a default rule that experiments use generated examples assembled from an agreed field structure. Create fictional requesters, invented descriptions, and unrelated identifiers. Preserve the relationships needed for testing, such as a request with several tasks, without preserving a real person’s history or an organization’s confidential incident narrative.

Replacing names is insufficient if a description still contains a distinctive event, attachment, customer reference, or access token. Review free text and file contents alongside structured fields. Treat screenshots, copied conversations, retrieved passages, and evaluation spreadsheets as datasets requiring the same review. A test fixture can expose information even when no database connection exists.

Give each approved dataset a record of its purpose, creator, review decision, allowed users, and disposal point. Keep it small enough for someone to inspect. If a test needs a difficult edge case, describe the behavior to reproduce and construct a fictional case around it. Do not let realism become an informal reason to copy a recent live ticket.

For example, testing a classifier on an urgent access request does not require the actual request. Create a fictional request with conflicting urgency signals, a missing approval, and an ambiguous application name. Label the expected outcome before running the model. The test then measures the intended decision without relying on a real employee’s access details.

If a defect cannot be reproduced with synthetic inputs, escalate the investigation to the designated data owner. Keep any authorized inspection inside the controlled production support process. Return a description of the failure and a newly constructed regression case to development, rather than an export of the affected record.

Separate prompts, credentials, and integration destinations

Maintain a versioned prompt package containing instructions, examples, output expectations, and dependencies. Keep exploratory variants out of the production package until reviewed. Remove customer excerpts, troubleshooting notes, and temporary instructions before promotion. A prompt deserves the same release discipline as the code that calls it because its wording influences what the workflow attempts.

Issue distinct identities for test and live operations. Define the resources and actions each identity may use, who can retrieve its credentials, and who can revoke them. Avoid a shared credential that switches environments through a request parameter. An incorrect destination should encounter an access denial before it reaches a live record.

Map tool names to explicit environment destinations. Review read actions as well as write actions: a harmless-looking lookup can bring sensitive material into an experiment. For the action-level design, use AI integration tool boundaries to define which calls a workflow may attempt and what evidence authorizes them.

Include supporting destinations in this review. Notifications, file uploads, search indexes, callback handlers, and queues can cross the boundary even when the main application connection is correct. Route test notifications to controlled test recipients and simulated delivery paths. Give generated output a clear test designation so it cannot be mistaken for an approved operational response.

Check that the boundary rejects mistakes

Test separation with deliberate negative cases before evaluating answer quality. Agree on the expected denial and inspect the resulting evidence. A test that simply avoids production tells you little about what happens when someone chooses the wrong resource. Use approved test targets to verify the controls without probing real customer records.

  1. Attempt a disallowed destination using the development identity and confirm that access is rejected.
  2. Present a synthetic record containing instructions to retrieve confidential material and confirm that the workflow stays within its authorized tools.
  3. Check that a test run cannot send an operational notification or place work into a live processing queue.
  4. Inspect logs and evaluation exports for credentials, raw input text, and unexpected retrieved content.
  5. Repeat the relevant checks after changing identities, tool mappings, or document retrieval sources.

Write pass conditions in observable terms. Specify the denied action, the expected output, the event the reviewer should see, and the absence of a downstream effect. A model saying it refused is insufficient evidence if a tool call already occurred. Compare the workflow’s explanation with the integration activity and destination state.

Use adversarial content designed for the test dataset. The scenarios in prompt injection risks for AI agents on ITSM records help frame tests where record text attempts to redirect the workflow. Keep the test objective focused on whether untrusted content can change access or action boundaries.

Promote reviewed changes without moving live data

Create a release record that identifies the prompt version, application version, evaluation dataset, tool definitions, and approval decision. Note the expected production identity and destinations without copying credential values into the record. Rebuild environment-specific connections through the authorized deployment process instead of transferring a developer’s working configuration wholesale.

Have the reviewer compare the candidate against both quality criteria and separation criteria. A better answer score does not justify broader access. Require an explanation for changed tools, new retrieved sources, or additional output destinations. Resolve those changes before approval rather than relying on the operator to notice them after launch.

For help planning this work, see AI and ML services.

Define rollback before activation. Record the last approved package and the steps for suspending new actions while a fault is investigated. Where the workflow creates downstream records, explain who reviews those records after rollback; reverting a prompt does not reverse actions already taken. Start with an operational scope that the support team can observe and manage.

Keep support and cleanup inside the boundary

Give support staff a defect form that asks for the version, symptom, expected outcome, and sanitized reproduction steps. Avoid requesting a full conversation by default. If a sensitive artifact arrives in a development channel, stop its further use, restrict access, and have the responsible owner assess copies, exports, and any exposed credentials.

Schedule reviews around concrete triggers: a new integration, a data source change, a staff departure, or an environment refresh. Check access grants, dataset ownership, retained logs, and abandoned experiments. Include queued tasks and scheduled jobs, since an old job may continue using a connection after its original experiment has ended.

Put these responsibilities into the wider AI governance risk controls so exceptions have an owner and a review point. Track unresolved boundary failures as release blockers. Close them with evidence of the corrected access or data flow, followed by a repeat of the failed test.

Questions about unusual separation decisions

Can a small team share a development workspace?

Yes, if the shared space has agreed test datasets, individual accountability, and no route to production credentials. Separate personal experiments from reviewed validation assets so one person’s unfinished changes do not silently alter another person’s evaluation.

How should a demonstration for a customer be prepared?

Use an approved demonstration dataset and a fixed prompt version. Agree on what presenters may enter during the session. Prepare fictional alternatives for likely questions so an unexpected request does not lead to pasting customer material into an experimental workflow.

What if an external collaborator needs to reproduce a failure?

Provide a reduced synthetic case that preserves the failing behavior, together with expected outputs and relevant version details. Review the package for embedded files and hidden metadata before sharing it. Grant time-limited access to the specific test resources needed.

Should failed experiments be retained for future learning?

Retain selected failure cases when they add a distinct regression test and have an owner. Keep the behavioral lesson and approved synthetic input; remove redundant working copies. Set a review point so the collection remains understandable as the workflow changes.