Some checks failed
Build and Test / build (push) Has been cancelled
- Kilocode AI agent rules and guidelines - Setup and implementation guides - Architecture documentation - Build and verification references
2.1 KiB
2.1 KiB
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 filessrc/NT8.Core/OMS/**/*.cs- Any subdirectories under OMS
Testing
tests/NT8.Core.Tests/OMS/*.cs- OMS unit teststests/NT8.Core.Tests/OMS/**/*.cs- OMS test subdirectoriestests/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 modelssrc/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*.csprojfiles - Project files (unless adding new files to OMS project).gitignore
Documentation (Read-Only)
nt8_phasing_plan.mdnt8_dev_spec.mdNT8_Integration_Guidelines_for_AI_Agents.mdAI_Agent_Workflow_and_Code_Templates.md
NT8 Adapters
src/NT8.Adapters/**- NT8 integration (future phase)
New File Creation Rules
When creating new files:
- Use proper namespace:
NT8.Core.OMSfor implementation,NT8.Core.Tests.OMSfor tests - Include XML documentation on all public members
- Follow existing file naming patterns (PascalCase, descriptive names)
- 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:
- Is this file in an allowed directory?
- Am I modifying an existing Core interface? (FORBIDDEN)
- Am I creating a new file in the correct location?
If unsure, DO NOT proceed - ask for clarification first.