# File Modification Boundaries You are implementing the OMS (Order Management System) for the NT8 SDK project. ## Allowed Modifications You MAY create and modify files in these directories ONLY: ### Core OMS Implementation - `src/NT8.Core/OMS/*.cs` - All OMS implementation files - `src/NT8.Core/OMS/**/*.cs` - Any subdirectories under OMS ### Testing - `tests/NT8.Core.Tests/OMS/*.cs` - OMS unit tests - `tests/NT8.Core.Tests/OMS/**/*.cs` - OMS test subdirectories - `tests/NT8.Core.Tests/Mocks/*.cs` - Mock implementations (MockNT8OrderAdapter) ## Strictly Forbidden Modifications You MUST NOT modify any existing files in these locations: ### Core Interfaces and Models - `src/NT8.Core/Common/**` - Existing interfaces and base models - `src/NT8.Core/Risk/**` - Risk management system (completed) - `src/NT8.Core/Sizing/**` - Position sizing system (completed) - `src/NT8.Core/Logging/**` - Logging infrastructure ### Build Configuration - `Directory.Build.props` - Global build properties - `*.csproj` files - Project files (unless adding new files to OMS project) - `.gitignore` ### Documentation (Read-Only) - `nt8_phasing_plan.md` - `nt8_dev_spec.md` - `NT8_Integration_Guidelines_for_AI_Agents.md` - `AI_Agent_Workflow_and_Code_Templates.md` ### NT8 Adapters - `src/NT8.Adapters/**` - NT8 integration (future phase) ## New File Creation Rules ### When creating new files: 1. Use proper namespace: `NT8.Core.OMS` for implementation, `NT8.Core.Tests.OMS` for tests 2. Include XML documentation on all public members 3. Follow existing file naming patterns (PascalCase, descriptive names) 4. Add to appropriate project file if needed ### File naming examples: ✅ `BasicOrderManager.cs` - Implementation class ✅ `OrderModels.cs` - Model classes ✅ `IOrderManager.cs` - Interface ✅ `BasicOrderManagerTests.cs` - Test class ✅ `MockNT8OrderAdapter.cs` - Mock for testing ## Verification Before any file operation, ask yourself: 1. Is this file in an allowed directory? 2. Am I modifying an existing Core interface? (FORBIDDEN) 3. Am I creating a new file in the correct location? If unsure, DO NOT proceed - ask for clarification first.