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
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ jobs:
run: npx tsc --noEmit
timeout-minutes: 5

- name: Typecheck registered suites
run: pnpm exec tsc -p tests/tsconfig.json --noEmit
timeout-minutes: 5

workspace-build:
needs: source-contracts
if: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-artifact-acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
bun-version-file: .bun-version
- run: pnpm install --frozen-lockfile --filter='!@traderalice/desktop'
- run: pnpm build:server
- run: pnpm exec vitest run scripts/cli-signature.spec.mjs scripts/verify-cli-release.spec.mjs
- run: pnpm exec vitest run tests/integration/cli-release-artifacts/cli-signature.spec.mjs tests/integration/cli-release-artifacts/verify-cli-release.spec.mjs
- run: pnpm build:bun-runtime:feasibility
- run: pnpm build:bun:release
- name: Verify the packaged bytes again
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cli-installer-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ on:
- "scripts/sign-cli-macos.mjs"
- "scripts/verify-cli-release.mjs"
- "scripts/build-cli-package-channels.mjs"
- "scripts/build-cli-package-channels.spec.mjs"
- "tests/integration/cli-release-artifacts/build-cli-package-channels.spec.mjs"
- "scripts/pack-cli-npm-packages.mjs"
- "scripts/pack-cli-npm-packages.spec.mjs"
- "scripts/cli-package-manager-smoke.mjs"
- "scripts/cli-release-fixture.mjs"
- "scripts/cli-release-fixture.spec.mjs"
- "tests/integration/cli-release-artifacts/cli-release-fixture.spec.mjs"
- "scripts/cli-system-package-manager-smoke.mjs"
- "scripts/cli-aur-container-smoke.mjs"
- "scripts/cli-aur-container-smoke.spec.mjs"
Expand All @@ -60,7 +60,7 @@ on:
- "scripts/cli-legacy-cutover-smoke.spec.mjs"
- "scripts/prepare-cli-previous-release.mjs"
- "scripts/prepare-cli-dev-assets.mjs"
- "scripts/prepare-cli-dev-assets.spec.mjs"
- "tests/integration/cli-release-artifacts/prepare-cli-dev-assets.spec.mjs"
- "scripts/prepare-cli-neutral-inputs.mjs"
- "scripts/prepare-cli-neutral-inputs.spec.mjs"
- "THIRD_PARTY_NOTICES.md"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dev-pr-clean-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ jobs:

- name: Build complete workspace
run: pnpm build

- name: Typecheck registered suites
run: pnpm exec tsc -p tests/tsconfig.json --noEmit
4 changes: 0 additions & 4 deletions PLANS.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ the durable truth after it changes. Git history is the archive.
signatures and shared final-archive acceptance for #1670. Draft PR acceptance
remains pending.

- [[plans/test-system-grouping.md]] — Reorganize existing tests by unit,
integration and E2E scope; register only higher-tier suites, consolidate and
prune existing tests. No new test cases or coverage expansion.

