mirror of
https://github.com/pratikwayal01/datacloak.git
synced 2026-10-26 06:59:34 +01:00
30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
# Development
|
|
|
|
```bash
|
|
npm install # workspaces: packages/*
|
|
npm run build --workspace packages/detect
|
|
npm test --workspace packages/detect # 28 tests, corpus recall gate
|
|
npm test --workspace packages/ner # 18 tests, NER corpus gate
|
|
npm test --workspace packages/opencode-plugin
|
|
npm test --workspace packages/cli
|
|
npm test --workspace packages/browser-extension
|
|
```
|
|
|
|
## Repo layout
|
|
|
|
```
|
|
packages/
|
|
detect/ @pratikw/detect — engine, patterns, synthesizers, vault
|
|
ner/ @pratikw/detect-ner — heuristic NER + ONNX loader
|
|
opencode-plugin/ @pratikw/opencode-plugin — v1 hooks, auto cloak/block/redact
|
|
cli/ @pratikw/datacloak — binary + shell + 10 harness adapters
|
|
browser-extension/ MV3 extension (Chrome/Edge, Firefox expected)
|
|
docs/ this site (MkDocs Material)
|
|
```
|
|
|
|
## Process
|
|
|
|
Bug reports and PRs via GitHub issues. Keep changes focused, add tests
|
|
for behavior changes, and never ship a detection change without a
|
|
corpus-backed recall check.
|