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
5 changes: 2 additions & 3 deletions apps/desktop/src/main/onboarding-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
* and OAuth-subscription connections (Claude/Codex), and MUST be
* read-only — it must never refresh an OAuth token or otherwise
* mutate credential state just because onboarding status was
* read. See `hasConnectionSecret` in main.ts for the production
* wiring and why it deliberately does NOT reuse the send-path's
* refreshing `resolveConnectionSecret`.
* read. Production wiring queries the Runtime Host credential
* projection without resolving or refreshing credential material.
* 3. SessionStore.list() (the runtime layer's listSessions handles
* this for us; we pass it in as a callback)
* 4. SettingsStore.get() for milestones (already sanitized by
Expand Down
1 change: 0 additions & 1 deletion docs/astryx-alignment-inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ exists / broken hierarchy) · **polish** (off-scale px, density).
- External import source + session pick → `SegmentedControl` / `Item`.
- Plan execution expand → Astryx `Collapsible`.
- Workbar tool picker → Astryx `List` + `ListItem`; visible descriptions and native row interaction.
- `scripts/check-astryx-alignment.mjs` + unit test gate.

## Remaining polish (non-blocker)
- Quote chips / prompt-rail ticks stay product-shaped hit targets.
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"astryx:surface-inventory:write": "node scripts/generate-astryx-surface-inventory.mjs",
"sync:model-metadata": "node scripts/sync-model-metadata.mjs",
"generate:bundled-skills": "node scripts/gen-bundled-skill-catalog.mjs",
"cost:deepseek-baseline": "node scripts/deepseek-live-cost-baseline.mjs",
"computer-use": "node scripts/computer-use.mjs",
"windows:inventory": "node --test scripts/windows-test-inventory.test.mjs && node scripts/windows-test-inventory.mjs --check",
"windows:inventory:write": "node scripts/windows-test-inventory.mjs --write",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/connection-readiness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* - effective model is in `connection.models` (when that list is
* enumerated)
*
* @kenji + @xuan PR110a review gate: send-path / onboarding / quick
* chat must call this helper rather than reimplementing the criteria.
* Product readiness projections must call this helper rather than
* reimplementing the criteria.
*/

import {
Expand Down
7 changes: 3 additions & 4 deletions packages/runtime/src/runtime-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,15 @@ export interface RuntimeGateDecision {

/**
* Narrow preflight interface for readiness/blocked/running/waiting policy.
* Kept injectable so tests can pass a stub and Phase 6 can move desktop
* main's readiness/rebind checks behind a real implementation.
* Kept injectable so tests and composition boundaries can supply policy
* without coupling the runtime runner to a product surface.
*/
export interface RuntimeGate {
preflight(request: InvocationRequest): Promise<RuntimeGateDecision>;
}

/**
* Functional gate from a callback. Convenient for tests; also the shape a
* future Phase 6 gate will compose from readiness rules.
* Functional gate from a callback. Convenient for tests and adapters.
*/
export function runtimeGateFromCallback(
preflight: (request: InvocationRequest) => Promise<RuntimeGateDecision> | RuntimeGateDecision,
Expand Down
130 changes: 0 additions & 130 deletions scripts/check-astryx-alignment.mjs

This file was deleted.

Loading
Loading