- [[plans/compact-notifications.md]] — Approved compact type-specific pop-out
notifications, bounded news/Inbox grouping and optional news thumbnails;
implementation and Draft PR review only, no merge authority.
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/update-lifecycle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { DesktopUpdateLifecycle } from './update-lifecycle.js'
const roots: string[] = []
afterEach(async () => { await Promise.all(roots.splice(0).map(root => rm(root, { recursive: true, force: true }))) })
async function root() { const value = await mkdtemp(join(tmpdir(), 'desktop-lifecycle-')); roots.push(value); return value }
it('retains native handoff through process restart until exact binary AND required services are ready', async () => {
it('retains native handoff through controller recreation until exact binary AND required services are ready', async () => {
const dir = await root(); let version = '0.94.1-beta.2'
const service = new DesktopUpdateLifecycle(dir, () => version)
const prepare = vi.fn(async () => { expect((await service.snapshot())?.inFlight).toBe('desktop:prepare') })
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GitHub navigation.
| [[docs/project-structure.md]] | [Project structure](project-structure.md) | Process boundaries, source ownership, state roots, architectural entry points |
| [[docs/development-workflow.md]] | [Development workflow](development-workflow.md) | Branches, delivery modes, PRs, promotions, external review, risk gates |
| [[docs/update-lifecycle.md]] | [Update lifecycle](update-lifecycle.md) | Shared inventory, exact-target planning, durable owner coordination and rehearsal |
| [[docs/testing.md]] | [Testing](testing.md) | Unit/integration/E2E scope and registration, topic migration, required gates/run receipts, ownership, execution conditions, selectors, and package-local semantics |
| [[docs/testing.md]] | [Testing](testing.md) | Unit/integration/E2E scope and suite registration, required gates/run receipts, ownership, execution conditions, selectors, and package-local semantics |
| [[docs/managed-workspace-runtime.md]] | [Managed Workspace runtime](managed-workspace-runtime.md) | Electron packaging, managed Pi, PortableGit/Bash, runtime profile, Workspace PATH |
| [[docs/harness-web-surfaces.md]] | [Harness web surfaces](harness-web-surfaces.md) | Harness manifests, managed Studio ports, readiness, routing, transport, lifecycle, and embedding |
| [[docs/model-semantics-and-runtime-injection.md]] | [Model semantics and runtime injection](model-semantics-and-runtime-injection.md) | AI credential access, model semantics, Workspace selection, and native Agent projection |
Expand Down
2 changes: 1 addition & 1 deletion docs/broker-packs.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Run the focused checks before the repository-wide gates:
```bash
pnpm broker-packs:build
pnpm broker-packs:upgrade-smoke
pnpm vitest run src/services/broker-packs/installer.spec.ts \
pnpm vitest run tests/integration/broker-pack-installation/installer.spec.ts \
services/uta/src/domain/trading/brokers/registry.spec.ts \
ui/src/components/uta/CreateUTADialog.spec.tsx
npx tsc --noEmit
Expand Down
6 changes: 3 additions & 3 deletions docs/cli-installer.md
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ For installer changes run:

```bash
bash -n install
pnpm exec vitest run packages/cli/src/install.spec.mjs
pnpm exec vitest run tests/e2e/cli-installer/install.spec.mjs
pnpm test:system:installer
npx tsc --noEmit
pnpm test
Expand All @@ -597,9 +597,9 @@ For a managed SSH or AliceProject cross-target change, also run:
pnpm test:system:remote
pnpm exec vitest run \\
packages/cli/src/remote.spec.mjs \\
packages/cli/src/project-transfer.spec.ts \\
tests/integration/project-transfer/project-transfer.spec.ts \\
packages/cli/src/project-transfer-ssh.spec.ts \\
packages/cli/src/project-transfer-stream.spec.ts
tests/integration/project-transfer/project-transfer-stream.spec.ts
```

OpenAlice assumes the target is already reachable through ordinary SSH. These
Expand Down
4 changes: 2 additions & 2 deletions docs/cli-package-managers.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ For channel changes run:

```bash
pnpm exec vitest run \
scripts/cli-release-fixture.spec.mjs \
scripts/build-cli-package-channels.spec.mjs \
tests/integration/cli-release-artifacts/cli-release-fixture.spec.mjs \
tests/integration/cli-release-artifacts/build-cli-package-channels.spec.mjs \
scripts/pack-cli-npm-packages.spec.mjs \
scripts/release-workflow.spec.ts \
packages/cli/src/package-manager.spec.mjs
Expand Down
10 changes: 4 additions & 6 deletions docs/development-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,10 @@ for changed runner/configuration, executable tests, or product code. Typechecks
and real surfaces apply when their code or behavior changes; explain why a
check is applicable or not rather than inventing runtime acceptance.

Scenario, protocol and owner are separate selection dimensions: values within
one dimension are ORed, dimensions are ANDed. An owner/scenario intersection
can exclude part of an affected protocol; run that protocol regression
independently as well. Inspect owner/package/path evidence beyond group
metadata: an owner-only spec without a scenario mapping is not proof of
irrelevance. `pnpm test:critical` always runs its complete declared evidence;
Suite, tier and owner are separate selection dimensions: values within one
are ORed, dimensions are ANDed. A focused intersection can exclude affected
behavior; inspect unit/owner/package tests beyond registered high-level suites.
Unit tests intentionally require no suite registration. `pnpm test:critical` always runs its complete declared evidence;
neither focused development feedback nor this ladder may trim it or weaken its
existing CI requirement.

Expand Down
2 changes: 1 addition & 1 deletion docs/managed-workspace-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ pnpm vitest run \
src/core/runtime-profile.spec.ts \
src/workspaces/agent-detect.spec.ts \
src/workspaces/spawn-env.spec.ts \
src/workspaces/adapters/ai-config.spec.ts \
tests/integration/agent-configuration/ai-config.spec.ts \
scripts/vendor-managed-runtime.spec.ts \
scripts/assert-desktop-package.spec.ts \
scripts/smoke-packaged-toolchain.spec.ts
Expand Down
5 changes: 3 additions & 2 deletions docs/project-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ packages/
ui/ React/Vite renderer
apps/desktop/ Electron main/preload/IPC shell
scripts/guardian/ dev/prod supervisors, local control + recovery tests
tests/scenarios/ cross-module product journeys and coverage requirements
tests/contracts/ protocol/workflow specs and coverage requirements
tests/integration/ registered collaboration tests grouped by topic
tests/e2e/ application-entry workflows
tests/suites.json integration/E2E suite registry
tests/commands.json dedicated acceptance prerequisites (manifest commands stay in place)
default/ shipped skills and factory defaults
docs/ owner guides and contributor documentation
Expand Down
Loading
Loading