- Node.js 22+
- npm 10+
- Playwright dependencies (for screenshot automation)
- Docker optional
npm install
npm run typecheck
npm run test
npm run build
npm run smoke:pilotTerminal A:
OPENAEGIS_ENABLE_INSECURE_DEMO_AUTH=true
PORT=4300 node tools/scripts/run-gateway.mjsTerminal B:
VITE_API_URL=http://127.0.0.1:4300 VITE_TOOL_REGISTRY_URL=http://127.0.0.1:4301 npm run --workspace @openaegis/admin-console dev -- --host 127.0.0.1 --port 4273Terminal C:
npm run run:tool-registryOpen http://127.0.0.1:4273.
- Open Setup Center (
/setup) and connect evaluator identities. - Open Integration Hub (
/integrations), select a plugin, create an instance, authorize OAuth plugins, and run Test connection. - Open Identity & Access (
/identity) and confirm role/assurance assignments. - Open Security Console (
/security) for policy changes. - Change one policy control.
- Click Preview impact.
- Click Explain impact.
- Click Ask copilot.
- Apply policy.
Expected behavior:
- warnings appear for risky controls
- blocking downgrades require break-glass fields
- policy profile version increases after successful save
Set OPENAEGIS_LOCAL_LLM_ENDPOINT before starting gateway.
Example (PowerShell):
$env:OPENAEGIS_LOCAL_LLM_ENDPOINT = "http://127.0.0.1:11434/v1/chat/completions"
PORT=4300 node tools/scripts/run-gateway.mjsIf not set, copilot uses built-in fallback logic.
For enterprise SSO-style token validation at the gateway:
$env:OPENAEGIS_AUTH_INTROSPECTION_URL = "http://127.0.0.1:3001/v1/auth/introspect"
$env:OPENAEGIS_REQUIRE_INTROSPECTION = "true"
$env:OPENAEGIS_AUTH_INTROSPECTOR_ACTOR_ID = "service-gateway"
$env:OPENAEGIS_AUTH_INTROSPECTOR_TENANT_ID = "tenant-platform"
PORT=4300 node tools/scripts/run-gateway.mjsWhen enabled:
- non-demo bearer tokens are validated via introspection
- tenant claims are enforced on write paths
- cross-tenant writes return
tenant_scope_mismatch
Secure default:
- if
OPENAEGIS_ENABLE_INSECURE_DEMO_AUTHis not set totrue,/v1/auth/loginis disabled and demo tokens are rejected. - if
OPENAEGIS_ENABLE_INSECURE_CUSTOM_TOKEN_MINTis not set totrue,auth-servicedenies arbitrary subject/tenant/role token mint requests.
node tools/scripts/pilot-demo.mjs
npm run screenshots:commercialArtifacts:
docs/assets/demo/pilot-demo-output.jsondocs/assets/demo/commercial-proof-report.jsondocs/assets/screenshots/commercial-*.png
- confirm gateway is running
- confirm
VITE_API_URLpoints to gateway - confirm no port conflict
- check ticket ID is set
- check justification length is at least 20 characters
- check at least two approver IDs are provided
- change UI/API ports
- stop conflicting process
- confirm remote:
git remote -v- add missing remote if needed:
git remote add origin <repository-url>Include:
- OS and Node version
- command executed
- full error output
- expected vs actual behavior
- screenshot path or log snippet