Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ jobs:
node tests/sa3_demo_validation.mjs
node tests/sa3_market_sessions_validation.mjs
node tests/sa3_credential_calendar_validation.mjs
node tests/sa4_demo_validation.mjs
node tests/sa4_desk_8a_9a_12a_na_validation.mjs
node tests/strategy_health_snapshot_extract_validation.mjs
node tests/adaptive_selection_snapshot_extract_validation.mjs
node tests/binance_private_scope_extract_validation.mjs
Expand Down
4 changes: 2 additions & 2 deletions docs/adr/0002-observation-and-identity-boundaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ recomputed.
| B3 | Runtime-stop receipt reconciliation on GET | 2027-01-13 (bounded re-date from 2026-12-14 within the 60-day window) |
| B4 | Credential-rotation settlement on GET | 2027-01-13 (bounded re-date from 2026-12-14 within the 60-day window) |
| B5 | `binance_detail_read` table creation | Retired (table creation moved to `binance_detail_put`; missing-table reads return empty without DDL) |
| B6 | Fresh Desk readback admission, snapshot and alarm on GET | 2027-01-13 |
| B6 | Fresh Desk readback admission, snapshot and alarm on GET | Retired (`GET /api/desk/readbacks` uses pure zero-write `desk_readback_read`; admission/snapshot/alarm writes stay on explicit `POST` command paths only) |
| B7 | Config/current-strategy durable cache refresh on GET | 2027-01-13 |
| I1 | Technical keys rendered as account names (IBKR isolated in PR #1172; non-IBKR fallback and schema defaults remain) | 2027-01-13 (bounded re-date from 2026-12-14 within the 60-day window) |
| I2 | Legacy `(platform, key)` joins without a canonical boundary | 2027-01-13 (review checkpoint) |
Expand All @@ -110,7 +110,7 @@ legacy v1 rows; `B3` and `B4` require decoupling polling GET side-effects
while preserving pending-operation servicing paths; `B0`'s N1 interim scope
consolidates with full `B0` preamble/missing-table work; and `I1`'s remaining
non-IBKR fallback and schema defaults align with the `R3`/`I2` checkpoint
after PR `#1172` isolated IBKR titles and confirmations. `B6`, `B7`, `I2`,
after PR `#1172` isolated IBKR titles and confirmations. `B6` is retired alongside `9A` pure no-write GET (`desk_readback_read`). `B7`, `I2`,
`P1`, and full `B0` remain at `2027-01-13`.

`tests/read_contract_boundaries_validation.mjs` runs in the `Validate`
Expand Down
7 changes: 2 additions & 5 deletions docs/console-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,14 @@ can still do today:
- Every GET that reaches the `RuntimeInstances` Durable Object, which includes
any read of account options, runs its schema-initializing constructor (B0).
- `GET /api/risk-profiles`, `GET /api/account-settings`,
`GET /api/admin/config`, the Console read routes (through
`/api/account-settings/diff` and `/api/accounts/run-controls`) and GET on
Desk target readbacks (through the fresh readback's settings read) can import
`GET /api/admin/config` and the Console read routes (through
`/api/account-settings/diff` and `/api/accounts/run-controls`) can import
the risk-authority singleton (B1).
- `GET /api/internal/runtime-cycle-health-source` can migrate checkpoints (B2).
- `GET /api/runtime-stop` and, for an administrator on an IBKR or Schwab
account with dispatch configured, `GET /api/accounts/run-controls` can
advance runtime-control receipts (B3).
- `GET /api/credential-rotation/...` can settle a pending operation (B4).
- GET on Desk target readbacks can start a fresh collection with admission and
an alarm (B6).
- `/api/config` and the Console read routes that use current strategies can
schedule cache writes after the response (B7).
- The Console read routes, `/api/config`, selected-account
Expand Down
11 changes: 6 additions & 5 deletions docs/desk-n1-read-projection-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,12 @@ readbacks, credentials and alert-delivery routes intact.
- The five handlers call no PUT/POST/write/dispatch/scheduler/readback-create or
provider-collection function. The only Durable Object commands they can
reach are the existing read-only `account_facts_list`,
`account_facts_history_read`, `credential_maintenance_read` (existing POST
RPC transport), and the physically read-only preamble path
`account_management_read` (`/internal/account-management-read`, dispatched
before `initializeStorage`); the Worker wrapper rejects any other command.
Tests inject fakes that throw on any write and assert zero such calls.
`account_facts_history_read`, `credential_maintenance_read`,
`desk_readback_latest` (existing POST RPC transport), and the physically
read-only preamble path `account_management_read` (`/internal/account-management-read`,
dispatched before `initializeStorage`); the Worker wrapper rejects any other
command. Tests inject fakes that throw on any write and assert zero such
calls.
- Baseline delta ([ADR 0002](adr/0002-observation-and-identity-boundaries.md)):
the boundary above is the Worker's command allowlist, not the full request
lifecycle. Each of the five routes reaches the `RuntimeInstances` Durable
Expand Down
3 changes: 2 additions & 1 deletion schemas/desk/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
}
}
]
}
},
"readback_9a": {"$ref": "https://schemas.example.invalid/qsl/desk/common.json#/$defs/Readback9ASummary"}
},
"required": [
"platform",
Expand Down
Loading
Loading