docs(agents): add scripts/ workspace member + encryption migration CLI to AGENTS.md
- scripts/ directory in repo layout with encrypt-migrate.ts + package.json - pnpm-workspace.yaml now includes scripts - Encryption migration CLI commands in build/test section
This commit is contained in:
parent
b1af8e550a
commit
4de3974a26
11
AGENTS.md
11
AGENTS.md
@ -52,9 +52,12 @@ learning_ai_common_plat/
|
|||||||
│ │ # NOTE: Product-specific modules migrated to product repos' backend/
|
│ │ # NOTE: Product-specific modules migrated to product repos' backend/
|
||||||
│ ├── extraction-service/ # LangExtract text extraction + Python sidecar (port 4005)
|
│ ├── extraction-service/ # LangExtract text extraction + Python sidecar (port 4005)
|
||||||
│ └── monitoring/ # Loki + Grafana config, health-check script
|
│ └── monitoring/ # Loki + Grafana config, health-check script
|
||||||
|
├── scripts/ # DevOps scripts (pnpm workspace member)
|
||||||
|
│ ├── encrypt-migrate.ts # Batch-encrypt plaintext Cosmos docs (10 products, 40+ fields)
|
||||||
|
│ └── package.json # @bytelyst/scripts — deps: @azure/cosmos, @bytelyst/field-encrypt
|
||||||
├── docs/ # Architecture docs, roadmap, analysis
|
├── docs/ # Architecture docs, roadmap, analysis
|
||||||
├── package.json # Root scripts: build, test, typecheck, clean, prototype:self-test
|
├── package.json # Root scripts: build, test, typecheck, clean, prototype:self-test
|
||||||
├── pnpm-workspace.yaml # Workspace: packages/* + services/* + dashboards/*
|
├── pnpm-workspace.yaml # Workspace: packages/* + services/* + dashboards/* + scripts
|
||||||
├── tsconfig.base.json # Shared TS config (ES2022, NodeNext, strict)
|
├── tsconfig.base.json # Shared TS config (ES2022, NodeNext, strict)
|
||||||
├── vitest.config.ts # Root vitest config (passWithNoTests)
|
├── vitest.config.ts # Root vitest config (passWithNoTests)
|
||||||
├── docker-compose.yml # Prototype stack: services + Cosmos emulator + Azurite + Mailpit + monitoring
|
├── docker-compose.yml # Prototype stack: services + Cosmos emulator + Azurite + Mailpit + monitoring
|
||||||
@ -330,6 +333,12 @@ docker compose up -d
|
|||||||
docker compose down
|
docker compose down
|
||||||
pnpm prototype:self-test
|
pnpm prototype:self-test
|
||||||
|
|
||||||
|
# ── Encryption migration CLI ──────────────────────
|
||||||
|
npx tsx scripts/encrypt-migrate.ts --product all --dry-run # Audit all 10 backends
|
||||||
|
npx tsx scripts/encrypt-migrate.ts --product lysnrai --dry-run # Single product dry-run
|
||||||
|
npx tsx scripts/encrypt-migrate.ts --product chronomind # Live encrypt (requires Cosmos creds)
|
||||||
|
# Requires: COSMOS_ENDPOINT, COSMOS_KEY, FIELD_ENCRYPT_KEY_PROVIDER, FIELD_ENCRYPT_KEY
|
||||||
|
|
||||||
# ── Portable builds for consumer repos ────────────
|
# ── Portable builds for consumer repos ────────────
|
||||||
# Pack @bytelyst/* tarballs so Docker/CI builds don't need this sibling repo
|
# Pack @bytelyst/* tarballs so Docker/CI builds don't need this sibling repo
|
||||||
./scripts/prep-consumer.sh /path/to/consumer-dir # pack + rewrite
|
./scripts/prep-consumer.sh /path/to/consumer-dir # pack + rewrite
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user