--- url: /principles.md --- # Policy Principles ## 1. Exploration is encouraged AI is moving quickly. The best way to understand it is to use it. Employees are encouraged to: * try prompts; * test tools; * build small demos; * compare models; * use AI to support normal work; * explore ideas before they become formal projects; * share useful patterns with other teams. Curiosity, experimentation, and learning are welcome. The expectation is that experiments use approved environments and appropriate data. ## 2. Dev is available early You do not need to wait until an idea is complete before asking for help. Dev is happy to consult on: * ideas and approaches; * model choices; * tools; * AI-compatible search and fetch; * vector databases; * prototype design; * product specifications. If you have an idea but do not know how to prototype it, Dev can help turn it into a product specification. ## 3. Useful ideas should have a path to become real systems Some experiments will stay small. Others may become real tools, workflows, or product features. That is a good result. When an AI idea starts to become important to real company work, it should be handed off to the domain specialists responsible for the affected systems and risks. The original team should continue to provide the product idea and business context. The specialist teams provide the ownership needed for: * production quality; * security; * reliability; * data handling; * infrastructure; * monitoring and incident response; * access and long-term support. The handoff helps the idea meet the same standards as other company systems. ## 4. Production use needs accountable ownership An AI experiment needs handoff when it starts to access or affect real company operations. This includes: * production systems; * customer data; * employee data; * secrets or passwords; * company-sensitive data; * workflows that affect customers, employees, money, security, or operations. At that point, it is no longer only an experiment. It needs ownership from the accountable company team or teams for the affected domain. ## 5. Dev owns the technical safety rules Dev defines the technical rules for this policy. This includes SRE and DevOps topics such as: * production access; * infrastructure; * security review; * secrets handling; * monitoring and alerts; * incident response; * rollback plans; * use of company AI inference resources; * approval for stronger or more specialized model access. Other teams may also need to review some use cases. For example: legal, compliance, privacy, HR, procurement, or finance. Dev will route requests to those teams when their review is required. ## 6. Use company AI resources when possible The company provides AI inference resources for experiments and projects. Use these company resources when possible. They let people experiment while keeping access, capacity, and security manageable. The company supports many inference options, from top-tier premium models to small open-weight models. Bring the problem to Dev. Dev will help identify the right solution. If you need a top-tier model, high quota, special model, new vendor, search, fetch, or vector database support, request it through Dev's normal request or ticketing process. Provide enough context to explain the problem. If a follow-up is needed, Dev will schedule one. ## 7. Sensitive data needs stronger controls Use the least sensitive data that can answer your question. Good experiment data: 1. synthetic data; 2. public data; 3. approved non-sensitive internal data. Sensitive data should be used only after the use case has been handed off and approved by the responsible team. This protects customers, employees, the company, and the person doing the experiment. ## 8. AI output requires review before real-world impact AI can be very useful. It can also be wrong. Sometimes AI output sounds confident even when it is wrong. For systems under Dev authority, a person must review AI output before it affects: * security; * production systems; * infrastructure; * access control; * incident response; * important operational decisions. For HR, legal, compliance, finance, customer eligibility, or similar business workflows, involve the responsible business owner and required specialist teams. Human review helps us use AI with confidence. --- --- url: /definitions.md --- # Definitions ## AI tool Any software, service, model, assistant, agent, API, plugin, or workflow that uses machine learning or generative AI to produce, transform, summarize, classify, decide, recommend, retrieve, or act on information. See [Decision Guide: AI Tool vs AI Feature](./decision-guides/tool-vs-feature.md) for the practical difference between using an AI tool, building an AI prototype, and creating an AI feature or managed tool. ## Experiment A short-lived or exploratory use of AI intended to learn, validate feasibility, compare approaches, or improve personal/team productivity without accessing production systems, sensitive data, or customer-impacting workflows. ## Prototype A more structured experiment that demonstrates a possible workflow or feature. A prototype may have code, prompts, integrations, or a user interface, but it remains non-production until it is handed off and approved for production use. ## Production system Any system, service, environment, workflow, data store, account, API, network, queue, integration, or automation that supports live business operations, customers, employees, vendors, financial processes, security operations, or regulated obligations. ## Sensitive data Data that requires protection due to customer trust, company policy, security risk, contractual obligation, legal/regulatory exposure, or business confidentiality. For this policy, sensitive data includes at minimum: * customer data; * employee data; * credentials, tokens, API keys, passwords, certificates, session cookies, or secrets; * production logs containing identifiers or operational details; * source code from private repositories where disclosure would create security or IP risk; * security findings, vulnerabilities, incident details, or threat intelligence; * financial data; * legal, compliance, audit, or regulatory material; * vendor-confidential or partner-confidential information; * internal strategy, unreleased product plans, pricing, or other company-confidential information. See [Decision Guide: Data Sensitivity](./decision-guides/data-sensitivity.md) for practical examples. Dev may route requests to legal, compliance, privacy, or HR when the data type requires their review. ## Company inference resources Company-managed AI inference infrastructure, subscriptions, gateways, APIs, hosted models, or vendor-backed services made available for employee experimentation or approved project use under company access, cost, logging, and security controls. ## Company inference access Access to company-supported AI inference resources for experimentation or approved project work. The company supports a wide range of inference options, from top-tier premium models to small open-weight models. ## Specialized model access Access to models, vendors, quotas, context windows, modalities, agents, tools, or throughput that require additional review because of cost, security, operational, or vendor impact. This includes top-tier models, high-cost inference, specialized reasoning models, production-grade quotas, or access patterns that materially increase security, cost, operational, or vendor risk. ## Accountable owning team The team responsible for the production lifecycle of an AI capability. This includes the areas that team normally owns, such as architecture, implementation, access control, monitoring, incident response, maintenance, rollback, and decommissioning. ## Human-in-the-loop A control pattern where a qualified person reviews, approves, corrects, or rejects AI output before it affects a production system, customer, employee, financial process, security action, or other material business decision. --- --- url: /experimentation-boundaries.md --- # Experimentation Boundaries ## Purpose These boundaries help employees understand three paths: 1. continue experimenting; 2. ask Dev for guidance or resources; 3. hand the work off to the responsible domain specialists. The goal is to make AI experimentation easy while giving promising ideas a clear path to become supported company capabilities. ## Continue experimenting You may continue experimenting when all of the following are true: * the work is exploratory, educational, or prototype-oriented; * the AI tool does not connect to production systems; * the AI tool does not receive sensitive data; * the AI output does not directly trigger production actions; * the experiment can be deleted or abandoned without operational impact; * access is through approved company resources or otherwise permitted tools. Examples: * testing prompt patterns against synthetic data; * summarizing public documentation; * generating sample code that is reviewed before use; * comparing model behavior on non-sensitive examples; * building a local proof of concept with mock APIs; * exploring whether a workflow is worth proposing as a formal project. ## Ask for guidance or resources Some experiments can continue, but may benefit from Dev guidance or resources. Contact Dev when you want help with: * choosing a model; * choosing a tool; * using company inference resources; * using AI-compatible search or fetch tools; * using vector databases; * designing a prototype; * writing a product specification; * understanding whether data is sensitive; * deciding whether the idea is still an experiment or needs handoff. Guidance is available even when it is not required. Dev is happy to hear what employees are exploring and help shape the next step. Use by multiple teams or recurring automation does not require specialist guidance by itself. It needs guidance only when it also involves sensitive data, production systems, meaningful capacity impact, unapproved tools, specialized access, or real-world impact. ## When experimentation must become managed work Some uses require ownership by the domain specialists responsible for the affected systems, data, and operations. Start production handoff when the AI workflow will: * connect to production systems or production networks; * read from or write to production databases, queues, object stores, APIs, logs, or admin consoles; * process customer data, employee data, credentials, secrets, regulated data, or confidential business data; * make or recommend customer-impacting decisions without approved review controls; * take autonomous action against production systems; * change infrastructure, permissions, firewall rules, deployments, financial settings, or security controls; * send company-sensitive material to unapproved external AI services; * use AI output as the sole authority for security enforcement or production operations decisions; * use AI in HR, legal, compliance, finance, or customer eligibility workflows without involving the responsible business owner and required specialist teams; * bypass existing SDLC, change management, access management, or incident response processes. Start the handoff process before the work continues into production systems, sensitive data, or real-world impact. ## Sharing prototypes We expect employees to share prototypes with the same care and professionalism they bring to the rest of their work. When sharing a prototype, it is helpful to include enough context so other people understand how to use it safely. Useful context may include: * whether the prototype is experimental or production-ready; * what data is appropriate to use with it; * whether it stores prompts, files, responses, or embeddings; * who to contact with questions; * what would need to change before production use. This is guidance, not a formal labeling requirement. ## Use the safest useful data Experiments should use the least sensitive data that can answer the question. Preferred test data, in order: 1. synthetic data; 2. public data; 3. approved non-sensitive internal data; 4. anonymized or aggregated internal data approved for this purpose; 5. sampled internal data only after review; 6. production sensitive data only after production handoff and approval. --- --- url: /inference-resource-access.md --- # Inference Resource Access ## Purpose The company provides AI resources so employees can experiment through approved company systems. Dev can help employees choose and access the right resources for a prototype. Requesters should focus on the problem they are trying to solve. Dev will help choose the model, tool, or supporting infrastructure that fits the work. ## What Dev can provide The company supports a wide range of inference options, from top-tier premium models to small open-weight models. Dev can also provide access to supporting AI infrastructure under Dev management and control. Examples include: * AI-compatible search, for finding relevant information from approved sources; * fetch tools, for retrieving information from approved sources; * vector databases, for storing searchable AI-ready information; * other supporting infrastructure for prototypes. Some prototypes need a powerful model. Other prototypes work better with a smaller, faster, or more specialized option. Bring the problem to Dev. Dev will help identify the right solution. ## Request path Request company AI resources through the [official Dev request form](https://wkf.ms/3XOk24l). Provide enough context for Dev to suggest the right option. If Dev needs more information, they will schedule a follow-up. A useful prototype request includes: * what you are trying to build or test; * what kind of input the AI will receive; * what kind of output you need; * any known constraints, such as speed, quality, or context size, meaning how much information the model needs to consider at once; * whether you already have a model, tool, search, fetch, or vector database need in mind. ## Model and resource selection There is no fixed baseline model tier for all projects. Different problems need different resources. Dev will help match the prototype to the right option based on the problem, the input and output needs, and any known constraints. ## Specialized access Some requests need additional review because they create more risk or operational impact. Examples include: * top-tier premium models; * high quotas; * very large context windows, meaning the model needs to consider a large amount of information at once; * image, audio, video, or multimodal capabilities; * agentic tool use; * production-grade API keys or service accounts; * external vendors outside standard company systems; * fine-tuning; * custom model hosting; * persistent vector storage, meaning searchable AI-ready information that is stored beyond one test session; * production integrations. These capabilities are available when justified by the problem. The request should explain why the capability is needed. ## Production boundary Access to AI resources for experimentation is different from approval for production use. If the AI workflow will access production systems, use sensitive data, or affect customers, employees, money, security, or operations, start the production handoff process before continuing. ## Capacity management Company AI capacity is managed by Dev. Requesters should focus on the problem they are trying to solve. Dev will choose an option that balances quality, speed, capacity, and safety. Top-tier model access should go to cases where the extra capability matters for feasibility, quality, safety, or business value. ## Access review and expiration Non-production access may have an expiration or review date. If the work is abandoned, access should be removed. If the work is moving toward production, access should transition into the production handoff process. --- --- url: /dev-team-toolkit.md --- # Dev AI Toolkit ## Purpose Dev provides tools and documentation to help employees explore AI. These resources are for employees who want to: * test an AI idea; * build a prototype; * create an AI-assisted workflow; * write a product specification; * ask for help choosing the right approach. You do not need to know the exact technical solution before you contact Dev. Bring the idea or problem through the [official Dev request form](https://wkf.ms/3XOk24l). Dev can help choose the right next step. ## Agent Development Kit The [Agent Development Kit](https://adk.nht.io/) is a company-supported toolkit for building AI agents and AI workflows. An AI agent is a system where AI can do more than answer a single question. For example, it may read information, call a tool, search a source, ask for confirmation, or continue through several steps before producing a result. ADK helps developers build these systems in a consistent way. It gives structure to the work so the prototype is easier to understand, test, change, and hand off if it becomes a production candidate. See [What ADK is](https://adk.nht.io/what-adk-is.html). ADK can help with prototypes such as: * an AI assistant that uses company-approved tools; * a workflow that searches information and summarizes results; * a prototype that calls tools or services; * an AI flow that asks a person to approve an action; * an idea that may later need production ownership. Employees do not need to decide whether ADK is the right tool before asking for help. Dev can help make that decision. ## Working with coding assistants Dev also provides an [ADK MCP server](https://adk.nht.io/mcp.html) for people using AI coding assistants. MCP means Model Context Protocol. In this case, it lets an AI coding assistant read the correct ADK documentation while helping with ADK code. This is useful when a coding assistant is helping build an ADK prototype. It gives the assistant better information about how ADK works, so it is less likely to guess. This can support a more exploratory coding style. Employees can try an idea with help from a coding assistant while still using company-supported documentation and patterns. Whatever you are building, give your coding assistant the [Agent Build Standards](./agent-build-standards.md) page at the start of the project. It tells the assistant which runtime, frameworks, libraries, and conventions to use so the result matches how Dev builds and releases software. ## Learning concepts Employees who are new to AI agents can read [How agents work](https://adk.nht.io/how-agents-work.html). That page explains the basic idea behind an agent: 1. a person or system asks for something; 2. the AI receives instructions and context; 3. the AI may answer directly; 4. the AI may ask to use a tool; 5. the tool result is returned to the AI; 6. the AI continues until it has a final answer or result. The [ADK glossary](https://adk.nht.io/glossary.html) explains terms used in the ADK documentation. Use it when a word in the documentation has a specific technical meaning. ## Product specifications are welcome Employees do not need to know how to prototype every AI idea. If you have a clear idea but are unsure how to build it, Dev can help turn the idea into a product specification. A specification gives Dev enough context to understand the idea, discuss options, and propose an approach. A useful early specification can include: * the problem or opportunity; * who the idea helps; * what the AI system should do; * what a successful result looks like; * examples of inputs and outputs; * known limits or risks; * any systems, data, or teams that may be involved. The specification does not need to be perfect. It only needs to explain the idea clearly enough for discussion. ## Relationship to this policy Dev toolkit supports experimentation and specification work. A prototype built with ADK or an AI coding assistant can remain an experiment when it uses approved environments and appropriate data. When the work needs production system access, sensitive data, real-world impact, long-term support, production monitoring, production credentials, or specialist ownership, start handoff. --- --- url: /status-taxonomy.md --- # AI Use Status ## Purpose These statuses give employees and Dev a shared way to describe an AI idea. They are not a heavy approval process. They are a simple vocabulary for answering: "What is the status of this AI thing?" Before handoff, the employee or sponsoring team is responsible for describing the status of their own work. After the work meets the threshold for handoff, the status is shared between the original owner and Dev. ## Experiment An AI idea is an **Experiment** when it is exploratory and uses approved environments and appropriate data. Typical signs: * uses public, synthetic, or non-sensitive data; * does not access production systems; * can be deleted or abandoned without business impact; * is used to learn, compare options, or test a concept. Most early AI work should start here. ## Guided Prototype An AI idea is a **Guided Prototype** when Dev is helping with the approach, model choice, tools, supporting infrastructure, or product specification. Typical signs: * Dev guidance is useful or requested; * the work may need company inference resources; * the work may need AI-compatible search, fetch tools, or vector databases; * the idea is still experimental, but the path is becoming clearer. A Guided Prototype is still not production use. ## Production Candidate An AI idea is a **Production Candidate** when it may become part of a real company product, workflow, or operational process. Typical signs: * the prototype is useful enough to continue; * production systems may be needed; * sensitive data may be needed; * real customers, employees, security, money, or operations may be affected; * specialist ownership is needed. Production Candidate status means the handoff process should start. ## Approved Production Use An AI capability is **Approved Production Use** when the responsible specialist teams have accepted ownership for their domains and approved the use for production. Dev evaluates the technical, security, infrastructure, SRE, and DevOps parts of this decision. Other specialist teams may be involved when their domains are affected. This policy does not define the production requirements. The responsible teams evaluate those requirements during handoff. ## Rejected / Retired An AI idea is **Rejected / Retired** when it should not continue in its current form. Typical reasons: * the idea did not work well enough; * the risk is too high for the value; * the need changed; * a better solution exists; * the prototype is no longer maintained; * the production path is not approved. Retiring an experiment is a normal outcome. Learning that an idea should not continue is still useful. --- --- url: /production-handoff-triggers.md --- # Production Handoff Triggers ## Purpose Handoff is the process for moving an AI idea from informal experimentation to accountable company ownership. The handoff brings in the domain specialists responsible for the affected systems, data, risks, and operations. The original team should continue to provide product context and business goals. ## Basic rule If an AI use case would create real risk if it failed, leaked data, acted incorrectly, became unavailable, or produced biased or misleading output, it is no longer only an experiment. Start handoff before the work crosses that line. ## Mandatory handoff triggers An AI experiment must be handed off to the appropriate accountable teams before any of the following occur. ### Production system access The AI workflow will read from, write to, call, monitor, configure, deploy to, or otherwise interact with a production system. Examples: * querying production databases or logs; * calling production APIs; * opening, closing, or modifying production tickets based on AI output; * deploying generated code or configuration; * running an agent with access to infrastructure tooling; * integrating with production CI/CD, observability, IAM, or incident tooling. ### Sensitive data use The AI workflow will process sensitive data, including customer data, employee data, secrets, financial data, security findings, private source code, production logs, or confidential company material. ### Real-world impact The AI workflow will influence a customer-facing experience, employee-impacting workflow, operational decision, financial decision, security action, or business-critical process. ### Durable or operational use The AI workflow is no longer a disposable prototype and is becoming part of a process that people or systems rely on. Use by multiple teams or recurring automation does not require handoff by itself. Handoff is required when the workflow also creates production, sensitive-data, operational, security, capacity, or real-world-impact concerns. ### Autonomous or semi-autonomous action The AI workflow can take action through tools, APIs, scripts, service accounts, browser sessions, agents, or other integrations. This includes workflows where a human gives broad approval but the AI performs multiple downstream actions. ### Specialized access need The experiment requires specialized model access, high quotas, persistent storage, external vendor access, or other capabilities that increase security, vendor, capacity, or operational impact. ## Handoff destinations Depending on the trigger, handoff may involve one or more specialist teams: * Dev leadership or the relevant engineering owner; * Dev; * SRE / DevOps; * data platform or data governance owners; * product owner or business owner; * legal, compliance, privacy, HR, procurement, or finance when their review is required. For this policy, Dev defines the engineering, security, infrastructure, SRE, and DevOps handoff requirements. Dev will route to other functions when their specialist review is required. ## Handoff information A handoff request should give specialists enough context to take responsibility for their domain without losing the product intent. Useful handoff information includes: * summary of the use case; * prototype owner or sponsor; * users or systems affected; * data types involved; * model, vendor, or resource requested; * production systems accessed or affected; * expected AI actions and outputs; * known access needs; * known risks or failure modes; * other teams that may need to be involved. The handoff information does not need to be perfect. It needs to be clear enough for the responsible teams to evaluate the next step. --- --- url: /agent-build-standards.md --- # Agent Build Standards ## Purpose This page sets the default technical standards for applications built with help from an AI coding agent (Claude Code, Cursor, Copilot, Codex, and similar tools). It exists so that experiments and prototypes are built the same way Dev builds and releases software. A prototype that follows these standards is much easier to review, extend, and [hand off](./production-handoff-triggers.md) if it becomes a production candidate. This page is written for both people and agents. An operator does not need to copy anything: give the agent the URL of this page and ask it to follow it. ::: tip For operators Paste a line like this into your agent at the start of a project: > Follow the standards at https://ai.policies.nht.io/agent-build-standards.md before making any technical decisions. The `.md` link is the same content as this page in plain Markdown, which agents read more reliably than HTML. ::: ## Instructions to the agent If you are an AI coding agent reading this page, treat it as follows: * The requirement keywords **MUST**, **MUST NOT**, **SHOULD**, **SHOULD NOT**, and **MAY** are used as defined in [RFC 2119](https://www.rfc-editor.org/rfc/rfc2119). * **MUST** and **MUST NOT** rules are binding. If the operator asks for something that conflicts with one, explain the conflict and ask them to contact Dev before proceeding. * **SHOULD** rules are the default. You MAY deviate when there is a clear reason, but you MUST tell the operator what you changed and why. * Where this page does not cover a decision, prefer the option that is closest to the stack described here, and prefer [company libraries](#company-libraries) over third-party equivalents. * The work you are helping with is governed by the [AI Experimentation and Production Use Policy](./index.md). You MUST stay within the [Experimentation Boundaries](./experimentation-boundaries.md). If the work would hit any [Production Handoff Trigger](./production-handoff-triggers.md), stop and tell the operator before continuing. * Other pages on this site are available as Markdown at the same path with a `.md` extension, and the whole site is available at [`llms-full.txt`](https://ai.policies.nht.io/llms-full.txt). ## Where the work lives ### Source code * All source code **MUST** be stored in, or mirrored to, the company GitLab group. This applies even when the code was written or is hosted inside an agent platform. * Code **MUST NOT** live only in a personal GitHub or GitLab account, or only inside an agent platform's workspace. * If you are unsure where in GitLab to store your project, contact Dev on [NHT ChatOps](https://chatops.nht.io) before creating the repository. ### Connecting the agent to GitLab An agent cannot sign in to GitLab through company SSO itself. The **operator** signs in, then gives the agent a credential. If you are an agent, walk your operator through these steps. Do not ask for their SSO password. "Local" does not always mean the operator's computer. Before starting, the agent **SHOULD** work out which of these environments it is running in and tell the operator, because it changes how the credential is provided and how code reaches GitLab: | Where the agent runs | Examples | How code reaches GitLab | | --- | --- | --- | | The operator's own machine | CLI or IDE agents | The agent can usually push with the operator's existing Git setup or a token in their credential helper. | | A remote VM or sandbox run by the platform | Manus, ChatGPT dots, cloud coding agents | The VM is not the operator's machine. The token is given to the agent inside that environment and lives there; the agent pushes from it. | | A hosted workspace with no Git access | Browser-based builders, chat canvases | The agent cannot push. The operator exports the code and pushes or uploads it to GitLab. | 1. **Operator signs in through company SSO** at . This links their GitLab account to the company group. Git access to the group may require an active SSO session; if pushes or pulls start failing with an SSO error, sign in through this link again ([GitLab docs](https://docs.gitlab.com/user/group/saml_sso/#sso-enforcement)). 2. **Agree where the repository lives** in the company group (ask Dev on [NHT ChatOps](https://chatops.nht.io) if unsure). Either the operator creates it in the GitLab web interface, or the agent creates it using the credential from step 3. Either way it **MUST** end up in the company group, not the operator's personal namespace. 3. **Operator gives the agent a credential** suited to where it runs: * on the operator's machine, the agent **MAY** use the operator's existing SSH key or Git credential helper; * anywhere else, the operator **SHOULD** create a [personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/#create-a-personal-access-token) for that agent only, with the narrowest scopes that work (normally `read_repository` + `write_repository`, plus `api` only if the agent must create the repository) and a short expiry date. The operator **SHOULD** revoke it when the prototype is finished or the environment is discarded. 4. **The credential is stored outside the code**: in the platform's secret or environment-variable settings, or the Git credential helper. It **MUST NOT** be written into source files, commit history, committed `.env` files, or chat transcripts that are shared. Avoid pasting tokens into a chat if the platform offers a secrets setting. 5. **Agent confirms the remote** points at the company group (`git remote -v`) before the first push, and pushes regularly. Remote VMs and sandboxes can be reset or expire, and anything not pushed is lost. If the agent cannot push to GitLab at all, the operator **MUST** export the code and push or upload it to GitLab themselves, and repeat this whenever the hosted version changes. Dev has no preference between credential types. Use whatever works in the agent's environment, as long as it follows the guidance above. ### Agent-hosted prototypes Many AI tools can host what they build: for example, Claude artifacts, ChatGPT canvases and apps, and Manus-hosted sites. * These **MAY** be used to develop, demo, and share prototypes. * They **MUST** be used through company-provisioned or approved accounts, and are subject to the same data rules as any other experiment (see [Experimentation Boundaries](./experimentation-boundaries.md) and [Data Sensitivity](./decision-guides/data-sensitivity.md)). * The code behind them **MUST** still be mirrored to GitLab. Push changes to GitLab whenever the hosted version changes. * An agent-hosted prototype **MUST NOT** become a production service. People and processes must not come to depend on it, and it must not connect to production systems or handle sensitive data. ### Production services All production services are built, hosted, and operated by Dev. When a prototype needs to become something people or systems rely on, start [handoff](./production-handoff-triggers.md) through the [official Dev request form](https://wkf.ms/3XOk24l). Do not keep extending the agent-hosted version. ## Runtime and language | Area | Standard | | --- | --- | | Runtime | Node.js **24.x** — SHOULD (strongly recommended) | | Language | TypeScript — SHOULD (strongly recommended). Use a TypeScript version compatible with `@nhtio/eslint-config`. | | Linting & formatting | ESLint 9 + Prettier via [`@nhtio/eslint-config`](https://eslint-config.nht.io/) — MUST for TypeScript and JavaScript projects | | Version pinning | The Node.js version SHOULD be pinned in `.nvmrc` and `package.json` `engines.node` (e.g. `">=24 <25"`). | TypeScript code **MUST** pass `eslint` and `tsc --noEmit` without errors before it is considered ready for review or handoff. ### Other languages Node.js and TypeScript are a strong recommendation, not a requirement. Python and other languages are **allowed but strongly discouraged**. Our platform, libraries, review tooling, and Dev's own experience are built around Node.js and TypeScript, so anything else takes longer to review, harden, and support. An agent **SHOULD NOT** choose another language without the operator's agreement. Use one when the operator explicitly asks for it, or when a required library or data tool only exists in that language. In either case: * record the reason in `README.md` (and an ADR if the project has `docs/adr/`); * pin the language version and lock dependencies (for Python, a pinned version plus a hashed lockfile such as `uv pip compile --generate-hashes`); * follow every other rule on this page that is not specific to Node.js: containers, storage, configuration, request safety, migrations, testing, documentation, and repository hygiene. ## Package management Node.js projects **MUST** use **pnpm 11**. The project **MUST** be configured so that third-party packages are only installed once they have been public for at least **3 days**. Packages published by the company under `@nhtio/*` are excluded so internal releases can be used immediately. Add this to `pnpm-workspace.yaml` at the repository root: ```yaml # Supply-chain protection: do not install third-party versions # published less than 3 days ago. minimumReleaseAge: 4320 # minutes (3 days) minimumReleaseAgeExclude: - '@nhtio/*' # Fail if a package release has weaker publishing evidence # (e.g. provenance / trusted publishing) than earlier releases. trustPolicy: no-downgrade ``` Notes: * `minimumReleaseAge` is measured in minutes and applies to transitive dependencies as well as direct ones ([pnpm docs](https://pnpm.io/settings/dependency-resolution#minimumreleaseage)). * pnpm 11 already defaults to 1 day, but that default is non-strict. Setting the value explicitly makes it strict: if no version in the requested range is old enough, install fails instead of silently falling back to a newer release ([pnpm docs](https://pnpm.io/settings/dependency-resolution#minimumreleaseagestrict)). Agents **MUST NOT** work around this by lowering the value or adding exclusions. Pick an older version or ask the operator. * `trustPolicy: no-downgrade` makes install fail when a new release of a package has less publishing evidence than its earlier releases, for example a package normally published with provenance from CI suddenly published without it. That pattern is typical of a stolen maintainer token ([pnpm docs](https://pnpm.io/settings/dependency-resolution#trustpolicy)). If it blocks an install, agents **MUST NOT** disable it; pick another version and tell the operator. * pnpm 11 reads these settings from `pnpm-workspace.yaml`, not `.npmrc`. Use `.npmrc` only for registry and auth settings. * The lockfile (`pnpm-lock.yaml`) **MUST** be committed. ## Choosing an architecture Pick the lightest option that fits. Do not reach for a framework or agent toolkit the project does not need. | If the project is… | Use | Level | | --- | --- | --- | | An application with data models, authentication, APIs, or background jobs | [AdonisJS](https://docs.adonisjs.com/) with [Lucid](https://lucid.adonisjs.com/docs/introduction) as the ORM | SHOULD | | A simple service, webhook receiver, or small API | Plain TypeScript with [Koa](https://koajs.com/) as the web server | SHOULD | | A script or CLI tool | Plain TypeScript | SHOULD | | A web frontend | [Vue 3](https://vuejs.org/) + [Vuetify 3](https://vuetifyjs.com/) | SHOULD | | A desktop application | [Electron Forge](https://www.electronforge.io/) | SHOULD | | A custom agentic system (tool calling, multi-step workflows, approval flows) | [ADK](https://adk.nht.io/) | SHOULD | Additional guidance: * **Data layer.** Dev supports most databases. If the project needs an ORM, that is usually a sign it should be an AdonisJS application, which includes Lucid. * **CRUD-heavy Adonis apps.** Consider [`@nhtio/lucid-resourceful`](https://lucid-resourceful.nht.io/), which generates CRUD controllers, validation, and OpenAPI schemas from decorated Lucid models. On the frontend, pair it with [`@nhtio/lucid-resourceful-vue-components`](https://lucid-resourceful-vue-components.nht.io/). * **ADK is not the default for every AI feature.** A single prompt or a simple model call does not need ADK. Use ADK when the project is genuinely agentic. See [What ADK is](https://adk.nht.io/what-adk-is.html). When using ADK, connect your coding agent to the [ADK MCP server](https://adk.nht.io/mcp.html) so it reads current documentation instead of guessing. ## Authentication * Applications that need user authentication **MUST** be designed to use the company **Keycloak**. * AdonisJS applications **SHOULD** use [`@nhtio/adonis-ally-keycloak`](https://www.npmjs.com/package/@nhtio/adonis-ally-keycloak), the Keycloak adapter for AdonisJS Ally that Dev sanctions and maintains. * During prototyping, choose one of: 1. **Request Keycloak credentials** from Dev through the [official Dev request form](https://wkf.ms/3XOk24l); or 2. **Stub authentication** behind a single interface (e.g. an auth service or middleware) so it can be replaced with Keycloak at handoff without touching the rest of the application. * Agents **MUST NOT** build a custom username/password system, and **MUST NOT** use production credentials or production Keycloak clients during experimentation. ## Container and runtime model Applications **MUST** be built to run in **ephemeral containers without drive mounts**. Assume any container can be destroyed and replaced at any time, and that several copies may run at once. | Concern | Standard | | --- | --- | | File and object storage | Storage MUST NOT depend on local disk access. Use an abstraction that can target object storage, such as [FlyDrive](https://flydrive.dev/docs/introduction) (SHOULD), with a local driver during development and an object-storage driver in deployed environments. | | Configuration | Environment variables, validated at startup. Non-Adonis Node.js projects SHOULD use `@nhtio/config`. AdonisJS projects use the built-in `start/env.ts` validation. | | Secrets | Environment variables only. Secrets MUST NOT be committed. Commit a `.env.example` with placeholder values. | | Logging | Write to stdout/stderr. Non-Adonis Node.js projects SHOULD use [`@nhtio/logger`](https://logger.nht.io/); AdonisJS projects use the built-in logger. Do not write log files. | | Databases, caches, queues | External services (e.g. PostgreSQL, Redis) reached over the network and configured by environment variables. | | Local-disk state | MUST NOT be relied on. This includes SQLite files, uploaded files on disk, and on-disk sessions or caches. | A `Dockerfile` **SHOULD** be included. Node.js projects **SHOULD** use a Node.js 24 base image. ## Application structure Business logic **MUST** be kept separate from platform code. * **Business logic** means calculations, rules, report definitions, and domain models: the parts the owner understands and is responsible for. Put it in its own modules (e.g. `app/domain/`, `src/core/`) that do not import HTTP, auth, storage, or framework code directly. * **Platform code** means HTTP routes and controllers, authentication, storage, configuration, logging, and deployment. It calls into the business logic. * Business-logic modules **SHOULD** have their own tests that run without a server, database, or network. * List the business-logic modules in `AGENTS.md` (see [Project documentation](#project-documentation)) so later agents and Dev know which code carries the owner's intent. This matters at handoff: Dev hardens and replaces platform code, and leaves the owner's business logic alone. The cleaner the split, the less work that is, and the less risk of changing the owner's results by accident. ## Database schema * Every schema change **MUST** be a migration that is committed to the repository. In AdonisJS, use [Lucid migrations](https://lucid.adonisjs.com/docs/migrations). * Applications **MUST NOT** create or alter tables automatically at startup (e.g. ORM "sync" or `create_all` modes). * Migrations **SHOULD** be able to run from an empty database to the current schema, so a fresh environment can be built from the repository alone. * Seed data **MUST** be mock or synthetic. Seeding real environments is a Dev task. ## Request safety Any application that serves HTTP **MUST** follow these rules, including during prototyping: * **GET never writes.** Requests that change data use POST, PUT, PATCH, or DELETE. * **CSRF protection** on every state-changing request from a browser. In AdonisJS, use the built-in [Shield](https://docs.adonisjs.com/guides/security/securing-ssr-applications) middleware. * **Validate input before using it.** Use a schema validator (VineJS in AdonisJS, or `@nhtio/validation`). Numbers are finite and bounded, strings have length limits, and each field has one value. Set a body-size limit on every route. * **No internal errors sent to clients.** Log the full error server-side and return a generic message with a request ID (e.g. an `X-Request-Id` header) that can be matched to the log. * **CSV and spreadsheet exports MUST neutralise formula injection.** Prefix cells that start with `=`, `+`, `-`, `@`, tab, or carriage return ([OWASP](https://owasp.org/www-community/attacks/CSV_Injection)). * **No generic pass-through endpoints.** Do not expose an endpoint that runs arbitrary queries, commands, or URLs supplied by the client. ## Health endpoint Services **SHOULD** expose `GET /healthz`: * no authentication; * returns only `{ "status": "...", "gitSha": "...", "storage": "..." }`, where `storage` reports whether the configured database or object store is reachable; * returns HTTP 200 when healthy and a 5xx status when not; * never includes configuration values, hostnames, credentials, or error details. Deployment pipelines use this endpoint to decide whether a release is healthy. ## Testing | Project type | Test framework | | --- | --- | | AdonisJS | The built-in [Japa](https://docs.adonisjs.com/guides/testing/introduction) test runner — SHOULD | | Everything else | [Vitest](https://vitest.dev/) — SHOULD | Tests **SHOULD** run with a single `pnpm test` command and **MUST NOT** depend on production systems or real customer data. ## Starter templates These templates **MAY** be used as starting points. They are not required. | Template | Use for | | --- | --- | | `@nhtio/ts-lib-starter` | TypeScript libraries | | `@nhtio/vue-lib-starter` | Vue component libraries | | [AdonisJS starter kits](https://docs.adonisjs.com/guides/getting-started/installation) | AdonisJS applications | ## Company libraries Dev maintains libraries that solve common problems in a way that fits our stack. Agents **SHOULD** prefer these over third-party equivalents. The full catalogue is at [libs.nht.io](https://libs.nht.io/). | Name | Package | What it's for | Environments | | --- | --- | --- | --- | | ADK | [`@nhtio/adk`](https://adk.nht.io/) | Build custom AI agents: assistants that call tools, search sources, ask for approval, and work through multi-step tasks. | Anywhere JavaScript runs | | Config | [`@nhtio/config`](https://www.npmjs.com/package/@nhtio/config) | Read the app's settings and secrets from environment variables, and check them at startup so a missing or wrong value fails fast. | Node.js | | Logger | [`@nhtio/logger`](https://logger.nht.io/) | Write consistent application logs that the platform can collect and search. | Node.js | | Validation | [`@nhtio/validation`](https://validation.nht.io/) | Check that data coming in (forms, API requests, files) has the right shape and values before the app uses it. | Node.js, Browser | | Encryption | [`@nhtio/encryption`](https://encryption.nht.io/) | Encrypt and decrypt sensitive values on the server. | Node.js | | Web Encryption | [`@nhtio/web-encryption`](https://web-encryption.nht.io/) | Encrypt and decrypt values in the browser. | Browser | | Encoder | [`@nhtio/encoder`](https://encoder.nht.io/) | Turn complex data (dates, maps, nested objects) into text and back without losing information, e.g. to store or send it. | Node.js, Browser | | Kyoo | [`@nhtio/kyoo`](https://kyoo.nht.io/) | Send work to a background queue and process it later, with one API whatever queue system is behind it. | Node.js | | Millicron | [`@nhtio/millicron`](https://millicron.nht.io) | Run tasks on a schedule (every hour, every Monday at 9:00, …). | Node.js, Browser | | Hooks | [`@nhtio/hooks`](https://hooks.nht.io/) | Let parts of the app run extra steps before or after something happens, without wiring them together directly. | Node.js, Browser | | Middleware | [`@nhtio/middleware`](https://middleware.nht.io/) | Pass a request or job through a chain of steps (checks, transforms, logging), where any step can stop it. | Node.js, Browser | | Tiny Typed Emitter | [`@nhtio/tiny-typed-emitter`](https://tiny-typed-emitter.nht.io/) | Let parts of the app announce events and listen for them, with type checking. | Node.js, Browser | | Phone Object | [`@nhtio/phone-object`](https://phone-object.nht.io/) | Parse, validate, and format phone numbers from any country. | Node.js, Browser | | Reactive Store | [`@nhtio/reactive-store`](https://reactive-store.nht.io/) | Keep shared app state that updates the screen automatically when it changes. | Browser | | Swarm | [`@nhtio/swarm`](https://swarm.nht.io/) | Let several open tabs of the same app talk to each other, e.g. so only one tab polls the server. | Browser | | Crow's Nest | [`@nhtio/crows-nest`](https://crows-nest.nht.io/) | Keep full-screen layouts clear of phone notches, rounded corners, and browser toolbars. | Browser | | Common Vue | [`@nhtio/common-vue`](https://vue-common.nht.io) | Ready-made general-purpose Vue components. | Vue | | Vuetify Fields | [`@nhtio/vuetify-fields`](https://vuetify-fields.nht.io) | Extra form fields for Vuetify apps beyond the built-in ones. | Vue + Vuetify | | Vuetifiable | [`@nhtio/vuetifiable`](https://www.npmjs.com/package/@nhtio/vuetifiable) | Build your own components that look and behave like native Vuetify ones. | Vue + Vuetify | | Vue Editors | [`@nhtio/vue-editors`](https://vue-editors.nht.io) | Editor components (rich text, code, and similar) for Vue apps. | Vue | | Lucid Resourceful | [`@nhtio/lucid-resourceful`](https://lucid-resourceful.nht.io/) | Describe your data models once and get create/read/update/delete APIs, validation, and API documentation generated for you. | AdonisJS | | Lucid Resourceful Vue Components | [`@nhtio/lucid-resourceful-vue-components`](https://lucid-resourceful-vue-components.nht.io/) | Ready-made tables and forms that work directly with Lucid Resourceful APIs. | Vue + Vuetify | | Adonis Ally Keycloak | [`@nhtio/adonis-ally-keycloak`](https://www.npmjs.com/package/@nhtio/adonis-ally-keycloak) | Let users sign in to an AdonisJS app with their company Keycloak account. | AdonisJS | | Adonis Kyoo | [`@nhtio/adonis-kyoo`](https://adonis.kyoo.nht.io/) | Use Kyoo background queues inside an AdonisJS app. | AdonisJS | | Adonis Millicron | [`@nhtio/adonis-milicron`](https://www.npmjs.com/package/@nhtio/adonis-milicron) | Run scheduled tasks inside an AdonisJS app. | AdonisJS | | ESLint Config | [`@nhtio/eslint-config`](https://eslint-config.nht.io/) | Dev's code style and lint rules, so code is formatted and checked the same way across projects. | Tooling | | Vite Plugins | [`@nhtio/vite-plugins`](https://vite-plugins.nht.io/) | Dev's standard build plugins for Vite projects. | Tooling | | Japa JUnit Reporter | [`@nhtio/japa-junit-reporter`](https://japa-junit-reporter.nht.io/) | Produce test results in a format GitLab CI can display. | Tooling | ### Recommended third-party libraries Where no company library covers a need, these are examples of third-party libraries Dev recommends: | Name | Package | What it's for | Environments | | --- | --- | --- | --- | | Knex | [`knex`](https://knexjs.org/) | Write database queries and schema changes in code instead of raw SQL. Lucid is built on it. | Node.js | | BentoCache | [`bentocache`](https://bentocache.dev/docs/introduction) | Cache slow or expensive results (in memory, Redis, …) so the app doesn't repeat the work. | Node.js | | Verrou | [`@verrou/core`](https://verrou.dev/docs/introduction) | Make sure only one copy of the app does a given job at a time, even when several copies are running. | Node.js | | Neotraverse | [`neotraverse`](https://github.com/puruvj/neotraverse) | Walk through and modify deeply nested data. | Node.js, Browser | | p-map | [`p-map`](https://github.com/sindresorhus/p-map) | Run many async tasks in parallel, with a limit on how many run at once. | Node.js, Browser | ## Repository hygiene ### Never commit * **Secrets**: `.env` files, API keys, tokens, passwords, private keys. A secret that has been committed, or pasted into a chat, runbook, or ticket, **MUST** be treated as leaked and rotated. Deleting the commit or message is not enough. * **Real data**: spreadsheets, exports, CRM or BI extracts, rosters, client lists, payment trackers, or any other real business records. Use mock or synthetic data in the repository. If real data was committed, tell Dev; it has to be removed from history, not just from the current files. * **Third-party deploy configuration**: `railway.json`, `Procfile`, `vercel.json`, `netlify.toml`, GitHub Actions workflows, or vendor-specific deployment runbooks. Production hosting is provided by Dev, and this configuration is removed at handoff. ### `.gitignore` baseline Every project **MUST** start with at least: ```gitignore # Environment and secrets .env* !.env.example # Local data and databases data/* *.sqlite *.sqlite3 *.db # Dependencies and build output node_modules/ dist/ build/ # Local agent-tool state (add others your tool creates) .claude/settings.local.json ``` Add entries for anything else the agent or tooling writes locally. If a project needs to keep sample files under `data/`, add explicit exceptions (`!data/sample.csv`) for mock data only. ## Project documentation Every project **MUST** include these files from the start, and agents **MUST** keep them up to date in the same commit as the change they describe. | File | Level | Contents | | --- | --- | --- | | `AGENTS.md` | MUST | The first file any agent reads. What the app is; a link to this page (`https://ai.policies.nht.io/agent-build-standards.md`); how to install, run, and test it; which modules are business logic; and any project-specific hard rules. | | `CLAUDE.md` | MUST | Only the line `@AGENTS.md`, so Claude-based tools load the same instructions. | | `README.md` | MUST | What the app does and who owns it, how to run it locally, the environment variables it needs (matching `.env.example`), and which stack choices from this page it uses. | | `CHANGELOG.md` | SHOULD | Changes in [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format, with unreleased work under `Unreleased`. | | `docs/architecture.md` | SHOULD | Request flow, authentication, storage, data model, and integrations. | | `docs/local-development.md` | SHOULD | How to run with no `.env`, then with auth on, real storage, and in the container. | | `docs/adr/` | MAY | Architecture decision records for significant choices, especially any deviation from this page. | ## Guardrails for agents While building, an agent **MUST**: * use mock, synthetic, or approved non-sensitive data; * keep secrets out of source code, commit history, logs, and prompts, and tell the operator to rotate any secret that has been exposed; * not commit real business data, even temporarily; * not connect to production systems, production databases, or production APIs; * not deploy anything, or change CI/CD, infrastructure, or IAM configuration; * stop and tell the operator when the work reaches a [Production Handoff Trigger](./production-handoff-triggers.md), and point them to the [official Dev request form](https://wkf.ms/3XOk24l). ## Release and delivery Dev handles deployment. Agents **MUST NOT** set up deployment pipelines, release automation, or hosting configuration. When a project needs to be deployed, start [handoff](./production-handoff-triggers.md). A basic GitLab CI job that runs lint, type-check, and tests **MAY** be added. --- --- url: /decision-guide.md --- # Decision Guide Use this page when you are not sure which path applies to your AI idea. ## Quick answer ### Continue experimenting when: * you use public, synthetic, or non-sensitive data; * you do not connect to production systems; * you do not include secrets, passwords, tokens, or customer data; * the output is reviewed by a person before use; * the work can be deleted without business impact; * you use approved company AI resources. ### Ask Dev for guidance when: * you want help choosing a model or tool; * you want access to company inference resources; * you need AI-compatible search, fetch tools, or vector databases; * you have an idea but do not know how to prototype it; * you are unsure whether the data is sensitive; * you are unsure whether the work needs handoff. ### Start production handoff when: * you want to use customer data, employee data, financial data, security data, or company-confidential data; * you want to connect the AI to production systems; * you want the AI to take actions through tools, scripts, APIs, or agents; * the output could affect a customer, employee, payment, security decision, or production system; * the work needs ownership from a specialist team. ## Simple decision tree ```mermaid flowchart TD A[Do you want to use AI for an idea?] --> B{Will it access or affect production systems?} B -- Yes --> H[Start handoff.] B -- No --> C{Will it use sensitive data?} C -- Yes --> H C -- No --> D{Can it affect customers, employees, money, security, or operations?} D -- Yes --> H D -- No --> E{Do you need a model, tool, or AI resource?} E -- Yes --> R[Ask Dev for guidance.] E -- No --> F[Continue experimenting within approved boundaries.] ``` ## Examples | Use case | Status | Why | | --- | --- | --- | | Ask an approved AI tool to rewrite a public help article draft | Continue experimenting | Public or non-sensitive content and no production access | | Generate sample code for a prototype using mock data | Continue experimenting | Safe if reviewed before use | | Build a demo using synthetic data and company inference resources | Continue experimenting | Good experimentation pattern | | Ask Dev which model fits a prototype | Ask for guidance | Dev can help match the problem to the right resource | | Write a specification for an AI idea you cannot prototype yourself | Ask for guidance | Specifications are welcome and can help Dev evaluate the idea | | Paste customer chat logs into an external AI tool | Start production handoff | Customer data requires approved handling | | Let an AI agent restart production services | Start production handoff | Production action requires accountable ownership and SRE/DevOps involvement | | Use AI to summarize production incident logs | Start production handoff | Logs may contain sensitive operational or customer data | ## If you are unsure Contact Dev before continuing. They will confirm whether the work can continue as an experiment, needs resource guidance, or should be handed off to the responsible domain specialists. --- --- url: /decision-guides/tool-vs-feature.md --- # Decision Guide: AI Tool vs AI Feature Use this guide when you are unsure whether your work is personal experimentation, a prototype, or a product capability. ## AI tool An AI tool is something you use to help with work. Examples: * asking AI to rewrite non-sensitive text; * asking AI to explain public documentation; * using an approved AI assistant to brainstorm ideas; * using AI to generate mock data; * using AI to help create a draft product specification. This is usually an **Experiment** when it uses approved company accounts and appropriate data. ## AI prototype An AI prototype is a draft version of a possible workflow, product, or internal tool. Examples: * a demo that answers questions using mock data; * a workflow that searches approved non-sensitive information; * a local demo that calls fake APIs; * a proof of concept for an AI assistant; * an early specification that Dev can help evaluate. This is usually an **Experiment** or **Guided Prototype**. ## AI feature or managed tool An AI feature or managed tool is something that may become part of a real company product, service, workflow, or operational process. Examples: * an AI workflow that needs production system access; * an AI tool that uses customer, employee, financial, security, or company-confidential data; * an AI assistant that takes action through tools, scripts, APIs, or agents; * an AI capability that affects customers, employees, money, security, or operations. This should become a **Production Candidate** and start handoff. ## Simple rule If the work helps you explore an idea with safe data, it can usually stay experimental. If the work needs production systems, sensitive data, or real-world impact, start handoff with Dev. ## Related definitions * [AI tool](../definitions.md#ai-tool) * [Experiment](../definitions.md#experiment) * [Prototype](../definitions.md#prototype) * [Production system](../definitions.md#production-system) * [Sensitive data](../definitions.md#sensitive-data) --- --- url: /decision-guides/external-ai-services.md --- # Decision Guide: External AI Services Use this guide when you want to use an AI service that is provided by an external vendor. Examples may include commercial chat tools, AI assistants, coding assistants, browser tools, search tools, image tools, or other AI services. ## Main rule External AI services may be useful for experimentation. The requirement is to use accounts, subscriptions, tools, or access paths that are provisioned and paid for by the company when using them for company work. This helps Dev manage access, security, data handling, capacity, and support. ## Usually acceptable You can usually continue experimenting when: * the account or service is company-provisioned or otherwise approved for company work; * the data is public, synthetic, or non-sensitive; * the work does not access production systems; * the output does not directly affect customers, employees, money, security, or operations. ## Ask Dev for guidance Ask Dev when: * you need access to a service that is not already available to you; * you are unsure whether an account is company-provisioned; * you want to use a new vendor or tool; * you are unsure whether the data is sensitive; * the service needs search, fetch, vector database, or model access support. Open a request through the [official Dev request form](https://wkf.ms/3XOk24l). ## Start handoff Start handoff when the external AI service would use: * production system access; * customer data; * employee data; * credentials, tokens, or secrets; * financial data; * security data; * company-confidential data; * workflows that affect customers, employees, money, security, or operations. ## What this is saying This policy is not saying employees can never use external AI services. It is saying that company work should use company-provisioned or approved access, and that sensitive or production-impacting uses need handoff. --- --- url: /decision-guides/data-sensitivity.md --- # Decision Guide: Data Sensitivity Use this guide when you are unsure whether data is appropriate for AI experimentation. ## Simple rule Use the least sensitive data that can answer the question. Good experiment data: 1. synthetic data; 2. public data; 3. approved non-sensitive internal data. If you are unsure whether data is sensitive, ask Dev before using it in an AI tool or prototype. ## Practical examples of sensitive data Sensitive data includes more than passwords and customer records. Examples include: * customer names, emails, messages, tickets, account details, or transaction details; * employee records, performance notes, compensation, HR conversations, or personal employee information; * screenshots of internal tools that show customer, employee, operational, financial, or confidential information; * production logs or monitoring output; * API keys, tokens, passwords, certificates, session cookies, or other credentials; * security findings, vulnerabilities, incident details, or threat intelligence; * unreleased pricing, strategy, roadmap, financial data, or product plans; * vendor-confidential or partner-confidential information; * legal, compliance, audit, or regulatory material. ## Usually acceptable for experimentation These are usually acceptable when used with approved company tools: * public documentation; * public websites; * synthetic examples; * mock data; * fake customer records; * non-sensitive drafts; * general brainstorming notes that do not include confidential information. ## Start handoff Start handoff when an AI prototype needs sensitive data to be useful. That means the idea may be valuable, but it needs the right ownership and controls before the work continues. --- --- url: /decision-guides/troubleshooting-incidents.md --- # Decision Guide: Troubleshooting and Incident Response Use this guide when something does not work as expected, or when you are unsure who to contact. The goal is to solve problems early and reduce impact. AI experimentation is expected to involve learning, iteration, and occasional mistakes. ## Contact Dev Contact Dev when: * you need help choosing a model, tool, or approach; * a prototype behaves in an unexpected way; * a model response seems unsafe, incorrect, or unreliable; * a tool, search, fetch, or vector database integration is not working; * access to a company AI resource is not working; * you may have used data that should not have been used; * an experiment may have connected to the wrong system; * you are unsure whether handoff is required. Use the [official Dev request form](https://wkf.ms/3XOk24l) for requests and follow-up. ## Contact the responsible business owner Contact the responsible business owner when the AI idea affects a business process outside Dev ownership. Examples may include HR, legal, compliance, finance, procurement, customer eligibility, or other business-owned workflows. Dev can help route the request when the technical path is unclear. ## Start production handoff Start production handoff when troubleshooting shows that the work needs: * production system access; * sensitive data; * production credentials or service accounts; * customer, employee, financial, security, or operational impact; * long-term support; * specialist ownership. ## If something went wrong Contact Dev as soon as practical. Early contact helps the right people understand what happened, reduce impact, and decide what to do next. The goal is to fix the issue and learn from it.