Skip to content

Commit e06110a

Browse files
authored
Merge branch 'main' into codex/review-and-rewrite-readme-for-documentation-5tftkj
2 parents 70e6aca + 53f8a0e commit e06110a

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ Reference Node.js runtime for CommandLayer Commons verbs. This service executes
2323

2424
### Debug routes
2525

26-
> Debug routes are disabled by default. Enable with `DEBUG_ROUTES_ENABLED=1` and optionally protect with `DEBUG_BEARER_TOKEN`.
27-
2826
- `GET /debug/env` — effective runtime configuration.
2927
- `GET /debug/enskey` — ENS TXT key discovery state.
3028
- `GET /debug/schemafetch?verb=<verb>` — computed receipt schema URL.
@@ -122,15 +120,6 @@ Use `POST /debug/prewarm` and `GET /debug/validators` for schema prewarming work
122120

123121
Detailed environment variable documentation lives in [`docs/CONFIGURATION.md`](docs/CONFIGURATION.md).
124122

125-
## Development checks
126-
127-
```bash
128-
npm run check
129-
npm test
130-
```
131-
132-
`npm test` runs an automated smoke suite for signer readiness, verb execution, verify pass/fail paths, and debug route auth.
133-
134123
## Security notes
135124

136125
- `fetch` only allows `http(s)` URLs.

docs/CONFIGURATION.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ This runtime is configured via environment variables.
1212
| `API_VERSION` | `1.0.0` | Version segment used in verb route shape. |
1313
| `CANONICAL_BASE_URL` | `https://runtime.commandlayer.org` | Base URL metadata in index/health payloads. |
1414

15-
## CORS controls
16-
17-
| Variable | Default | Purpose |
18-
|---|---|---|
19-
| `CORS_ALLOW_ORIGINS` | empty | CSV allowlist of browser origins. Empty rejects cross-origin browser requests. Use `*` only when intended. |
20-
| `CORS_ALLOW_HEADERS` | `Content-Type, Authorization` | Allowed CORS request headers. |
21-
| `CORS_ALLOW_METHODS` | `GET,POST,OPTIONS` | Allowed CORS methods. |
22-
2315
## Enabled verbs
2416

2517
| Variable | Default |
@@ -53,14 +45,6 @@ Comma-separated list of enabled handlers. Disabled verbs return `404`.
5345
| `SCHEMA_FETCH_TIMEOUT_MS` | `15000` | Timeout per schema document fetch. |
5446
| `SCHEMA_VALIDATE_BUDGET_MS` | `15000` | Budget for async schema compilation. |
5547
| `VERIFY_SCHEMA_CACHED_ONLY` | `1` | If `1`, `/verify?schema=1` only uses warm validators and returns `202` on cold cache. |
56-
| `REQUEST_SCHEMA_VALIDATION` | `0` | If `1`, verb endpoints validate request payloads against verb request schema before execution. |
57-
58-
## Debug route controls
59-
60-
| Variable | Default | Purpose |
61-
|---|---|---|
62-
| `DEBUG_ROUTES_ENABLED` | `0` | If `1`, enables `/debug/*` endpoints. |
63-
| `DEBUG_BEARER_TOKEN` | empty | Optional bearer token required for `/debug/*` when set. |
6448

6549
## Cache controls
6650

0 commit comments

Comments
 (0)