schema, pass/fail, caching, report path/format):
- Update `docs/features-and-acceptance.md` in the same PR.
- Update or add tests in `tests/` to lock the new behavior.
- Call out breaking changes and any migration steps
parsing of CMD/BAT files
- **Analyzer**: Builds call relationships and dependencies
- **Visualizer**: Generates graph outputs
## Testing Guidelines
- Test with various complexity levels of batch files
- Include edge cases like recursive calls
linting and formatting (line-length: 100)
- **pytest** with pytest-asyncio (auto mode) for testing
- **Never use `shell=True`** in subprocess calls — always `create_subprocess_exec`
- **Validate all user input** before
Workers. Do not add static `node:*` imports to shared services used by `src/worker.ts`.
- **Test file organization**: ALWAYS place test files in the `test/` directory at the repository root, never
status checks show a passing status before removing the draft status
3. **All automated tests must pass**: Ensure all test suites complete successfully
4. **Code quality checks must pass
checks after changes:
```bash
npm run tokens -- check [paths...]
npm run tokens -- score .
npm test
```
Use `npm run tokens -- count [paths...]`, `npm run tokens -- suggest [paths...]`, or `npm run tokens
designed to grow over time. It currently has two categories, `bug-fix` and `test-generation`. They share the same dataset tasks and execution-based setup, but use different prompts, expected
contains AI coding agent skills (best practice rules) for Azure Cosmos DB,
plus a testing framework that measures how well agents apply those skills when building apps.
## Key Directories
- `skills/cosmosdb-best-practices
github/instructions/` for workshop
prose, snapshot code, and the shared GenAiLab progression.
- Use the `workshop-testing` skill for attendee-style walkthroughs, snapshot
reconciliation, or workshop test reports.
- Consult `docs/instructor/` for volatile
bash
npm run start
```
- **Run the STDIO-only server**:
```bash
npm run start:stdio
```
### Testing
- **Run all tests**:
```bash
bun test
```
*Note: The test runner is still `bun test` even
this repo must follow the rules below.
## Hard rules — never violate
1. **No test assertion mutation.** If a test is failing, fix the code or file a bug — never change
Copilot Instructions for azure-kusto-node
## Build, Test, and Lint
This is an npm workspaces + Lerna monorepo with two packages: `azure-kusto-data` and `azure-kusto-ingest`.
```bash
tags appropriately
- Where possible provide appropriate ` ` tags for different behaviors
- Document exceptions with ` ` tags
### Testing Patterns
- Use descriptive test method names
- Follow Arrange-Act-Assert pattern
- Use meaningful assertions with
system at the end
**Six Core Areas to Cover:**
- Commands (with flags and options)
- Testing patterns
- Project structure
- Code style (✅ Good / ❌ Bad examples)
- Git workflow
- Boundaries
**Three-Tier Boundaries:**
```markdown