This file applies to the entire repository. More specific instructions in subfolders (e.g. client/AGENTS.md, server/AGENTS.md) override this file in case of conflict.
- Keep changes as close as possible to the InterSystems upstream.
- Concentrate Consistem-specific behavior in
client/src/ccs/**andserver/src/ccs/**, using small “hooks” in the core.
- Make minimal, localized changes; avoid broad refactors/reformatting.
- Don’t change request/notification IDs (
intersystems/...) without aligningclient/andserver/. - Avoid touching
package-lock.jsonunless necessary (don’t run installs as “formatting”). - Follow existing style: tabs, and generally single quotes in TS.
npm run compileat repo root.- Manual test via VS Code:
.vscode/launch.json(“Launch Client”) and, if needed, “Attach to Server” (port 6009).
server/lib/isclexer.nodeis gitignored and must exist locally for runs that use the native lexer.- Preferred: run
npm run select-isclexerfrom repo root (auto-selects for the current OS/arch). - Cross-build: set
ISCLEXER_TARGET=<platform>-<arch>(e.g.win32-x64) before runningnpm run select-isclexer/npm run webpack.
- Preferred: run
- For CI/CD workflow rules and upstream sync governance, follow
.github/workflows/AGENTS.md.