application**. The root `package.json` is a legacy stub - do not run its `start`/`dev`/`test` scripts.
## Repository layout
- `segments/segment-1-identity-mindset-context/` - Laws 1-7, Contoso scenario data and demos.
- `segments/segment-2-context-sculpting-technique/` - Laws
486mo agoReviewMountCreate a free account to mount
repository root is the authoritative guide** for working in this
codebase: architecture, conventions, testing, security, configuration and the project's hard-won
rules. Read it before suggesting changes.
This file
4858d agoReviewMountCreate a free account to mount
assists
5. **Run validation before committing**: `npm run validate && npm run lint:md && npm test`
6. **Don't mix concerns** — one agent/skill/rule per file, one topic per PR
## Directory Structure
474mo agoReviewMountCreate a free account to mount
Release validation may run on Windows as well as Linux. Keep filesystem code and tests cross-platform: use .NET path APIs instead of hard-coded separators, specify UTF-8 when
477mo agoReviewMountCreate a free account to mount
Small local code.
Only add a dependency if it meaningfully improves correctness or maintainability.
## Testing expectations
When changing code in this repository:
- Add or update unit tests when behavior changes
473mo agoReviewMountCreate a free account to mount
guidance is clear
- Verify GitHub Copilot completions appear when typing in incomplete code sections
- Test chat and inline chat functionality with sample prompts
- Confirm all three tracks' workspaces open correctly
4514mo agoReviewMountCreate a free account to mount
starts server with watch mode)
npm run dev
# Start the production server
npm start
# Testing
npm test # Run tests with vitest in watch mode
npm run test:ci # Run tests
4516mo agoReviewMountCreate a free account to mount
policy.yaml` for local/CI use
- **scripts/** – e.g. `generate_signals.py` for CI demo
- **.github/workflows/** – CI (build + test Rust) and release (build binary on tag push)
- Root: README, CONTRIBUTING, LICENSE, CODE_OF_CONDUCT
There
449mo agoReviewMountCreate a free account to mount
branch require the user to explicitly override.
---
## Coding Guidelines
For code rules (values, style, tests, performance, git, PRs), follow `.github/docs/coding-guidelines.md`.
---
## Documentation Style
When editing or creating markdown documents:
- No emojis
448mo agoReviewMountCreate a free account to mount
PCBaseModel` (Pydantic v2). Use `model_validate`, `model_dump`, `field_validator`, `model_validator`.
## Build and Test
```bash
scripts/install # Create venv with uv, install all packages in editable mode
scripts/server # Start local
line interface for PCL tools
**Tech Stack**: TypeScript 5.3+, Node.js, ESM modules, Vitest for testing
### PCL Bootstrap System
**Important**: This project includes a **PCL-Lite Bootstrap** system that enables
4211mo agoReviewMountCreate a free account to mount
match the info here.
## Working Effectively
### Bootstrap and Build
- **NEVER CANCEL builds or tests** - they may take up to 90 seconds to complete
- Build the workspace: `cargo build` -- takes
425mo agoReviewMountCreate a free account to mount
coordinator context clean** — use guarded
headless agents or equivalent isolated workers for investigation, implementation, tests,
and review. Keep only decisions and compact witnessed evidence in the primary context;
independently verify
412mo agoReviewMountCreate a free account to mount
AuthToken` property
- Rate limiting: Token bucket (60 burst, 20/sec)
- Binding: 127.0.0.1 only (not 0.0.0.0)
## Testing
See `TESTING.md` for a complete test plan with 18 tests covering all tools, resources, prompts
416mo agoReviewMountCreate a free account to mount
than guessing — this file only covers the rules that trip up a first PR.
## Tests
Write the test before the code. Three layers, and a change usually needs more than
413mo agoReviewMountCreate a free account to mount
flag for manual review
- **Missing header**: Automatically suggest adding the copyright header
### Exclusions
- Test files in `tests/` directory may have relaxed header requirements (but headers are still recommended)
- Third-party
419mo agoReviewMountCreate a free account to mount
zero warnings on the touched files.
2. `dart format .` produces no diff.
3. `flutter test` reports zero failures (pre-existing skips noted, never new).
4. `./tool/coverage.sh 90` exits 0 — total
402mo agoReviewMountCreate a free account to mount
configuration capabilities.
- Do NOT document internal-only changes in changelogs, including CI/workflow
updates, test-only changes, refactors with no user-visible behavior change,
and implementation details that do not affect
404mo agoReviewMountCreate a free account to mount